Leaked source code of windows server 2003
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.

74 lines
2.4 KiB

  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. cpp_quote("#define EXITEVENT_INVALID ( 0x0 ) // Invalid event")
  16. cpp_quote("#define EXITEVENT_CERTISSUED ( 0x1 ) // Certificate issued")
  17. cpp_quote("#define EXITEVENT_CERTPENDING ( 0x2 ) // Certificate pending")
  18. cpp_quote("#define EXITEVENT_CERTDENIED ( 0x4 ) // Certificate denied")
  19. cpp_quote("#define EXITEVENT_CERTREVOKED ( 0x8 ) // Certificate revoked")
  20. cpp_quote("#define EXITEVENT_CERTRETRIEVEPENDING ( 0x10 ) // Certificate retrieval")
  21. cpp_quote("#define EXITEVENT_CRLISSUED ( 0x20 ) // CRL issued")
  22. cpp_quote("#define EXITEVENT_SHUTDOWN ( 0x40 ) // Service shutdown")
  23. cpp_quote("#define EXITEVENT_STARTUP ( 0x80 ) // Service startup, fake event generated by exit module")
  24. //+--------------------------------------------------------------------------
  25. // ICertExit class -- local COM interface, local implementation
  26. //+--------------------------------------------------------------------------
  27. [
  28. object,
  29. uuid(e19ae1a0-7364-11d0-8816-00a0c903b83c),
  30. dual,
  31. helpstring("ICertExit Interface"),
  32. pointer_default(unique)
  33. ]
  34. interface ICertExit: IDispatch
  35. {
  36. import "oaidl.idl";
  37. HRESULT Initialize(
  38. [in] BSTR const strConfig,
  39. [out, retval] LONG *pEventMask);
  40. HRESULT Notify(
  41. [in] LONG ExitEvent,
  42. [in] LONG Context);
  43. HRESULT GetDescription(
  44. [out, retval] BSTR *pstrDescription);
  45. };
  46. //+--------------------------------------------------------------------------
  47. // ICertExit2 -- local COM interface
  48. //+--------------------------------------------------------------------------
  49. [
  50. object,
  51. uuid(0abf484b-d049-464d-a7ed-552e7529b0ff),
  52. dual,
  53. helpstring("ICertExit2 Interface"),
  54. pointer_default(unique)
  55. ]
  56. interface ICertExit2: ICertExit
  57. {
  58. HRESULT GetManageModule(
  59. [out, retval] ICertManageModule **ppManageModule);
  60. };