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.

361 lines
11 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 3.00.44 */
  3. /* at Thu Sep 26 18:52:56 1996
  4. */
  5. /* Compiler settings for c:\athena\compobj\idl\ifcbase.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, app_config, c_ext
  7. error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. #include "rpc.h"
  11. #include "rpcndr.h"
  12. #ifndef COM_NO_WINDOWS_H
  13. #include "windows.h"
  14. #include "ole2.h"
  15. #endif /*COM_NO_WINDOWS_H*/
  16. #ifndef __ifcbase_h__
  17. #define __ifcbase_h__
  18. #ifdef __cplusplus
  19. extern "C"{
  20. #endif
  21. /* Forward Declarations */
  22. #ifndef __IPropertyContainer_FWD_DEFINED__
  23. #define __IPropertyContainer_FWD_DEFINED__
  24. typedef interface IPropertyContainer IPropertyContainer;
  25. #endif /* __IPropertyContainer_FWD_DEFINED__ */
  26. /* header files for imported files */
  27. #include "objidl.h"
  28. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  29. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  30. /****************************************
  31. * Generated header for interface: __MIDL__intf_0000
  32. * at Thu Sep 26 18:52:56 1996
  33. * using MIDL 3.00.44
  34. ****************************************/
  35. /* [local] */
  36. // --------------------------------------------------------------------------------
  37. // GUIDS
  38. // --------------------------------------------------------------------------------
  39. // {FD465484-1384-11d0-ABBD-0020AFDFD10A}
  40. DEFINE_GUID(IID_IPropertyContainer, 0xfd465484, 0x1384, 0x11d0, 0xab, 0xbd, 0x0, 0x20, 0xaf, 0xdf, 0xd1, 0xa);
  41. // --------------------------------------------------------------------------------
  42. // Errors
  43. // --------------------------------------------------------------------------------
  44. #ifndef FACILITY_CONTROL
  45. #define FACILITY_CONTROL 0xa
  46. #endif
  47. #ifndef HR_E
  48. #define HR_E(n) MAKE_SCODE(SEVERITY_ERROR, FACILITY_CONTROL, n)
  49. #endif
  50. #ifndef HR_S
  51. #define HR_S(n) MAKE_SCODE(SEVERITY_SUCCESS, FACILITY_CONTROL, n)
  52. #endif
  53. #ifndef HR_CODE
  54. #define HR_CODE(hr) (INT)(hr & 0xffff)
  55. #endif
  56. // --------------------------------------------------------------------------------
  57. // General Errors
  58. // --------------------------------------------------------------------------------
  59. #define E_RegCreateKeyFailed HR_E(101)
  60. #define E_RegQueryInfoKeyFailed HR_E(102)
  61. #define E_UserCancel HR_E(103)
  62. #define E_RegOpenKeyFailed HR_E(104)
  63. #define E_RegSetValueFailed HR_E(105)
  64. #define E_RegDeleteKeyFailed HR_E(106)
  65. // --------------------------------------------------------------------------------
  66. // IPropertyContainer Errors
  67. // --------------------------------------------------------------------------------
  68. #define E_NoPropData HR_E(200)
  69. #define E_BufferTooSmall HR_E(201)
  70. #define E_BadPropType HR_E(202)
  71. #define E_BufferSizeMismatch HR_E(203)
  72. #define E_InvalidBooleanValue HR_E(204)
  73. #define E_InvalidMinMaxValue HR_E(205)
  74. #define E_PropNotFound HR_E(206)
  75. #define E_InvalidPropTag HR_E(207)
  76. #define E_InvalidPropertySet HR_E(208)
  77. #define E_EnumFinished HR_E(209)
  78. #define PROPTAG_MASK ((ULONG)0x0000FFFF)
  79. #define PROPTAG_TYPE(ulPropTag) (PROPTYPE)(((ULONG)(ulPropTag)) & PROPTAG_MASK)
  80. #define PROPTAG_ID(ulPropTag) (((ULONG)(ulPropTag))>>16)
  81. #define PROPTAG(ulPropType,ulPropID) ((((ULONG)(ulPropID))<<16)|((ULONG)(ulPropType)))
  82. #define MAX_PROPID ((ULONG) 0xFFFF)
  83. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_c_ifspec;
  84. extern RPC_IF_HANDLE __MIDL__intf_0000_v0_0_s_ifspec;
  85. #ifndef __IPropertyContainer_INTERFACE_DEFINED__
  86. #define __IPropertyContainer_INTERFACE_DEFINED__
  87. /****************************************
  88. * Generated header for interface: IPropertyContainer
  89. * at Thu Sep 26 18:52:56 1996
  90. * using MIDL 3.00.44
  91. ****************************************/
  92. /* [unique][uuid][object] */
  93. typedef /* [public] */
  94. enum __MIDL_IPropertyContainer_0001
  95. { TYPE_ERROR = 1000,
  96. TYPE_DWORD = TYPE_ERROR + 1,
  97. TYPE_LONG = TYPE_DWORD + 1,
  98. TYPE_WORD = TYPE_LONG + 1,
  99. TYPE_SHORT = TYPE_WORD + 1,
  100. TYPE_BYTE = TYPE_SHORT + 1,
  101. TYPE_CHAR = TYPE_BYTE + 1,
  102. TYPE_FILETIME = TYPE_CHAR + 1,
  103. TYPE_STRING = TYPE_FILETIME + 1,
  104. TYPE_BINARY = TYPE_STRING + 1,
  105. TYPE_FLAGS = TYPE_BINARY + 1,
  106. TYPE_STREAM = TYPE_FLAGS + 1,
  107. TYPE_WSTRING = TYPE_STREAM + 1,
  108. TYPE_BOOL = TYPE_WSTRING + 1,
  109. TYPE_LAST = TYPE_BOOL + 1
  110. } PROPTYPE;
  111. EXTERN_C const IID IID_IPropertyContainer;
  112. #if defined(__cplusplus) && !defined(CINTERFACE)
  113. interface IPropertyContainer : public IUnknown
  114. {
  115. public:
  116. virtual HRESULT STDMETHODCALLTYPE HrGetProp(
  117. /* [in] */ DWORD dwPropTag,
  118. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  119. /* [in] */ ULONG __RPC_FAR *pcb) = 0;
  120. virtual HRESULT STDMETHODCALLTYPE HrGetPropDw(
  121. /* [in] */ DWORD dwPropTag,
  122. /* [out] */ DWORD __RPC_FAR *pdw) = 0;
  123. virtual HRESULT STDMETHODCALLTYPE HrGetPropSz(
  124. /* [in] */ DWORD dwPropTag,
  125. /* [ref][in] */ LPSTR psz,
  126. /* [in] */ ULONG cchMax) = 0;
  127. virtual HRESULT STDMETHODCALLTYPE HrSetProp(
  128. /* [in] */ DWORD dwPropTag,
  129. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  130. /* [in] */ ULONG cb) = 0;
  131. virtual HRESULT STDMETHODCALLTYPE HrSetPropDw(
  132. /* [in] */ DWORD dwPropTag,
  133. /* [in] */ DWORD dw) = 0;
  134. virtual HRESULT STDMETHODCALLTYPE HrSetPropSz(
  135. /* [in] */ DWORD dwPropTag,
  136. /* [in] */ LPSTR psz) = 0;
  137. };
  138. #else /* C style interface */
  139. typedef struct IPropertyContainerVtbl
  140. {
  141. BEGIN_INTERFACE
  142. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  143. IPropertyContainer __RPC_FAR * This,
  144. /* [in] */ REFIID riid,
  145. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  146. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  147. IPropertyContainer __RPC_FAR * This);
  148. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  149. IPropertyContainer __RPC_FAR * This);
  150. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrGetProp )(
  151. IPropertyContainer __RPC_FAR * This,
  152. /* [in] */ DWORD dwPropTag,
  153. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  154. /* [in] */ ULONG __RPC_FAR *pcb);
  155. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrGetPropDw )(
  156. IPropertyContainer __RPC_FAR * This,
  157. /* [in] */ DWORD dwPropTag,
  158. /* [out] */ DWORD __RPC_FAR *pdw);
  159. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrGetPropSz )(
  160. IPropertyContainer __RPC_FAR * This,
  161. /* [in] */ DWORD dwPropTag,
  162. /* [ref][in] */ LPSTR psz,
  163. /* [in] */ ULONG cchMax);
  164. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrSetProp )(
  165. IPropertyContainer __RPC_FAR * This,
  166. /* [in] */ DWORD dwPropTag,
  167. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  168. /* [in] */ ULONG cb);
  169. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrSetPropDw )(
  170. IPropertyContainer __RPC_FAR * This,
  171. /* [in] */ DWORD dwPropTag,
  172. /* [in] */ DWORD dw);
  173. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HrSetPropSz )(
  174. IPropertyContainer __RPC_FAR * This,
  175. /* [in] */ DWORD dwPropTag,
  176. /* [in] */ LPSTR psz);
  177. END_INTERFACE
  178. } IPropertyContainerVtbl;
  179. interface IPropertyContainer
  180. {
  181. CONST_VTBL struct IPropertyContainerVtbl __RPC_FAR *lpVtbl;
  182. };
  183. #ifdef COBJMACROS
  184. #define IPropertyContainer_QueryInterface(This,riid,ppvObject) \
  185. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  186. #define IPropertyContainer_AddRef(This) \
  187. (This)->lpVtbl -> AddRef(This)
  188. #define IPropertyContainer_Release(This) \
  189. (This)->lpVtbl -> Release(This)
  190. #define IPropertyContainer_HrGetProp(This,dwPropTag,pb,pcb) \
  191. (This)->lpVtbl -> HrGetProp(This,dwPropTag,pb,pcb)
  192. #define IPropertyContainer_HrGetPropDw(This,dwPropTag,pdw) \
  193. (This)->lpVtbl -> HrGetPropDw(This,dwPropTag,pdw)
  194. #define IPropertyContainer_HrGetPropSz(This,dwPropTag,psz,cchMax) \
  195. (This)->lpVtbl -> HrGetPropSz(This,dwPropTag,psz,cchMax)
  196. #define IPropertyContainer_HrSetProp(This,dwPropTag,pb,cb) \
  197. (This)->lpVtbl -> HrSetProp(This,dwPropTag,pb,cb)
  198. #define IPropertyContainer_HrSetPropDw(This,dwPropTag,dw) \
  199. (This)->lpVtbl -> HrSetPropDw(This,dwPropTag,dw)
  200. #define IPropertyContainer_HrSetPropSz(This,dwPropTag,psz) \
  201. (This)->lpVtbl -> HrSetPropSz(This,dwPropTag,psz)
  202. #endif /* COBJMACROS */
  203. #endif /* C style interface */
  204. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrGetProp_Proxy(
  205. IPropertyContainer __RPC_FAR * This,
  206. /* [in] */ DWORD dwPropTag,
  207. /* [ref][size_is][in] */ BYTE __RPC_FAR *pb,
  208. /* [in] */ ULONG __RPC_FAR *pcb);
  209. void __RPC_STUB IPropertyContainer_HrGetProp_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrGetPropDw_Proxy(
  215. IPropertyContainer __RPC_FAR * This,
  216. /* [in] */ DWORD dwPropTag,
  217. /* [out] */ DWORD __RPC_FAR *pdw);
  218. void __RPC_STUB IPropertyContainer_HrGetPropDw_Stub(
  219. IRpcStubBuffer *This,
  220. IRpcChannelBuffer *_pRpcChannelBuffer,
  221. PRPC_MESSAGE _pRpcMessage,
  222. DWORD *_pdwStubPhase);
  223. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrGetPropSz_Proxy(
  224. IPropertyContainer __RPC_FAR * This,
  225. /* [in] */ DWORD dwPropTag,
  226. /* [ref][in] */ LPSTR psz,
  227. /* [in] */ ULONG cchMax);
  228. void __RPC_STUB IPropertyContainer_HrGetPropSz_Stub(
  229. IRpcStubBuffer *This,
  230. IRpcChannelBuffer *_pRpcChannelBuffer,
  231. PRPC_MESSAGE _pRpcMessage,
  232. DWORD *_pdwStubPhase);
  233. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrSetProp_Proxy(
  234. IPropertyContainer __RPC_FAR * This,
  235. /* [in] */ DWORD dwPropTag,
  236. /* [size_is][in] */ BYTE __RPC_FAR *pb,
  237. /* [in] */ ULONG cb);
  238. void __RPC_STUB IPropertyContainer_HrSetProp_Stub(
  239. IRpcStubBuffer *This,
  240. IRpcChannelBuffer *_pRpcChannelBuffer,
  241. PRPC_MESSAGE _pRpcMessage,
  242. DWORD *_pdwStubPhase);
  243. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrSetPropDw_Proxy(
  244. IPropertyContainer __RPC_FAR * This,
  245. /* [in] */ DWORD dwPropTag,
  246. /* [in] */ DWORD dw);
  247. void __RPC_STUB IPropertyContainer_HrSetPropDw_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. HRESULT STDMETHODCALLTYPE IPropertyContainer_HrSetPropSz_Proxy(
  253. IPropertyContainer __RPC_FAR * This,
  254. /* [in] */ DWORD dwPropTag,
  255. /* [in] */ LPSTR psz);
  256. void __RPC_STUB IPropertyContainer_HrSetPropSz_Stub(
  257. IRpcStubBuffer *This,
  258. IRpcChannelBuffer *_pRpcChannelBuffer,
  259. PRPC_MESSAGE _pRpcMessage,
  260. DWORD *_pdwStubPhase);
  261. #endif /* __IPropertyContainer_INTERFACE_DEFINED__ */
  262. /* Additional Prototypes for ALL interfaces */
  263. /* end of Additional Prototypes */
  264. #ifdef __cplusplus
  265. }
  266. #endif
  267. #endif