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.2 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2002.
  5. //
  6. // File:
  7. // globalopt.idl
  8. //
  9. // Contents:
  10. // Definition of private COM system interface(s) related to setting
  11. // global options in ole32
  12. //
  13. // History:
  14. // sajia 06-12-02 Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef DO_NO_IMPORTS
  18. import "obase.idl";
  19. import "wtypes.idl";
  20. import "objidl.idl";
  21. #endif
  22. [
  23. object,
  24. local,
  25. pointer_default(unique),
  26. uuid(0000015B-0000-0000-C000-000000000046)
  27. ]
  28. interface IGlobalOptions : IUnknown
  29. {
  30. HRESULT Set([in] DWORD dwProperty,
  31. [in] ULONG_PTR dwValue);
  32. HRESULT Query([in] DWORD dwProperty,
  33. [out] ULONG_PTR * pdwValue);
  34. }
  35. //properties
  36. enum
  37. {
  38. COMGLB_EXCEPTION_HANDLING = 0x01 //defines COM exception handling behavior
  39. };
  40. //values
  41. enum
  42. {
  43. COMGLB_EXCEPTION_HANDLE=0,
  44. COMGLB_EXCEPTION_DONOT_HANDLE=1
  45. };
  46. cpp_quote("")
  47. cpp_quote("EXTERN_C const CLSID CLSID_GlobalOptions;")
  48. cpp_quote("")