Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
3.5 KiB

  1. cpp_quote("/*++")
  2. cpp_quote(" ")
  3. cpp_quote("Copyright (c) 1997-1999 Microsoft Corporation")
  4. cpp_quote(" ")
  5. cpp_quote("Module Name: admex.h")
  6. cpp_quote(" ")
  7. cpp_quote(" Admin Extension Objects Interfaces")
  8. cpp_quote(" ")
  9. cpp_quote ("--*/")
  10. cpp_quote("#ifndef _ADMEX_IADM_")
  11. cpp_quote("#define _ADMEX_IADM_")
  12. import "unknwn.idl";
  13. import "wtypes.idl";
  14. import "objidl.idl";
  15. import "ocidl.idl";
  16. cpp_quote("DEFINE_GUID(IID_IMSAdminReplication, 0xc804d980, 0xebec, 0x11d0, 0xa6, 0xa0, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);")
  17. cpp_quote("DEFINE_GUID(IID_IMSAdminCryptoCapabilities, 0x78b64540, 0xf26d, 0x11d0, 0xa6, 0xa3, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);")
  18. cpp_quote("DEFINE_GUID(CLSID_MSCryptoAdmEx, 0x9f0bd3a0, 0xec01, 0x11d0, 0xa6, 0xa0, 0x0,0xa0, 0xc9, 0x22, 0xe7, 0x52);")
  19. cpp_quote("/* ")
  20. cpp_quote("The Replication Interface ")
  21. cpp_quote("*/ ")
  22. [
  23. object,
  24. uuid(c804d980-ebec-11d0-a6a0-00a0c922e752),
  25. pointer_default(unique)
  26. ]
  27. interface IMSAdminReplication : IUnknown {
  28. // Interfaces
  29. HRESULT GetSignature(
  30. [in] DWORD dwBufferSize,
  31. [out, size_is(dwBufferSize)] unsigned char *pbBuffer,
  32. [out] DWORD *pdwMDRequiredBufferSize );
  33. HRESULT Propagate(
  34. [in] DWORD dwBufferSize,
  35. [in, size_is(dwBufferSize)] unsigned char *pszBuffer );
  36. HRESULT Propagate2(
  37. [in] DWORD dwBufferSize,
  38. [in, size_is(dwBufferSize)] unsigned char *pszBuffer,
  39. [in] DWORD dwSignatureMismatch );
  40. HRESULT Serialize(
  41. [in] DWORD dwBufferSize,
  42. [out, size_is(dwBufferSize)] unsigned char *pbBuffer,
  43. [out] DWORD *pdwMDRequiredBufferSize );
  44. HRESULT DeSerialize(
  45. [in] DWORD dwBufferSize,
  46. [in, size_is(dwBufferSize)] unsigned char *pbBuffer );
  47. };
  48. cpp_quote("/* ")
  49. cpp_quote("The Crypto capabilities Interface ")
  50. cpp_quote("*/ ")
  51. [
  52. object,
  53. uuid(78b64540-f26d-11d0-a6a3-00a0c922e752),
  54. pointer_default(unique)
  55. ]
  56. interface IMSAdminCryptoCapabilities : IUnknown {
  57. // Interfaces
  58. HRESULT GetProtocols(
  59. [in] DWORD dwBufferSize,
  60. [out, size_is(dwBufferSize)] unsigned char *pbBuffer,
  61. [out] DWORD *pdwMDRequiredBufferSize);
  62. HRESULT GetMaximumCipherStrength(
  63. [out] LPDWORD pdwMaximumCipherStrength );
  64. HRESULT GetRootCertificates(
  65. [in] DWORD dwBufferSize,
  66. [out, size_is(dwBufferSize)] unsigned char *pbBuffer,
  67. [out] DWORD *pdwMDRequiredBufferSize);
  68. HRESULT GetSupportedAlgs(
  69. [in] DWORD dwBufferSize,
  70. [out, size_is(dwBufferSize)] DWORD *pbBuffer,
  71. [out] DWORD *pdwMDRequiredBufferSize);
  72. HRESULT SetCAList(
  73. [in] DWORD dwBufferSize,
  74. [in, size_is(dwBufferSize)] unsigned char *pbBuffer );
  75. };
  76. cpp_quote("#endif")