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

模拟服务器

开发平台:

C/C++

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File:        certexit.idl
  7. //
  8. // Contents:    IDL source for certexit.dll
  9. //
  10. //---------------------------------------------------------------------------
  11. // This file will be processed by the MIDL tool to produce the type library
  12. // (certexit.tlb) and marshalling code.
  13. import "wtypes.idl";
  14. import "certmod.idl";
  15. const LONG EXITEVENT_INVALID =        0x00000000; // invalid event
  16. const LONG EXITEVENT_CERTISSUED =    0x00000001; // Certificate issued
  17. const LONG EXITEVENT_CERTPENDING =    0x00000002; // Certificate pending
  18. const LONG EXITEVENT_CERTDENIED =     0x00000004; // Certificate denied
  19. const LONG EXITEVENT_CERTREVOKED =     0x00000008; // Certificate revoked
  20. const LONG EXITEVENT_CERTRETRIEVEPENDING = 0x00000010; // Certificate retrieval
  21. const LONG EXITEVENT_CRLISSUED =    0x00000020; // CRL issued
  22. const LONG EXITEVENT_SHUTDOWN =    0x00000040; // Server shutdown
  23. //+--------------------------------------------------------------------------
  24. // ICertExit class -- local COM interface, local implementation
  25. //+--------------------------------------------------------------------------
  26. [
  27.     object,
  28.     uuid(e19ae1a0-7364-11d0-8816-00a0c903b83c),
  29.     dual,
  30.     helpstring("ICertExit Interface"),
  31.     pointer_default(unique)
  32. ]
  33. interface ICertExit: IDispatch
  34. {
  35.     import "oaidl.idl";
  36.     HRESULT Initialize(
  37. [in] BSTR const strConfig,
  38. [out, retval] LONG *pEventMask);
  39.     HRESULT Notify(
  40. [in] LONG ExitEvent,
  41. [in] LONG Context);
  42.     HRESULT GetDescription(
  43. [out, retval] BSTR *pstrDescription);
  44. };
  45. //+--------------------------------------------------------------------------
  46. // ICertExit2 -- local COM interface
  47. //+--------------------------------------------------------------------------
  48. [
  49.     object,
  50.     uuid(0abf484b-d049-464d-a7ed-552e7529b0ff),
  51.     dual,
  52.     helpstring("ICertExit2 Interface"),
  53.     pointer_default(unique)
  54. ]
  55. interface ICertExit2: ICertExit
  56. {
  57.     HRESULT GetManageModule(
  58. [out, retval] ICertManageModule **ppManageModule);
  59. };