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.

54 lines
1.4 KiB

  1. // PPMCB.idl : IDL source for PPMCB.dll
  2. //
  3. // Begin IPPMError Interface Specification
  4. import "oaidl.idl";
  5. // Severity flags
  6. const DWORD SEVERITY_FATAL = 0xBADDBADD;
  7. const DWORD SEVERITY_NORMAL = 0x00000000;
  8. // PPM specific error codes
  9. const DWORD PPM_E_RECVSIZE = 0x8004C301;
  10. const DWORD PPM_E_SEQSKIP = 0x8004C302;
  11. const DWORD PPM_E_TIMER = 0x8004C303;
  12. [
  13. object,
  14. uuid(1EFE33B1-2B86-11d0-9CA2-00A0C9081C19),
  15. local,
  16. helpstring("IPPMError Interface"),
  17. pointer_default(unique)
  18. ]
  19. interface IPPMError : IUnknown
  20. {
  21. [id(1)] HRESULT PPMError(
  22. [in] HRESULT hError,
  23. [in] DWORD dwSeverity,
  24. [in] DWORD dwCookie,
  25. [in, size_is(iDataLen)] BYTE pData[],
  26. [in] unsigned int iDataLen);
  27. }; // interface IPPMError
  28. // Begin IPPMNotificationInterface Interface Specification
  29. [
  30. object,
  31. uuid(1EFE33B4-2B86-11d0-9CA2-00A0C9081C19),
  32. helpstring("IPPMNotification Interface"),
  33. pointer_default(unique),
  34. local
  35. ]
  36. interface IPPMNotification: IUnknown
  37. {
  38. [id(1)] HRESULT PPMNotification(
  39. [in] HRESULT hError,
  40. [in] DWORD dwSeverity,
  41. [in] DWORD dwCookie,
  42. [in, size_is(iDataLen)] BYTE pData[],
  43. [in] unsigned int iDataLen);
  44. }; // interface IPPMNotificationInterface