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.

50 lines
1.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1998.
  5. //
  6. // File:
  7. // asrtcfg.idl
  8. //
  9. // Contents:
  10. // Definition of catalog interfaces for runtime.
  11. //
  12. // History:
  13. // MattSmit 02-24-98 Created
  14. //
  15. //--------------------------------------------------------------------------
  16. #ifndef DO_NO_IMPORTS
  17. import "wtypes.idl";
  18. import "unknwn.idl";
  19. #endif
  20. [ uuid(00000156-0000-0000-C000-000000000046),
  21. version(0.0),
  22. pointer_default(unique),
  23. local,
  24. object
  25. ]
  26. interface IAssertConfig : IUnknown
  27. {
  28. typedef enum
  29. {
  30. ASSRTLOG_NTEVENTLOG = 0x01,
  31. ASSRTLOG_FILE = 0x02
  32. } ASSRTLOG;
  33. typedef struct ASSRTLOGINFOtag
  34. {
  35. DWORD dwDest;
  36. char pszFileName[256];
  37. } ASSRTLOGINFO;
  38. HRESULT SetBreak([in] BOOL f);
  39. HRESULT SetPopup([in] BOOL f);
  40. HRESULT SetDebuggerMessage([in] BOOL f);
  41. HRESULT SetPrintStack([in] BOOL f);
  42. HRESULT SetUseAV([in] BOOL f);
  43. HRESULT SetLog([in] ASSRTLOGINFO* pLogInfo);
  44. HRESULT SetContextString([in] char *pszContext);
  45. HRESULT SetThreshold([in] ULONG cThreshold);
  46. };