mirror of https://github.com/UMSKT/xpmgr.git
58 lines
1.4 KiB
Plaintext
58 lines
1.4 KiB
Plaintext
//-----------------------------------------------------------------------------
|
|
// File: truadmin.idl
|
|
//
|
|
// Copyright: Copyright (c) Microsoft Corporation
|
|
//
|
|
// Contents: OLE DB interface definition
|
|
//
|
|
// Comments:
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#include "idlmulti.h"
|
|
cpp_quote("#if 0 // to get around a MIDL limitation")
|
|
//#define UNICODE
|
|
#include <accctrl.h>
|
|
cpp_quote("#else")
|
|
cpp_quote("#include <accctrl.h>")
|
|
cpp_quote("#endif")
|
|
|
|
#if( OLEDBVER >= 0x0200 )
|
|
REMOTED_INTERFACE(0c733aa1-2a1c-11ce-ade5-00aa0044773d)
|
|
#else
|
|
LOCAL_INTERFACE(0c733aa1-2a1c-11ce-ade5-00aa0044773d)
|
|
#endif
|
|
|
|
interface ITrusteeAdmin : IUnknown {
|
|
HRESULT CompareTrustees(
|
|
[in] TRUSTEE_W* pTrustee1,
|
|
[in] TRUSTEE_W* pTrustee2
|
|
);
|
|
|
|
HRESULT CreateTrustee(
|
|
[in] TRUSTEE_W* pTrustee,
|
|
[in] ULONG cPropertySets,
|
|
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]
|
|
);
|
|
|
|
HRESULT DeleteTrustee (
|
|
[in] TRUSTEE_W* pTrustee
|
|
);
|
|
|
|
HRESULT SetTrusteeProperties (
|
|
[in] TRUSTEE_W* pTrustee,
|
|
[in] ULONG cPropertySets,
|
|
[in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]
|
|
);
|
|
|
|
HRESULT GetTrusteeProperties (
|
|
[in] TRUSTEE_W* pTrustee,
|
|
[in] const ULONG cPropertyIDSets,
|
|
[in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
|
|
[in, out] ULONG * pcPropertySets,
|
|
[out, size_is(,*pcPropertySets)] DBPROPSET ** prgPropertySets
|
|
);
|
|
|
|
}
|
|
|