truadmin.idl
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: truadmin.idl
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation          
  5. //
  6. // Contents:  OLE DB interface definition
  7. //
  8. // Comments: 
  9. //
  10. //-----------------------------------------------------------------------------
  11. #include "idlmulti.h"
  12. cpp_quote("#if 0  // to get around a MIDL limitation")
  13. //#define UNICODE
  14. #include <accctrl.h>
  15. cpp_quote("#else")
  16. cpp_quote("#include <accctrl.h>")
  17. cpp_quote("#endif")
  18. #if( OLEDBVER >= 0x0200 )
  19.     REMOTED_INTERFACE(0c733aa1-2a1c-11ce-ade5-00aa0044773d)
  20. #else
  21.     LOCAL_INTERFACE(0c733aa1-2a1c-11ce-ade5-00aa0044773d)
  22. #endif
  23. interface ITrusteeAdmin : IUnknown {
  24. HRESULT CompareTrustees(
  25. [in] TRUSTEE_W* pTrustee1,
  26. [in] TRUSTEE_W*     pTrustee2
  27. );
  28. HRESULT CreateTrustee(
  29. [in] TRUSTEE_W* pTrustee,
  30. [in] ULONG cPropertySets,
  31. [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]
  32. );
  33. HRESULT DeleteTrustee (
  34. [in] TRUSTEE_W* pTrustee
  35. );
  36. HRESULT SetTrusteeProperties (
  37. [in] TRUSTEE_W* pTrustee,
  38. [in] ULONG cPropertySets,
  39. [in, out, size_is(cPropertySets)] DBPROPSET rgPropertySets[]
  40. );
  41. HRESULT GetTrusteeProperties (
  42. [in] TRUSTEE_W* pTrustee,
  43. [in] const ULONG cPropertyIDSets,
  44. [in, size_is(cPropertyIDSets)] const DBPROPIDSET rgPropertyIDSets[],
  45. [in, out] ULONG * pcPropertySets,
  46. [out, size_is(,*pcPropertySets)] DBPROPSET ** prgPropertySets
  47. );
  48. }