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.

565 lines
18 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 wmsnamedvalues.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, 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 __wmsnamedvalues_h__
  27. #define __wmsnamedvalues_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSNamedValue_FWD_DEFINED__
  33. #define __IWMSNamedValue_FWD_DEFINED__
  34. typedef interface IWMSNamedValue IWMSNamedValue;
  35. #endif /* __IWMSNamedValue_FWD_DEFINED__ */
  36. #ifndef __IWMSNamedValues_FWD_DEFINED__
  37. #define __IWMSNamedValues_FWD_DEFINED__
  38. typedef interface IWMSNamedValues IWMSNamedValues;
  39. #endif /* __IWMSNamedValues_FWD_DEFINED__ */
  40. #ifndef __DWMSNamedValuesEvents_FWD_DEFINED__
  41. #define __DWMSNamedValuesEvents_FWD_DEFINED__
  42. typedef interface DWMSNamedValuesEvents DWMSNamedValuesEvents;
  43. #endif /* __DWMSNamedValuesEvents_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "oaidl.h"
  46. #ifdef __cplusplus
  47. extern "C"{
  48. #endif
  49. void * __RPC_USER MIDL_user_allocate(size_t);
  50. void __RPC_USER MIDL_user_free( void * );
  51. /* interface __MIDL_itf_wmsnamedvalues_0000 */
  52. /* [local] */
  53. //*****************************************************************************
  54. //
  55. // Microsoft Windows Media
  56. // Copyright (C) Microsoft Corporation. All rights reserved.
  57. //
  58. // Automatically generated by Midl from wmsnamedvalues.idl
  59. //
  60. // DO NOT EDIT THIS FILE.
  61. //
  62. //*****************************************************************************
  63. #pragma once
  64. extern RPC_IF_HANDLE __MIDL_itf_wmsnamedvalues_0000_v0_0_c_ifspec;
  65. extern RPC_IF_HANDLE __MIDL_itf_wmsnamedvalues_0000_v0_0_s_ifspec;
  66. #ifndef __IWMSNamedValue_INTERFACE_DEFINED__
  67. #define __IWMSNamedValue_INTERFACE_DEFINED__
  68. /* interface IWMSNamedValue */
  69. /* [unique][helpstring][nonextensible][dual][uuid][object] */
  70. EXTERN_C const IID IID_IWMSNamedValue;
  71. #if defined(__cplusplus) && !defined(CINTERFACE)
  72. MIDL_INTERFACE("18812741-4BEC-11D2-BF25-00805FBE84A6")
  73. IWMSNamedValue : public IDispatch
  74. {
  75. public:
  76. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  77. /* [retval][out] */ BSTR *pVal) = 0;
  78. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Value(
  79. /* [retval][out] */ VARIANT *pVal) = 0;
  80. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Value(
  81. /* [in] */ VARIANT newVal) = 0;
  82. };
  83. #else /* C style interface */
  84. typedef struct IWMSNamedValueVtbl
  85. {
  86. BEGIN_INTERFACE
  87. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  88. IWMSNamedValue * This,
  89. /* [in] */ REFIID riid,
  90. /* [iid_is][out] */ void **ppvObject);
  91. ULONG ( STDMETHODCALLTYPE *AddRef )(
  92. IWMSNamedValue * This);
  93. ULONG ( STDMETHODCALLTYPE *Release )(
  94. IWMSNamedValue * This);
  95. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  96. IWMSNamedValue * This,
  97. /* [out] */ UINT *pctinfo);
  98. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  99. IWMSNamedValue * This,
  100. /* [in] */ UINT iTInfo,
  101. /* [in] */ LCID lcid,
  102. /* [out] */ ITypeInfo **ppTInfo);
  103. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  104. IWMSNamedValue * This,
  105. /* [in] */ REFIID riid,
  106. /* [size_is][in] */ LPOLESTR *rgszNames,
  107. /* [in] */ UINT cNames,
  108. /* [in] */ LCID lcid,
  109. /* [size_is][out] */ DISPID *rgDispId);
  110. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  111. IWMSNamedValue * This,
  112. /* [in] */ DISPID dispIdMember,
  113. /* [in] */ REFIID riid,
  114. /* [in] */ LCID lcid,
  115. /* [in] */ WORD wFlags,
  116. /* [out][in] */ DISPPARAMS *pDispParams,
  117. /* [out] */ VARIANT *pVarResult,
  118. /* [out] */ EXCEPINFO *pExcepInfo,
  119. /* [out] */ UINT *puArgErr);
  120. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  121. IWMSNamedValue * This,
  122. /* [retval][out] */ BSTR *pVal);
  123. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
  124. IWMSNamedValue * This,
  125. /* [retval][out] */ VARIANT *pVal);
  126. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
  127. IWMSNamedValue * This,
  128. /* [in] */ VARIANT newVal);
  129. END_INTERFACE
  130. } IWMSNamedValueVtbl;
  131. interface IWMSNamedValue
  132. {
  133. CONST_VTBL struct IWMSNamedValueVtbl *lpVtbl;
  134. };
  135. #ifdef COBJMACROS
  136. #define IWMSNamedValue_QueryInterface(This,riid,ppvObject) \
  137. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  138. #define IWMSNamedValue_AddRef(This) \
  139. (This)->lpVtbl -> AddRef(This)
  140. #define IWMSNamedValue_Release(This) \
  141. (This)->lpVtbl -> Release(This)
  142. #define IWMSNamedValue_GetTypeInfoCount(This,pctinfo) \
  143. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  144. #define IWMSNamedValue_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  145. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  146. #define IWMSNamedValue_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  147. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  148. #define IWMSNamedValue_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  149. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  150. #define IWMSNamedValue_get_Name(This,pVal) \
  151. (This)->lpVtbl -> get_Name(This,pVal)
  152. #define IWMSNamedValue_get_Value(This,pVal) \
  153. (This)->lpVtbl -> get_Value(This,pVal)
  154. #define IWMSNamedValue_put_Value(This,newVal) \
  155. (This)->lpVtbl -> put_Value(This,newVal)
  156. #endif /* COBJMACROS */
  157. #endif /* C style interface */
  158. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValue_get_Name_Proxy(
  159. IWMSNamedValue * This,
  160. /* [retval][out] */ BSTR *pVal);
  161. void __RPC_STUB IWMSNamedValue_get_Name_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValue_get_Value_Proxy(
  167. IWMSNamedValue * This,
  168. /* [retval][out] */ VARIANT *pVal);
  169. void __RPC_STUB IWMSNamedValue_get_Value_Stub(
  170. IRpcStubBuffer *This,
  171. IRpcChannelBuffer *_pRpcChannelBuffer,
  172. PRPC_MESSAGE _pRpcMessage,
  173. DWORD *_pdwStubPhase);
  174. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IWMSNamedValue_put_Value_Proxy(
  175. IWMSNamedValue * This,
  176. /* [in] */ VARIANT newVal);
  177. void __RPC_STUB IWMSNamedValue_put_Value_Stub(
  178. IRpcStubBuffer *This,
  179. IRpcChannelBuffer *_pRpcChannelBuffer,
  180. PRPC_MESSAGE _pRpcMessage,
  181. DWORD *_pdwStubPhase);
  182. #endif /* __IWMSNamedValue_INTERFACE_DEFINED__ */
  183. #ifndef __IWMSNamedValues_INTERFACE_DEFINED__
  184. #define __IWMSNamedValues_INTERFACE_DEFINED__
  185. /* interface IWMSNamedValues */
  186. /* [unique][helpstring][nonextensible][dual][uuid][object] */
  187. EXTERN_C const IID IID_IWMSNamedValues;
  188. #if defined(__cplusplus) && !defined(CINTERFACE)
  189. MIDL_INTERFACE("18812743-4BEC-11D2-BF25-00805FBE84A6")
  190. IWMSNamedValues : public IDispatch
  191. {
  192. public:
  193. virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Item(
  194. /* [in] */ const VARIANT varIndex,
  195. /* [in] */ VARIANT varValue) = 0;
  196. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Item(
  197. /* [in] */ const VARIANT varIndex,
  198. /* [retval][out] */ IWMSNamedValue **pVal) = 0;
  199. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  200. /* [retval][out] */ long *pVal) = 0;
  201. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_length(
  202. /* [retval][out] */ long *pVal) = 0;
  203. virtual /* [hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE get__NewEnum(
  204. /* [retval][out] */ IUnknown **pVal) = 0;
  205. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Add(
  206. /* [in] */ BSTR szName,
  207. /* [defaultvalue][in] */ VARIANT varValue,
  208. /* [retval][out] */ IWMSNamedValue **pItem) = 0;
  209. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Remove(
  210. /* [in] */ VARIANT varIndex) = 0;
  211. };
  212. #else /* C style interface */
  213. typedef struct IWMSNamedValuesVtbl
  214. {
  215. BEGIN_INTERFACE
  216. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  217. IWMSNamedValues * This,
  218. /* [in] */ REFIID riid,
  219. /* [iid_is][out] */ void **ppvObject);
  220. ULONG ( STDMETHODCALLTYPE *AddRef )(
  221. IWMSNamedValues * This);
  222. ULONG ( STDMETHODCALLTYPE *Release )(
  223. IWMSNamedValues * This);
  224. HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
  225. IWMSNamedValues * This,
  226. /* [out] */ UINT *pctinfo);
  227. HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
  228. IWMSNamedValues * This,
  229. /* [in] */ UINT iTInfo,
  230. /* [in] */ LCID lcid,
  231. /* [out] */ ITypeInfo **ppTInfo);
  232. HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
  233. IWMSNamedValues * This,
  234. /* [in] */ REFIID riid,
  235. /* [size_is][in] */ LPOLESTR *rgszNames,
  236. /* [in] */ UINT cNames,
  237. /* [in] */ LCID lcid,
  238. /* [size_is][out] */ DISPID *rgDispId);
  239. /* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
  240. IWMSNamedValues * This,
  241. /* [in] */ DISPID dispIdMember,
  242. /* [in] */ REFIID riid,
  243. /* [in] */ LCID lcid,
  244. /* [in] */ WORD wFlags,
  245. /* [out][in] */ DISPPARAMS *pDispParams,
  246. /* [out] */ VARIANT *pVarResult,
  247. /* [out] */ EXCEPINFO *pExcepInfo,
  248. /* [out] */ UINT *puArgErr);
  249. /* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Item )(
  250. IWMSNamedValues * This,
  251. /* [in] */ const VARIANT varIndex,
  252. /* [in] */ VARIANT varValue);
  253. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
  254. IWMSNamedValues * This,
  255. /* [in] */ const VARIANT varIndex,
  256. /* [retval][out] */ IWMSNamedValue **pVal);
  257. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  258. IWMSNamedValues * This,
  259. /* [retval][out] */ long *pVal);
  260. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_length )(
  261. IWMSNamedValues * This,
  262. /* [retval][out] */ long *pVal);
  263. /* [hidden][restricted][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
  264. IWMSNamedValues * This,
  265. /* [retval][out] */ IUnknown **pVal);
  266. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Add )(
  267. IWMSNamedValues * This,
  268. /* [in] */ BSTR szName,
  269. /* [defaultvalue][in] */ VARIANT varValue,
  270. /* [retval][out] */ IWMSNamedValue **pItem);
  271. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  272. IWMSNamedValues * This,
  273. /* [in] */ VARIANT varIndex);
  274. END_INTERFACE
  275. } IWMSNamedValuesVtbl;
  276. interface IWMSNamedValues
  277. {
  278. CONST_VTBL struct IWMSNamedValuesVtbl *lpVtbl;
  279. };
  280. #ifdef COBJMACROS
  281. #define IWMSNamedValues_QueryInterface(This,riid,ppvObject) \
  282. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  283. #define IWMSNamedValues_AddRef(This) \
  284. (This)->lpVtbl -> AddRef(This)
  285. #define IWMSNamedValues_Release(This) \
  286. (This)->lpVtbl -> Release(This)
  287. #define IWMSNamedValues_GetTypeInfoCount(This,pctinfo) \
  288. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  289. #define IWMSNamedValues_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  290. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  291. #define IWMSNamedValues_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  292. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  293. #define IWMSNamedValues_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  294. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  295. #define IWMSNamedValues_put_Item(This,varIndex,varValue) \
  296. (This)->lpVtbl -> put_Item(This,varIndex,varValue)
  297. #define IWMSNamedValues_get_Item(This,varIndex,pVal) \
  298. (This)->lpVtbl -> get_Item(This,varIndex,pVal)
  299. #define IWMSNamedValues_get_Count(This,pVal) \
  300. (This)->lpVtbl -> get_Count(This,pVal)
  301. #define IWMSNamedValues_get_length(This,pVal) \
  302. (This)->lpVtbl -> get_length(This,pVal)
  303. #define IWMSNamedValues_get__NewEnum(This,pVal) \
  304. (This)->lpVtbl -> get__NewEnum(This,pVal)
  305. #define IWMSNamedValues_Add(This,szName,varValue,pItem) \
  306. (This)->lpVtbl -> Add(This,szName,varValue,pItem)
  307. #define IWMSNamedValues_Remove(This,varIndex) \
  308. (This)->lpVtbl -> Remove(This,varIndex)
  309. #endif /* COBJMACROS */
  310. #endif /* C style interface */
  311. /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_put_Item_Proxy(
  312. IWMSNamedValues * This,
  313. /* [in] */ const VARIANT varIndex,
  314. /* [in] */ VARIANT varValue);
  315. void __RPC_STUB IWMSNamedValues_put_Item_Stub(
  316. IRpcStubBuffer *This,
  317. IRpcChannelBuffer *_pRpcChannelBuffer,
  318. PRPC_MESSAGE _pRpcMessage,
  319. DWORD *_pdwStubPhase);
  320. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_get_Item_Proxy(
  321. IWMSNamedValues * This,
  322. /* [in] */ const VARIANT varIndex,
  323. /* [retval][out] */ IWMSNamedValue **pVal);
  324. void __RPC_STUB IWMSNamedValues_get_Item_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_get_Count_Proxy(
  330. IWMSNamedValues * This,
  331. /* [retval][out] */ long *pVal);
  332. void __RPC_STUB IWMSNamedValues_get_Count_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_get_length_Proxy(
  338. IWMSNamedValues * This,
  339. /* [retval][out] */ long *pVal);
  340. void __RPC_STUB IWMSNamedValues_get_length_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. /* [hidden][restricted][id][propget] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_get__NewEnum_Proxy(
  346. IWMSNamedValues * This,
  347. /* [retval][out] */ IUnknown **pVal);
  348. void __RPC_STUB IWMSNamedValues_get__NewEnum_Stub(
  349. IRpcStubBuffer *This,
  350. IRpcChannelBuffer *_pRpcChannelBuffer,
  351. PRPC_MESSAGE _pRpcMessage,
  352. DWORD *_pdwStubPhase);
  353. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_Add_Proxy(
  354. IWMSNamedValues * This,
  355. /* [in] */ BSTR szName,
  356. /* [defaultvalue][in] */ VARIANT varValue,
  357. /* [retval][out] */ IWMSNamedValue **pItem);
  358. void __RPC_STUB IWMSNamedValues_Add_Stub(
  359. IRpcStubBuffer *This,
  360. IRpcChannelBuffer *_pRpcChannelBuffer,
  361. PRPC_MESSAGE _pRpcMessage,
  362. DWORD *_pdwStubPhase);
  363. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMSNamedValues_Remove_Proxy(
  364. IWMSNamedValues * This,
  365. /* [in] */ VARIANT varIndex);
  366. void __RPC_STUB IWMSNamedValues_Remove_Stub(
  367. IRpcStubBuffer *This,
  368. IRpcChannelBuffer *_pRpcChannelBuffer,
  369. PRPC_MESSAGE _pRpcMessage,
  370. DWORD *_pdwStubPhase);
  371. #endif /* __IWMSNamedValues_INTERFACE_DEFINED__ */
  372. /* Additional Prototypes for ALL interfaces */
  373. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  374. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  375. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  376. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  377. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  378. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  379. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  380. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  381. /* end of Additional Prototypes */
  382. #ifdef __cplusplus
  383. }
  384. #endif
  385. #endif