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

模拟服务器

开发平台:

C/C++

  1. //-----------------------------------------------------------------------------
  2. // File: objactnl.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. //
  13. #if( OLEDBVER >= 0x0200 )
  14.     REMOTED_INTERFACE(0c733aa3-2a1c-11ce-ade5-00aa0044773d)
  15. #else
  16.     LOCAL_INTERFACE(0c733aa3-2a1c-11ce-ade5-00aa0044773d)
  17. #endif
  18.     
  19. interface IObjectAccessControl : IUnknown {
  20. HRESULT GetObjectAccessRights(
  21. [in] SEC_OBJECT* pObject,
  22. [in, out] ULONG*     pcAccessEntries,
  23. [in, out] EXPLICIT_ACCESS_W** prgAccessEntries
  24. );
  25. HRESULT GetObjectOwner (
  26. [in] SEC_OBJECT* pObject, 
  27. [out] TRUSTEE_W** ppOwner 
  28. );
  29. HRESULT IsObjectAccessAllowed(
  30. [in] SEC_OBJECT* pObject,
  31. [in] EXPLICIT_ACCESS_W* pAccessEntry,
  32. [out] BOOL* pfResult 
  33. );
  34. HRESULT SetObjectAccessRights(
  35. [in] SEC_OBJECT* pObject,
  36. [in] ULONG     cAccessEntries,
  37. [in, out] EXPLICIT_ACCESS_W* prgAccessEntries 
  38. );
  39. HRESULT SetObjectOwner(
  40. [in] SEC_OBJECT* pObject,
  41. [in] TRUSTEE_W* pOwner
  42. );
  43. }