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.

211 lines
5.1 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for globalopt.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, oldnames, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __globalopt_h__
  27. #define __globalopt_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IGlobalOptions_FWD_DEFINED__
  33. #define __IGlobalOptions_FWD_DEFINED__
  34. typedef interface IGlobalOptions IGlobalOptions;
  35. #endif /* __IGlobalOptions_FWD_DEFINED__ */
  36. /* header files for imported files */
  37. #include "obase.h"
  38. #include "objidl.h"
  39. #ifdef __cplusplus
  40. extern "C"{
  41. #endif
  42. void * __RPC_USER MIDL_user_allocate(size_t);
  43. void __RPC_USER MIDL_user_free( void * );
  44. #ifndef __IGlobalOptions_INTERFACE_DEFINED__
  45. #define __IGlobalOptions_INTERFACE_DEFINED__
  46. /* interface IGlobalOptions */
  47. /* [uuid][unique][local][object] */
  48. EXTERN_C const IID IID_IGlobalOptions;
  49. #if defined(__cplusplus) && !defined(CINTERFACE)
  50. MIDL_INTERFACE("0000015B-0000-0000-C000-000000000046")
  51. IGlobalOptions : public IUnknown
  52. {
  53. public:
  54. virtual HRESULT STDMETHODCALLTYPE Set(
  55. /* [in] */ DWORD dwProperty,
  56. /* [in] */ ULONG_PTR dwValue) = 0;
  57. virtual HRESULT STDMETHODCALLTYPE Query(
  58. /* [in] */ DWORD dwProperty,
  59. /* [out] */ ULONG_PTR *pdwValue) = 0;
  60. };
  61. #else /* C style interface */
  62. typedef struct IGlobalOptionsVtbl
  63. {
  64. BEGIN_INTERFACE
  65. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  66. IGlobalOptions * This,
  67. /* [in] */ REFIID riid,
  68. /* [iid_is][out] */ void **ppvObject);
  69. ULONG ( STDMETHODCALLTYPE *AddRef )(
  70. IGlobalOptions * This);
  71. ULONG ( STDMETHODCALLTYPE *Release )(
  72. IGlobalOptions * This);
  73. HRESULT ( STDMETHODCALLTYPE *Set )(
  74. IGlobalOptions * This,
  75. /* [in] */ DWORD dwProperty,
  76. /* [in] */ ULONG_PTR dwValue);
  77. HRESULT ( STDMETHODCALLTYPE *Query )(
  78. IGlobalOptions * This,
  79. /* [in] */ DWORD dwProperty,
  80. /* [out] */ ULONG_PTR *pdwValue);
  81. END_INTERFACE
  82. } IGlobalOptionsVtbl;
  83. interface IGlobalOptions
  84. {
  85. CONST_VTBL struct IGlobalOptionsVtbl *lpVtbl;
  86. };
  87. #ifdef COBJMACROS
  88. #define IGlobalOptions_QueryInterface(This,riid,ppvObject) \
  89. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  90. #define IGlobalOptions_AddRef(This) \
  91. (This)->lpVtbl -> AddRef(This)
  92. #define IGlobalOptions_Release(This) \
  93. (This)->lpVtbl -> Release(This)
  94. #define IGlobalOptions_Set(This,dwProperty,dwValue) \
  95. (This)->lpVtbl -> Set(This,dwProperty,dwValue)
  96. #define IGlobalOptions_Query(This,dwProperty,pdwValue) \
  97. (This)->lpVtbl -> Query(This,dwProperty,pdwValue)
  98. #endif /* COBJMACROS */
  99. #endif /* C style interface */
  100. HRESULT STDMETHODCALLTYPE IGlobalOptions_Set_Proxy(
  101. IGlobalOptions * This,
  102. /* [in] */ DWORD dwProperty,
  103. /* [in] */ ULONG_PTR dwValue);
  104. void __RPC_STUB IGlobalOptions_Set_Stub(
  105. IRpcStubBuffer *This,
  106. IRpcChannelBuffer *_pRpcChannelBuffer,
  107. PRPC_MESSAGE _pRpcMessage,
  108. DWORD *_pdwStubPhase);
  109. HRESULT STDMETHODCALLTYPE IGlobalOptions_Query_Proxy(
  110. IGlobalOptions * This,
  111. /* [in] */ DWORD dwProperty,
  112. /* [out] */ ULONG_PTR *pdwValue);
  113. void __RPC_STUB IGlobalOptions_Query_Stub(
  114. IRpcStubBuffer *This,
  115. IRpcChannelBuffer *_pRpcChannelBuffer,
  116. PRPC_MESSAGE _pRpcMessage,
  117. DWORD *_pdwStubPhase);
  118. #endif /* __IGlobalOptions_INTERFACE_DEFINED__ */
  119. /* interface __MIDL_itf_globalopt_0097 */
  120. /* [local] */
  121. enum __MIDL___MIDL_itf_globalopt_0097_0001
  122. { COMGLB_EXCEPTION_HANDLING = 0x1
  123. } ;
  124. enum __MIDL___MIDL_itf_globalopt_0097_0002
  125. { COMGLB_EXCEPTION_HANDLE = 0,
  126. COMGLB_EXCEPTION_DONOT_HANDLE = 1
  127. } ;
  128. EXTERN_C const CLSID CLSID_GlobalOptions;
  129. extern RPC_IF_HANDLE __MIDL_itf_globalopt_0097_ClientIfHandle;
  130. extern RPC_IF_HANDLE __MIDL_itf_globalopt_0097_ServerIfHandle;
  131. /* Additional Prototypes for ALL interfaces */
  132. /* end of Additional Prototypes */
  133. #ifdef __cplusplus
  134. }
  135. #endif
  136. #endif