106 lines
2.7 KiB
Plaintext
106 lines
2.7 KiB
Plaintext
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1993.
|
|
//
|
|
// File: irot.idl
|
|
//
|
|
// Contents: Definition of private RPC interface between compobj.dll
|
|
// and the SCM that implements the ROT.
|
|
//
|
|
// History: 20-Jan-95 Ricksa Created
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
[ uuid(B9E79E60-3D52-11CE-AAA1-00006901293F),
|
|
version(0.2),
|
|
pointer_default(unique) ]
|
|
|
|
interface IROT
|
|
{
|
|
import "iface.idl";
|
|
|
|
#pragma midl_echo(" ")
|
|
#pragma midl_echo("//------------------------")
|
|
#pragma midl_echo("// Invalid Key for SCM Reg")
|
|
#pragma midl_echo("//------------------------")
|
|
#pragma midl_echo("#define SCMREG_INVALID_ENTRY_LOC 0xFFFFFFFF")
|
|
#pragma midl_echo(" ")
|
|
|
|
|
|
typedef struct _SCMREGKEY
|
|
{
|
|
DWORD dwEntryLoc;
|
|
DWORD dwScmId;
|
|
} SCMREGKEY;
|
|
|
|
typedef struct _MnkEqBuf
|
|
{
|
|
DWORD cdwSize;
|
|
[size_is(cdwSize)]
|
|
BYTE abEqData[];
|
|
} MNKEQBUF;
|
|
|
|
typedef struct _MkInterfaceList
|
|
{
|
|
DWORD dwSize;
|
|
[size_is(dwSize)]
|
|
InterfaceData *apIFDList[];
|
|
} MkInterfaceList;
|
|
|
|
HRESULT IrotRegister(
|
|
[in] handle_t hRpc,
|
|
[in] MNKEQBUF *pmkeqbuf,
|
|
[in] InterfaceData *pifdObject,
|
|
[in] InterfaceData *pifdObjectName,
|
|
[in] FILETIME *pfiletime,
|
|
[in] DWORD dwProcessId,
|
|
[out] SCMREGKEY *psrkRegister,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
HRESULT IrotRevoke(
|
|
[in] handle_t hRpc,
|
|
[in] SCMREGKEY *psrkRegister,
|
|
[in] BOOL fServerRevoke,
|
|
[out] InterfaceData **pifdObject,
|
|
[out] InterfaceData **pifdName,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
HRESULT IrotIsRunning(
|
|
[in] handle_t hRpc,
|
|
[in] MNKEQBUF *pmkeqbuf);
|
|
|
|
HRESULT IrotGetObject(
|
|
[in] handle_t hRpc,
|
|
[in] DWORD dwProcessId,
|
|
[in] MNKEQBUF *pmkeqbuf,
|
|
[out] SCMREGKEY *psrkRegister,
|
|
[out] InterfaceData **pifdObject,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
HRESULT IrotNoteChangeTime(
|
|
[in] handle_t hRpc,
|
|
[in] SCMREGKEY *psrkRegister,
|
|
[in] FILETIME *pfiletime,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
HRESULT IrotGetTimeOfLastChange(
|
|
[in] handle_t hRpc,
|
|
[in] MNKEQBUF *pmkeqbuf,
|
|
[out] FILETIME *pfiletime,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
HRESULT IrotEnumRunning(
|
|
[in] handle_t hRpc,
|
|
[out] MkInterfaceList **ppMkIFList,
|
|
[out] error_status_t *prpcstat);
|
|
|
|
#ifndef _CHICAGO_
|
|
HRESULT IrotGetUniqueProcessID(
|
|
[in] handle_t hRpc,
|
|
[out] DWORD * pdwProcessID,
|
|
[out] DWORD * pdwScmProcessID,
|
|
[out] error_status_t *prpcstat);
|
|
#endif
|
|
|
|
}
|