Source code of Windows XP (NT5)
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.

220 lines
6.0 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 2.00.0101 */
  3. /* at Fri May 24 09:44:29 1996
  4. */
  5. //@@MIDL_FILE_HEADING( )
  6. #include "rpc.h"
  7. #include "rpcndr.h"
  8. #ifndef COM_NO_WINDOWS_H
  9. #include "windows.h"
  10. #include "ole2.h"
  11. #endif /*COM_NO_WINDOWS_H*/
  12. #ifndef __objsafe_h__
  13. #define __objsafe_h__
  14. #ifdef __cplusplus
  15. extern "C"{
  16. #endif
  17. /* Forward Declarations */
  18. #ifndef __IObjectSafety_FWD_DEFINED__
  19. #define __IObjectSafety_FWD_DEFINED__
  20. typedef interface IObjectSafety IObjectSafety;
  21. #endif /* __IObjectSafety_FWD_DEFINED__ */
  22. /* header files for imported files */
  23. #include "unknwn.h"
  24. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  25. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  26. /****************************************
  27. * Generated header for interface: __MIDL__intf_0000
  28. * at Fri May 24 09:44:29 1996
  29. * using MIDL 2.00.0101
  30. ****************************************/
  31. /* [local] */
  32. //+-------------------------------------------------------------------------
  33. //
  34. // Microsoft Windows
  35. // (C) Copyright 1996 Microsoft Corporation. All Rights Reserved.
  36. //
  37. // File: ObjSafe.h
  38. //
  39. //--------------------------------------------------------------------------
  40. #ifndef _LPSAFEOBJECT_DEFINED
  41. #define _LPSAFEOBJECT_DEFINED
  42. // Option bit definitions for IObjectSafety:
  43. #define INTERFACESAFE_FOR_UNTRUSTED_CALLER 0x00000001 // Caller of interface may be untrusted
  44. #define INTERFACESAFE_FOR_UNTRUSTED_DATA 0x00000002 // Data passed into interface may be untrusted
  45. // {CB5BDC81-93C1-11cf-8F20-00805F2CD064}
  46. DEFINE_GUID(IID_IObjectSafety, 0xcb5bdc81, 0x93c1, 0x11cf, 0x8f, 0x20, 0x0, 0x80, 0x5f, 0x2c, 0xd0, 0x64);
  47. //EXTERN_C GUID CATID_SafeForScripting;
  48. //EXTERN_C GUID CATID_SafeForInitializing;
  49. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  50. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  51. #ifndef __IObjectSafety_INTERFACE_DEFINED__
  52. #define __IObjectSafety_INTERFACE_DEFINED__
  53. /****************************************
  54. * Generated header for interface: IObjectSafety
  55. * at Fri May 24 09:44:29 1996
  56. * using MIDL 2.00.0101
  57. ****************************************/
  58. /* [unique][uuid][object] */
  59. EXTERN_C const IID IID_IObjectSafety;
  60. #if defined(__cplusplus) && !defined(CINTERFACE)
  61. interface IObjectSafety : public IUnknown
  62. {
  63. public:
  64. virtual HRESULT __stdcall GetInterfaceSafetyOptions(
  65. /* [in] */ REFIID riid,
  66. /* [out] */ DWORD __RPC_FAR *pdwSupportedOptions,
  67. /* [out] */ DWORD __RPC_FAR *pdwEnabledOptions) = 0;
  68. virtual HRESULT __stdcall SetInterfaceSafetyOptions(
  69. /* [in] */ REFIID riid,
  70. /* [in] */ DWORD dwOptionSetMask,
  71. /* [in] */ DWORD dwEnabledOptions) = 0;
  72. };
  73. #else /* C style interface */
  74. typedef struct IObjectSafetyVtbl
  75. {
  76. HRESULT ( __stdcall __RPC_FAR *QueryInterface )(
  77. IObjectSafety __RPC_FAR * This,
  78. /* [in] */ REFIID riid,
  79. /* [out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  80. ULONG ( __stdcall __RPC_FAR *AddRef )(
  81. IObjectSafety __RPC_FAR * This);
  82. ULONG ( __stdcall __RPC_FAR *Release )(
  83. IObjectSafety __RPC_FAR * This);
  84. HRESULT ( __stdcall __RPC_FAR *GetInterfaceSafetyOptions )(
  85. IObjectSafety __RPC_FAR * This,
  86. /* [in] */ REFIID riid,
  87. /* [out] */ DWORD __RPC_FAR *pdwSupportedOptions,
  88. /* [out] */ DWORD __RPC_FAR *pdwEnabledOptions);
  89. HRESULT ( __stdcall __RPC_FAR *SetInterfaceSafetyOptions )(
  90. IObjectSafety __RPC_FAR * This,
  91. /* [in] */ REFIID riid,
  92. /* [in] */ DWORD dwOptionSetMask,
  93. /* [in] */ DWORD dwEnabledOptions);
  94. } IObjectSafetyVtbl;
  95. interface IObjectSafety
  96. {
  97. CONST_VTBL struct IObjectSafetyVtbl __RPC_FAR *lpVtbl;
  98. };
  99. #ifdef COBJMACROS
  100. #define IObjectSafety_QueryInterface(This,riid,ppvObject) \
  101. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  102. #define IObjectSafety_AddRef(This) \
  103. (This)->lpVtbl -> AddRef(This)
  104. #define IObjectSafety_Release(This) \
  105. (This)->lpVtbl -> Release(This)
  106. #define IObjectSafety_GetInterfaceSafetyOptions(This,riid,pdwSupportedOptions,pdwEnabledOptions) \
  107. (This)->lpVtbl -> GetInterfaceSafetyOptions(This,riid,pdwSupportedOptions,pdwEnabledOptions)
  108. #define IObjectSafety_SetInterfaceSafetyOptions(This,riid,dwOptionSetMask,dwEnabledOptions) \
  109. (This)->lpVtbl -> SetInterfaceSafetyOptions(This,riid,dwOptionSetMask,dwEnabledOptions)
  110. #endif /* COBJMACROS */
  111. #endif /* C style interface */
  112. HRESULT __stdcall IObjectSafety_GetInterfaceSafetyOptions_Proxy(
  113. IObjectSafety __RPC_FAR * This,
  114. /* [in] */ REFIID riid,
  115. /* [out] */ DWORD __RPC_FAR *pdwSupportedOptions,
  116. /* [out] */ DWORD __RPC_FAR *pdwEnabledOptions);
  117. void __RPC_STUB IObjectSafety_GetInterfaceSafetyOptions_Stub(
  118. IRpcStubBuffer *This,
  119. IRpcChannelBuffer *_pRpcChannelBuffer,
  120. PRPC_MESSAGE _pRpcMessage,
  121. DWORD *_pdwStubPhase);
  122. HRESULT __stdcall IObjectSafety_SetInterfaceSafetyOptions_Proxy(
  123. IObjectSafety __RPC_FAR * This,
  124. /* [in] */ REFIID riid,
  125. /* [in] */ DWORD dwOptionSetMask,
  126. /* [in] */ DWORD dwEnabledOptions);
  127. void __RPC_STUB IObjectSafety_SetInterfaceSafetyOptions_Stub(
  128. IRpcStubBuffer *This,
  129. IRpcChannelBuffer *_pRpcChannelBuffer,
  130. PRPC_MESSAGE _pRpcMessage,
  131. DWORD *_pdwStubPhase);
  132. #endif /* __IObjectSafety_INTERFACE_DEFINED__ */
  133. /****************************************
  134. * Generated header for interface: __MIDL__intf_0006
  135. * at Fri May 24 09:44:29 1996
  136. * using MIDL 2.00.0101
  137. ****************************************/
  138. /* [local] */
  139. /* size is 4 */
  140. typedef /* [unique] */ IObjectSafety __RPC_FAR *LPOBJECTSAFETY;
  141. #endif
  142. extern RPC_IF_HANDLE __MIDL__intf_0006_v0_0_c_ifspec;
  143. extern RPC_IF_HANDLE __MIDL__intf_0006_v0_0_s_ifspec;
  144. /* Additional Prototypes for ALL interfaces */
  145. /* end of Additional Prototypes */
  146. #ifdef __cplusplus
  147. }
  148. #endif
  149. #endif