mirror of https://github.com/UMSKT/xpmgr.git
92 lines
1.9 KiB
Plaintext
92 lines
1.9 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// File: rowpos.idl
|
|
//
|
|
// Copyright: Copyright (c) Microsoft Corporation
|
|
//
|
|
// Contents: OLE DB interface definition
|
|
//
|
|
// Comments:
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "idlmulti.h"
|
|
//
|
|
REMOTED_INTERFACE(0c733a94-2a1c-11ce-ade5-00aa0044773d)
|
|
|
|
interface IRowPosition : IUnknown {
|
|
|
|
typedef DWORD DBPOSITIONFLAGS;
|
|
|
|
enum DBPOSITIONFLAGSENUM {
|
|
DBPOSITION_OK,
|
|
DBPOSITION_NOROW,
|
|
DBPOSITION_BOF,
|
|
DBPOSITION_EOF,
|
|
};
|
|
|
|
[local]
|
|
HRESULT ClearRowPosition(
|
|
);
|
|
|
|
[call_as(ClearRowPosition)]
|
|
HRESULT RemoteClearRowPosition(
|
|
[out] IErrorInfo ** ppErrorInfoRem
|
|
);
|
|
|
|
[local]
|
|
HRESULT GetRowPosition(
|
|
[out, annotation("__out_opt")] HCHAPTER * phChapter,
|
|
[out, annotation("__out")] HROW * phRow,
|
|
[out, annotation("__out_opt")] DBPOSITIONFLAGS * pdwPositionFlags
|
|
);
|
|
|
|
[call_as(GetRowPosition)]
|
|
HRESULT RemoteGetRowPosition(
|
|
[out] HCHAPTER * phChapter,
|
|
[out] HROW * phRow,
|
|
[out] DBPOSITIONFLAGS * pdwPositionFlags,
|
|
[out] IErrorInfo ** ppErrorInfoRem
|
|
);
|
|
|
|
[local]
|
|
HRESULT GetRowset(
|
|
[in, annotation("__in")] REFIID riid,
|
|
[out, iid_is(riid), annotation("__deref_out")] IUnknown ** ppRowset
|
|
);
|
|
|
|
[call_as(GetRowset)]
|
|
HRESULT RemoteGetRowset(
|
|
[in] REFIID riid,
|
|
[out, iid_is(riid)] IUnknown ** ppRowset,
|
|
[out] IErrorInfo ** ppErrorInfoRem
|
|
);
|
|
|
|
[local]
|
|
HRESULT Initialize(
|
|
[in, annotation("__in")] IUnknown * pRowset
|
|
);
|
|
|
|
[call_as(Initialize)]
|
|
HRESULT RemoteInitialize(
|
|
[in] IUnknown * pRowset,
|
|
[out] IErrorInfo ** ppErrorInfoRem
|
|
);
|
|
|
|
[local]
|
|
HRESULT SetRowPosition(
|
|
[in] HCHAPTER hChapter,
|
|
[in] HROW hRow,
|
|
[in] DBPOSITIONFLAGS dwPositionFlags
|
|
);
|
|
|
|
[call_as(SetRowPosition)]
|
|
HRESULT RemoteSetRowPosition(
|
|
[in] HCHAPTER hChapter,
|
|
[in] HROW hRow,
|
|
[in] DBPOSITIONFLAGS dwPositionFlags,
|
|
[out] IErrorInfo ** ppErrorInfoRem
|
|
);
|
|
|
|
}
|
|
|