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.

1040 lines
34 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 wmscontext.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 __wmscontext_h__
  27. #define __wmscontext_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IWMSContext_FWD_DEFINED__
  33. #define __IWMSContext_FWD_DEFINED__
  34. typedef interface IWMSContext IWMSContext;
  35. #endif /* __IWMSContext_FWD_DEFINED__ */
  36. #ifndef __IWMSCommandContext_FWD_DEFINED__
  37. #define __IWMSCommandContext_FWD_DEFINED__
  38. typedef interface IWMSCommandContext IWMSCommandContext;
  39. #endif /* __IWMSCommandContext_FWD_DEFINED__ */
  40. /* header files for imported files */
  41. #include "oaidl.h"
  42. #ifdef __cplusplus
  43. extern "C"{
  44. #endif
  45. void * __RPC_USER MIDL_user_allocate(size_t);
  46. void __RPC_USER MIDL_user_free( void * );
  47. /* interface __MIDL_itf_wmscontext_0000 */
  48. /* [local] */
  49. //*****************************************************************************
  50. //
  51. // Microsoft Windows Media
  52. // Copyright (C) Microsoft Corporation. All rights reserved.
  53. //
  54. // Automatically generated by Midl from wmscontext.idl
  55. //
  56. // DO NOT EDIT THIS FILE.
  57. //
  58. //*****************************************************************************
  59. #ifndef _WMSContext
  60. #define _WMSContext
  61. typedef unsigned __int64 QWORD;
  62. EXTERN_GUID( IID_IWMSContext, 0x4f1a1421, 0x5cd5, 0x11d2, 0x9f, 0x5, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  63. EXTERN_GUID( IID_IWMSCommandContext, 0x75554931, 0x5f0e, 0x11d2, 0x9f, 0xe, 0x0, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
  64. typedef /* [public] */
  65. enum WMS_CONTEXT_OPTIONS
  66. { WMS_CONTEXT_SET_PROPERTY_NAME_BY_VALUE = 0x1,
  67. WMS_CONTEXT_SET_PROPERTY_STRING_BY_REFERENCE = 0x2,
  68. WMS_CONTEXT_GET_PROPERTY_STRING_BY_REFERENCE = 0x4
  69. } WMS_CONTEXT_OPTIONS;
  70. typedef /* [public] */
  71. enum WMS_CONTEXT_HINT_CONSTANTS
  72. { WMS_CONTEXT_NO_NAME_HINT = 0xffffffff
  73. } WMS_CONTEXT_HINT_CONSTANTS;
  74. extern RPC_IF_HANDLE __MIDL_itf_wmscontext_0000_v0_0_c_ifspec;
  75. extern RPC_IF_HANDLE __MIDL_itf_wmscontext_0000_v0_0_s_ifspec;
  76. #ifndef __IWMSContext_INTERFACE_DEFINED__
  77. #define __IWMSContext_INTERFACE_DEFINED__
  78. /* interface IWMSContext */
  79. /* [helpstring][unique][uuid][object] */
  80. typedef /* [public] */
  81. enum WMS_CONTEXT_TYPE
  82. { WMS_UNKNOWN_CONTEXT_TYPE = 0,
  83. WMS_SERVER_CONTEXT_TYPE = WMS_UNKNOWN_CONTEXT_TYPE + 1,
  84. WMS_USER_CONTEXT_TYPE = WMS_SERVER_CONTEXT_TYPE + 1,
  85. WMS_PRESENTATION_CONTEXT_TYPE = WMS_USER_CONTEXT_TYPE + 1,
  86. WMS_CONTENT_DESCRIPTION_CONTEXT_TYPE = WMS_PRESENTATION_CONTEXT_TYPE + 1,
  87. WMS_COMMAND_REQUEST_CONTEXT_TYPE = WMS_CONTENT_DESCRIPTION_CONTEXT_TYPE + 1,
  88. WMS_COMMAND_RESPONSE_CONTEXT_TYPE = WMS_COMMAND_REQUEST_CONTEXT_TYPE + 1,
  89. WMS_TRANSPORT_SPEC_CONTEXT_TYPE = WMS_COMMAND_RESPONSE_CONTEXT_TYPE + 1,
  90. WMS_PACKETIZER_CONTEXT_TYPE = WMS_TRANSPORT_SPEC_CONTEXT_TYPE + 1,
  91. WMS_CACHE_CONTENT_INFORMATION_CONTEXT_TYPE = WMS_PACKETIZER_CONTEXT_TYPE + 1,
  92. WMS_ARCHIVE_CONTEXT_TYPE = WMS_CACHE_CONTENT_INFORMATION_CONTEXT_TYPE + 1,
  93. WMS_NUM_CONTEXT_TYPE = WMS_ARCHIVE_CONTEXT_TYPE + 1
  94. } WMS_CONTEXT_TYPE;
  95. EXTERN_C const IID IID_IWMSContext;
  96. #if defined(__cplusplus) && !defined(CINTERFACE)
  97. MIDL_INTERFACE("4F1A1421-5CD5-11d2-9F05-006097D2D7CF")
  98. IWMSContext : public IUnknown
  99. {
  100. public:
  101. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetLongValue(
  102. /* [in] */ LPCWSTR pstrName,
  103. /* [in] */ long lNameHint,
  104. /* [in] */ long lValue,
  105. /* [in] */ long lOptions) = 0;
  106. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetStringValue(
  107. /* [in] */ LPCWSTR pstrName,
  108. /* [in] */ long lNameHint,
  109. /* [in] */ LPCWSTR pstrValue,
  110. /* [in] */ long lOptions) = 0;
  111. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetIUnknownValue(
  112. /* [in] */ LPCWSTR pstrName,
  113. /* [in] */ long lNameHint,
  114. /* [in] */ IUnknown *pValue,
  115. /* [in] */ long lOptions) = 0;
  116. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetQwordValue(
  117. /* [in] */ LPCWSTR pstrName,
  118. /* [in] */ long lNameHint,
  119. /* [in] */ CURRENCY qwValue,
  120. /* [in] */ long lOptions) = 0;
  121. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDateValue(
  122. /* [in] */ LPCWSTR pstrName,
  123. /* [in] */ long lNameHint,
  124. /* [in] */ DATE dateValue,
  125. /* [in] */ long lOptions) = 0;
  126. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetArrayValue(
  127. /* [in] */ LPCWSTR pstrName,
  128. /* [in] */ long lNameHint,
  129. /* [in] */ SAFEARRAY * psaValue,
  130. /* [in] */ long lOptions) = 0;
  131. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetLongValue(
  132. /* [in] */ LPCWSTR pstrName,
  133. /* [in] */ long lNameHint,
  134. /* [out] */ long *plValue,
  135. /* [in] */ long lOptions) = 0;
  136. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetStringValue(
  137. /* [in] */ LPCWSTR pstrName,
  138. /* [in] */ long lNameHint,
  139. /* [out] */ LPWSTR *pstrValue,
  140. /* [in] */ long lOptions) = 0;
  141. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIUnknownValue(
  142. /* [in] */ LPCWSTR pstrName,
  143. /* [in] */ long lNameHint,
  144. /* [out] */ IUnknown **pValue,
  145. /* [in] */ long lOptions) = 0;
  146. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetQwordValue(
  147. /* [in] */ LPCWSTR pstrName,
  148. /* [in] */ long lNameHint,
  149. /* [out] */ CURRENCY *pqwValue,
  150. /* [in] */ long lOptions) = 0;
  151. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDateValue(
  152. /* [in] */ LPCWSTR pstrName,
  153. /* [in] */ long lNameHint,
  154. /* [out] */ DATE *pdateValue,
  155. /* [in] */ long lOptions) = 0;
  156. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetArrayValue(
  157. /* [in] */ LPCWSTR pstrName,
  158. /* [in] */ long lNameHint,
  159. /* [out] */ SAFEARRAY * *ppsaValue,
  160. /* [in] */ long lOptions) = 0;
  161. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetValue(
  162. /* [in] */ LPCWSTR pstrName,
  163. /* [in] */ long lNameHint,
  164. /* [in] */ VARIANT Value,
  165. /* [in] */ long lOptions) = 0;
  166. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetValue(
  167. /* [in] */ LPCWSTR pstrName,
  168. /* [in] */ long lNameHint,
  169. /* [out] */ VARIANT *pValue,
  170. /* [in] */ long lOptions) = 0;
  171. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetValueCount(
  172. /* [out] */ long *pCount) = 0;
  173. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetIndexedValue(
  174. /* [in] */ long lIndex,
  175. /* [out] */ LPWSTR *pstrName,
  176. /* [out] */ long *plNameHint,
  177. /* [out] */ VARIANT *pValue,
  178. /* [out] */ long *pdwResultOptions,
  179. /* [in] */ long lOptions) = 0;
  180. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveValue(
  181. /* [in] */ LPCWSTR pstrName,
  182. /* [in] */ long lNameHint,
  183. /* [in] */ long lOptions) = 0;
  184. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAllValues( void) = 0;
  185. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContextType(
  186. /* [out] */ WMS_CONTEXT_TYPE *pType) = 0;
  187. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetAndQueryIUnknownValue(
  188. /* [in] */ LPCWSTR pstrName,
  189. /* [in] */ long lNameHint,
  190. /* [in] */ REFIID riid,
  191. /* [iid_is][out] */ IUnknown **pResult,
  192. /* [in] */ long lOptions) = 0;
  193. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CopyValues(
  194. /* [in] */ IWMSContext *pDest,
  195. /* [in] */ LPCWSTR *pstrName,
  196. /* [in] */ long *lNameHint,
  197. /* [in] */ long lNames) = 0;
  198. };
  199. #else /* C style interface */
  200. typedef struct IWMSContextVtbl
  201. {
  202. BEGIN_INTERFACE
  203. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  204. IWMSContext * This,
  205. /* [in] */ REFIID riid,
  206. /* [iid_is][out] */ void **ppvObject);
  207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  208. IWMSContext * This);
  209. ULONG ( STDMETHODCALLTYPE *Release )(
  210. IWMSContext * This);
  211. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetLongValue )(
  212. IWMSContext * This,
  213. /* [in] */ LPCWSTR pstrName,
  214. /* [in] */ long lNameHint,
  215. /* [in] */ long lValue,
  216. /* [in] */ long lOptions);
  217. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetStringValue )(
  218. IWMSContext * This,
  219. /* [in] */ LPCWSTR pstrName,
  220. /* [in] */ long lNameHint,
  221. /* [in] */ LPCWSTR pstrValue,
  222. /* [in] */ long lOptions);
  223. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetIUnknownValue )(
  224. IWMSContext * This,
  225. /* [in] */ LPCWSTR pstrName,
  226. /* [in] */ long lNameHint,
  227. /* [in] */ IUnknown *pValue,
  228. /* [in] */ long lOptions);
  229. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetQwordValue )(
  230. IWMSContext * This,
  231. /* [in] */ LPCWSTR pstrName,
  232. /* [in] */ long lNameHint,
  233. /* [in] */ CURRENCY qwValue,
  234. /* [in] */ long lOptions);
  235. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetDateValue )(
  236. IWMSContext * This,
  237. /* [in] */ LPCWSTR pstrName,
  238. /* [in] */ long lNameHint,
  239. /* [in] */ DATE dateValue,
  240. /* [in] */ long lOptions);
  241. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetArrayValue )(
  242. IWMSContext * This,
  243. /* [in] */ LPCWSTR pstrName,
  244. /* [in] */ long lNameHint,
  245. /* [in] */ SAFEARRAY * psaValue,
  246. /* [in] */ long lOptions);
  247. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetLongValue )(
  248. IWMSContext * This,
  249. /* [in] */ LPCWSTR pstrName,
  250. /* [in] */ long lNameHint,
  251. /* [out] */ long *plValue,
  252. /* [in] */ long lOptions);
  253. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetStringValue )(
  254. IWMSContext * This,
  255. /* [in] */ LPCWSTR pstrName,
  256. /* [in] */ long lNameHint,
  257. /* [out] */ LPWSTR *pstrValue,
  258. /* [in] */ long lOptions);
  259. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIUnknownValue )(
  260. IWMSContext * This,
  261. /* [in] */ LPCWSTR pstrName,
  262. /* [in] */ long lNameHint,
  263. /* [out] */ IUnknown **pValue,
  264. /* [in] */ long lOptions);
  265. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetQwordValue )(
  266. IWMSContext * This,
  267. /* [in] */ LPCWSTR pstrName,
  268. /* [in] */ long lNameHint,
  269. /* [out] */ CURRENCY *pqwValue,
  270. /* [in] */ long lOptions);
  271. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDateValue )(
  272. IWMSContext * This,
  273. /* [in] */ LPCWSTR pstrName,
  274. /* [in] */ long lNameHint,
  275. /* [out] */ DATE *pdateValue,
  276. /* [in] */ long lOptions);
  277. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetArrayValue )(
  278. IWMSContext * This,
  279. /* [in] */ LPCWSTR pstrName,
  280. /* [in] */ long lNameHint,
  281. /* [out] */ SAFEARRAY * *ppsaValue,
  282. /* [in] */ long lOptions);
  283. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetValue )(
  284. IWMSContext * This,
  285. /* [in] */ LPCWSTR pstrName,
  286. /* [in] */ long lNameHint,
  287. /* [in] */ VARIANT Value,
  288. /* [in] */ long lOptions);
  289. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetValue )(
  290. IWMSContext * This,
  291. /* [in] */ LPCWSTR pstrName,
  292. /* [in] */ long lNameHint,
  293. /* [out] */ VARIANT *pValue,
  294. /* [in] */ long lOptions);
  295. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetValueCount )(
  296. IWMSContext * This,
  297. /* [out] */ long *pCount);
  298. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetIndexedValue )(
  299. IWMSContext * This,
  300. /* [in] */ long lIndex,
  301. /* [out] */ LPWSTR *pstrName,
  302. /* [out] */ long *plNameHint,
  303. /* [out] */ VARIANT *pValue,
  304. /* [out] */ long *pdwResultOptions,
  305. /* [in] */ long lOptions);
  306. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveValue )(
  307. IWMSContext * This,
  308. /* [in] */ LPCWSTR pstrName,
  309. /* [in] */ long lNameHint,
  310. /* [in] */ long lOptions);
  311. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAllValues )(
  312. IWMSContext * This);
  313. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContextType )(
  314. IWMSContext * This,
  315. /* [out] */ WMS_CONTEXT_TYPE *pType);
  316. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetAndQueryIUnknownValue )(
  317. IWMSContext * This,
  318. /* [in] */ LPCWSTR pstrName,
  319. /* [in] */ long lNameHint,
  320. /* [in] */ REFIID riid,
  321. /* [iid_is][out] */ IUnknown **pResult,
  322. /* [in] */ long lOptions);
  323. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CopyValues )(
  324. IWMSContext * This,
  325. /* [in] */ IWMSContext *pDest,
  326. /* [in] */ LPCWSTR *pstrName,
  327. /* [in] */ long *lNameHint,
  328. /* [in] */ long lNames);
  329. END_INTERFACE
  330. } IWMSContextVtbl;
  331. interface IWMSContext
  332. {
  333. CONST_VTBL struct IWMSContextVtbl *lpVtbl;
  334. };
  335. #ifdef COBJMACROS
  336. #define IWMSContext_QueryInterface(This,riid,ppvObject) \
  337. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  338. #define IWMSContext_AddRef(This) \
  339. (This)->lpVtbl -> AddRef(This)
  340. #define IWMSContext_Release(This) \
  341. (This)->lpVtbl -> Release(This)
  342. #define IWMSContext_SetLongValue(This,pstrName,lNameHint,lValue,lOptions) \
  343. (This)->lpVtbl -> SetLongValue(This,pstrName,lNameHint,lValue,lOptions)
  344. #define IWMSContext_SetStringValue(This,pstrName,lNameHint,pstrValue,lOptions) \
  345. (This)->lpVtbl -> SetStringValue(This,pstrName,lNameHint,pstrValue,lOptions)
  346. #define IWMSContext_SetIUnknownValue(This,pstrName,lNameHint,pValue,lOptions) \
  347. (This)->lpVtbl -> SetIUnknownValue(This,pstrName,lNameHint,pValue,lOptions)
  348. #define IWMSContext_SetQwordValue(This,pstrName,lNameHint,qwValue,lOptions) \
  349. (This)->lpVtbl -> SetQwordValue(This,pstrName,lNameHint,qwValue,lOptions)
  350. #define IWMSContext_SetDateValue(This,pstrName,lNameHint,dateValue,lOptions) \
  351. (This)->lpVtbl -> SetDateValue(This,pstrName,lNameHint,dateValue,lOptions)
  352. #define IWMSContext_SetArrayValue(This,pstrName,lNameHint,psaValue,lOptions) \
  353. (This)->lpVtbl -> SetArrayValue(This,pstrName,lNameHint,psaValue,lOptions)
  354. #define IWMSContext_GetLongValue(This,pstrName,lNameHint,plValue,lOptions) \
  355. (This)->lpVtbl -> GetLongValue(This,pstrName,lNameHint,plValue,lOptions)
  356. #define IWMSContext_GetStringValue(This,pstrName,lNameHint,pstrValue,lOptions) \
  357. (This)->lpVtbl -> GetStringValue(This,pstrName,lNameHint,pstrValue,lOptions)
  358. #define IWMSContext_GetIUnknownValue(This,pstrName,lNameHint,pValue,lOptions) \
  359. (This)->lpVtbl -> GetIUnknownValue(This,pstrName,lNameHint,pValue,lOptions)
  360. #define IWMSContext_GetQwordValue(This,pstrName,lNameHint,pqwValue,lOptions) \
  361. (This)->lpVtbl -> GetQwordValue(This,pstrName,lNameHint,pqwValue,lOptions)
  362. #define IWMSContext_GetDateValue(This,pstrName,lNameHint,pdateValue,lOptions) \
  363. (This)->lpVtbl -> GetDateValue(This,pstrName,lNameHint,pdateValue,lOptions)
  364. #define IWMSContext_GetArrayValue(This,pstrName,lNameHint,ppsaValue,lOptions) \
  365. (This)->lpVtbl -> GetArrayValue(This,pstrName,lNameHint,ppsaValue,lOptions)
  366. #define IWMSContext_SetValue(This,pstrName,lNameHint,Value,lOptions) \
  367. (This)->lpVtbl -> SetValue(This,pstrName,lNameHint,Value,lOptions)
  368. #define IWMSContext_GetValue(This,pstrName,lNameHint,pValue,lOptions) \
  369. (This)->lpVtbl -> GetValue(This,pstrName,lNameHint,pValue,lOptions)
  370. #define IWMSContext_GetValueCount(This,pCount) \
  371. (This)->lpVtbl -> GetValueCount(This,pCount)
  372. #define IWMSContext_GetIndexedValue(This,lIndex,pstrName,plNameHint,pValue,pdwResultOptions,lOptions) \
  373. (This)->lpVtbl -> GetIndexedValue(This,lIndex,pstrName,plNameHint,pValue,pdwResultOptions,lOptions)
  374. #define IWMSContext_RemoveValue(This,pstrName,lNameHint,lOptions) \
  375. (This)->lpVtbl -> RemoveValue(This,pstrName,lNameHint,lOptions)
  376. #define IWMSContext_RemoveAllValues(This) \
  377. (This)->lpVtbl -> RemoveAllValues(This)
  378. #define IWMSContext_GetContextType(This,pType) \
  379. (This)->lpVtbl -> GetContextType(This,pType)
  380. #define IWMSContext_GetAndQueryIUnknownValue(This,pstrName,lNameHint,riid,pResult,lOptions) \
  381. (This)->lpVtbl -> GetAndQueryIUnknownValue(This,pstrName,lNameHint,riid,pResult,lOptions)
  382. #define IWMSContext_CopyValues(This,pDest,pstrName,lNameHint,lNames) \
  383. (This)->lpVtbl -> CopyValues(This,pDest,pstrName,lNameHint,lNames)
  384. #endif /* COBJMACROS */
  385. #endif /* C style interface */
  386. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetLongValue_Proxy(
  387. IWMSContext * This,
  388. /* [in] */ LPCWSTR pstrName,
  389. /* [in] */ long lNameHint,
  390. /* [in] */ long lValue,
  391. /* [in] */ long lOptions);
  392. void __RPC_STUB IWMSContext_SetLongValue_Stub(
  393. IRpcStubBuffer *This,
  394. IRpcChannelBuffer *_pRpcChannelBuffer,
  395. PRPC_MESSAGE _pRpcMessage,
  396. DWORD *_pdwStubPhase);
  397. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetStringValue_Proxy(
  398. IWMSContext * This,
  399. /* [in] */ LPCWSTR pstrName,
  400. /* [in] */ long lNameHint,
  401. /* [in] */ LPCWSTR pstrValue,
  402. /* [in] */ long lOptions);
  403. void __RPC_STUB IWMSContext_SetStringValue_Stub(
  404. IRpcStubBuffer *This,
  405. IRpcChannelBuffer *_pRpcChannelBuffer,
  406. PRPC_MESSAGE _pRpcMessage,
  407. DWORD *_pdwStubPhase);
  408. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetIUnknownValue_Proxy(
  409. IWMSContext * This,
  410. /* [in] */ LPCWSTR pstrName,
  411. /* [in] */ long lNameHint,
  412. /* [in] */ IUnknown *pValue,
  413. /* [in] */ long lOptions);
  414. void __RPC_STUB IWMSContext_SetIUnknownValue_Stub(
  415. IRpcStubBuffer *This,
  416. IRpcChannelBuffer *_pRpcChannelBuffer,
  417. PRPC_MESSAGE _pRpcMessage,
  418. DWORD *_pdwStubPhase);
  419. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetQwordValue_Proxy(
  420. IWMSContext * This,
  421. /* [in] */ LPCWSTR pstrName,
  422. /* [in] */ long lNameHint,
  423. /* [in] */ CURRENCY qwValue,
  424. /* [in] */ long lOptions);
  425. void __RPC_STUB IWMSContext_SetQwordValue_Stub(
  426. IRpcStubBuffer *This,
  427. IRpcChannelBuffer *_pRpcChannelBuffer,
  428. PRPC_MESSAGE _pRpcMessage,
  429. DWORD *_pdwStubPhase);
  430. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetDateValue_Proxy(
  431. IWMSContext * This,
  432. /* [in] */ LPCWSTR pstrName,
  433. /* [in] */ long lNameHint,
  434. /* [in] */ DATE dateValue,
  435. /* [in] */ long lOptions);
  436. void __RPC_STUB IWMSContext_SetDateValue_Stub(
  437. IRpcStubBuffer *This,
  438. IRpcChannelBuffer *_pRpcChannelBuffer,
  439. PRPC_MESSAGE _pRpcMessage,
  440. DWORD *_pdwStubPhase);
  441. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetArrayValue_Proxy(
  442. IWMSContext * This,
  443. /* [in] */ LPCWSTR pstrName,
  444. /* [in] */ long lNameHint,
  445. /* [in] */ SAFEARRAY * psaValue,
  446. /* [in] */ long lOptions);
  447. void __RPC_STUB IWMSContext_SetArrayValue_Stub(
  448. IRpcStubBuffer *This,
  449. IRpcChannelBuffer *_pRpcChannelBuffer,
  450. PRPC_MESSAGE _pRpcMessage,
  451. DWORD *_pdwStubPhase);
  452. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetLongValue_Proxy(
  453. IWMSContext * This,
  454. /* [in] */ LPCWSTR pstrName,
  455. /* [in] */ long lNameHint,
  456. /* [out] */ long *plValue,
  457. /* [in] */ long lOptions);
  458. void __RPC_STUB IWMSContext_GetLongValue_Stub(
  459. IRpcStubBuffer *This,
  460. IRpcChannelBuffer *_pRpcChannelBuffer,
  461. PRPC_MESSAGE _pRpcMessage,
  462. DWORD *_pdwStubPhase);
  463. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetStringValue_Proxy(
  464. IWMSContext * This,
  465. /* [in] */ LPCWSTR pstrName,
  466. /* [in] */ long lNameHint,
  467. /* [out] */ LPWSTR *pstrValue,
  468. /* [in] */ long lOptions);
  469. void __RPC_STUB IWMSContext_GetStringValue_Stub(
  470. IRpcStubBuffer *This,
  471. IRpcChannelBuffer *_pRpcChannelBuffer,
  472. PRPC_MESSAGE _pRpcMessage,
  473. DWORD *_pdwStubPhase);
  474. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetIUnknownValue_Proxy(
  475. IWMSContext * This,
  476. /* [in] */ LPCWSTR pstrName,
  477. /* [in] */ long lNameHint,
  478. /* [out] */ IUnknown **pValue,
  479. /* [in] */ long lOptions);
  480. void __RPC_STUB IWMSContext_GetIUnknownValue_Stub(
  481. IRpcStubBuffer *This,
  482. IRpcChannelBuffer *_pRpcChannelBuffer,
  483. PRPC_MESSAGE _pRpcMessage,
  484. DWORD *_pdwStubPhase);
  485. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetQwordValue_Proxy(
  486. IWMSContext * This,
  487. /* [in] */ LPCWSTR pstrName,
  488. /* [in] */ long lNameHint,
  489. /* [out] */ CURRENCY *pqwValue,
  490. /* [in] */ long lOptions);
  491. void __RPC_STUB IWMSContext_GetQwordValue_Stub(
  492. IRpcStubBuffer *This,
  493. IRpcChannelBuffer *_pRpcChannelBuffer,
  494. PRPC_MESSAGE _pRpcMessage,
  495. DWORD *_pdwStubPhase);
  496. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetDateValue_Proxy(
  497. IWMSContext * This,
  498. /* [in] */ LPCWSTR pstrName,
  499. /* [in] */ long lNameHint,
  500. /* [out] */ DATE *pdateValue,
  501. /* [in] */ long lOptions);
  502. void __RPC_STUB IWMSContext_GetDateValue_Stub(
  503. IRpcStubBuffer *This,
  504. IRpcChannelBuffer *_pRpcChannelBuffer,
  505. PRPC_MESSAGE _pRpcMessage,
  506. DWORD *_pdwStubPhase);
  507. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetArrayValue_Proxy(
  508. IWMSContext * This,
  509. /* [in] */ LPCWSTR pstrName,
  510. /* [in] */ long lNameHint,
  511. /* [out] */ SAFEARRAY * *ppsaValue,
  512. /* [in] */ long lOptions);
  513. void __RPC_STUB IWMSContext_GetArrayValue_Stub(
  514. IRpcStubBuffer *This,
  515. IRpcChannelBuffer *_pRpcChannelBuffer,
  516. PRPC_MESSAGE _pRpcMessage,
  517. DWORD *_pdwStubPhase);
  518. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_SetValue_Proxy(
  519. IWMSContext * This,
  520. /* [in] */ LPCWSTR pstrName,
  521. /* [in] */ long lNameHint,
  522. /* [in] */ VARIANT Value,
  523. /* [in] */ long lOptions);
  524. void __RPC_STUB IWMSContext_SetValue_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetValue_Proxy(
  530. IWMSContext * This,
  531. /* [in] */ LPCWSTR pstrName,
  532. /* [in] */ long lNameHint,
  533. /* [out] */ VARIANT *pValue,
  534. /* [in] */ long lOptions);
  535. void __RPC_STUB IWMSContext_GetValue_Stub(
  536. IRpcStubBuffer *This,
  537. IRpcChannelBuffer *_pRpcChannelBuffer,
  538. PRPC_MESSAGE _pRpcMessage,
  539. DWORD *_pdwStubPhase);
  540. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetValueCount_Proxy(
  541. IWMSContext * This,
  542. /* [out] */ long *pCount);
  543. void __RPC_STUB IWMSContext_GetValueCount_Stub(
  544. IRpcStubBuffer *This,
  545. IRpcChannelBuffer *_pRpcChannelBuffer,
  546. PRPC_MESSAGE _pRpcMessage,
  547. DWORD *_pdwStubPhase);
  548. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetIndexedValue_Proxy(
  549. IWMSContext * This,
  550. /* [in] */ long lIndex,
  551. /* [out] */ LPWSTR *pstrName,
  552. /* [out] */ long *plNameHint,
  553. /* [out] */ VARIANT *pValue,
  554. /* [out] */ long *pdwResultOptions,
  555. /* [in] */ long lOptions);
  556. void __RPC_STUB IWMSContext_GetIndexedValue_Stub(
  557. IRpcStubBuffer *This,
  558. IRpcChannelBuffer *_pRpcChannelBuffer,
  559. PRPC_MESSAGE _pRpcMessage,
  560. DWORD *_pdwStubPhase);
  561. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_RemoveValue_Proxy(
  562. IWMSContext * This,
  563. /* [in] */ LPCWSTR pstrName,
  564. /* [in] */ long lNameHint,
  565. /* [in] */ long lOptions);
  566. void __RPC_STUB IWMSContext_RemoveValue_Stub(
  567. IRpcStubBuffer *This,
  568. IRpcChannelBuffer *_pRpcChannelBuffer,
  569. PRPC_MESSAGE _pRpcMessage,
  570. DWORD *_pdwStubPhase);
  571. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_RemoveAllValues_Proxy(
  572. IWMSContext * This);
  573. void __RPC_STUB IWMSContext_RemoveAllValues_Stub(
  574. IRpcStubBuffer *This,
  575. IRpcChannelBuffer *_pRpcChannelBuffer,
  576. PRPC_MESSAGE _pRpcMessage,
  577. DWORD *_pdwStubPhase);
  578. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetContextType_Proxy(
  579. IWMSContext * This,
  580. /* [out] */ WMS_CONTEXT_TYPE *pType);
  581. void __RPC_STUB IWMSContext_GetContextType_Stub(
  582. IRpcStubBuffer *This,
  583. IRpcChannelBuffer *_pRpcChannelBuffer,
  584. PRPC_MESSAGE _pRpcMessage,
  585. DWORD *_pdwStubPhase);
  586. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_GetAndQueryIUnknownValue_Proxy(
  587. IWMSContext * This,
  588. /* [in] */ LPCWSTR pstrName,
  589. /* [in] */ long lNameHint,
  590. /* [in] */ REFIID riid,
  591. /* [iid_is][out] */ IUnknown **pResult,
  592. /* [in] */ long lOptions);
  593. void __RPC_STUB IWMSContext_GetAndQueryIUnknownValue_Stub(
  594. IRpcStubBuffer *This,
  595. IRpcChannelBuffer *_pRpcChannelBuffer,
  596. PRPC_MESSAGE _pRpcMessage,
  597. DWORD *_pdwStubPhase);
  598. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSContext_CopyValues_Proxy(
  599. IWMSContext * This,
  600. /* [in] */ IWMSContext *pDest,
  601. /* [in] */ LPCWSTR *pstrName,
  602. /* [in] */ long *lNameHint,
  603. /* [in] */ long lNames);
  604. void __RPC_STUB IWMSContext_CopyValues_Stub(
  605. IRpcStubBuffer *This,
  606. IRpcChannelBuffer *_pRpcChannelBuffer,
  607. PRPC_MESSAGE _pRpcMessage,
  608. DWORD *_pdwStubPhase);
  609. #endif /* __IWMSContext_INTERFACE_DEFINED__ */
  610. #ifndef __IWMSCommandContext_INTERFACE_DEFINED__
  611. #define __IWMSCommandContext_INTERFACE_DEFINED__
  612. /* interface IWMSCommandContext */
  613. /* [helpstring][unique][version][uuid][object] */
  614. EXTERN_C const IID IID_IWMSCommandContext;
  615. #if defined(__cplusplus) && !defined(CINTERFACE)
  616. MIDL_INTERFACE("75554931-5F0E-11d2-9F0E-006097D2D7CF")
  617. IWMSCommandContext : public IUnknown
  618. {
  619. public:
  620. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCommandRequest(
  621. /* [out] */ IWMSContext **ppProps) = 0;
  622. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCommandResponse(
  623. /* [out] */ IWMSContext **ppProps) = 0;
  624. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EraseCommandRequest( void) = 0;
  625. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EraseCommandResponse( void) = 0;
  626. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPlaylistGenerationId(
  627. /* [in] */ DWORD dwId) = 0;
  628. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetPlaylistGenerationId(
  629. /* [out] */ DWORD *pdwId) = 0;
  630. };
  631. #else /* C style interface */
  632. typedef struct IWMSCommandContextVtbl
  633. {
  634. BEGIN_INTERFACE
  635. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  636. IWMSCommandContext * This,
  637. /* [in] */ REFIID riid,
  638. /* [iid_is][out] */ void **ppvObject);
  639. ULONG ( STDMETHODCALLTYPE *AddRef )(
  640. IWMSCommandContext * This);
  641. ULONG ( STDMETHODCALLTYPE *Release )(
  642. IWMSCommandContext * This);
  643. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCommandRequest )(
  644. IWMSCommandContext * This,
  645. /* [out] */ IWMSContext **ppProps);
  646. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCommandResponse )(
  647. IWMSCommandContext * This,
  648. /* [out] */ IWMSContext **ppProps);
  649. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EraseCommandRequest )(
  650. IWMSCommandContext * This);
  651. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EraseCommandResponse )(
  652. IWMSCommandContext * This);
  653. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPlaylistGenerationId )(
  654. IWMSCommandContext * This,
  655. /* [in] */ DWORD dwId);
  656. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetPlaylistGenerationId )(
  657. IWMSCommandContext * This,
  658. /* [out] */ DWORD *pdwId);
  659. END_INTERFACE
  660. } IWMSCommandContextVtbl;
  661. interface IWMSCommandContext
  662. {
  663. CONST_VTBL struct IWMSCommandContextVtbl *lpVtbl;
  664. };
  665. #ifdef COBJMACROS
  666. #define IWMSCommandContext_QueryInterface(This,riid,ppvObject) \
  667. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  668. #define IWMSCommandContext_AddRef(This) \
  669. (This)->lpVtbl -> AddRef(This)
  670. #define IWMSCommandContext_Release(This) \
  671. (This)->lpVtbl -> Release(This)
  672. #define IWMSCommandContext_GetCommandRequest(This,ppProps) \
  673. (This)->lpVtbl -> GetCommandRequest(This,ppProps)
  674. #define IWMSCommandContext_GetCommandResponse(This,ppProps) \
  675. (This)->lpVtbl -> GetCommandResponse(This,ppProps)
  676. #define IWMSCommandContext_EraseCommandRequest(This) \
  677. (This)->lpVtbl -> EraseCommandRequest(This)
  678. #define IWMSCommandContext_EraseCommandResponse(This) \
  679. (This)->lpVtbl -> EraseCommandResponse(This)
  680. #define IWMSCommandContext_SetPlaylistGenerationId(This,dwId) \
  681. (This)->lpVtbl -> SetPlaylistGenerationId(This,dwId)
  682. #define IWMSCommandContext_GetPlaylistGenerationId(This,pdwId) \
  683. (This)->lpVtbl -> GetPlaylistGenerationId(This,pdwId)
  684. #endif /* COBJMACROS */
  685. #endif /* C style interface */
  686. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_GetCommandRequest_Proxy(
  687. IWMSCommandContext * This,
  688. /* [out] */ IWMSContext **ppProps);
  689. void __RPC_STUB IWMSCommandContext_GetCommandRequest_Stub(
  690. IRpcStubBuffer *This,
  691. IRpcChannelBuffer *_pRpcChannelBuffer,
  692. PRPC_MESSAGE _pRpcMessage,
  693. DWORD *_pdwStubPhase);
  694. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_GetCommandResponse_Proxy(
  695. IWMSCommandContext * This,
  696. /* [out] */ IWMSContext **ppProps);
  697. void __RPC_STUB IWMSCommandContext_GetCommandResponse_Stub(
  698. IRpcStubBuffer *This,
  699. IRpcChannelBuffer *_pRpcChannelBuffer,
  700. PRPC_MESSAGE _pRpcMessage,
  701. DWORD *_pdwStubPhase);
  702. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_EraseCommandRequest_Proxy(
  703. IWMSCommandContext * This);
  704. void __RPC_STUB IWMSCommandContext_EraseCommandRequest_Stub(
  705. IRpcStubBuffer *This,
  706. IRpcChannelBuffer *_pRpcChannelBuffer,
  707. PRPC_MESSAGE _pRpcMessage,
  708. DWORD *_pdwStubPhase);
  709. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_EraseCommandResponse_Proxy(
  710. IWMSCommandContext * This);
  711. void __RPC_STUB IWMSCommandContext_EraseCommandResponse_Stub(
  712. IRpcStubBuffer *This,
  713. IRpcChannelBuffer *_pRpcChannelBuffer,
  714. PRPC_MESSAGE _pRpcMessage,
  715. DWORD *_pdwStubPhase);
  716. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_SetPlaylistGenerationId_Proxy(
  717. IWMSCommandContext * This,
  718. /* [in] */ DWORD dwId);
  719. void __RPC_STUB IWMSCommandContext_SetPlaylistGenerationId_Stub(
  720. IRpcStubBuffer *This,
  721. IRpcChannelBuffer *_pRpcChannelBuffer,
  722. PRPC_MESSAGE _pRpcMessage,
  723. DWORD *_pdwStubPhase);
  724. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSCommandContext_GetPlaylistGenerationId_Proxy(
  725. IWMSCommandContext * This,
  726. /* [out] */ DWORD *pdwId);
  727. void __RPC_STUB IWMSCommandContext_GetPlaylistGenerationId_Stub(
  728. IRpcStubBuffer *This,
  729. IRpcChannelBuffer *_pRpcChannelBuffer,
  730. PRPC_MESSAGE _pRpcMessage,
  731. DWORD *_pdwStubPhase);
  732. #endif /* __IWMSCommandContext_INTERFACE_DEFINED__ */
  733. /* interface __MIDL_itf_wmscontext_0116 */
  734. /* [local] */
  735. #endif
  736. extern RPC_IF_HANDLE __MIDL_itf_wmscontext_0116_v0_0_c_ifspec;
  737. extern RPC_IF_HANDLE __MIDL_itf_wmscontext_0116_v0_0_s_ifspec;
  738. /* Additional Prototypes for ALL interfaces */
  739. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
  740. unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
  741. unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
  742. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
  743. unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
  744. unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
  745. unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
  746. void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
  747. /* end of Additional Prototypes */
  748. #ifdef __cplusplus
  749. }
  750. #endif
  751. #endif