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.

8332 lines
295 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Thu May 03 06:48:12 2001
  4. */
  5. /* Compiler settings for wmp.idl:
  6. Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __wmp_h__
  24. #define __wmp_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __IWMPErrorItem_FWD_DEFINED__
  30. #define __IWMPErrorItem_FWD_DEFINED__
  31. typedef interface IWMPErrorItem IWMPErrorItem;
  32. #endif /* __IWMPErrorItem_FWD_DEFINED__ */
  33. #ifndef __IWMPError_FWD_DEFINED__
  34. #define __IWMPError_FWD_DEFINED__
  35. typedef interface IWMPError IWMPError;
  36. #endif /* __IWMPError_FWD_DEFINED__ */
  37. #ifndef __IWMPMedia_FWD_DEFINED__
  38. #define __IWMPMedia_FWD_DEFINED__
  39. typedef interface IWMPMedia IWMPMedia;
  40. #endif /* __IWMPMedia_FWD_DEFINED__ */
  41. #ifndef __IWMPControls_FWD_DEFINED__
  42. #define __IWMPControls_FWD_DEFINED__
  43. typedef interface IWMPControls IWMPControls;
  44. #endif /* __IWMPControls_FWD_DEFINED__ */
  45. #ifndef __IWMPSettings_FWD_DEFINED__
  46. #define __IWMPSettings_FWD_DEFINED__
  47. typedef interface IWMPSettings IWMPSettings;
  48. #endif /* __IWMPSettings_FWD_DEFINED__ */
  49. #ifndef __IWMPClosedCaption_FWD_DEFINED__
  50. #define __IWMPClosedCaption_FWD_DEFINED__
  51. typedef interface IWMPClosedCaption IWMPClosedCaption;
  52. #endif /* __IWMPClosedCaption_FWD_DEFINED__ */
  53. #ifndef __IWMPPlaylist_FWD_DEFINED__
  54. #define __IWMPPlaylist_FWD_DEFINED__
  55. typedef interface IWMPPlaylist IWMPPlaylist;
  56. #endif /* __IWMPPlaylist_FWD_DEFINED__ */
  57. #ifndef __IWMPCdrom_FWD_DEFINED__
  58. #define __IWMPCdrom_FWD_DEFINED__
  59. typedef interface IWMPCdrom IWMPCdrom;
  60. #endif /* __IWMPCdrom_FWD_DEFINED__ */
  61. #ifndef __IWMPCdromCollection_FWD_DEFINED__
  62. #define __IWMPCdromCollection_FWD_DEFINED__
  63. typedef interface IWMPCdromCollection IWMPCdromCollection;
  64. #endif /* __IWMPCdromCollection_FWD_DEFINED__ */
  65. #ifndef __IWMPStringCollection_FWD_DEFINED__
  66. #define __IWMPStringCollection_FWD_DEFINED__
  67. typedef interface IWMPStringCollection IWMPStringCollection;
  68. #endif /* __IWMPStringCollection_FWD_DEFINED__ */
  69. #ifndef __IWMPMediaCollection_FWD_DEFINED__
  70. #define __IWMPMediaCollection_FWD_DEFINED__
  71. typedef interface IWMPMediaCollection IWMPMediaCollection;
  72. #endif /* __IWMPMediaCollection_FWD_DEFINED__ */
  73. #ifndef __IWMPPlaylistArray_FWD_DEFINED__
  74. #define __IWMPPlaylistArray_FWD_DEFINED__
  75. typedef interface IWMPPlaylistArray IWMPPlaylistArray;
  76. #endif /* __IWMPPlaylistArray_FWD_DEFINED__ */
  77. #ifndef __IWMPPlaylistCollection_FWD_DEFINED__
  78. #define __IWMPPlaylistCollection_FWD_DEFINED__
  79. typedef interface IWMPPlaylistCollection IWMPPlaylistCollection;
  80. #endif /* __IWMPPlaylistCollection_FWD_DEFINED__ */
  81. #ifndef __IWMPNetwork_FWD_DEFINED__
  82. #define __IWMPNetwork_FWD_DEFINED__
  83. typedef interface IWMPNetwork IWMPNetwork;
  84. #endif /* __IWMPNetwork_FWD_DEFINED__ */
  85. #ifndef __IWMPCore_FWD_DEFINED__
  86. #define __IWMPCore_FWD_DEFINED__
  87. typedef interface IWMPCore IWMPCore;
  88. #endif /* __IWMPCore_FWD_DEFINED__ */
  89. #ifndef __IWMPPlayer_FWD_DEFINED__
  90. #define __IWMPPlayer_FWD_DEFINED__
  91. typedef interface IWMPPlayer IWMPPlayer;
  92. #endif /* __IWMPPlayer_FWD_DEFINED__ */
  93. #ifndef __IWMPPlayer2_FWD_DEFINED__
  94. #define __IWMPPlayer2_FWD_DEFINED__
  95. typedef interface IWMPPlayer2 IWMPPlayer2;
  96. #endif /* __IWMPPlayer2_FWD_DEFINED__ */
  97. #ifndef __IWMPMedia2_FWD_DEFINED__
  98. #define __IWMPMedia2_FWD_DEFINED__
  99. typedef interface IWMPMedia2 IWMPMedia2;
  100. #endif /* __IWMPMedia2_FWD_DEFINED__ */
  101. #ifndef __IWMPControls2_FWD_DEFINED__
  102. #define __IWMPControls2_FWD_DEFINED__
  103. typedef interface IWMPControls2 IWMPControls2;
  104. #endif /* __IWMPControls2_FWD_DEFINED__ */
  105. #ifndef __IWMPDVD_FWD_DEFINED__
  106. #define __IWMPDVD_FWD_DEFINED__
  107. typedef interface IWMPDVD IWMPDVD;
  108. #endif /* __IWMPDVD_FWD_DEFINED__ */
  109. #ifndef __IWMPCore2_FWD_DEFINED__
  110. #define __IWMPCore2_FWD_DEFINED__
  111. typedef interface IWMPCore2 IWMPCore2;
  112. #endif /* __IWMPCore2_FWD_DEFINED__ */
  113. #ifndef __IWMPPlayer3_FWD_DEFINED__
  114. #define __IWMPPlayer3_FWD_DEFINED__
  115. typedef interface IWMPPlayer3 IWMPPlayer3;
  116. #endif /* __IWMPPlayer3_FWD_DEFINED__ */
  117. #ifndef ___WMPOCXEvents_FWD_DEFINED__
  118. #define ___WMPOCXEvents_FWD_DEFINED__
  119. typedef interface _WMPOCXEvents _WMPOCXEvents;
  120. #endif /* ___WMPOCXEvents_FWD_DEFINED__ */
  121. #ifndef __WMPOCX_FWD_DEFINED__
  122. #define __WMPOCX_FWD_DEFINED__
  123. #ifdef __cplusplus
  124. typedef class WMPOCX WMPOCX;
  125. #else
  126. typedef struct WMPOCX WMPOCX;
  127. #endif /* __cplusplus */
  128. #endif /* __WMPOCX_FWD_DEFINED__ */
  129. /* header files for imported files */
  130. #include "oaidl.h"
  131. #include "ocidl.h"
  132. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  133. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  134. /* interface __MIDL_itf_wmp_0000 */
  135. /* [local] */
  136. typedef /* [public][helpstring] */
  137. enum WMPOpenState
  138. { wmposUndefined = 0,
  139. wmposPlaylistChanging = wmposUndefined + 1,
  140. wmposPlaylistLocating = wmposPlaylistChanging + 1,
  141. wmposPlaylistConnecting = wmposPlaylistLocating + 1,
  142. wmposPlaylistLoading = wmposPlaylistConnecting + 1,
  143. wmposPlaylistOpening = wmposPlaylistLoading + 1,
  144. wmposPlaylistOpenNoMedia = wmposPlaylistOpening + 1,
  145. wmposPlaylistChanged = wmposPlaylistOpenNoMedia + 1,
  146. wmposMediaChanging = wmposPlaylistChanged + 1,
  147. wmposMediaLocating = wmposMediaChanging + 1,
  148. wmposMediaConnecting = wmposMediaLocating + 1,
  149. wmposMediaLoading = wmposMediaConnecting + 1,
  150. wmposMediaOpening = wmposMediaLoading + 1,
  151. wmposMediaOpen = wmposMediaOpening + 1,
  152. wmposBeginCodecAcquisition = wmposMediaOpen + 1,
  153. wmposEndCodecAcquisition = wmposBeginCodecAcquisition + 1,
  154. wmposBeginLicenseAcquisition = wmposEndCodecAcquisition + 1,
  155. wmposEndLicenseAcquisition = wmposBeginLicenseAcquisition + 1,
  156. wmposBeginIndividualization = wmposEndLicenseAcquisition + 1,
  157. wmposEndIndividualization = wmposBeginIndividualization + 1,
  158. wmposMediaWaiting = wmposEndIndividualization + 1,
  159. wmposOpeningUnknownURL = wmposMediaWaiting + 1
  160. } WMPOpenState;
  161. typedef /* [public][helpstring] */
  162. enum WMPPlayState
  163. { wmppsUndefined = 0,
  164. wmppsStopped = wmppsUndefined + 1,
  165. wmppsPaused = wmppsStopped + 1,
  166. wmppsPlaying = wmppsPaused + 1,
  167. wmppsScanForward = wmppsPlaying + 1,
  168. wmppsScanReverse = wmppsScanForward + 1,
  169. wmppsBuffering = wmppsScanReverse + 1,
  170. wmppsWaiting = wmppsBuffering + 1,
  171. wmppsMediaEnded = wmppsWaiting + 1,
  172. wmppsTransitioning = wmppsMediaEnded + 1,
  173. wmppsReady = wmppsTransitioning + 1
  174. } WMPPlayState;
  175. typedef /* [public][helpstring] */
  176. enum WMPPlaylistChangeEventType
  177. { wmplcUnknown = 0,
  178. wmplcClear = wmplcUnknown + 1,
  179. wmplcInfoChange = wmplcClear + 1,
  180. wmplcMove = wmplcInfoChange + 1,
  181. wmplcDelete = wmplcMove + 1,
  182. wmplcInsert = wmplcDelete + 1,
  183. wmplcAppend = wmplcInsert + 1,
  184. wmplcPrivate = wmplcAppend + 1,
  185. wmplcNameChange = wmplcPrivate + 1,
  186. wmplcMorph = wmplcNameChange + 1,
  187. wmplcLast = wmplcMorph + 1
  188. } WMPPlaylistChangeEventType;
  189. extern RPC_IF_HANDLE __MIDL_itf_wmp_0000_v0_0_c_ifspec;
  190. extern RPC_IF_HANDLE __MIDL_itf_wmp_0000_v0_0_s_ifspec;
  191. #ifndef __IWMPErrorItem_INTERFACE_DEFINED__
  192. #define __IWMPErrorItem_INTERFACE_DEFINED__
  193. /* interface IWMPErrorItem */
  194. /* [unique][helpstring][dual][uuid][object] */
  195. EXTERN_C const IID IID_IWMPErrorItem;
  196. #if defined(__cplusplus) && !defined(CINTERFACE)
  197. MIDL_INTERFACE("3614C646-3B3B-4de7-A81E-930E3F2127B3")
  198. IWMPErrorItem : public IDispatch
  199. {
  200. public:
  201. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_errorCode(
  202. /* [retval][out] */ long __RPC_FAR *phr) = 0;
  203. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_errorDescription(
  204. /* [retval][out] */ BSTR __RPC_FAR *pbstrDescription) = 0;
  205. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_errorContext(
  206. /* [retval][out] */ VARIANT __RPC_FAR *pvarContext) = 0;
  207. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_remedy(
  208. /* [retval][out] */ long __RPC_FAR *plRemedy) = 0;
  209. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_customUrl(
  210. /* [retval][out] */ BSTR __RPC_FAR *pbstrCustomUrl) = 0;
  211. };
  212. #else /* C style interface */
  213. typedef struct IWMPErrorItemVtbl
  214. {
  215. BEGIN_INTERFACE
  216. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  217. IWMPErrorItem __RPC_FAR * This,
  218. /* [in] */ REFIID riid,
  219. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  220. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  221. IWMPErrorItem __RPC_FAR * This);
  222. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  223. IWMPErrorItem __RPC_FAR * This);
  224. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  225. IWMPErrorItem __RPC_FAR * This,
  226. /* [out] */ UINT __RPC_FAR *pctinfo);
  227. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  228. IWMPErrorItem __RPC_FAR * This,
  229. /* [in] */ UINT iTInfo,
  230. /* [in] */ LCID lcid,
  231. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  232. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  233. IWMPErrorItem __RPC_FAR * This,
  234. /* [in] */ REFIID riid,
  235. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  236. /* [in] */ UINT cNames,
  237. /* [in] */ LCID lcid,
  238. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  239. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  240. IWMPErrorItem __RPC_FAR * This,
  241. /* [in] */ DISPID dispIdMember,
  242. /* [in] */ REFIID riid,
  243. /* [in] */ LCID lcid,
  244. /* [in] */ WORD wFlags,
  245. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  246. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  247. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  248. /* [out] */ UINT __RPC_FAR *puArgErr);
  249. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_errorCode )(
  250. IWMPErrorItem __RPC_FAR * This,
  251. /* [retval][out] */ long __RPC_FAR *phr);
  252. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_errorDescription )(
  253. IWMPErrorItem __RPC_FAR * This,
  254. /* [retval][out] */ BSTR __RPC_FAR *pbstrDescription);
  255. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_errorContext )(
  256. IWMPErrorItem __RPC_FAR * This,
  257. /* [retval][out] */ VARIANT __RPC_FAR *pvarContext);
  258. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_remedy )(
  259. IWMPErrorItem __RPC_FAR * This,
  260. /* [retval][out] */ long __RPC_FAR *plRemedy);
  261. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_customUrl )(
  262. IWMPErrorItem __RPC_FAR * This,
  263. /* [retval][out] */ BSTR __RPC_FAR *pbstrCustomUrl);
  264. END_INTERFACE
  265. } IWMPErrorItemVtbl;
  266. interface IWMPErrorItem
  267. {
  268. CONST_VTBL struct IWMPErrorItemVtbl __RPC_FAR *lpVtbl;
  269. };
  270. #ifdef COBJMACROS
  271. #define IWMPErrorItem_QueryInterface(This,riid,ppvObject) \
  272. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  273. #define IWMPErrorItem_AddRef(This) \
  274. (This)->lpVtbl -> AddRef(This)
  275. #define IWMPErrorItem_Release(This) \
  276. (This)->lpVtbl -> Release(This)
  277. #define IWMPErrorItem_GetTypeInfoCount(This,pctinfo) \
  278. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  279. #define IWMPErrorItem_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  280. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  281. #define IWMPErrorItem_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  282. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  283. #define IWMPErrorItem_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  284. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  285. #define IWMPErrorItem_get_errorCode(This,phr) \
  286. (This)->lpVtbl -> get_errorCode(This,phr)
  287. #define IWMPErrorItem_get_errorDescription(This,pbstrDescription) \
  288. (This)->lpVtbl -> get_errorDescription(This,pbstrDescription)
  289. #define IWMPErrorItem_get_errorContext(This,pvarContext) \
  290. (This)->lpVtbl -> get_errorContext(This,pvarContext)
  291. #define IWMPErrorItem_get_remedy(This,plRemedy) \
  292. (This)->lpVtbl -> get_remedy(This,plRemedy)
  293. #define IWMPErrorItem_get_customUrl(This,pbstrCustomUrl) \
  294. (This)->lpVtbl -> get_customUrl(This,pbstrCustomUrl)
  295. #endif /* COBJMACROS */
  296. #endif /* C style interface */
  297. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPErrorItem_get_errorCode_Proxy(
  298. IWMPErrorItem __RPC_FAR * This,
  299. /* [retval][out] */ long __RPC_FAR *phr);
  300. void __RPC_STUB IWMPErrorItem_get_errorCode_Stub(
  301. IRpcStubBuffer *This,
  302. IRpcChannelBuffer *_pRpcChannelBuffer,
  303. PRPC_MESSAGE _pRpcMessage,
  304. DWORD *_pdwStubPhase);
  305. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPErrorItem_get_errorDescription_Proxy(
  306. IWMPErrorItem __RPC_FAR * This,
  307. /* [retval][out] */ BSTR __RPC_FAR *pbstrDescription);
  308. void __RPC_STUB IWMPErrorItem_get_errorDescription_Stub(
  309. IRpcStubBuffer *This,
  310. IRpcChannelBuffer *_pRpcChannelBuffer,
  311. PRPC_MESSAGE _pRpcMessage,
  312. DWORD *_pdwStubPhase);
  313. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPErrorItem_get_errorContext_Proxy(
  314. IWMPErrorItem __RPC_FAR * This,
  315. /* [retval][out] */ VARIANT __RPC_FAR *pvarContext);
  316. void __RPC_STUB IWMPErrorItem_get_errorContext_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPErrorItem_get_remedy_Proxy(
  322. IWMPErrorItem __RPC_FAR * This,
  323. /* [retval][out] */ long __RPC_FAR *plRemedy);
  324. void __RPC_STUB IWMPErrorItem_get_remedy_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPErrorItem_get_customUrl_Proxy(
  330. IWMPErrorItem __RPC_FAR * This,
  331. /* [retval][out] */ BSTR __RPC_FAR *pbstrCustomUrl);
  332. void __RPC_STUB IWMPErrorItem_get_customUrl_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. #endif /* __IWMPErrorItem_INTERFACE_DEFINED__ */
  338. #ifndef __IWMPError_INTERFACE_DEFINED__
  339. #define __IWMPError_INTERFACE_DEFINED__
  340. /* interface IWMPError */
  341. /* [unique][helpstring][dual][uuid][object] */
  342. EXTERN_C const IID IID_IWMPError;
  343. #if defined(__cplusplus) && !defined(CINTERFACE)
  344. MIDL_INTERFACE("A12DCF7D-14AB-4c1b-A8CD-63909F06025B")
  345. IWMPError : public IDispatch
  346. {
  347. public:
  348. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE clearErrorQueue( void) = 0;
  349. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_errorCount(
  350. /* [retval][out] */ long __RPC_FAR *plNumErrors) = 0;
  351. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_item(
  352. /* [in] */ DWORD dwIndex,
  353. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppErrorItem) = 0;
  354. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE webHelp( void) = 0;
  355. };
  356. #else /* C style interface */
  357. typedef struct IWMPErrorVtbl
  358. {
  359. BEGIN_INTERFACE
  360. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  361. IWMPError __RPC_FAR * This,
  362. /* [in] */ REFIID riid,
  363. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  364. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  365. IWMPError __RPC_FAR * This);
  366. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  367. IWMPError __RPC_FAR * This);
  368. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  369. IWMPError __RPC_FAR * This,
  370. /* [out] */ UINT __RPC_FAR *pctinfo);
  371. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  372. IWMPError __RPC_FAR * This,
  373. /* [in] */ UINT iTInfo,
  374. /* [in] */ LCID lcid,
  375. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  376. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  377. IWMPError __RPC_FAR * This,
  378. /* [in] */ REFIID riid,
  379. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  380. /* [in] */ UINT cNames,
  381. /* [in] */ LCID lcid,
  382. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  383. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  384. IWMPError __RPC_FAR * This,
  385. /* [in] */ DISPID dispIdMember,
  386. /* [in] */ REFIID riid,
  387. /* [in] */ LCID lcid,
  388. /* [in] */ WORD wFlags,
  389. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  390. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  391. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  392. /* [out] */ UINT __RPC_FAR *puArgErr);
  393. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clearErrorQueue )(
  394. IWMPError __RPC_FAR * This);
  395. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_errorCount )(
  396. IWMPError __RPC_FAR * This,
  397. /* [retval][out] */ long __RPC_FAR *plNumErrors);
  398. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_item )(
  399. IWMPError __RPC_FAR * This,
  400. /* [in] */ DWORD dwIndex,
  401. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppErrorItem);
  402. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *webHelp )(
  403. IWMPError __RPC_FAR * This);
  404. END_INTERFACE
  405. } IWMPErrorVtbl;
  406. interface IWMPError
  407. {
  408. CONST_VTBL struct IWMPErrorVtbl __RPC_FAR *lpVtbl;
  409. };
  410. #ifdef COBJMACROS
  411. #define IWMPError_QueryInterface(This,riid,ppvObject) \
  412. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  413. #define IWMPError_AddRef(This) \
  414. (This)->lpVtbl -> AddRef(This)
  415. #define IWMPError_Release(This) \
  416. (This)->lpVtbl -> Release(This)
  417. #define IWMPError_GetTypeInfoCount(This,pctinfo) \
  418. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  419. #define IWMPError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  420. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  421. #define IWMPError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  422. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  423. #define IWMPError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  424. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  425. #define IWMPError_clearErrorQueue(This) \
  426. (This)->lpVtbl -> clearErrorQueue(This)
  427. #define IWMPError_get_errorCount(This,plNumErrors) \
  428. (This)->lpVtbl -> get_errorCount(This,plNumErrors)
  429. #define IWMPError_get_item(This,dwIndex,ppErrorItem) \
  430. (This)->lpVtbl -> get_item(This,dwIndex,ppErrorItem)
  431. #define IWMPError_webHelp(This) \
  432. (This)->lpVtbl -> webHelp(This)
  433. #endif /* COBJMACROS */
  434. #endif /* C style interface */
  435. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPError_clearErrorQueue_Proxy(
  436. IWMPError __RPC_FAR * This);
  437. void __RPC_STUB IWMPError_clearErrorQueue_Stub(
  438. IRpcStubBuffer *This,
  439. IRpcChannelBuffer *_pRpcChannelBuffer,
  440. PRPC_MESSAGE _pRpcMessage,
  441. DWORD *_pdwStubPhase);
  442. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPError_get_errorCount_Proxy(
  443. IWMPError __RPC_FAR * This,
  444. /* [retval][out] */ long __RPC_FAR *plNumErrors);
  445. void __RPC_STUB IWMPError_get_errorCount_Stub(
  446. IRpcStubBuffer *This,
  447. IRpcChannelBuffer *_pRpcChannelBuffer,
  448. PRPC_MESSAGE _pRpcMessage,
  449. DWORD *_pdwStubPhase);
  450. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPError_get_item_Proxy(
  451. IWMPError __RPC_FAR * This,
  452. /* [in] */ DWORD dwIndex,
  453. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppErrorItem);
  454. void __RPC_STUB IWMPError_get_item_Stub(
  455. IRpcStubBuffer *This,
  456. IRpcChannelBuffer *_pRpcChannelBuffer,
  457. PRPC_MESSAGE _pRpcMessage,
  458. DWORD *_pdwStubPhase);
  459. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPError_webHelp_Proxy(
  460. IWMPError __RPC_FAR * This);
  461. void __RPC_STUB IWMPError_webHelp_Stub(
  462. IRpcStubBuffer *This,
  463. IRpcChannelBuffer *_pRpcChannelBuffer,
  464. PRPC_MESSAGE _pRpcMessage,
  465. DWORD *_pdwStubPhase);
  466. #endif /* __IWMPError_INTERFACE_DEFINED__ */
  467. #ifndef __IWMPMedia_INTERFACE_DEFINED__
  468. #define __IWMPMedia_INTERFACE_DEFINED__
  469. /* interface IWMPMedia */
  470. /* [unique][helpstring][dual][uuid][object] */
  471. EXTERN_C const IID IID_IWMPMedia;
  472. #if defined(__cplusplus) && !defined(CINTERFACE)
  473. MIDL_INTERFACE("94D55E95-3FAC-11d3-B155-00C04F79FAA6")
  474. IWMPMedia : public IDispatch
  475. {
  476. public:
  477. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isIdentical(
  478. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia,
  479. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool) = 0;
  480. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_sourceURL(
  481. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceURL) = 0;
  482. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_name(
  483. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  484. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_name(
  485. /* [in] */ BSTR bstrName) = 0;
  486. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_imageSourceWidth(
  487. /* [retval][out] */ long __RPC_FAR *pWidth) = 0;
  488. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_imageSourceHeight(
  489. /* [retval][out] */ long __RPC_FAR *pHeight) = 0;
  490. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_markerCount(
  491. /* [retval][out] */ long __RPC_FAR *pMarkerCount) = 0;
  492. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMarkerTime(
  493. /* [in] */ long MarkerNum,
  494. /* [retval][out] */ double __RPC_FAR *pMarkerTime) = 0;
  495. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMarkerName(
  496. /* [in] */ long MarkerNum,
  497. /* [retval][out] */ BSTR __RPC_FAR *pbstrMarkerName) = 0;
  498. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_duration(
  499. /* [retval][out] */ double __RPC_FAR *pDuration) = 0;
  500. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_durationString(
  501. /* [retval][out] */ BSTR __RPC_FAR *pbstrDuration) = 0;
  502. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_attributeCount(
  503. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  504. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAttributeName(
  505. /* [in] */ long lIndex,
  506. /* [retval][out] */ BSTR __RPC_FAR *pbstrItemName) = 0;
  507. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getItemInfo(
  508. /* [in] */ BSTR bstrItemName,
  509. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal) = 0;
  510. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setItemInfo(
  511. /* [in] */ BSTR bstrItemName,
  512. /* [in] */ BSTR bstrVal) = 0;
  513. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getItemInfoByAtom(
  514. /* [in] */ long lAtom,
  515. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal) = 0;
  516. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isMemberOf(
  517. /* [in] */ IWMPPlaylist __RPC_FAR *pPlaylist,
  518. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsMemberOf) = 0;
  519. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isReadOnlyItem(
  520. /* [in] */ BSTR bstrItemName,
  521. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsReadOnly) = 0;
  522. };
  523. #else /* C style interface */
  524. typedef struct IWMPMediaVtbl
  525. {
  526. BEGIN_INTERFACE
  527. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  528. IWMPMedia __RPC_FAR * This,
  529. /* [in] */ REFIID riid,
  530. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  531. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  532. IWMPMedia __RPC_FAR * This);
  533. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  534. IWMPMedia __RPC_FAR * This);
  535. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  536. IWMPMedia __RPC_FAR * This,
  537. /* [out] */ UINT __RPC_FAR *pctinfo);
  538. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  539. IWMPMedia __RPC_FAR * This,
  540. /* [in] */ UINT iTInfo,
  541. /* [in] */ LCID lcid,
  542. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  543. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  544. IWMPMedia __RPC_FAR * This,
  545. /* [in] */ REFIID riid,
  546. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  547. /* [in] */ UINT cNames,
  548. /* [in] */ LCID lcid,
  549. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  550. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  551. IWMPMedia __RPC_FAR * This,
  552. /* [in] */ DISPID dispIdMember,
  553. /* [in] */ REFIID riid,
  554. /* [in] */ LCID lcid,
  555. /* [in] */ WORD wFlags,
  556. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  557. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  558. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  559. /* [out] */ UINT __RPC_FAR *puArgErr);
  560. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isIdentical )(
  561. IWMPMedia __RPC_FAR * This,
  562. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia,
  563. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool);
  564. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_sourceURL )(
  565. IWMPMedia __RPC_FAR * This,
  566. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceURL);
  567. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
  568. IWMPMedia __RPC_FAR * This,
  569. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  570. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
  571. IWMPMedia __RPC_FAR * This,
  572. /* [in] */ BSTR bstrName);
  573. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_imageSourceWidth )(
  574. IWMPMedia __RPC_FAR * This,
  575. /* [retval][out] */ long __RPC_FAR *pWidth);
  576. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_imageSourceHeight )(
  577. IWMPMedia __RPC_FAR * This,
  578. /* [retval][out] */ long __RPC_FAR *pHeight);
  579. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_markerCount )(
  580. IWMPMedia __RPC_FAR * This,
  581. /* [retval][out] */ long __RPC_FAR *pMarkerCount);
  582. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMarkerTime )(
  583. IWMPMedia __RPC_FAR * This,
  584. /* [in] */ long MarkerNum,
  585. /* [retval][out] */ double __RPC_FAR *pMarkerTime);
  586. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMarkerName )(
  587. IWMPMedia __RPC_FAR * This,
  588. /* [in] */ long MarkerNum,
  589. /* [retval][out] */ BSTR __RPC_FAR *pbstrMarkerName);
  590. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_duration )(
  591. IWMPMedia __RPC_FAR * This,
  592. /* [retval][out] */ double __RPC_FAR *pDuration);
  593. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_durationString )(
  594. IWMPMedia __RPC_FAR * This,
  595. /* [retval][out] */ BSTR __RPC_FAR *pbstrDuration);
  596. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_attributeCount )(
  597. IWMPMedia __RPC_FAR * This,
  598. /* [retval][out] */ long __RPC_FAR *plCount);
  599. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAttributeName )(
  600. IWMPMedia __RPC_FAR * This,
  601. /* [in] */ long lIndex,
  602. /* [retval][out] */ BSTR __RPC_FAR *pbstrItemName);
  603. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getItemInfo )(
  604. IWMPMedia __RPC_FAR * This,
  605. /* [in] */ BSTR bstrItemName,
  606. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  607. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setItemInfo )(
  608. IWMPMedia __RPC_FAR * This,
  609. /* [in] */ BSTR bstrItemName,
  610. /* [in] */ BSTR bstrVal);
  611. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getItemInfoByAtom )(
  612. IWMPMedia __RPC_FAR * This,
  613. /* [in] */ long lAtom,
  614. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  615. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isMemberOf )(
  616. IWMPMedia __RPC_FAR * This,
  617. /* [in] */ IWMPPlaylist __RPC_FAR *pPlaylist,
  618. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsMemberOf);
  619. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isReadOnlyItem )(
  620. IWMPMedia __RPC_FAR * This,
  621. /* [in] */ BSTR bstrItemName,
  622. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsReadOnly);
  623. END_INTERFACE
  624. } IWMPMediaVtbl;
  625. interface IWMPMedia
  626. {
  627. CONST_VTBL struct IWMPMediaVtbl __RPC_FAR *lpVtbl;
  628. };
  629. #ifdef COBJMACROS
  630. #define IWMPMedia_QueryInterface(This,riid,ppvObject) \
  631. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  632. #define IWMPMedia_AddRef(This) \
  633. (This)->lpVtbl -> AddRef(This)
  634. #define IWMPMedia_Release(This) \
  635. (This)->lpVtbl -> Release(This)
  636. #define IWMPMedia_GetTypeInfoCount(This,pctinfo) \
  637. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  638. #define IWMPMedia_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  639. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  640. #define IWMPMedia_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  641. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  642. #define IWMPMedia_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  643. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  644. #define IWMPMedia_get_isIdentical(This,pIWMPMedia,pvbool) \
  645. (This)->lpVtbl -> get_isIdentical(This,pIWMPMedia,pvbool)
  646. #define IWMPMedia_get_sourceURL(This,pbstrSourceURL) \
  647. (This)->lpVtbl -> get_sourceURL(This,pbstrSourceURL)
  648. #define IWMPMedia_get_name(This,pbstrName) \
  649. (This)->lpVtbl -> get_name(This,pbstrName)
  650. #define IWMPMedia_put_name(This,bstrName) \
  651. (This)->lpVtbl -> put_name(This,bstrName)
  652. #define IWMPMedia_get_imageSourceWidth(This,pWidth) \
  653. (This)->lpVtbl -> get_imageSourceWidth(This,pWidth)
  654. #define IWMPMedia_get_imageSourceHeight(This,pHeight) \
  655. (This)->lpVtbl -> get_imageSourceHeight(This,pHeight)
  656. #define IWMPMedia_get_markerCount(This,pMarkerCount) \
  657. (This)->lpVtbl -> get_markerCount(This,pMarkerCount)
  658. #define IWMPMedia_getMarkerTime(This,MarkerNum,pMarkerTime) \
  659. (This)->lpVtbl -> getMarkerTime(This,MarkerNum,pMarkerTime)
  660. #define IWMPMedia_getMarkerName(This,MarkerNum,pbstrMarkerName) \
  661. (This)->lpVtbl -> getMarkerName(This,MarkerNum,pbstrMarkerName)
  662. #define IWMPMedia_get_duration(This,pDuration) \
  663. (This)->lpVtbl -> get_duration(This,pDuration)
  664. #define IWMPMedia_get_durationString(This,pbstrDuration) \
  665. (This)->lpVtbl -> get_durationString(This,pbstrDuration)
  666. #define IWMPMedia_get_attributeCount(This,plCount) \
  667. (This)->lpVtbl -> get_attributeCount(This,plCount)
  668. #define IWMPMedia_getAttributeName(This,lIndex,pbstrItemName) \
  669. (This)->lpVtbl -> getAttributeName(This,lIndex,pbstrItemName)
  670. #define IWMPMedia_getItemInfo(This,bstrItemName,pbstrVal) \
  671. (This)->lpVtbl -> getItemInfo(This,bstrItemName,pbstrVal)
  672. #define IWMPMedia_setItemInfo(This,bstrItemName,bstrVal) \
  673. (This)->lpVtbl -> setItemInfo(This,bstrItemName,bstrVal)
  674. #define IWMPMedia_getItemInfoByAtom(This,lAtom,pbstrVal) \
  675. (This)->lpVtbl -> getItemInfoByAtom(This,lAtom,pbstrVal)
  676. #define IWMPMedia_isMemberOf(This,pPlaylist,pvarfIsMemberOf) \
  677. (This)->lpVtbl -> isMemberOf(This,pPlaylist,pvarfIsMemberOf)
  678. #define IWMPMedia_isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly) \
  679. (This)->lpVtbl -> isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly)
  680. #endif /* COBJMACROS */
  681. #endif /* C style interface */
  682. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_isIdentical_Proxy(
  683. IWMPMedia __RPC_FAR * This,
  684. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia,
  685. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool);
  686. void __RPC_STUB IWMPMedia_get_isIdentical_Stub(
  687. IRpcStubBuffer *This,
  688. IRpcChannelBuffer *_pRpcChannelBuffer,
  689. PRPC_MESSAGE _pRpcMessage,
  690. DWORD *_pdwStubPhase);
  691. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_sourceURL_Proxy(
  692. IWMPMedia __RPC_FAR * This,
  693. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceURL);
  694. void __RPC_STUB IWMPMedia_get_sourceURL_Stub(
  695. IRpcStubBuffer *This,
  696. IRpcChannelBuffer *_pRpcChannelBuffer,
  697. PRPC_MESSAGE _pRpcMessage,
  698. DWORD *_pdwStubPhase);
  699. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_name_Proxy(
  700. IWMPMedia __RPC_FAR * This,
  701. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  702. void __RPC_STUB IWMPMedia_get_name_Stub(
  703. IRpcStubBuffer *This,
  704. IRpcChannelBuffer *_pRpcChannelBuffer,
  705. PRPC_MESSAGE _pRpcMessage,
  706. DWORD *_pdwStubPhase);
  707. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_put_name_Proxy(
  708. IWMPMedia __RPC_FAR * This,
  709. /* [in] */ BSTR bstrName);
  710. void __RPC_STUB IWMPMedia_put_name_Stub(
  711. IRpcStubBuffer *This,
  712. IRpcChannelBuffer *_pRpcChannelBuffer,
  713. PRPC_MESSAGE _pRpcMessage,
  714. DWORD *_pdwStubPhase);
  715. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_imageSourceWidth_Proxy(
  716. IWMPMedia __RPC_FAR * This,
  717. /* [retval][out] */ long __RPC_FAR *pWidth);
  718. void __RPC_STUB IWMPMedia_get_imageSourceWidth_Stub(
  719. IRpcStubBuffer *This,
  720. IRpcChannelBuffer *_pRpcChannelBuffer,
  721. PRPC_MESSAGE _pRpcMessage,
  722. DWORD *_pdwStubPhase);
  723. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_imageSourceHeight_Proxy(
  724. IWMPMedia __RPC_FAR * This,
  725. /* [retval][out] */ long __RPC_FAR *pHeight);
  726. void __RPC_STUB IWMPMedia_get_imageSourceHeight_Stub(
  727. IRpcStubBuffer *This,
  728. IRpcChannelBuffer *_pRpcChannelBuffer,
  729. PRPC_MESSAGE _pRpcMessage,
  730. DWORD *_pdwStubPhase);
  731. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_markerCount_Proxy(
  732. IWMPMedia __RPC_FAR * This,
  733. /* [retval][out] */ long __RPC_FAR *pMarkerCount);
  734. void __RPC_STUB IWMPMedia_get_markerCount_Stub(
  735. IRpcStubBuffer *This,
  736. IRpcChannelBuffer *_pRpcChannelBuffer,
  737. PRPC_MESSAGE _pRpcMessage,
  738. DWORD *_pdwStubPhase);
  739. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_getMarkerTime_Proxy(
  740. IWMPMedia __RPC_FAR * This,
  741. /* [in] */ long MarkerNum,
  742. /* [retval][out] */ double __RPC_FAR *pMarkerTime);
  743. void __RPC_STUB IWMPMedia_getMarkerTime_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_getMarkerName_Proxy(
  749. IWMPMedia __RPC_FAR * This,
  750. /* [in] */ long MarkerNum,
  751. /* [retval][out] */ BSTR __RPC_FAR *pbstrMarkerName);
  752. void __RPC_STUB IWMPMedia_getMarkerName_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_duration_Proxy(
  758. IWMPMedia __RPC_FAR * This,
  759. /* [retval][out] */ double __RPC_FAR *pDuration);
  760. void __RPC_STUB IWMPMedia_get_duration_Stub(
  761. IRpcStubBuffer *This,
  762. IRpcChannelBuffer *_pRpcChannelBuffer,
  763. PRPC_MESSAGE _pRpcMessage,
  764. DWORD *_pdwStubPhase);
  765. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_durationString_Proxy(
  766. IWMPMedia __RPC_FAR * This,
  767. /* [retval][out] */ BSTR __RPC_FAR *pbstrDuration);
  768. void __RPC_STUB IWMPMedia_get_durationString_Stub(
  769. IRpcStubBuffer *This,
  770. IRpcChannelBuffer *_pRpcChannelBuffer,
  771. PRPC_MESSAGE _pRpcMessage,
  772. DWORD *_pdwStubPhase);
  773. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_get_attributeCount_Proxy(
  774. IWMPMedia __RPC_FAR * This,
  775. /* [retval][out] */ long __RPC_FAR *plCount);
  776. void __RPC_STUB IWMPMedia_get_attributeCount_Stub(
  777. IRpcStubBuffer *This,
  778. IRpcChannelBuffer *_pRpcChannelBuffer,
  779. PRPC_MESSAGE _pRpcMessage,
  780. DWORD *_pdwStubPhase);
  781. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_getAttributeName_Proxy(
  782. IWMPMedia __RPC_FAR * This,
  783. /* [in] */ long lIndex,
  784. /* [retval][out] */ BSTR __RPC_FAR *pbstrItemName);
  785. void __RPC_STUB IWMPMedia_getAttributeName_Stub(
  786. IRpcStubBuffer *This,
  787. IRpcChannelBuffer *_pRpcChannelBuffer,
  788. PRPC_MESSAGE _pRpcMessage,
  789. DWORD *_pdwStubPhase);
  790. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_getItemInfo_Proxy(
  791. IWMPMedia __RPC_FAR * This,
  792. /* [in] */ BSTR bstrItemName,
  793. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  794. void __RPC_STUB IWMPMedia_getItemInfo_Stub(
  795. IRpcStubBuffer *This,
  796. IRpcChannelBuffer *_pRpcChannelBuffer,
  797. PRPC_MESSAGE _pRpcMessage,
  798. DWORD *_pdwStubPhase);
  799. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_setItemInfo_Proxy(
  800. IWMPMedia __RPC_FAR * This,
  801. /* [in] */ BSTR bstrItemName,
  802. /* [in] */ BSTR bstrVal);
  803. void __RPC_STUB IWMPMedia_setItemInfo_Stub(
  804. IRpcStubBuffer *This,
  805. IRpcChannelBuffer *_pRpcChannelBuffer,
  806. PRPC_MESSAGE _pRpcMessage,
  807. DWORD *_pdwStubPhase);
  808. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_getItemInfoByAtom_Proxy(
  809. IWMPMedia __RPC_FAR * This,
  810. /* [in] */ long lAtom,
  811. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  812. void __RPC_STUB IWMPMedia_getItemInfoByAtom_Stub(
  813. IRpcStubBuffer *This,
  814. IRpcChannelBuffer *_pRpcChannelBuffer,
  815. PRPC_MESSAGE _pRpcMessage,
  816. DWORD *_pdwStubPhase);
  817. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_isMemberOf_Proxy(
  818. IWMPMedia __RPC_FAR * This,
  819. /* [in] */ IWMPPlaylist __RPC_FAR *pPlaylist,
  820. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsMemberOf);
  821. void __RPC_STUB IWMPMedia_isMemberOf_Stub(
  822. IRpcStubBuffer *This,
  823. IRpcChannelBuffer *_pRpcChannelBuffer,
  824. PRPC_MESSAGE _pRpcMessage,
  825. DWORD *_pdwStubPhase);
  826. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia_isReadOnlyItem_Proxy(
  827. IWMPMedia __RPC_FAR * This,
  828. /* [in] */ BSTR bstrItemName,
  829. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsReadOnly);
  830. void __RPC_STUB IWMPMedia_isReadOnlyItem_Stub(
  831. IRpcStubBuffer *This,
  832. IRpcChannelBuffer *_pRpcChannelBuffer,
  833. PRPC_MESSAGE _pRpcMessage,
  834. DWORD *_pdwStubPhase);
  835. #endif /* __IWMPMedia_INTERFACE_DEFINED__ */
  836. #ifndef __IWMPControls_INTERFACE_DEFINED__
  837. #define __IWMPControls_INTERFACE_DEFINED__
  838. /* interface IWMPControls */
  839. /* [unique][helpstring][dual][uuid][object] */
  840. EXTERN_C const IID IID_IWMPControls;
  841. #if defined(__cplusplus) && !defined(CINTERFACE)
  842. MIDL_INTERFACE("74C09E02-F828-11d2-A74B-00A0C905F36E")
  843. IWMPControls : public IDispatch
  844. {
  845. public:
  846. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isAvailable(
  847. /* [in] */ BSTR bstrItem,
  848. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable) = 0;
  849. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE play( void) = 0;
  850. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE stop( void) = 0;
  851. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE pause( void) = 0;
  852. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE fastForward( void) = 0;
  853. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE fastReverse( void) = 0;
  854. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentPosition(
  855. /* [retval][out] */ double __RPC_FAR *pdCurrentPosition) = 0;
  856. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_currentPosition(
  857. /* [in] */ double dCurrentPosition) = 0;
  858. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentPositionString(
  859. /* [retval][out] */ BSTR __RPC_FAR *pbstrCurrentPosition) = 0;
  860. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE next( void) = 0;
  861. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE previous( void) = 0;
  862. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentItem(
  863. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia) = 0;
  864. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_currentItem(
  865. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia) = 0;
  866. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentMarker(
  867. /* [retval][out] */ long __RPC_FAR *plMarker) = 0;
  868. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_currentMarker(
  869. /* [in] */ long lMarker) = 0;
  870. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE playItem(
  871. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia) = 0;
  872. };
  873. #else /* C style interface */
  874. typedef struct IWMPControlsVtbl
  875. {
  876. BEGIN_INTERFACE
  877. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  878. IWMPControls __RPC_FAR * This,
  879. /* [in] */ REFIID riid,
  880. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  881. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  882. IWMPControls __RPC_FAR * This);
  883. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  884. IWMPControls __RPC_FAR * This);
  885. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  886. IWMPControls __RPC_FAR * This,
  887. /* [out] */ UINT __RPC_FAR *pctinfo);
  888. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  889. IWMPControls __RPC_FAR * This,
  890. /* [in] */ UINT iTInfo,
  891. /* [in] */ LCID lcid,
  892. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  893. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  894. IWMPControls __RPC_FAR * This,
  895. /* [in] */ REFIID riid,
  896. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  897. /* [in] */ UINT cNames,
  898. /* [in] */ LCID lcid,
  899. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  900. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  901. IWMPControls __RPC_FAR * This,
  902. /* [in] */ DISPID dispIdMember,
  903. /* [in] */ REFIID riid,
  904. /* [in] */ LCID lcid,
  905. /* [in] */ WORD wFlags,
  906. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  907. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  908. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  909. /* [out] */ UINT __RPC_FAR *puArgErr);
  910. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isAvailable )(
  911. IWMPControls __RPC_FAR * This,
  912. /* [in] */ BSTR bstrItem,
  913. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  914. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *play )(
  915. IWMPControls __RPC_FAR * This);
  916. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *stop )(
  917. IWMPControls __RPC_FAR * This);
  918. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *pause )(
  919. IWMPControls __RPC_FAR * This);
  920. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *fastForward )(
  921. IWMPControls __RPC_FAR * This);
  922. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *fastReverse )(
  923. IWMPControls __RPC_FAR * This);
  924. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPosition )(
  925. IWMPControls __RPC_FAR * This,
  926. /* [retval][out] */ double __RPC_FAR *pdCurrentPosition);
  927. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPosition )(
  928. IWMPControls __RPC_FAR * This,
  929. /* [in] */ double dCurrentPosition);
  930. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPositionString )(
  931. IWMPControls __RPC_FAR * This,
  932. /* [retval][out] */ BSTR __RPC_FAR *pbstrCurrentPosition);
  933. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *next )(
  934. IWMPControls __RPC_FAR * This);
  935. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *previous )(
  936. IWMPControls __RPC_FAR * This);
  937. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentItem )(
  938. IWMPControls __RPC_FAR * This,
  939. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia);
  940. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentItem )(
  941. IWMPControls __RPC_FAR * This,
  942. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  943. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMarker )(
  944. IWMPControls __RPC_FAR * This,
  945. /* [retval][out] */ long __RPC_FAR *plMarker);
  946. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMarker )(
  947. IWMPControls __RPC_FAR * This,
  948. /* [in] */ long lMarker);
  949. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playItem )(
  950. IWMPControls __RPC_FAR * This,
  951. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  952. END_INTERFACE
  953. } IWMPControlsVtbl;
  954. interface IWMPControls
  955. {
  956. CONST_VTBL struct IWMPControlsVtbl __RPC_FAR *lpVtbl;
  957. };
  958. #ifdef COBJMACROS
  959. #define IWMPControls_QueryInterface(This,riid,ppvObject) \
  960. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  961. #define IWMPControls_AddRef(This) \
  962. (This)->lpVtbl -> AddRef(This)
  963. #define IWMPControls_Release(This) \
  964. (This)->lpVtbl -> Release(This)
  965. #define IWMPControls_GetTypeInfoCount(This,pctinfo) \
  966. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  967. #define IWMPControls_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  968. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  969. #define IWMPControls_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  970. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  971. #define IWMPControls_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  972. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  973. #define IWMPControls_get_isAvailable(This,bstrItem,pIsAvailable) \
  974. (This)->lpVtbl -> get_isAvailable(This,bstrItem,pIsAvailable)
  975. #define IWMPControls_play(This) \
  976. (This)->lpVtbl -> play(This)
  977. #define IWMPControls_stop(This) \
  978. (This)->lpVtbl -> stop(This)
  979. #define IWMPControls_pause(This) \
  980. (This)->lpVtbl -> pause(This)
  981. #define IWMPControls_fastForward(This) \
  982. (This)->lpVtbl -> fastForward(This)
  983. #define IWMPControls_fastReverse(This) \
  984. (This)->lpVtbl -> fastReverse(This)
  985. #define IWMPControls_get_currentPosition(This,pdCurrentPosition) \
  986. (This)->lpVtbl -> get_currentPosition(This,pdCurrentPosition)
  987. #define IWMPControls_put_currentPosition(This,dCurrentPosition) \
  988. (This)->lpVtbl -> put_currentPosition(This,dCurrentPosition)
  989. #define IWMPControls_get_currentPositionString(This,pbstrCurrentPosition) \
  990. (This)->lpVtbl -> get_currentPositionString(This,pbstrCurrentPosition)
  991. #define IWMPControls_next(This) \
  992. (This)->lpVtbl -> next(This)
  993. #define IWMPControls_previous(This) \
  994. (This)->lpVtbl -> previous(This)
  995. #define IWMPControls_get_currentItem(This,ppIWMPMedia) \
  996. (This)->lpVtbl -> get_currentItem(This,ppIWMPMedia)
  997. #define IWMPControls_put_currentItem(This,pIWMPMedia) \
  998. (This)->lpVtbl -> put_currentItem(This,pIWMPMedia)
  999. #define IWMPControls_get_currentMarker(This,plMarker) \
  1000. (This)->lpVtbl -> get_currentMarker(This,plMarker)
  1001. #define IWMPControls_put_currentMarker(This,lMarker) \
  1002. (This)->lpVtbl -> put_currentMarker(This,lMarker)
  1003. #define IWMPControls_playItem(This,pIWMPMedia) \
  1004. (This)->lpVtbl -> playItem(This,pIWMPMedia)
  1005. #endif /* COBJMACROS */
  1006. #endif /* C style interface */
  1007. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_get_isAvailable_Proxy(
  1008. IWMPControls __RPC_FAR * This,
  1009. /* [in] */ BSTR bstrItem,
  1010. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  1011. void __RPC_STUB IWMPControls_get_isAvailable_Stub(
  1012. IRpcStubBuffer *This,
  1013. IRpcChannelBuffer *_pRpcChannelBuffer,
  1014. PRPC_MESSAGE _pRpcMessage,
  1015. DWORD *_pdwStubPhase);
  1016. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_play_Proxy(
  1017. IWMPControls __RPC_FAR * This);
  1018. void __RPC_STUB IWMPControls_play_Stub(
  1019. IRpcStubBuffer *This,
  1020. IRpcChannelBuffer *_pRpcChannelBuffer,
  1021. PRPC_MESSAGE _pRpcMessage,
  1022. DWORD *_pdwStubPhase);
  1023. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_stop_Proxy(
  1024. IWMPControls __RPC_FAR * This);
  1025. void __RPC_STUB IWMPControls_stop_Stub(
  1026. IRpcStubBuffer *This,
  1027. IRpcChannelBuffer *_pRpcChannelBuffer,
  1028. PRPC_MESSAGE _pRpcMessage,
  1029. DWORD *_pdwStubPhase);
  1030. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_pause_Proxy(
  1031. IWMPControls __RPC_FAR * This);
  1032. void __RPC_STUB IWMPControls_pause_Stub(
  1033. IRpcStubBuffer *This,
  1034. IRpcChannelBuffer *_pRpcChannelBuffer,
  1035. PRPC_MESSAGE _pRpcMessage,
  1036. DWORD *_pdwStubPhase);
  1037. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_fastForward_Proxy(
  1038. IWMPControls __RPC_FAR * This);
  1039. void __RPC_STUB IWMPControls_fastForward_Stub(
  1040. IRpcStubBuffer *This,
  1041. IRpcChannelBuffer *_pRpcChannelBuffer,
  1042. PRPC_MESSAGE _pRpcMessage,
  1043. DWORD *_pdwStubPhase);
  1044. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_fastReverse_Proxy(
  1045. IWMPControls __RPC_FAR * This);
  1046. void __RPC_STUB IWMPControls_fastReverse_Stub(
  1047. IRpcStubBuffer *This,
  1048. IRpcChannelBuffer *_pRpcChannelBuffer,
  1049. PRPC_MESSAGE _pRpcMessage,
  1050. DWORD *_pdwStubPhase);
  1051. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_get_currentPosition_Proxy(
  1052. IWMPControls __RPC_FAR * This,
  1053. /* [retval][out] */ double __RPC_FAR *pdCurrentPosition);
  1054. void __RPC_STUB IWMPControls_get_currentPosition_Stub(
  1055. IRpcStubBuffer *This,
  1056. IRpcChannelBuffer *_pRpcChannelBuffer,
  1057. PRPC_MESSAGE _pRpcMessage,
  1058. DWORD *_pdwStubPhase);
  1059. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_put_currentPosition_Proxy(
  1060. IWMPControls __RPC_FAR * This,
  1061. /* [in] */ double dCurrentPosition);
  1062. void __RPC_STUB IWMPControls_put_currentPosition_Stub(
  1063. IRpcStubBuffer *This,
  1064. IRpcChannelBuffer *_pRpcChannelBuffer,
  1065. PRPC_MESSAGE _pRpcMessage,
  1066. DWORD *_pdwStubPhase);
  1067. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_get_currentPositionString_Proxy(
  1068. IWMPControls __RPC_FAR * This,
  1069. /* [retval][out] */ BSTR __RPC_FAR *pbstrCurrentPosition);
  1070. void __RPC_STUB IWMPControls_get_currentPositionString_Stub(
  1071. IRpcStubBuffer *This,
  1072. IRpcChannelBuffer *_pRpcChannelBuffer,
  1073. PRPC_MESSAGE _pRpcMessage,
  1074. DWORD *_pdwStubPhase);
  1075. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_next_Proxy(
  1076. IWMPControls __RPC_FAR * This);
  1077. void __RPC_STUB IWMPControls_next_Stub(
  1078. IRpcStubBuffer *This,
  1079. IRpcChannelBuffer *_pRpcChannelBuffer,
  1080. PRPC_MESSAGE _pRpcMessage,
  1081. DWORD *_pdwStubPhase);
  1082. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_previous_Proxy(
  1083. IWMPControls __RPC_FAR * This);
  1084. void __RPC_STUB IWMPControls_previous_Stub(
  1085. IRpcStubBuffer *This,
  1086. IRpcChannelBuffer *_pRpcChannelBuffer,
  1087. PRPC_MESSAGE _pRpcMessage,
  1088. DWORD *_pdwStubPhase);
  1089. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_get_currentItem_Proxy(
  1090. IWMPControls __RPC_FAR * This,
  1091. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia);
  1092. void __RPC_STUB IWMPControls_get_currentItem_Stub(
  1093. IRpcStubBuffer *This,
  1094. IRpcChannelBuffer *_pRpcChannelBuffer,
  1095. PRPC_MESSAGE _pRpcMessage,
  1096. DWORD *_pdwStubPhase);
  1097. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_put_currentItem_Proxy(
  1098. IWMPControls __RPC_FAR * This,
  1099. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  1100. void __RPC_STUB IWMPControls_put_currentItem_Stub(
  1101. IRpcStubBuffer *This,
  1102. IRpcChannelBuffer *_pRpcChannelBuffer,
  1103. PRPC_MESSAGE _pRpcMessage,
  1104. DWORD *_pdwStubPhase);
  1105. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_get_currentMarker_Proxy(
  1106. IWMPControls __RPC_FAR * This,
  1107. /* [retval][out] */ long __RPC_FAR *plMarker);
  1108. void __RPC_STUB IWMPControls_get_currentMarker_Stub(
  1109. IRpcStubBuffer *This,
  1110. IRpcChannelBuffer *_pRpcChannelBuffer,
  1111. PRPC_MESSAGE _pRpcMessage,
  1112. DWORD *_pdwStubPhase);
  1113. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_put_currentMarker_Proxy(
  1114. IWMPControls __RPC_FAR * This,
  1115. /* [in] */ long lMarker);
  1116. void __RPC_STUB IWMPControls_put_currentMarker_Stub(
  1117. IRpcStubBuffer *This,
  1118. IRpcChannelBuffer *_pRpcChannelBuffer,
  1119. PRPC_MESSAGE _pRpcMessage,
  1120. DWORD *_pdwStubPhase);
  1121. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls_playItem_Proxy(
  1122. IWMPControls __RPC_FAR * This,
  1123. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  1124. void __RPC_STUB IWMPControls_playItem_Stub(
  1125. IRpcStubBuffer *This,
  1126. IRpcChannelBuffer *_pRpcChannelBuffer,
  1127. PRPC_MESSAGE _pRpcMessage,
  1128. DWORD *_pdwStubPhase);
  1129. #endif /* __IWMPControls_INTERFACE_DEFINED__ */
  1130. #ifndef __IWMPSettings_INTERFACE_DEFINED__
  1131. #define __IWMPSettings_INTERFACE_DEFINED__
  1132. /* interface IWMPSettings */
  1133. /* [unique][helpstring][dual][uuid][object] */
  1134. EXTERN_C const IID IID_IWMPSettings;
  1135. #if defined(__cplusplus) && !defined(CINTERFACE)
  1136. MIDL_INTERFACE("9104D1AB-80C9-4fed-ABF0-2E6417A6DF14")
  1137. IWMPSettings : public IDispatch
  1138. {
  1139. public:
  1140. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isAvailable(
  1141. /* [in] */ BSTR bstrItem,
  1142. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable) = 0;
  1143. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_autoStart(
  1144. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfAutoStart) = 0;
  1145. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_autoStart(
  1146. /* [in] */ VARIANT_BOOL fAutoStart) = 0;
  1147. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_baseURL(
  1148. /* [retval][out] */ BSTR __RPC_FAR *pbstrBaseURL) = 0;
  1149. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_baseURL(
  1150. /* [in] */ BSTR bstrBaseURL) = 0;
  1151. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_defaultFrame(
  1152. /* [retval][out] */ BSTR __RPC_FAR *pbstrDefaultFrame) = 0;
  1153. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_defaultFrame(
  1154. /* [in] */ BSTR bstrDefaultFrame) = 0;
  1155. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_invokeURLs(
  1156. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfInvokeURLs) = 0;
  1157. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_invokeURLs(
  1158. /* [in] */ VARIANT_BOOL fInvokeURLs) = 0;
  1159. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_mute(
  1160. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfMute) = 0;
  1161. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_mute(
  1162. /* [in] */ VARIANT_BOOL fMute) = 0;
  1163. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_playCount(
  1164. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  1165. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_playCount(
  1166. /* [in] */ long lCount) = 0;
  1167. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_rate(
  1168. /* [retval][out] */ double __RPC_FAR *pdRate) = 0;
  1169. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_rate(
  1170. /* [in] */ double dRate) = 0;
  1171. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_balance(
  1172. /* [retval][out] */ long __RPC_FAR *plBalance) = 0;
  1173. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_balance(
  1174. /* [in] */ long lBalance) = 0;
  1175. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_volume(
  1176. /* [retval][out] */ long __RPC_FAR *plVolume) = 0;
  1177. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_volume(
  1178. /* [in] */ long lVolume) = 0;
  1179. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMode(
  1180. /* [in] */ BSTR bstrMode,
  1181. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfMode) = 0;
  1182. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setMode(
  1183. /* [in] */ BSTR bstrMode,
  1184. /* [in] */ VARIANT_BOOL varfMode) = 0;
  1185. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enableErrorDialogs(
  1186. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfEnableErrorDialogs) = 0;
  1187. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enableErrorDialogs(
  1188. /* [in] */ VARIANT_BOOL fEnableErrorDialogs) = 0;
  1189. };
  1190. #else /* C style interface */
  1191. typedef struct IWMPSettingsVtbl
  1192. {
  1193. BEGIN_INTERFACE
  1194. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1195. IWMPSettings __RPC_FAR * This,
  1196. /* [in] */ REFIID riid,
  1197. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1198. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1199. IWMPSettings __RPC_FAR * This);
  1200. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1201. IWMPSettings __RPC_FAR * This);
  1202. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1203. IWMPSettings __RPC_FAR * This,
  1204. /* [out] */ UINT __RPC_FAR *pctinfo);
  1205. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1206. IWMPSettings __RPC_FAR * This,
  1207. /* [in] */ UINT iTInfo,
  1208. /* [in] */ LCID lcid,
  1209. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1210. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1211. IWMPSettings __RPC_FAR * This,
  1212. /* [in] */ REFIID riid,
  1213. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1214. /* [in] */ UINT cNames,
  1215. /* [in] */ LCID lcid,
  1216. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1217. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1218. IWMPSettings __RPC_FAR * This,
  1219. /* [in] */ DISPID dispIdMember,
  1220. /* [in] */ REFIID riid,
  1221. /* [in] */ LCID lcid,
  1222. /* [in] */ WORD wFlags,
  1223. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1224. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1225. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1226. /* [out] */ UINT __RPC_FAR *puArgErr);
  1227. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isAvailable )(
  1228. IWMPSettings __RPC_FAR * This,
  1229. /* [in] */ BSTR bstrItem,
  1230. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  1231. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_autoStart )(
  1232. IWMPSettings __RPC_FAR * This,
  1233. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfAutoStart);
  1234. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_autoStart )(
  1235. IWMPSettings __RPC_FAR * This,
  1236. /* [in] */ VARIANT_BOOL fAutoStart);
  1237. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_baseURL )(
  1238. IWMPSettings __RPC_FAR * This,
  1239. /* [retval][out] */ BSTR __RPC_FAR *pbstrBaseURL);
  1240. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_baseURL )(
  1241. IWMPSettings __RPC_FAR * This,
  1242. /* [in] */ BSTR bstrBaseURL);
  1243. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_defaultFrame )(
  1244. IWMPSettings __RPC_FAR * This,
  1245. /* [retval][out] */ BSTR __RPC_FAR *pbstrDefaultFrame);
  1246. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_defaultFrame )(
  1247. IWMPSettings __RPC_FAR * This,
  1248. /* [in] */ BSTR bstrDefaultFrame);
  1249. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_invokeURLs )(
  1250. IWMPSettings __RPC_FAR * This,
  1251. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfInvokeURLs);
  1252. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_invokeURLs )(
  1253. IWMPSettings __RPC_FAR * This,
  1254. /* [in] */ VARIANT_BOOL fInvokeURLs);
  1255. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mute )(
  1256. IWMPSettings __RPC_FAR * This,
  1257. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfMute);
  1258. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_mute )(
  1259. IWMPSettings __RPC_FAR * This,
  1260. /* [in] */ VARIANT_BOOL fMute);
  1261. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playCount )(
  1262. IWMPSettings __RPC_FAR * This,
  1263. /* [retval][out] */ long __RPC_FAR *plCount);
  1264. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_playCount )(
  1265. IWMPSettings __RPC_FAR * This,
  1266. /* [in] */ long lCount);
  1267. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_rate )(
  1268. IWMPSettings __RPC_FAR * This,
  1269. /* [retval][out] */ double __RPC_FAR *pdRate);
  1270. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_rate )(
  1271. IWMPSettings __RPC_FAR * This,
  1272. /* [in] */ double dRate);
  1273. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_balance )(
  1274. IWMPSettings __RPC_FAR * This,
  1275. /* [retval][out] */ long __RPC_FAR *plBalance);
  1276. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_balance )(
  1277. IWMPSettings __RPC_FAR * This,
  1278. /* [in] */ long lBalance);
  1279. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_volume )(
  1280. IWMPSettings __RPC_FAR * This,
  1281. /* [retval][out] */ long __RPC_FAR *plVolume);
  1282. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_volume )(
  1283. IWMPSettings __RPC_FAR * This,
  1284. /* [in] */ long lVolume);
  1285. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMode )(
  1286. IWMPSettings __RPC_FAR * This,
  1287. /* [in] */ BSTR bstrMode,
  1288. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfMode);
  1289. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setMode )(
  1290. IWMPSettings __RPC_FAR * This,
  1291. /* [in] */ BSTR bstrMode,
  1292. /* [in] */ VARIANT_BOOL varfMode);
  1293. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableErrorDialogs )(
  1294. IWMPSettings __RPC_FAR * This,
  1295. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfEnableErrorDialogs);
  1296. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableErrorDialogs )(
  1297. IWMPSettings __RPC_FAR * This,
  1298. /* [in] */ VARIANT_BOOL fEnableErrorDialogs);
  1299. END_INTERFACE
  1300. } IWMPSettingsVtbl;
  1301. interface IWMPSettings
  1302. {
  1303. CONST_VTBL struct IWMPSettingsVtbl __RPC_FAR *lpVtbl;
  1304. };
  1305. #ifdef COBJMACROS
  1306. #define IWMPSettings_QueryInterface(This,riid,ppvObject) \
  1307. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1308. #define IWMPSettings_AddRef(This) \
  1309. (This)->lpVtbl -> AddRef(This)
  1310. #define IWMPSettings_Release(This) \
  1311. (This)->lpVtbl -> Release(This)
  1312. #define IWMPSettings_GetTypeInfoCount(This,pctinfo) \
  1313. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1314. #define IWMPSettings_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1315. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1316. #define IWMPSettings_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1317. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1318. #define IWMPSettings_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1319. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1320. #define IWMPSettings_get_isAvailable(This,bstrItem,pIsAvailable) \
  1321. (This)->lpVtbl -> get_isAvailable(This,bstrItem,pIsAvailable)
  1322. #define IWMPSettings_get_autoStart(This,pfAutoStart) \
  1323. (This)->lpVtbl -> get_autoStart(This,pfAutoStart)
  1324. #define IWMPSettings_put_autoStart(This,fAutoStart) \
  1325. (This)->lpVtbl -> put_autoStart(This,fAutoStart)
  1326. #define IWMPSettings_get_baseURL(This,pbstrBaseURL) \
  1327. (This)->lpVtbl -> get_baseURL(This,pbstrBaseURL)
  1328. #define IWMPSettings_put_baseURL(This,bstrBaseURL) \
  1329. (This)->lpVtbl -> put_baseURL(This,bstrBaseURL)
  1330. #define IWMPSettings_get_defaultFrame(This,pbstrDefaultFrame) \
  1331. (This)->lpVtbl -> get_defaultFrame(This,pbstrDefaultFrame)
  1332. #define IWMPSettings_put_defaultFrame(This,bstrDefaultFrame) \
  1333. (This)->lpVtbl -> put_defaultFrame(This,bstrDefaultFrame)
  1334. #define IWMPSettings_get_invokeURLs(This,pfInvokeURLs) \
  1335. (This)->lpVtbl -> get_invokeURLs(This,pfInvokeURLs)
  1336. #define IWMPSettings_put_invokeURLs(This,fInvokeURLs) \
  1337. (This)->lpVtbl -> put_invokeURLs(This,fInvokeURLs)
  1338. #define IWMPSettings_get_mute(This,pfMute) \
  1339. (This)->lpVtbl -> get_mute(This,pfMute)
  1340. #define IWMPSettings_put_mute(This,fMute) \
  1341. (This)->lpVtbl -> put_mute(This,fMute)
  1342. #define IWMPSettings_get_playCount(This,plCount) \
  1343. (This)->lpVtbl -> get_playCount(This,plCount)
  1344. #define IWMPSettings_put_playCount(This,lCount) \
  1345. (This)->lpVtbl -> put_playCount(This,lCount)
  1346. #define IWMPSettings_get_rate(This,pdRate) \
  1347. (This)->lpVtbl -> get_rate(This,pdRate)
  1348. #define IWMPSettings_put_rate(This,dRate) \
  1349. (This)->lpVtbl -> put_rate(This,dRate)
  1350. #define IWMPSettings_get_balance(This,plBalance) \
  1351. (This)->lpVtbl -> get_balance(This,plBalance)
  1352. #define IWMPSettings_put_balance(This,lBalance) \
  1353. (This)->lpVtbl -> put_balance(This,lBalance)
  1354. #define IWMPSettings_get_volume(This,plVolume) \
  1355. (This)->lpVtbl -> get_volume(This,plVolume)
  1356. #define IWMPSettings_put_volume(This,lVolume) \
  1357. (This)->lpVtbl -> put_volume(This,lVolume)
  1358. #define IWMPSettings_getMode(This,bstrMode,pvarfMode) \
  1359. (This)->lpVtbl -> getMode(This,bstrMode,pvarfMode)
  1360. #define IWMPSettings_setMode(This,bstrMode,varfMode) \
  1361. (This)->lpVtbl -> setMode(This,bstrMode,varfMode)
  1362. #define IWMPSettings_get_enableErrorDialogs(This,pfEnableErrorDialogs) \
  1363. (This)->lpVtbl -> get_enableErrorDialogs(This,pfEnableErrorDialogs)
  1364. #define IWMPSettings_put_enableErrorDialogs(This,fEnableErrorDialogs) \
  1365. (This)->lpVtbl -> put_enableErrorDialogs(This,fEnableErrorDialogs)
  1366. #endif /* COBJMACROS */
  1367. #endif /* C style interface */
  1368. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_isAvailable_Proxy(
  1369. IWMPSettings __RPC_FAR * This,
  1370. /* [in] */ BSTR bstrItem,
  1371. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  1372. void __RPC_STUB IWMPSettings_get_isAvailable_Stub(
  1373. IRpcStubBuffer *This,
  1374. IRpcChannelBuffer *_pRpcChannelBuffer,
  1375. PRPC_MESSAGE _pRpcMessage,
  1376. DWORD *_pdwStubPhase);
  1377. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_autoStart_Proxy(
  1378. IWMPSettings __RPC_FAR * This,
  1379. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfAutoStart);
  1380. void __RPC_STUB IWMPSettings_get_autoStart_Stub(
  1381. IRpcStubBuffer *This,
  1382. IRpcChannelBuffer *_pRpcChannelBuffer,
  1383. PRPC_MESSAGE _pRpcMessage,
  1384. DWORD *_pdwStubPhase);
  1385. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_autoStart_Proxy(
  1386. IWMPSettings __RPC_FAR * This,
  1387. /* [in] */ VARIANT_BOOL fAutoStart);
  1388. void __RPC_STUB IWMPSettings_put_autoStart_Stub(
  1389. IRpcStubBuffer *This,
  1390. IRpcChannelBuffer *_pRpcChannelBuffer,
  1391. PRPC_MESSAGE _pRpcMessage,
  1392. DWORD *_pdwStubPhase);
  1393. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_baseURL_Proxy(
  1394. IWMPSettings __RPC_FAR * This,
  1395. /* [retval][out] */ BSTR __RPC_FAR *pbstrBaseURL);
  1396. void __RPC_STUB IWMPSettings_get_baseURL_Stub(
  1397. IRpcStubBuffer *This,
  1398. IRpcChannelBuffer *_pRpcChannelBuffer,
  1399. PRPC_MESSAGE _pRpcMessage,
  1400. DWORD *_pdwStubPhase);
  1401. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_baseURL_Proxy(
  1402. IWMPSettings __RPC_FAR * This,
  1403. /* [in] */ BSTR bstrBaseURL);
  1404. void __RPC_STUB IWMPSettings_put_baseURL_Stub(
  1405. IRpcStubBuffer *This,
  1406. IRpcChannelBuffer *_pRpcChannelBuffer,
  1407. PRPC_MESSAGE _pRpcMessage,
  1408. DWORD *_pdwStubPhase);
  1409. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_defaultFrame_Proxy(
  1410. IWMPSettings __RPC_FAR * This,
  1411. /* [retval][out] */ BSTR __RPC_FAR *pbstrDefaultFrame);
  1412. void __RPC_STUB IWMPSettings_get_defaultFrame_Stub(
  1413. IRpcStubBuffer *This,
  1414. IRpcChannelBuffer *_pRpcChannelBuffer,
  1415. PRPC_MESSAGE _pRpcMessage,
  1416. DWORD *_pdwStubPhase);
  1417. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_defaultFrame_Proxy(
  1418. IWMPSettings __RPC_FAR * This,
  1419. /* [in] */ BSTR bstrDefaultFrame);
  1420. void __RPC_STUB IWMPSettings_put_defaultFrame_Stub(
  1421. IRpcStubBuffer *This,
  1422. IRpcChannelBuffer *_pRpcChannelBuffer,
  1423. PRPC_MESSAGE _pRpcMessage,
  1424. DWORD *_pdwStubPhase);
  1425. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_invokeURLs_Proxy(
  1426. IWMPSettings __RPC_FAR * This,
  1427. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfInvokeURLs);
  1428. void __RPC_STUB IWMPSettings_get_invokeURLs_Stub(
  1429. IRpcStubBuffer *This,
  1430. IRpcChannelBuffer *_pRpcChannelBuffer,
  1431. PRPC_MESSAGE _pRpcMessage,
  1432. DWORD *_pdwStubPhase);
  1433. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_invokeURLs_Proxy(
  1434. IWMPSettings __RPC_FAR * This,
  1435. /* [in] */ VARIANT_BOOL fInvokeURLs);
  1436. void __RPC_STUB IWMPSettings_put_invokeURLs_Stub(
  1437. IRpcStubBuffer *This,
  1438. IRpcChannelBuffer *_pRpcChannelBuffer,
  1439. PRPC_MESSAGE _pRpcMessage,
  1440. DWORD *_pdwStubPhase);
  1441. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_mute_Proxy(
  1442. IWMPSettings __RPC_FAR * This,
  1443. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfMute);
  1444. void __RPC_STUB IWMPSettings_get_mute_Stub(
  1445. IRpcStubBuffer *This,
  1446. IRpcChannelBuffer *_pRpcChannelBuffer,
  1447. PRPC_MESSAGE _pRpcMessage,
  1448. DWORD *_pdwStubPhase);
  1449. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_mute_Proxy(
  1450. IWMPSettings __RPC_FAR * This,
  1451. /* [in] */ VARIANT_BOOL fMute);
  1452. void __RPC_STUB IWMPSettings_put_mute_Stub(
  1453. IRpcStubBuffer *This,
  1454. IRpcChannelBuffer *_pRpcChannelBuffer,
  1455. PRPC_MESSAGE _pRpcMessage,
  1456. DWORD *_pdwStubPhase);
  1457. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_playCount_Proxy(
  1458. IWMPSettings __RPC_FAR * This,
  1459. /* [retval][out] */ long __RPC_FAR *plCount);
  1460. void __RPC_STUB IWMPSettings_get_playCount_Stub(
  1461. IRpcStubBuffer *This,
  1462. IRpcChannelBuffer *_pRpcChannelBuffer,
  1463. PRPC_MESSAGE _pRpcMessage,
  1464. DWORD *_pdwStubPhase);
  1465. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_playCount_Proxy(
  1466. IWMPSettings __RPC_FAR * This,
  1467. /* [in] */ long lCount);
  1468. void __RPC_STUB IWMPSettings_put_playCount_Stub(
  1469. IRpcStubBuffer *This,
  1470. IRpcChannelBuffer *_pRpcChannelBuffer,
  1471. PRPC_MESSAGE _pRpcMessage,
  1472. DWORD *_pdwStubPhase);
  1473. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_rate_Proxy(
  1474. IWMPSettings __RPC_FAR * This,
  1475. /* [retval][out] */ double __RPC_FAR *pdRate);
  1476. void __RPC_STUB IWMPSettings_get_rate_Stub(
  1477. IRpcStubBuffer *This,
  1478. IRpcChannelBuffer *_pRpcChannelBuffer,
  1479. PRPC_MESSAGE _pRpcMessage,
  1480. DWORD *_pdwStubPhase);
  1481. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_rate_Proxy(
  1482. IWMPSettings __RPC_FAR * This,
  1483. /* [in] */ double dRate);
  1484. void __RPC_STUB IWMPSettings_put_rate_Stub(
  1485. IRpcStubBuffer *This,
  1486. IRpcChannelBuffer *_pRpcChannelBuffer,
  1487. PRPC_MESSAGE _pRpcMessage,
  1488. DWORD *_pdwStubPhase);
  1489. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_balance_Proxy(
  1490. IWMPSettings __RPC_FAR * This,
  1491. /* [retval][out] */ long __RPC_FAR *plBalance);
  1492. void __RPC_STUB IWMPSettings_get_balance_Stub(
  1493. IRpcStubBuffer *This,
  1494. IRpcChannelBuffer *_pRpcChannelBuffer,
  1495. PRPC_MESSAGE _pRpcMessage,
  1496. DWORD *_pdwStubPhase);
  1497. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_balance_Proxy(
  1498. IWMPSettings __RPC_FAR * This,
  1499. /* [in] */ long lBalance);
  1500. void __RPC_STUB IWMPSettings_put_balance_Stub(
  1501. IRpcStubBuffer *This,
  1502. IRpcChannelBuffer *_pRpcChannelBuffer,
  1503. PRPC_MESSAGE _pRpcMessage,
  1504. DWORD *_pdwStubPhase);
  1505. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_volume_Proxy(
  1506. IWMPSettings __RPC_FAR * This,
  1507. /* [retval][out] */ long __RPC_FAR *plVolume);
  1508. void __RPC_STUB IWMPSettings_get_volume_Stub(
  1509. IRpcStubBuffer *This,
  1510. IRpcChannelBuffer *_pRpcChannelBuffer,
  1511. PRPC_MESSAGE _pRpcMessage,
  1512. DWORD *_pdwStubPhase);
  1513. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_volume_Proxy(
  1514. IWMPSettings __RPC_FAR * This,
  1515. /* [in] */ long lVolume);
  1516. void __RPC_STUB IWMPSettings_put_volume_Stub(
  1517. IRpcStubBuffer *This,
  1518. IRpcChannelBuffer *_pRpcChannelBuffer,
  1519. PRPC_MESSAGE _pRpcMessage,
  1520. DWORD *_pdwStubPhase);
  1521. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_getMode_Proxy(
  1522. IWMPSettings __RPC_FAR * This,
  1523. /* [in] */ BSTR bstrMode,
  1524. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfMode);
  1525. void __RPC_STUB IWMPSettings_getMode_Stub(
  1526. IRpcStubBuffer *This,
  1527. IRpcChannelBuffer *_pRpcChannelBuffer,
  1528. PRPC_MESSAGE _pRpcMessage,
  1529. DWORD *_pdwStubPhase);
  1530. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_setMode_Proxy(
  1531. IWMPSettings __RPC_FAR * This,
  1532. /* [in] */ BSTR bstrMode,
  1533. /* [in] */ VARIANT_BOOL varfMode);
  1534. void __RPC_STUB IWMPSettings_setMode_Stub(
  1535. IRpcStubBuffer *This,
  1536. IRpcChannelBuffer *_pRpcChannelBuffer,
  1537. PRPC_MESSAGE _pRpcMessage,
  1538. DWORD *_pdwStubPhase);
  1539. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_get_enableErrorDialogs_Proxy(
  1540. IWMPSettings __RPC_FAR * This,
  1541. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfEnableErrorDialogs);
  1542. void __RPC_STUB IWMPSettings_get_enableErrorDialogs_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPSettings_put_enableErrorDialogs_Proxy(
  1548. IWMPSettings __RPC_FAR * This,
  1549. /* [in] */ VARIANT_BOOL fEnableErrorDialogs);
  1550. void __RPC_STUB IWMPSettings_put_enableErrorDialogs_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. #endif /* __IWMPSettings_INTERFACE_DEFINED__ */
  1556. #ifndef __IWMPClosedCaption_INTERFACE_DEFINED__
  1557. #define __IWMPClosedCaption_INTERFACE_DEFINED__
  1558. /* interface IWMPClosedCaption */
  1559. /* [unique][helpstring][dual][uuid][object] */
  1560. EXTERN_C const IID IID_IWMPClosedCaption;
  1561. #if defined(__cplusplus) && !defined(CINTERFACE)
  1562. MIDL_INTERFACE("4F2DF574-C588-11d3-9ED0-00C04FB6E937")
  1563. IWMPClosedCaption : public IDispatch
  1564. {
  1565. public:
  1566. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SAMIStyle(
  1567. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIStyle) = 0;
  1568. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_SAMIStyle(
  1569. /* [in] */ BSTR bstrSAMIStyle) = 0;
  1570. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SAMILang(
  1571. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMILang) = 0;
  1572. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_SAMILang(
  1573. /* [in] */ BSTR bstrSAMILang) = 0;
  1574. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_SAMIFileName(
  1575. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIFileName) = 0;
  1576. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_SAMIFileName(
  1577. /* [in] */ BSTR bstrSAMIFileName) = 0;
  1578. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_captioningId(
  1579. /* [retval][out] */ BSTR __RPC_FAR *pbstrCaptioningID) = 0;
  1580. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_captioningId(
  1581. /* [in] */ BSTR bstrCaptioningID) = 0;
  1582. };
  1583. #else /* C style interface */
  1584. typedef struct IWMPClosedCaptionVtbl
  1585. {
  1586. BEGIN_INTERFACE
  1587. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1588. IWMPClosedCaption __RPC_FAR * This,
  1589. /* [in] */ REFIID riid,
  1590. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1591. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1592. IWMPClosedCaption __RPC_FAR * This);
  1593. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1594. IWMPClosedCaption __RPC_FAR * This);
  1595. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1596. IWMPClosedCaption __RPC_FAR * This,
  1597. /* [out] */ UINT __RPC_FAR *pctinfo);
  1598. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1599. IWMPClosedCaption __RPC_FAR * This,
  1600. /* [in] */ UINT iTInfo,
  1601. /* [in] */ LCID lcid,
  1602. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1603. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1604. IWMPClosedCaption __RPC_FAR * This,
  1605. /* [in] */ REFIID riid,
  1606. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1607. /* [in] */ UINT cNames,
  1608. /* [in] */ LCID lcid,
  1609. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1610. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1611. IWMPClosedCaption __RPC_FAR * This,
  1612. /* [in] */ DISPID dispIdMember,
  1613. /* [in] */ REFIID riid,
  1614. /* [in] */ LCID lcid,
  1615. /* [in] */ WORD wFlags,
  1616. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1617. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1618. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1619. /* [out] */ UINT __RPC_FAR *puArgErr);
  1620. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SAMIStyle )(
  1621. IWMPClosedCaption __RPC_FAR * This,
  1622. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIStyle);
  1623. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_SAMIStyle )(
  1624. IWMPClosedCaption __RPC_FAR * This,
  1625. /* [in] */ BSTR bstrSAMIStyle);
  1626. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SAMILang )(
  1627. IWMPClosedCaption __RPC_FAR * This,
  1628. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMILang);
  1629. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_SAMILang )(
  1630. IWMPClosedCaption __RPC_FAR * This,
  1631. /* [in] */ BSTR bstrSAMILang);
  1632. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SAMIFileName )(
  1633. IWMPClosedCaption __RPC_FAR * This,
  1634. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIFileName);
  1635. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_SAMIFileName )(
  1636. IWMPClosedCaption __RPC_FAR * This,
  1637. /* [in] */ BSTR bstrSAMIFileName);
  1638. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_captioningId )(
  1639. IWMPClosedCaption __RPC_FAR * This,
  1640. /* [retval][out] */ BSTR __RPC_FAR *pbstrCaptioningID);
  1641. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_captioningId )(
  1642. IWMPClosedCaption __RPC_FAR * This,
  1643. /* [in] */ BSTR bstrCaptioningID);
  1644. END_INTERFACE
  1645. } IWMPClosedCaptionVtbl;
  1646. interface IWMPClosedCaption
  1647. {
  1648. CONST_VTBL struct IWMPClosedCaptionVtbl __RPC_FAR *lpVtbl;
  1649. };
  1650. #ifdef COBJMACROS
  1651. #define IWMPClosedCaption_QueryInterface(This,riid,ppvObject) \
  1652. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1653. #define IWMPClosedCaption_AddRef(This) \
  1654. (This)->lpVtbl -> AddRef(This)
  1655. #define IWMPClosedCaption_Release(This) \
  1656. (This)->lpVtbl -> Release(This)
  1657. #define IWMPClosedCaption_GetTypeInfoCount(This,pctinfo) \
  1658. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1659. #define IWMPClosedCaption_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1660. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1661. #define IWMPClosedCaption_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1662. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1663. #define IWMPClosedCaption_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1664. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1665. #define IWMPClosedCaption_get_SAMIStyle(This,pbstrSAMIStyle) \
  1666. (This)->lpVtbl -> get_SAMIStyle(This,pbstrSAMIStyle)
  1667. #define IWMPClosedCaption_put_SAMIStyle(This,bstrSAMIStyle) \
  1668. (This)->lpVtbl -> put_SAMIStyle(This,bstrSAMIStyle)
  1669. #define IWMPClosedCaption_get_SAMILang(This,pbstrSAMILang) \
  1670. (This)->lpVtbl -> get_SAMILang(This,pbstrSAMILang)
  1671. #define IWMPClosedCaption_put_SAMILang(This,bstrSAMILang) \
  1672. (This)->lpVtbl -> put_SAMILang(This,bstrSAMILang)
  1673. #define IWMPClosedCaption_get_SAMIFileName(This,pbstrSAMIFileName) \
  1674. (This)->lpVtbl -> get_SAMIFileName(This,pbstrSAMIFileName)
  1675. #define IWMPClosedCaption_put_SAMIFileName(This,bstrSAMIFileName) \
  1676. (This)->lpVtbl -> put_SAMIFileName(This,bstrSAMIFileName)
  1677. #define IWMPClosedCaption_get_captioningId(This,pbstrCaptioningID) \
  1678. (This)->lpVtbl -> get_captioningId(This,pbstrCaptioningID)
  1679. #define IWMPClosedCaption_put_captioningId(This,bstrCaptioningID) \
  1680. (This)->lpVtbl -> put_captioningId(This,bstrCaptioningID)
  1681. #endif /* COBJMACROS */
  1682. #endif /* C style interface */
  1683. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_get_SAMIStyle_Proxy(
  1684. IWMPClosedCaption __RPC_FAR * This,
  1685. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIStyle);
  1686. void __RPC_STUB IWMPClosedCaption_get_SAMIStyle_Stub(
  1687. IRpcStubBuffer *This,
  1688. IRpcChannelBuffer *_pRpcChannelBuffer,
  1689. PRPC_MESSAGE _pRpcMessage,
  1690. DWORD *_pdwStubPhase);
  1691. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_put_SAMIStyle_Proxy(
  1692. IWMPClosedCaption __RPC_FAR * This,
  1693. /* [in] */ BSTR bstrSAMIStyle);
  1694. void __RPC_STUB IWMPClosedCaption_put_SAMIStyle_Stub(
  1695. IRpcStubBuffer *This,
  1696. IRpcChannelBuffer *_pRpcChannelBuffer,
  1697. PRPC_MESSAGE _pRpcMessage,
  1698. DWORD *_pdwStubPhase);
  1699. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_get_SAMILang_Proxy(
  1700. IWMPClosedCaption __RPC_FAR * This,
  1701. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMILang);
  1702. void __RPC_STUB IWMPClosedCaption_get_SAMILang_Stub(
  1703. IRpcStubBuffer *This,
  1704. IRpcChannelBuffer *_pRpcChannelBuffer,
  1705. PRPC_MESSAGE _pRpcMessage,
  1706. DWORD *_pdwStubPhase);
  1707. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_put_SAMILang_Proxy(
  1708. IWMPClosedCaption __RPC_FAR * This,
  1709. /* [in] */ BSTR bstrSAMILang);
  1710. void __RPC_STUB IWMPClosedCaption_put_SAMILang_Stub(
  1711. IRpcStubBuffer *This,
  1712. IRpcChannelBuffer *_pRpcChannelBuffer,
  1713. PRPC_MESSAGE _pRpcMessage,
  1714. DWORD *_pdwStubPhase);
  1715. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_get_SAMIFileName_Proxy(
  1716. IWMPClosedCaption __RPC_FAR * This,
  1717. /* [retval][out] */ BSTR __RPC_FAR *pbstrSAMIFileName);
  1718. void __RPC_STUB IWMPClosedCaption_get_SAMIFileName_Stub(
  1719. IRpcStubBuffer *This,
  1720. IRpcChannelBuffer *_pRpcChannelBuffer,
  1721. PRPC_MESSAGE _pRpcMessage,
  1722. DWORD *_pdwStubPhase);
  1723. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_put_SAMIFileName_Proxy(
  1724. IWMPClosedCaption __RPC_FAR * This,
  1725. /* [in] */ BSTR bstrSAMIFileName);
  1726. void __RPC_STUB IWMPClosedCaption_put_SAMIFileName_Stub(
  1727. IRpcStubBuffer *This,
  1728. IRpcChannelBuffer *_pRpcChannelBuffer,
  1729. PRPC_MESSAGE _pRpcMessage,
  1730. DWORD *_pdwStubPhase);
  1731. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_get_captioningId_Proxy(
  1732. IWMPClosedCaption __RPC_FAR * This,
  1733. /* [retval][out] */ BSTR __RPC_FAR *pbstrCaptioningID);
  1734. void __RPC_STUB IWMPClosedCaption_get_captioningId_Stub(
  1735. IRpcStubBuffer *This,
  1736. IRpcChannelBuffer *_pRpcChannelBuffer,
  1737. PRPC_MESSAGE _pRpcMessage,
  1738. DWORD *_pdwStubPhase);
  1739. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPClosedCaption_put_captioningId_Proxy(
  1740. IWMPClosedCaption __RPC_FAR * This,
  1741. /* [in] */ BSTR bstrCaptioningID);
  1742. void __RPC_STUB IWMPClosedCaption_put_captioningId_Stub(
  1743. IRpcStubBuffer *This,
  1744. IRpcChannelBuffer *_pRpcChannelBuffer,
  1745. PRPC_MESSAGE _pRpcMessage,
  1746. DWORD *_pdwStubPhase);
  1747. #endif /* __IWMPClosedCaption_INTERFACE_DEFINED__ */
  1748. #ifndef __IWMPPlaylist_INTERFACE_DEFINED__
  1749. #define __IWMPPlaylist_INTERFACE_DEFINED__
  1750. /* interface IWMPPlaylist */
  1751. /* [unique][helpstring][dual][uuid][object] */
  1752. EXTERN_C const IID IID_IWMPPlaylist;
  1753. #if defined(__cplusplus) && !defined(CINTERFACE)
  1754. MIDL_INTERFACE("D5F0F4F1-130C-11d3-B14E-00C04F79FAA6")
  1755. IWMPPlaylist : public IDispatch
  1756. {
  1757. public:
  1758. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_count(
  1759. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  1760. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_name(
  1761. /* [retval][out] */ BSTR __RPC_FAR *pbstrName) = 0;
  1762. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_name(
  1763. /* [in] */ BSTR bstrName) = 0;
  1764. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_attributeCount(
  1765. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  1766. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_attributeName(
  1767. /* [in] */ long lIndex,
  1768. /* [retval][out] */ BSTR __RPC_FAR *pbstrAttributeName) = 0;
  1769. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_item(
  1770. long lIndex,
  1771. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia) = 0;
  1772. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getItemInfo(
  1773. BSTR bstrName,
  1774. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal) = 0;
  1775. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setItemInfo(
  1776. /* [in] */ BSTR bstrName,
  1777. /* [in] */ BSTR bstrValue) = 0;
  1778. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isIdentical(
  1779. /* [in] */ IWMPPlaylist __RPC_FAR *pIWMPPlaylist,
  1780. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool) = 0;
  1781. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE clear( void) = 0;
  1782. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE insertItem(
  1783. /* [in] */ long lIndex,
  1784. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia) = 0;
  1785. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE appendItem(
  1786. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia) = 0;
  1787. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE removeItem(
  1788. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia) = 0;
  1789. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE moveItem(
  1790. long lIndexOld,
  1791. long lIndexNew) = 0;
  1792. };
  1793. #else /* C style interface */
  1794. typedef struct IWMPPlaylistVtbl
  1795. {
  1796. BEGIN_INTERFACE
  1797. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1798. IWMPPlaylist __RPC_FAR * This,
  1799. /* [in] */ REFIID riid,
  1800. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1801. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1802. IWMPPlaylist __RPC_FAR * This);
  1803. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1804. IWMPPlaylist __RPC_FAR * This);
  1805. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1806. IWMPPlaylist __RPC_FAR * This,
  1807. /* [out] */ UINT __RPC_FAR *pctinfo);
  1808. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1809. IWMPPlaylist __RPC_FAR * This,
  1810. /* [in] */ UINT iTInfo,
  1811. /* [in] */ LCID lcid,
  1812. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1813. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1814. IWMPPlaylist __RPC_FAR * This,
  1815. /* [in] */ REFIID riid,
  1816. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1817. /* [in] */ UINT cNames,
  1818. /* [in] */ LCID lcid,
  1819. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1820. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1821. IWMPPlaylist __RPC_FAR * This,
  1822. /* [in] */ DISPID dispIdMember,
  1823. /* [in] */ REFIID riid,
  1824. /* [in] */ LCID lcid,
  1825. /* [in] */ WORD wFlags,
  1826. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1827. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1828. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1829. /* [out] */ UINT __RPC_FAR *puArgErr);
  1830. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_count )(
  1831. IWMPPlaylist __RPC_FAR * This,
  1832. /* [retval][out] */ long __RPC_FAR *plCount);
  1833. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
  1834. IWMPPlaylist __RPC_FAR * This,
  1835. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1836. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
  1837. IWMPPlaylist __RPC_FAR * This,
  1838. /* [in] */ BSTR bstrName);
  1839. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_attributeCount )(
  1840. IWMPPlaylist __RPC_FAR * This,
  1841. /* [retval][out] */ long __RPC_FAR *plCount);
  1842. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_attributeName )(
  1843. IWMPPlaylist __RPC_FAR * This,
  1844. /* [in] */ long lIndex,
  1845. /* [retval][out] */ BSTR __RPC_FAR *pbstrAttributeName);
  1846. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_item )(
  1847. IWMPPlaylist __RPC_FAR * This,
  1848. long lIndex,
  1849. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia);
  1850. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getItemInfo )(
  1851. IWMPPlaylist __RPC_FAR * This,
  1852. BSTR bstrName,
  1853. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  1854. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setItemInfo )(
  1855. IWMPPlaylist __RPC_FAR * This,
  1856. /* [in] */ BSTR bstrName,
  1857. /* [in] */ BSTR bstrValue);
  1858. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isIdentical )(
  1859. IWMPPlaylist __RPC_FAR * This,
  1860. /* [in] */ IWMPPlaylist __RPC_FAR *pIWMPPlaylist,
  1861. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool);
  1862. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *clear )(
  1863. IWMPPlaylist __RPC_FAR * This);
  1864. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *insertItem )(
  1865. IWMPPlaylist __RPC_FAR * This,
  1866. /* [in] */ long lIndex,
  1867. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  1868. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *appendItem )(
  1869. IWMPPlaylist __RPC_FAR * This,
  1870. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  1871. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *removeItem )(
  1872. IWMPPlaylist __RPC_FAR * This,
  1873. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  1874. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *moveItem )(
  1875. IWMPPlaylist __RPC_FAR * This,
  1876. long lIndexOld,
  1877. long lIndexNew);
  1878. END_INTERFACE
  1879. } IWMPPlaylistVtbl;
  1880. interface IWMPPlaylist
  1881. {
  1882. CONST_VTBL struct IWMPPlaylistVtbl __RPC_FAR *lpVtbl;
  1883. };
  1884. #ifdef COBJMACROS
  1885. #define IWMPPlaylist_QueryInterface(This,riid,ppvObject) \
  1886. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1887. #define IWMPPlaylist_AddRef(This) \
  1888. (This)->lpVtbl -> AddRef(This)
  1889. #define IWMPPlaylist_Release(This) \
  1890. (This)->lpVtbl -> Release(This)
  1891. #define IWMPPlaylist_GetTypeInfoCount(This,pctinfo) \
  1892. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1893. #define IWMPPlaylist_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1894. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1895. #define IWMPPlaylist_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1896. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1897. #define IWMPPlaylist_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1898. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1899. #define IWMPPlaylist_get_count(This,plCount) \
  1900. (This)->lpVtbl -> get_count(This,plCount)
  1901. #define IWMPPlaylist_get_name(This,pbstrName) \
  1902. (This)->lpVtbl -> get_name(This,pbstrName)
  1903. #define IWMPPlaylist_put_name(This,bstrName) \
  1904. (This)->lpVtbl -> put_name(This,bstrName)
  1905. #define IWMPPlaylist_get_attributeCount(This,plCount) \
  1906. (This)->lpVtbl -> get_attributeCount(This,plCount)
  1907. #define IWMPPlaylist_get_attributeName(This,lIndex,pbstrAttributeName) \
  1908. (This)->lpVtbl -> get_attributeName(This,lIndex,pbstrAttributeName)
  1909. #define IWMPPlaylist_get_item(This,lIndex,ppIWMPMedia) \
  1910. (This)->lpVtbl -> get_item(This,lIndex,ppIWMPMedia)
  1911. #define IWMPPlaylist_getItemInfo(This,bstrName,pbstrVal) \
  1912. (This)->lpVtbl -> getItemInfo(This,bstrName,pbstrVal)
  1913. #define IWMPPlaylist_setItemInfo(This,bstrName,bstrValue) \
  1914. (This)->lpVtbl -> setItemInfo(This,bstrName,bstrValue)
  1915. #define IWMPPlaylist_get_isIdentical(This,pIWMPPlaylist,pvbool) \
  1916. (This)->lpVtbl -> get_isIdentical(This,pIWMPPlaylist,pvbool)
  1917. #define IWMPPlaylist_clear(This) \
  1918. (This)->lpVtbl -> clear(This)
  1919. #define IWMPPlaylist_insertItem(This,lIndex,pIWMPMedia) \
  1920. (This)->lpVtbl -> insertItem(This,lIndex,pIWMPMedia)
  1921. #define IWMPPlaylist_appendItem(This,pIWMPMedia) \
  1922. (This)->lpVtbl -> appendItem(This,pIWMPMedia)
  1923. #define IWMPPlaylist_removeItem(This,pIWMPMedia) \
  1924. (This)->lpVtbl -> removeItem(This,pIWMPMedia)
  1925. #define IWMPPlaylist_moveItem(This,lIndexOld,lIndexNew) \
  1926. (This)->lpVtbl -> moveItem(This,lIndexOld,lIndexNew)
  1927. #endif /* COBJMACROS */
  1928. #endif /* C style interface */
  1929. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_count_Proxy(
  1930. IWMPPlaylist __RPC_FAR * This,
  1931. /* [retval][out] */ long __RPC_FAR *plCount);
  1932. void __RPC_STUB IWMPPlaylist_get_count_Stub(
  1933. IRpcStubBuffer *This,
  1934. IRpcChannelBuffer *_pRpcChannelBuffer,
  1935. PRPC_MESSAGE _pRpcMessage,
  1936. DWORD *_pdwStubPhase);
  1937. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_name_Proxy(
  1938. IWMPPlaylist __RPC_FAR * This,
  1939. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  1940. void __RPC_STUB IWMPPlaylist_get_name_Stub(
  1941. IRpcStubBuffer *This,
  1942. IRpcChannelBuffer *_pRpcChannelBuffer,
  1943. PRPC_MESSAGE _pRpcMessage,
  1944. DWORD *_pdwStubPhase);
  1945. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_put_name_Proxy(
  1946. IWMPPlaylist __RPC_FAR * This,
  1947. /* [in] */ BSTR bstrName);
  1948. void __RPC_STUB IWMPPlaylist_put_name_Stub(
  1949. IRpcStubBuffer *This,
  1950. IRpcChannelBuffer *_pRpcChannelBuffer,
  1951. PRPC_MESSAGE _pRpcMessage,
  1952. DWORD *_pdwStubPhase);
  1953. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_attributeCount_Proxy(
  1954. IWMPPlaylist __RPC_FAR * This,
  1955. /* [retval][out] */ long __RPC_FAR *plCount);
  1956. void __RPC_STUB IWMPPlaylist_get_attributeCount_Stub(
  1957. IRpcStubBuffer *This,
  1958. IRpcChannelBuffer *_pRpcChannelBuffer,
  1959. PRPC_MESSAGE _pRpcMessage,
  1960. DWORD *_pdwStubPhase);
  1961. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_attributeName_Proxy(
  1962. IWMPPlaylist __RPC_FAR * This,
  1963. /* [in] */ long lIndex,
  1964. /* [retval][out] */ BSTR __RPC_FAR *pbstrAttributeName);
  1965. void __RPC_STUB IWMPPlaylist_get_attributeName_Stub(
  1966. IRpcStubBuffer *This,
  1967. IRpcChannelBuffer *_pRpcChannelBuffer,
  1968. PRPC_MESSAGE _pRpcMessage,
  1969. DWORD *_pdwStubPhase);
  1970. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_item_Proxy(
  1971. IWMPPlaylist __RPC_FAR * This,
  1972. long lIndex,
  1973. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia);
  1974. void __RPC_STUB IWMPPlaylist_get_item_Stub(
  1975. IRpcStubBuffer *This,
  1976. IRpcChannelBuffer *_pRpcChannelBuffer,
  1977. PRPC_MESSAGE _pRpcMessage,
  1978. DWORD *_pdwStubPhase);
  1979. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_getItemInfo_Proxy(
  1980. IWMPPlaylist __RPC_FAR * This,
  1981. BSTR bstrName,
  1982. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  1983. void __RPC_STUB IWMPPlaylist_getItemInfo_Stub(
  1984. IRpcStubBuffer *This,
  1985. IRpcChannelBuffer *_pRpcChannelBuffer,
  1986. PRPC_MESSAGE _pRpcMessage,
  1987. DWORD *_pdwStubPhase);
  1988. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_setItemInfo_Proxy(
  1989. IWMPPlaylist __RPC_FAR * This,
  1990. /* [in] */ BSTR bstrName,
  1991. /* [in] */ BSTR bstrValue);
  1992. void __RPC_STUB IWMPPlaylist_setItemInfo_Stub(
  1993. IRpcStubBuffer *This,
  1994. IRpcChannelBuffer *_pRpcChannelBuffer,
  1995. PRPC_MESSAGE _pRpcMessage,
  1996. DWORD *_pdwStubPhase);
  1997. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_get_isIdentical_Proxy(
  1998. IWMPPlaylist __RPC_FAR * This,
  1999. /* [in] */ IWMPPlaylist __RPC_FAR *pIWMPPlaylist,
  2000. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool);
  2001. void __RPC_STUB IWMPPlaylist_get_isIdentical_Stub(
  2002. IRpcStubBuffer *This,
  2003. IRpcChannelBuffer *_pRpcChannelBuffer,
  2004. PRPC_MESSAGE _pRpcMessage,
  2005. DWORD *_pdwStubPhase);
  2006. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_clear_Proxy(
  2007. IWMPPlaylist __RPC_FAR * This);
  2008. void __RPC_STUB IWMPPlaylist_clear_Stub(
  2009. IRpcStubBuffer *This,
  2010. IRpcChannelBuffer *_pRpcChannelBuffer,
  2011. PRPC_MESSAGE _pRpcMessage,
  2012. DWORD *_pdwStubPhase);
  2013. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_insertItem_Proxy(
  2014. IWMPPlaylist __RPC_FAR * This,
  2015. /* [in] */ long lIndex,
  2016. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  2017. void __RPC_STUB IWMPPlaylist_insertItem_Stub(
  2018. IRpcStubBuffer *This,
  2019. IRpcChannelBuffer *_pRpcChannelBuffer,
  2020. PRPC_MESSAGE _pRpcMessage,
  2021. DWORD *_pdwStubPhase);
  2022. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_appendItem_Proxy(
  2023. IWMPPlaylist __RPC_FAR * This,
  2024. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  2025. void __RPC_STUB IWMPPlaylist_appendItem_Stub(
  2026. IRpcStubBuffer *This,
  2027. IRpcChannelBuffer *_pRpcChannelBuffer,
  2028. PRPC_MESSAGE _pRpcMessage,
  2029. DWORD *_pdwStubPhase);
  2030. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_removeItem_Proxy(
  2031. IWMPPlaylist __RPC_FAR * This,
  2032. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  2033. void __RPC_STUB IWMPPlaylist_removeItem_Stub(
  2034. IRpcStubBuffer *This,
  2035. IRpcChannelBuffer *_pRpcChannelBuffer,
  2036. PRPC_MESSAGE _pRpcMessage,
  2037. DWORD *_pdwStubPhase);
  2038. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylist_moveItem_Proxy(
  2039. IWMPPlaylist __RPC_FAR * This,
  2040. long lIndexOld,
  2041. long lIndexNew);
  2042. void __RPC_STUB IWMPPlaylist_moveItem_Stub(
  2043. IRpcStubBuffer *This,
  2044. IRpcChannelBuffer *_pRpcChannelBuffer,
  2045. PRPC_MESSAGE _pRpcMessage,
  2046. DWORD *_pdwStubPhase);
  2047. #endif /* __IWMPPlaylist_INTERFACE_DEFINED__ */
  2048. #ifndef __IWMPCdrom_INTERFACE_DEFINED__
  2049. #define __IWMPCdrom_INTERFACE_DEFINED__
  2050. /* interface IWMPCdrom */
  2051. /* [unique][helpstring][dual][uuid][object] */
  2052. EXTERN_C const IID IID_IWMPCdrom;
  2053. #if defined(__cplusplus) && !defined(CINTERFACE)
  2054. MIDL_INTERFACE("cfab6e98-8730-11d3-b388-00c04f68574b")
  2055. IWMPCdrom : public IDispatch
  2056. {
  2057. public:
  2058. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_driveSpecifier(
  2059. /* [retval][out] */ BSTR __RPC_FAR *pbstrDrive) = 0;
  2060. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_playlist(
  2061. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPlaylist) = 0;
  2062. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE eject( void) = 0;
  2063. };
  2064. #else /* C style interface */
  2065. typedef struct IWMPCdromVtbl
  2066. {
  2067. BEGIN_INTERFACE
  2068. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2069. IWMPCdrom __RPC_FAR * This,
  2070. /* [in] */ REFIID riid,
  2071. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2072. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2073. IWMPCdrom __RPC_FAR * This);
  2074. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2075. IWMPCdrom __RPC_FAR * This);
  2076. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2077. IWMPCdrom __RPC_FAR * This,
  2078. /* [out] */ UINT __RPC_FAR *pctinfo);
  2079. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2080. IWMPCdrom __RPC_FAR * This,
  2081. /* [in] */ UINT iTInfo,
  2082. /* [in] */ LCID lcid,
  2083. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2084. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2085. IWMPCdrom __RPC_FAR * This,
  2086. /* [in] */ REFIID riid,
  2087. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2088. /* [in] */ UINT cNames,
  2089. /* [in] */ LCID lcid,
  2090. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2091. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2092. IWMPCdrom __RPC_FAR * This,
  2093. /* [in] */ DISPID dispIdMember,
  2094. /* [in] */ REFIID riid,
  2095. /* [in] */ LCID lcid,
  2096. /* [in] */ WORD wFlags,
  2097. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2098. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2099. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2100. /* [out] */ UINT __RPC_FAR *puArgErr);
  2101. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_driveSpecifier )(
  2102. IWMPCdrom __RPC_FAR * This,
  2103. /* [retval][out] */ BSTR __RPC_FAR *pbstrDrive);
  2104. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlist )(
  2105. IWMPCdrom __RPC_FAR * This,
  2106. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPlaylist);
  2107. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *eject )(
  2108. IWMPCdrom __RPC_FAR * This);
  2109. END_INTERFACE
  2110. } IWMPCdromVtbl;
  2111. interface IWMPCdrom
  2112. {
  2113. CONST_VTBL struct IWMPCdromVtbl __RPC_FAR *lpVtbl;
  2114. };
  2115. #ifdef COBJMACROS
  2116. #define IWMPCdrom_QueryInterface(This,riid,ppvObject) \
  2117. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2118. #define IWMPCdrom_AddRef(This) \
  2119. (This)->lpVtbl -> AddRef(This)
  2120. #define IWMPCdrom_Release(This) \
  2121. (This)->lpVtbl -> Release(This)
  2122. #define IWMPCdrom_GetTypeInfoCount(This,pctinfo) \
  2123. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2124. #define IWMPCdrom_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2125. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2126. #define IWMPCdrom_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2127. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2128. #define IWMPCdrom_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2129. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2130. #define IWMPCdrom_get_driveSpecifier(This,pbstrDrive) \
  2131. (This)->lpVtbl -> get_driveSpecifier(This,pbstrDrive)
  2132. #define IWMPCdrom_get_playlist(This,ppPlaylist) \
  2133. (This)->lpVtbl -> get_playlist(This,ppPlaylist)
  2134. #define IWMPCdrom_eject(This) \
  2135. (This)->lpVtbl -> eject(This)
  2136. #endif /* COBJMACROS */
  2137. #endif /* C style interface */
  2138. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCdrom_get_driveSpecifier_Proxy(
  2139. IWMPCdrom __RPC_FAR * This,
  2140. /* [retval][out] */ BSTR __RPC_FAR *pbstrDrive);
  2141. void __RPC_STUB IWMPCdrom_get_driveSpecifier_Stub(
  2142. IRpcStubBuffer *This,
  2143. IRpcChannelBuffer *_pRpcChannelBuffer,
  2144. PRPC_MESSAGE _pRpcMessage,
  2145. DWORD *_pdwStubPhase);
  2146. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCdrom_get_playlist_Proxy(
  2147. IWMPCdrom __RPC_FAR * This,
  2148. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPlaylist);
  2149. void __RPC_STUB IWMPCdrom_get_playlist_Stub(
  2150. IRpcStubBuffer *This,
  2151. IRpcChannelBuffer *_pRpcChannelBuffer,
  2152. PRPC_MESSAGE _pRpcMessage,
  2153. DWORD *_pdwStubPhase);
  2154. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPCdrom_eject_Proxy(
  2155. IWMPCdrom __RPC_FAR * This);
  2156. void __RPC_STUB IWMPCdrom_eject_Stub(
  2157. IRpcStubBuffer *This,
  2158. IRpcChannelBuffer *_pRpcChannelBuffer,
  2159. PRPC_MESSAGE _pRpcMessage,
  2160. DWORD *_pdwStubPhase);
  2161. #endif /* __IWMPCdrom_INTERFACE_DEFINED__ */
  2162. #ifndef __IWMPCdromCollection_INTERFACE_DEFINED__
  2163. #define __IWMPCdromCollection_INTERFACE_DEFINED__
  2164. /* interface IWMPCdromCollection */
  2165. /* [unique][helpstring][dual][uuid][object] */
  2166. EXTERN_C const IID IID_IWMPCdromCollection;
  2167. #if defined(__cplusplus) && !defined(CINTERFACE)
  2168. MIDL_INTERFACE("EE4C8FE2-34B2-11d3-A3BF-006097C9B344")
  2169. IWMPCdromCollection : public IDispatch
  2170. {
  2171. public:
  2172. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_count(
  2173. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  2174. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE item(
  2175. /* [in] */ long lIndex,
  2176. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppItem) = 0;
  2177. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByDriveSpecifier(
  2178. /* [in] */ BSTR bstrDriveSpecifier,
  2179. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppCdrom) = 0;
  2180. };
  2181. #else /* C style interface */
  2182. typedef struct IWMPCdromCollectionVtbl
  2183. {
  2184. BEGIN_INTERFACE
  2185. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2186. IWMPCdromCollection __RPC_FAR * This,
  2187. /* [in] */ REFIID riid,
  2188. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2189. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2190. IWMPCdromCollection __RPC_FAR * This);
  2191. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2192. IWMPCdromCollection __RPC_FAR * This);
  2193. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2194. IWMPCdromCollection __RPC_FAR * This,
  2195. /* [out] */ UINT __RPC_FAR *pctinfo);
  2196. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2197. IWMPCdromCollection __RPC_FAR * This,
  2198. /* [in] */ UINT iTInfo,
  2199. /* [in] */ LCID lcid,
  2200. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2201. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2202. IWMPCdromCollection __RPC_FAR * This,
  2203. /* [in] */ REFIID riid,
  2204. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2205. /* [in] */ UINT cNames,
  2206. /* [in] */ LCID lcid,
  2207. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2208. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2209. IWMPCdromCollection __RPC_FAR * This,
  2210. /* [in] */ DISPID dispIdMember,
  2211. /* [in] */ REFIID riid,
  2212. /* [in] */ LCID lcid,
  2213. /* [in] */ WORD wFlags,
  2214. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2215. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2216. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2217. /* [out] */ UINT __RPC_FAR *puArgErr);
  2218. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_count )(
  2219. IWMPCdromCollection __RPC_FAR * This,
  2220. /* [retval][out] */ long __RPC_FAR *plCount);
  2221. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
  2222. IWMPCdromCollection __RPC_FAR * This,
  2223. /* [in] */ long lIndex,
  2224. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppItem);
  2225. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByDriveSpecifier )(
  2226. IWMPCdromCollection __RPC_FAR * This,
  2227. /* [in] */ BSTR bstrDriveSpecifier,
  2228. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppCdrom);
  2229. END_INTERFACE
  2230. } IWMPCdromCollectionVtbl;
  2231. interface IWMPCdromCollection
  2232. {
  2233. CONST_VTBL struct IWMPCdromCollectionVtbl __RPC_FAR *lpVtbl;
  2234. };
  2235. #ifdef COBJMACROS
  2236. #define IWMPCdromCollection_QueryInterface(This,riid,ppvObject) \
  2237. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2238. #define IWMPCdromCollection_AddRef(This) \
  2239. (This)->lpVtbl -> AddRef(This)
  2240. #define IWMPCdromCollection_Release(This) \
  2241. (This)->lpVtbl -> Release(This)
  2242. #define IWMPCdromCollection_GetTypeInfoCount(This,pctinfo) \
  2243. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2244. #define IWMPCdromCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2245. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2246. #define IWMPCdromCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2247. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2248. #define IWMPCdromCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2249. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2250. #define IWMPCdromCollection_get_count(This,plCount) \
  2251. (This)->lpVtbl -> get_count(This,plCount)
  2252. #define IWMPCdromCollection_item(This,lIndex,ppItem) \
  2253. (This)->lpVtbl -> item(This,lIndex,ppItem)
  2254. #define IWMPCdromCollection_getByDriveSpecifier(This,bstrDriveSpecifier,ppCdrom) \
  2255. (This)->lpVtbl -> getByDriveSpecifier(This,bstrDriveSpecifier,ppCdrom)
  2256. #endif /* COBJMACROS */
  2257. #endif /* C style interface */
  2258. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCdromCollection_get_count_Proxy(
  2259. IWMPCdromCollection __RPC_FAR * This,
  2260. /* [retval][out] */ long __RPC_FAR *plCount);
  2261. void __RPC_STUB IWMPCdromCollection_get_count_Stub(
  2262. IRpcStubBuffer *This,
  2263. IRpcChannelBuffer *_pRpcChannelBuffer,
  2264. PRPC_MESSAGE _pRpcMessage,
  2265. DWORD *_pdwStubPhase);
  2266. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPCdromCollection_item_Proxy(
  2267. IWMPCdromCollection __RPC_FAR * This,
  2268. /* [in] */ long lIndex,
  2269. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppItem);
  2270. void __RPC_STUB IWMPCdromCollection_item_Stub(
  2271. IRpcStubBuffer *This,
  2272. IRpcChannelBuffer *_pRpcChannelBuffer,
  2273. PRPC_MESSAGE _pRpcMessage,
  2274. DWORD *_pdwStubPhase);
  2275. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPCdromCollection_getByDriveSpecifier_Proxy(
  2276. IWMPCdromCollection __RPC_FAR * This,
  2277. /* [in] */ BSTR bstrDriveSpecifier,
  2278. /* [retval][out] */ IWMPCdrom __RPC_FAR *__RPC_FAR *ppCdrom);
  2279. void __RPC_STUB IWMPCdromCollection_getByDriveSpecifier_Stub(
  2280. IRpcStubBuffer *This,
  2281. IRpcChannelBuffer *_pRpcChannelBuffer,
  2282. PRPC_MESSAGE _pRpcMessage,
  2283. DWORD *_pdwStubPhase);
  2284. #endif /* __IWMPCdromCollection_INTERFACE_DEFINED__ */
  2285. #ifndef __IWMPStringCollection_INTERFACE_DEFINED__
  2286. #define __IWMPStringCollection_INTERFACE_DEFINED__
  2287. /* interface IWMPStringCollection */
  2288. /* [unique][helpstring][dual][uuid][object] */
  2289. EXTERN_C const IID IID_IWMPStringCollection;
  2290. #if defined(__cplusplus) && !defined(CINTERFACE)
  2291. MIDL_INTERFACE("4a976298-8c0d-11d3-b389-00c04f68574b")
  2292. IWMPStringCollection : public IDispatch
  2293. {
  2294. public:
  2295. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_count(
  2296. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  2297. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE item(
  2298. /* [in] */ long lIndex,
  2299. /* [retval][out] */ BSTR __RPC_FAR *pbstrString) = 0;
  2300. };
  2301. #else /* C style interface */
  2302. typedef struct IWMPStringCollectionVtbl
  2303. {
  2304. BEGIN_INTERFACE
  2305. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2306. IWMPStringCollection __RPC_FAR * This,
  2307. /* [in] */ REFIID riid,
  2308. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2309. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2310. IWMPStringCollection __RPC_FAR * This);
  2311. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2312. IWMPStringCollection __RPC_FAR * This);
  2313. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2314. IWMPStringCollection __RPC_FAR * This,
  2315. /* [out] */ UINT __RPC_FAR *pctinfo);
  2316. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2317. IWMPStringCollection __RPC_FAR * This,
  2318. /* [in] */ UINT iTInfo,
  2319. /* [in] */ LCID lcid,
  2320. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2321. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2322. IWMPStringCollection __RPC_FAR * This,
  2323. /* [in] */ REFIID riid,
  2324. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2325. /* [in] */ UINT cNames,
  2326. /* [in] */ LCID lcid,
  2327. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2328. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2329. IWMPStringCollection __RPC_FAR * This,
  2330. /* [in] */ DISPID dispIdMember,
  2331. /* [in] */ REFIID riid,
  2332. /* [in] */ LCID lcid,
  2333. /* [in] */ WORD wFlags,
  2334. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2335. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2336. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2337. /* [out] */ UINT __RPC_FAR *puArgErr);
  2338. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_count )(
  2339. IWMPStringCollection __RPC_FAR * This,
  2340. /* [retval][out] */ long __RPC_FAR *plCount);
  2341. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
  2342. IWMPStringCollection __RPC_FAR * This,
  2343. /* [in] */ long lIndex,
  2344. /* [retval][out] */ BSTR __RPC_FAR *pbstrString);
  2345. END_INTERFACE
  2346. } IWMPStringCollectionVtbl;
  2347. interface IWMPStringCollection
  2348. {
  2349. CONST_VTBL struct IWMPStringCollectionVtbl __RPC_FAR *lpVtbl;
  2350. };
  2351. #ifdef COBJMACROS
  2352. #define IWMPStringCollection_QueryInterface(This,riid,ppvObject) \
  2353. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2354. #define IWMPStringCollection_AddRef(This) \
  2355. (This)->lpVtbl -> AddRef(This)
  2356. #define IWMPStringCollection_Release(This) \
  2357. (This)->lpVtbl -> Release(This)
  2358. #define IWMPStringCollection_GetTypeInfoCount(This,pctinfo) \
  2359. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2360. #define IWMPStringCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2361. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2362. #define IWMPStringCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2363. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2364. #define IWMPStringCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2365. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2366. #define IWMPStringCollection_get_count(This,plCount) \
  2367. (This)->lpVtbl -> get_count(This,plCount)
  2368. #define IWMPStringCollection_item(This,lIndex,pbstrString) \
  2369. (This)->lpVtbl -> item(This,lIndex,pbstrString)
  2370. #endif /* COBJMACROS */
  2371. #endif /* C style interface */
  2372. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPStringCollection_get_count_Proxy(
  2373. IWMPStringCollection __RPC_FAR * This,
  2374. /* [retval][out] */ long __RPC_FAR *plCount);
  2375. void __RPC_STUB IWMPStringCollection_get_count_Stub(
  2376. IRpcStubBuffer *This,
  2377. IRpcChannelBuffer *_pRpcChannelBuffer,
  2378. PRPC_MESSAGE _pRpcMessage,
  2379. DWORD *_pdwStubPhase);
  2380. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPStringCollection_item_Proxy(
  2381. IWMPStringCollection __RPC_FAR * This,
  2382. /* [in] */ long lIndex,
  2383. /* [retval][out] */ BSTR __RPC_FAR *pbstrString);
  2384. void __RPC_STUB IWMPStringCollection_item_Stub(
  2385. IRpcStubBuffer *This,
  2386. IRpcChannelBuffer *_pRpcChannelBuffer,
  2387. PRPC_MESSAGE _pRpcMessage,
  2388. DWORD *_pdwStubPhase);
  2389. #endif /* __IWMPStringCollection_INTERFACE_DEFINED__ */
  2390. #ifndef __IWMPMediaCollection_INTERFACE_DEFINED__
  2391. #define __IWMPMediaCollection_INTERFACE_DEFINED__
  2392. /* interface IWMPMediaCollection */
  2393. /* [unique][helpstring][dual][uuid][object] */
  2394. EXTERN_C const IID IID_IWMPMediaCollection;
  2395. #if defined(__cplusplus) && !defined(CINTERFACE)
  2396. MIDL_INTERFACE("8363BC22-B4B4-4b19-989D-1CD765749DD1")
  2397. IWMPMediaCollection : public IDispatch
  2398. {
  2399. public:
  2400. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE add(
  2401. /* [in] */ BSTR bstrURL,
  2402. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppItem) = 0;
  2403. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAll(
  2404. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2405. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByName(
  2406. /* [in] */ BSTR bstrName,
  2407. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2408. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByGenre(
  2409. /* [in] */ BSTR bstrGenre,
  2410. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2411. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByAuthor(
  2412. /* [in] */ BSTR bstrAuthor,
  2413. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2414. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByAlbum(
  2415. /* [in] */ BSTR bstrAlbum,
  2416. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2417. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByAttribute(
  2418. /* [in] */ BSTR bstrAttribute,
  2419. /* [in] */ BSTR bstrValue,
  2420. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems) = 0;
  2421. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE remove(
  2422. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2423. /* [in] */ VARIANT_BOOL varfDeleteFile) = 0;
  2424. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAttributeStringCollection(
  2425. /* [in] */ BSTR bstrAttribute,
  2426. /* [in] */ BSTR bstrMediaType,
  2427. /* [retval][out] */ IWMPStringCollection __RPC_FAR *__RPC_FAR *ppStringCollection) = 0;
  2428. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getMediaAtom(
  2429. /* [in] */ BSTR bstrItemName,
  2430. /* [retval][out] */ long __RPC_FAR *plAtom) = 0;
  2431. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setDeleted(
  2432. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2433. /* [in] */ VARIANT_BOOL varfIsDeleted) = 0;
  2434. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isDeleted(
  2435. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2436. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted) = 0;
  2437. };
  2438. #else /* C style interface */
  2439. typedef struct IWMPMediaCollectionVtbl
  2440. {
  2441. BEGIN_INTERFACE
  2442. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2443. IWMPMediaCollection __RPC_FAR * This,
  2444. /* [in] */ REFIID riid,
  2445. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2446. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2447. IWMPMediaCollection __RPC_FAR * This);
  2448. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2449. IWMPMediaCollection __RPC_FAR * This);
  2450. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2451. IWMPMediaCollection __RPC_FAR * This,
  2452. /* [out] */ UINT __RPC_FAR *pctinfo);
  2453. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2454. IWMPMediaCollection __RPC_FAR * This,
  2455. /* [in] */ UINT iTInfo,
  2456. /* [in] */ LCID lcid,
  2457. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2458. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2459. IWMPMediaCollection __RPC_FAR * This,
  2460. /* [in] */ REFIID riid,
  2461. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2462. /* [in] */ UINT cNames,
  2463. /* [in] */ LCID lcid,
  2464. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2465. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2466. IWMPMediaCollection __RPC_FAR * This,
  2467. /* [in] */ DISPID dispIdMember,
  2468. /* [in] */ REFIID riid,
  2469. /* [in] */ LCID lcid,
  2470. /* [in] */ WORD wFlags,
  2471. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2472. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2473. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2474. /* [out] */ UINT __RPC_FAR *puArgErr);
  2475. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *add )(
  2476. IWMPMediaCollection __RPC_FAR * This,
  2477. /* [in] */ BSTR bstrURL,
  2478. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppItem);
  2479. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAll )(
  2480. IWMPMediaCollection __RPC_FAR * This,
  2481. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2482. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByName )(
  2483. IWMPMediaCollection __RPC_FAR * This,
  2484. /* [in] */ BSTR bstrName,
  2485. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2486. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByGenre )(
  2487. IWMPMediaCollection __RPC_FAR * This,
  2488. /* [in] */ BSTR bstrGenre,
  2489. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2490. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByAuthor )(
  2491. IWMPMediaCollection __RPC_FAR * This,
  2492. /* [in] */ BSTR bstrAuthor,
  2493. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2494. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByAlbum )(
  2495. IWMPMediaCollection __RPC_FAR * This,
  2496. /* [in] */ BSTR bstrAlbum,
  2497. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2498. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByAttribute )(
  2499. IWMPMediaCollection __RPC_FAR * This,
  2500. /* [in] */ BSTR bstrAttribute,
  2501. /* [in] */ BSTR bstrValue,
  2502. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2503. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *remove )(
  2504. IWMPMediaCollection __RPC_FAR * This,
  2505. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2506. /* [in] */ VARIANT_BOOL varfDeleteFile);
  2507. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAttributeStringCollection )(
  2508. IWMPMediaCollection __RPC_FAR * This,
  2509. /* [in] */ BSTR bstrAttribute,
  2510. /* [in] */ BSTR bstrMediaType,
  2511. /* [retval][out] */ IWMPStringCollection __RPC_FAR *__RPC_FAR *ppStringCollection);
  2512. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMediaAtom )(
  2513. IWMPMediaCollection __RPC_FAR * This,
  2514. /* [in] */ BSTR bstrItemName,
  2515. /* [retval][out] */ long __RPC_FAR *plAtom);
  2516. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setDeleted )(
  2517. IWMPMediaCollection __RPC_FAR * This,
  2518. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2519. /* [in] */ VARIANT_BOOL varfIsDeleted);
  2520. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isDeleted )(
  2521. IWMPMediaCollection __RPC_FAR * This,
  2522. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2523. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted);
  2524. END_INTERFACE
  2525. } IWMPMediaCollectionVtbl;
  2526. interface IWMPMediaCollection
  2527. {
  2528. CONST_VTBL struct IWMPMediaCollectionVtbl __RPC_FAR *lpVtbl;
  2529. };
  2530. #ifdef COBJMACROS
  2531. #define IWMPMediaCollection_QueryInterface(This,riid,ppvObject) \
  2532. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2533. #define IWMPMediaCollection_AddRef(This) \
  2534. (This)->lpVtbl -> AddRef(This)
  2535. #define IWMPMediaCollection_Release(This) \
  2536. (This)->lpVtbl -> Release(This)
  2537. #define IWMPMediaCollection_GetTypeInfoCount(This,pctinfo) \
  2538. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2539. #define IWMPMediaCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2540. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2541. #define IWMPMediaCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2542. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2543. #define IWMPMediaCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2544. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2545. #define IWMPMediaCollection_add(This,bstrURL,ppItem) \
  2546. (This)->lpVtbl -> add(This,bstrURL,ppItem)
  2547. #define IWMPMediaCollection_getAll(This,ppMediaItems) \
  2548. (This)->lpVtbl -> getAll(This,ppMediaItems)
  2549. #define IWMPMediaCollection_getByName(This,bstrName,ppMediaItems) \
  2550. (This)->lpVtbl -> getByName(This,bstrName,ppMediaItems)
  2551. #define IWMPMediaCollection_getByGenre(This,bstrGenre,ppMediaItems) \
  2552. (This)->lpVtbl -> getByGenre(This,bstrGenre,ppMediaItems)
  2553. #define IWMPMediaCollection_getByAuthor(This,bstrAuthor,ppMediaItems) \
  2554. (This)->lpVtbl -> getByAuthor(This,bstrAuthor,ppMediaItems)
  2555. #define IWMPMediaCollection_getByAlbum(This,bstrAlbum,ppMediaItems) \
  2556. (This)->lpVtbl -> getByAlbum(This,bstrAlbum,ppMediaItems)
  2557. #define IWMPMediaCollection_getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems) \
  2558. (This)->lpVtbl -> getByAttribute(This,bstrAttribute,bstrValue,ppMediaItems)
  2559. #define IWMPMediaCollection_remove(This,pItem,varfDeleteFile) \
  2560. (This)->lpVtbl -> remove(This,pItem,varfDeleteFile)
  2561. #define IWMPMediaCollection_getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection) \
  2562. (This)->lpVtbl -> getAttributeStringCollection(This,bstrAttribute,bstrMediaType,ppStringCollection)
  2563. #define IWMPMediaCollection_getMediaAtom(This,bstrItemName,plAtom) \
  2564. (This)->lpVtbl -> getMediaAtom(This,bstrItemName,plAtom)
  2565. #define IWMPMediaCollection_setDeleted(This,pItem,varfIsDeleted) \
  2566. (This)->lpVtbl -> setDeleted(This,pItem,varfIsDeleted)
  2567. #define IWMPMediaCollection_isDeleted(This,pItem,pvarfIsDeleted) \
  2568. (This)->lpVtbl -> isDeleted(This,pItem,pvarfIsDeleted)
  2569. #endif /* COBJMACROS */
  2570. #endif /* C style interface */
  2571. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_add_Proxy(
  2572. IWMPMediaCollection __RPC_FAR * This,
  2573. /* [in] */ BSTR bstrURL,
  2574. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppItem);
  2575. void __RPC_STUB IWMPMediaCollection_add_Stub(
  2576. IRpcStubBuffer *This,
  2577. IRpcChannelBuffer *_pRpcChannelBuffer,
  2578. PRPC_MESSAGE _pRpcMessage,
  2579. DWORD *_pdwStubPhase);
  2580. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getAll_Proxy(
  2581. IWMPMediaCollection __RPC_FAR * This,
  2582. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2583. void __RPC_STUB IWMPMediaCollection_getAll_Stub(
  2584. IRpcStubBuffer *This,
  2585. IRpcChannelBuffer *_pRpcChannelBuffer,
  2586. PRPC_MESSAGE _pRpcMessage,
  2587. DWORD *_pdwStubPhase);
  2588. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getByName_Proxy(
  2589. IWMPMediaCollection __RPC_FAR * This,
  2590. /* [in] */ BSTR bstrName,
  2591. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2592. void __RPC_STUB IWMPMediaCollection_getByName_Stub(
  2593. IRpcStubBuffer *This,
  2594. IRpcChannelBuffer *_pRpcChannelBuffer,
  2595. PRPC_MESSAGE _pRpcMessage,
  2596. DWORD *_pdwStubPhase);
  2597. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getByGenre_Proxy(
  2598. IWMPMediaCollection __RPC_FAR * This,
  2599. /* [in] */ BSTR bstrGenre,
  2600. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2601. void __RPC_STUB IWMPMediaCollection_getByGenre_Stub(
  2602. IRpcStubBuffer *This,
  2603. IRpcChannelBuffer *_pRpcChannelBuffer,
  2604. PRPC_MESSAGE _pRpcMessage,
  2605. DWORD *_pdwStubPhase);
  2606. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getByAuthor_Proxy(
  2607. IWMPMediaCollection __RPC_FAR * This,
  2608. /* [in] */ BSTR bstrAuthor,
  2609. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2610. void __RPC_STUB IWMPMediaCollection_getByAuthor_Stub(
  2611. IRpcStubBuffer *This,
  2612. IRpcChannelBuffer *_pRpcChannelBuffer,
  2613. PRPC_MESSAGE _pRpcMessage,
  2614. DWORD *_pdwStubPhase);
  2615. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getByAlbum_Proxy(
  2616. IWMPMediaCollection __RPC_FAR * This,
  2617. /* [in] */ BSTR bstrAlbum,
  2618. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2619. void __RPC_STUB IWMPMediaCollection_getByAlbum_Stub(
  2620. IRpcStubBuffer *This,
  2621. IRpcChannelBuffer *_pRpcChannelBuffer,
  2622. PRPC_MESSAGE _pRpcMessage,
  2623. DWORD *_pdwStubPhase);
  2624. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getByAttribute_Proxy(
  2625. IWMPMediaCollection __RPC_FAR * This,
  2626. /* [in] */ BSTR bstrAttribute,
  2627. /* [in] */ BSTR bstrValue,
  2628. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppMediaItems);
  2629. void __RPC_STUB IWMPMediaCollection_getByAttribute_Stub(
  2630. IRpcStubBuffer *This,
  2631. IRpcChannelBuffer *_pRpcChannelBuffer,
  2632. PRPC_MESSAGE _pRpcMessage,
  2633. DWORD *_pdwStubPhase);
  2634. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_remove_Proxy(
  2635. IWMPMediaCollection __RPC_FAR * This,
  2636. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2637. /* [in] */ VARIANT_BOOL varfDeleteFile);
  2638. void __RPC_STUB IWMPMediaCollection_remove_Stub(
  2639. IRpcStubBuffer *This,
  2640. IRpcChannelBuffer *_pRpcChannelBuffer,
  2641. PRPC_MESSAGE _pRpcMessage,
  2642. DWORD *_pdwStubPhase);
  2643. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getAttributeStringCollection_Proxy(
  2644. IWMPMediaCollection __RPC_FAR * This,
  2645. /* [in] */ BSTR bstrAttribute,
  2646. /* [in] */ BSTR bstrMediaType,
  2647. /* [retval][out] */ IWMPStringCollection __RPC_FAR *__RPC_FAR *ppStringCollection);
  2648. void __RPC_STUB IWMPMediaCollection_getAttributeStringCollection_Stub(
  2649. IRpcStubBuffer *This,
  2650. IRpcChannelBuffer *_pRpcChannelBuffer,
  2651. PRPC_MESSAGE _pRpcMessage,
  2652. DWORD *_pdwStubPhase);
  2653. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_getMediaAtom_Proxy(
  2654. IWMPMediaCollection __RPC_FAR * This,
  2655. /* [in] */ BSTR bstrItemName,
  2656. /* [retval][out] */ long __RPC_FAR *plAtom);
  2657. void __RPC_STUB IWMPMediaCollection_getMediaAtom_Stub(
  2658. IRpcStubBuffer *This,
  2659. IRpcChannelBuffer *_pRpcChannelBuffer,
  2660. PRPC_MESSAGE _pRpcMessage,
  2661. DWORD *_pdwStubPhase);
  2662. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_setDeleted_Proxy(
  2663. IWMPMediaCollection __RPC_FAR * This,
  2664. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2665. /* [in] */ VARIANT_BOOL varfIsDeleted);
  2666. void __RPC_STUB IWMPMediaCollection_setDeleted_Stub(
  2667. IRpcStubBuffer *This,
  2668. IRpcChannelBuffer *_pRpcChannelBuffer,
  2669. PRPC_MESSAGE _pRpcMessage,
  2670. DWORD *_pdwStubPhase);
  2671. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPMediaCollection_isDeleted_Proxy(
  2672. IWMPMediaCollection __RPC_FAR * This,
  2673. /* [in] */ IWMPMedia __RPC_FAR *pItem,
  2674. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted);
  2675. void __RPC_STUB IWMPMediaCollection_isDeleted_Stub(
  2676. IRpcStubBuffer *This,
  2677. IRpcChannelBuffer *_pRpcChannelBuffer,
  2678. PRPC_MESSAGE _pRpcMessage,
  2679. DWORD *_pdwStubPhase);
  2680. #endif /* __IWMPMediaCollection_INTERFACE_DEFINED__ */
  2681. #ifndef __IWMPPlaylistArray_INTERFACE_DEFINED__
  2682. #define __IWMPPlaylistArray_INTERFACE_DEFINED__
  2683. /* interface IWMPPlaylistArray */
  2684. /* [unique][helpstring][dual][uuid][object] */
  2685. EXTERN_C const IID IID_IWMPPlaylistArray;
  2686. #if defined(__cplusplus) && !defined(CINTERFACE)
  2687. MIDL_INTERFACE("679409c0-99f7-11d3-9fb7-00105aa620bb")
  2688. IWMPPlaylistArray : public IDispatch
  2689. {
  2690. public:
  2691. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_count(
  2692. /* [retval][out] */ long __RPC_FAR *plCount) = 0;
  2693. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE item(
  2694. /* [in] */ long lIndex,
  2695. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem) = 0;
  2696. };
  2697. #else /* C style interface */
  2698. typedef struct IWMPPlaylistArrayVtbl
  2699. {
  2700. BEGIN_INTERFACE
  2701. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2702. IWMPPlaylistArray __RPC_FAR * This,
  2703. /* [in] */ REFIID riid,
  2704. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2705. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2706. IWMPPlaylistArray __RPC_FAR * This);
  2707. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2708. IWMPPlaylistArray __RPC_FAR * This);
  2709. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2710. IWMPPlaylistArray __RPC_FAR * This,
  2711. /* [out] */ UINT __RPC_FAR *pctinfo);
  2712. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2713. IWMPPlaylistArray __RPC_FAR * This,
  2714. /* [in] */ UINT iTInfo,
  2715. /* [in] */ LCID lcid,
  2716. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2717. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2718. IWMPPlaylistArray __RPC_FAR * This,
  2719. /* [in] */ REFIID riid,
  2720. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2721. /* [in] */ UINT cNames,
  2722. /* [in] */ LCID lcid,
  2723. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2724. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2725. IWMPPlaylistArray __RPC_FAR * This,
  2726. /* [in] */ DISPID dispIdMember,
  2727. /* [in] */ REFIID riid,
  2728. /* [in] */ LCID lcid,
  2729. /* [in] */ WORD wFlags,
  2730. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2731. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2732. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2733. /* [out] */ UINT __RPC_FAR *puArgErr);
  2734. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_count )(
  2735. IWMPPlaylistArray __RPC_FAR * This,
  2736. /* [retval][out] */ long __RPC_FAR *plCount);
  2737. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *item )(
  2738. IWMPPlaylistArray __RPC_FAR * This,
  2739. /* [in] */ long lIndex,
  2740. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem);
  2741. END_INTERFACE
  2742. } IWMPPlaylistArrayVtbl;
  2743. interface IWMPPlaylistArray
  2744. {
  2745. CONST_VTBL struct IWMPPlaylistArrayVtbl __RPC_FAR *lpVtbl;
  2746. };
  2747. #ifdef COBJMACROS
  2748. #define IWMPPlaylistArray_QueryInterface(This,riid,ppvObject) \
  2749. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2750. #define IWMPPlaylistArray_AddRef(This) \
  2751. (This)->lpVtbl -> AddRef(This)
  2752. #define IWMPPlaylistArray_Release(This) \
  2753. (This)->lpVtbl -> Release(This)
  2754. #define IWMPPlaylistArray_GetTypeInfoCount(This,pctinfo) \
  2755. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2756. #define IWMPPlaylistArray_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2757. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2758. #define IWMPPlaylistArray_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2759. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2760. #define IWMPPlaylistArray_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2761. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2762. #define IWMPPlaylistArray_get_count(This,plCount) \
  2763. (This)->lpVtbl -> get_count(This,plCount)
  2764. #define IWMPPlaylistArray_item(This,lIndex,ppItem) \
  2765. (This)->lpVtbl -> item(This,lIndex,ppItem)
  2766. #endif /* COBJMACROS */
  2767. #endif /* C style interface */
  2768. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistArray_get_count_Proxy(
  2769. IWMPPlaylistArray __RPC_FAR * This,
  2770. /* [retval][out] */ long __RPC_FAR *plCount);
  2771. void __RPC_STUB IWMPPlaylistArray_get_count_Stub(
  2772. IRpcStubBuffer *This,
  2773. IRpcChannelBuffer *_pRpcChannelBuffer,
  2774. PRPC_MESSAGE _pRpcMessage,
  2775. DWORD *_pdwStubPhase);
  2776. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistArray_item_Proxy(
  2777. IWMPPlaylistArray __RPC_FAR * This,
  2778. /* [in] */ long lIndex,
  2779. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem);
  2780. void __RPC_STUB IWMPPlaylistArray_item_Stub(
  2781. IRpcStubBuffer *This,
  2782. IRpcChannelBuffer *_pRpcChannelBuffer,
  2783. PRPC_MESSAGE _pRpcMessage,
  2784. DWORD *_pdwStubPhase);
  2785. #endif /* __IWMPPlaylistArray_INTERFACE_DEFINED__ */
  2786. #ifndef __IWMPPlaylistCollection_INTERFACE_DEFINED__
  2787. #define __IWMPPlaylistCollection_INTERFACE_DEFINED__
  2788. /* interface IWMPPlaylistCollection */
  2789. /* [unique][helpstring][dual][uuid][object] */
  2790. EXTERN_C const IID IID_IWMPPlaylistCollection;
  2791. #if defined(__cplusplus) && !defined(CINTERFACE)
  2792. MIDL_INTERFACE("10A13217-23A7-439b-B1C0-D847C79B7774")
  2793. IWMPPlaylistCollection : public IDispatch
  2794. {
  2795. public:
  2796. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE newPlaylist(
  2797. /* [in] */ BSTR bstrName,
  2798. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem) = 0;
  2799. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getAll(
  2800. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray) = 0;
  2801. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getByName(
  2802. /* [in] */ BSTR bstrName,
  2803. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray) = 0;
  2804. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE remove(
  2805. /* [in] */ IWMPPlaylist __RPC_FAR *pItem) = 0;
  2806. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setDeleted(
  2807. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2808. /* [in] */ VARIANT_BOOL varfIsDeleted) = 0;
  2809. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE isDeleted(
  2810. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2811. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted) = 0;
  2812. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE importPlaylist(
  2813. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2814. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppImportedItem) = 0;
  2815. };
  2816. #else /* C style interface */
  2817. typedef struct IWMPPlaylistCollectionVtbl
  2818. {
  2819. BEGIN_INTERFACE
  2820. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2821. IWMPPlaylistCollection __RPC_FAR * This,
  2822. /* [in] */ REFIID riid,
  2823. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2824. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2825. IWMPPlaylistCollection __RPC_FAR * This);
  2826. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2827. IWMPPlaylistCollection __RPC_FAR * This);
  2828. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2829. IWMPPlaylistCollection __RPC_FAR * This,
  2830. /* [out] */ UINT __RPC_FAR *pctinfo);
  2831. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2832. IWMPPlaylistCollection __RPC_FAR * This,
  2833. /* [in] */ UINT iTInfo,
  2834. /* [in] */ LCID lcid,
  2835. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2836. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2837. IWMPPlaylistCollection __RPC_FAR * This,
  2838. /* [in] */ REFIID riid,
  2839. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2840. /* [in] */ UINT cNames,
  2841. /* [in] */ LCID lcid,
  2842. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2843. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2844. IWMPPlaylistCollection __RPC_FAR * This,
  2845. /* [in] */ DISPID dispIdMember,
  2846. /* [in] */ REFIID riid,
  2847. /* [in] */ LCID lcid,
  2848. /* [in] */ WORD wFlags,
  2849. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2850. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2851. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2852. /* [out] */ UINT __RPC_FAR *puArgErr);
  2853. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *newPlaylist )(
  2854. IWMPPlaylistCollection __RPC_FAR * This,
  2855. /* [in] */ BSTR bstrName,
  2856. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem);
  2857. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAll )(
  2858. IWMPPlaylistCollection __RPC_FAR * This,
  2859. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray);
  2860. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getByName )(
  2861. IWMPPlaylistCollection __RPC_FAR * This,
  2862. /* [in] */ BSTR bstrName,
  2863. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray);
  2864. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *remove )(
  2865. IWMPPlaylistCollection __RPC_FAR * This,
  2866. /* [in] */ IWMPPlaylist __RPC_FAR *pItem);
  2867. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setDeleted )(
  2868. IWMPPlaylistCollection __RPC_FAR * This,
  2869. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2870. /* [in] */ VARIANT_BOOL varfIsDeleted);
  2871. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isDeleted )(
  2872. IWMPPlaylistCollection __RPC_FAR * This,
  2873. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2874. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted);
  2875. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *importPlaylist )(
  2876. IWMPPlaylistCollection __RPC_FAR * This,
  2877. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2878. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppImportedItem);
  2879. END_INTERFACE
  2880. } IWMPPlaylistCollectionVtbl;
  2881. interface IWMPPlaylistCollection
  2882. {
  2883. CONST_VTBL struct IWMPPlaylistCollectionVtbl __RPC_FAR *lpVtbl;
  2884. };
  2885. #ifdef COBJMACROS
  2886. #define IWMPPlaylistCollection_QueryInterface(This,riid,ppvObject) \
  2887. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2888. #define IWMPPlaylistCollection_AddRef(This) \
  2889. (This)->lpVtbl -> AddRef(This)
  2890. #define IWMPPlaylistCollection_Release(This) \
  2891. (This)->lpVtbl -> Release(This)
  2892. #define IWMPPlaylistCollection_GetTypeInfoCount(This,pctinfo) \
  2893. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2894. #define IWMPPlaylistCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2895. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2896. #define IWMPPlaylistCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2897. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2898. #define IWMPPlaylistCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2899. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2900. #define IWMPPlaylistCollection_newPlaylist(This,bstrName,ppItem) \
  2901. (This)->lpVtbl -> newPlaylist(This,bstrName,ppItem)
  2902. #define IWMPPlaylistCollection_getAll(This,ppPlaylistArray) \
  2903. (This)->lpVtbl -> getAll(This,ppPlaylistArray)
  2904. #define IWMPPlaylistCollection_getByName(This,bstrName,ppPlaylistArray) \
  2905. (This)->lpVtbl -> getByName(This,bstrName,ppPlaylistArray)
  2906. #define IWMPPlaylistCollection_remove(This,pItem) \
  2907. (This)->lpVtbl -> remove(This,pItem)
  2908. #define IWMPPlaylistCollection_setDeleted(This,pItem,varfIsDeleted) \
  2909. (This)->lpVtbl -> setDeleted(This,pItem,varfIsDeleted)
  2910. #define IWMPPlaylistCollection_isDeleted(This,pItem,pvarfIsDeleted) \
  2911. (This)->lpVtbl -> isDeleted(This,pItem,pvarfIsDeleted)
  2912. #define IWMPPlaylistCollection_importPlaylist(This,pItem,ppImportedItem) \
  2913. (This)->lpVtbl -> importPlaylist(This,pItem,ppImportedItem)
  2914. #endif /* COBJMACROS */
  2915. #endif /* C style interface */
  2916. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_newPlaylist_Proxy(
  2917. IWMPPlaylistCollection __RPC_FAR * This,
  2918. /* [in] */ BSTR bstrName,
  2919. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppItem);
  2920. void __RPC_STUB IWMPPlaylistCollection_newPlaylist_Stub(
  2921. IRpcStubBuffer *This,
  2922. IRpcChannelBuffer *_pRpcChannelBuffer,
  2923. PRPC_MESSAGE _pRpcMessage,
  2924. DWORD *_pdwStubPhase);
  2925. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_getAll_Proxy(
  2926. IWMPPlaylistCollection __RPC_FAR * This,
  2927. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray);
  2928. void __RPC_STUB IWMPPlaylistCollection_getAll_Stub(
  2929. IRpcStubBuffer *This,
  2930. IRpcChannelBuffer *_pRpcChannelBuffer,
  2931. PRPC_MESSAGE _pRpcMessage,
  2932. DWORD *_pdwStubPhase);
  2933. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_getByName_Proxy(
  2934. IWMPPlaylistCollection __RPC_FAR * This,
  2935. /* [in] */ BSTR bstrName,
  2936. /* [retval][out] */ IWMPPlaylistArray __RPC_FAR *__RPC_FAR *ppPlaylistArray);
  2937. void __RPC_STUB IWMPPlaylistCollection_getByName_Stub(
  2938. IRpcStubBuffer *This,
  2939. IRpcChannelBuffer *_pRpcChannelBuffer,
  2940. PRPC_MESSAGE _pRpcMessage,
  2941. DWORD *_pdwStubPhase);
  2942. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_remove_Proxy(
  2943. IWMPPlaylistCollection __RPC_FAR * This,
  2944. /* [in] */ IWMPPlaylist __RPC_FAR *pItem);
  2945. void __RPC_STUB IWMPPlaylistCollection_remove_Stub(
  2946. IRpcStubBuffer *This,
  2947. IRpcChannelBuffer *_pRpcChannelBuffer,
  2948. PRPC_MESSAGE _pRpcMessage,
  2949. DWORD *_pdwStubPhase);
  2950. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_setDeleted_Proxy(
  2951. IWMPPlaylistCollection __RPC_FAR * This,
  2952. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2953. /* [in] */ VARIANT_BOOL varfIsDeleted);
  2954. void __RPC_STUB IWMPPlaylistCollection_setDeleted_Stub(
  2955. IRpcStubBuffer *This,
  2956. IRpcChannelBuffer *_pRpcChannelBuffer,
  2957. PRPC_MESSAGE _pRpcMessage,
  2958. DWORD *_pdwStubPhase);
  2959. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_isDeleted_Proxy(
  2960. IWMPPlaylistCollection __RPC_FAR * This,
  2961. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2962. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsDeleted);
  2963. void __RPC_STUB IWMPPlaylistCollection_isDeleted_Stub(
  2964. IRpcStubBuffer *This,
  2965. IRpcChannelBuffer *_pRpcChannelBuffer,
  2966. PRPC_MESSAGE _pRpcMessage,
  2967. DWORD *_pdwStubPhase);
  2968. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPPlaylistCollection_importPlaylist_Proxy(
  2969. IWMPPlaylistCollection __RPC_FAR * This,
  2970. /* [in] */ IWMPPlaylist __RPC_FAR *pItem,
  2971. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppImportedItem);
  2972. void __RPC_STUB IWMPPlaylistCollection_importPlaylist_Stub(
  2973. IRpcStubBuffer *This,
  2974. IRpcChannelBuffer *_pRpcChannelBuffer,
  2975. PRPC_MESSAGE _pRpcMessage,
  2976. DWORD *_pdwStubPhase);
  2977. #endif /* __IWMPPlaylistCollection_INTERFACE_DEFINED__ */
  2978. #ifndef __IWMPNetwork_INTERFACE_DEFINED__
  2979. #define __IWMPNetwork_INTERFACE_DEFINED__
  2980. /* interface IWMPNetwork */
  2981. /* [unique][helpstring][dual][uuid][object] */
  2982. EXTERN_C const IID IID_IWMPNetwork;
  2983. #if defined(__cplusplus) && !defined(CINTERFACE)
  2984. MIDL_INTERFACE("EC21B779-EDEF-462d-BBA4-AD9DDE2B29A7")
  2985. IWMPNetwork : public IDispatch
  2986. {
  2987. public:
  2988. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_bandWidth(
  2989. /* [retval][out] */ long __RPC_FAR *plBandwidth) = 0;
  2990. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_recoveredPackets(
  2991. /* [retval][out] */ long __RPC_FAR *plRecoveredPackets) = 0;
  2992. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_sourceProtocol(
  2993. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceProtocol) = 0;
  2994. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_receivedPackets(
  2995. /* [retval][out] */ long __RPC_FAR *plReceivedPackets) = 0;
  2996. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_lostPackets(
  2997. /* [retval][out] */ long __RPC_FAR *plLostPackets) = 0;
  2998. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_receptionQuality(
  2999. /* [retval][out] */ long __RPC_FAR *plReceptionQuality) = 0;
  3000. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_bufferingCount(
  3001. /* [retval][out] */ long __RPC_FAR *plBufferingCount) = 0;
  3002. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_bufferingProgress(
  3003. /* [retval][out] */ long __RPC_FAR *plBufferingProgress) = 0;
  3004. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_bufferingTime(
  3005. /* [retval][out] */ long __RPC_FAR *plBufferingTime) = 0;
  3006. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_bufferingTime(
  3007. /* [in] */ long lBufferingTime) = 0;
  3008. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_frameRate(
  3009. /* [retval][out] */ long __RPC_FAR *plFrameRate) = 0;
  3010. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_maxBitRate(
  3011. /* [retval][out] */ long __RPC_FAR *plBitRate) = 0;
  3012. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_bitRate(
  3013. /* [retval][out] */ long __RPC_FAR *plBitRate) = 0;
  3014. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getProxySettings(
  3015. /* [in] */ BSTR bstrProtocol,
  3016. /* [retval][out] */ long __RPC_FAR *plProxySetting) = 0;
  3017. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setProxySettings(
  3018. /* [in] */ BSTR bstrProtocol,
  3019. /* [in] */ long lProxySetting) = 0;
  3020. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getProxyName(
  3021. /* [in] */ BSTR bstrProtocol,
  3022. /* [retval][out] */ BSTR __RPC_FAR *pbstrProxyName) = 0;
  3023. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setProxyName(
  3024. /* [in] */ BSTR bstrProtocol,
  3025. /* [in] */ BSTR bstrProxyName) = 0;
  3026. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getProxyPort(
  3027. /* [in] */ BSTR bstrProtocol,
  3028. /* [retval][out] */ long __RPC_FAR *lProxyPort) = 0;
  3029. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setProxyPort(
  3030. /* [in] */ BSTR bstrProtocol,
  3031. /* [in] */ long lProxyPort) = 0;
  3032. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getProxyExceptionList(
  3033. /* [in] */ BSTR bstrProtocol,
  3034. /* [retval][out] */ BSTR __RPC_FAR *pbstrExceptionList) = 0;
  3035. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setProxyExceptionList(
  3036. /* [in] */ BSTR bstrProtocol,
  3037. /* [in] */ BSTR pbstrExceptionList) = 0;
  3038. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE getProxyBypassForLocal(
  3039. /* [in] */ BSTR bstrProtocol,
  3040. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfBypassForLocal) = 0;
  3041. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE setProxyBypassForLocal(
  3042. /* [in] */ BSTR bstrProtocol,
  3043. /* [in] */ VARIANT_BOOL fBypassForLocal) = 0;
  3044. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_maxBandwidth(
  3045. /* [retval][out] */ long __RPC_FAR *lMaxBandwidth) = 0;
  3046. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_maxBandwidth(
  3047. /* [in] */ long lMaxBandwidth) = 0;
  3048. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_downloadProgress(
  3049. /* [retval][out] */ long __RPC_FAR *plDownloadProgress) = 0;
  3050. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_encodedFrameRate(
  3051. /* [retval][out] */ long __RPC_FAR *plFrameRate) = 0;
  3052. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_framesSkipped(
  3053. /* [retval][out] */ long __RPC_FAR *plFrames) = 0;
  3054. };
  3055. #else /* C style interface */
  3056. typedef struct IWMPNetworkVtbl
  3057. {
  3058. BEGIN_INTERFACE
  3059. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3060. IWMPNetwork __RPC_FAR * This,
  3061. /* [in] */ REFIID riid,
  3062. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3063. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3064. IWMPNetwork __RPC_FAR * This);
  3065. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3066. IWMPNetwork __RPC_FAR * This);
  3067. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3068. IWMPNetwork __RPC_FAR * This,
  3069. /* [out] */ UINT __RPC_FAR *pctinfo);
  3070. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3071. IWMPNetwork __RPC_FAR * This,
  3072. /* [in] */ UINT iTInfo,
  3073. /* [in] */ LCID lcid,
  3074. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3075. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3076. IWMPNetwork __RPC_FAR * This,
  3077. /* [in] */ REFIID riid,
  3078. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3079. /* [in] */ UINT cNames,
  3080. /* [in] */ LCID lcid,
  3081. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3082. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3083. IWMPNetwork __RPC_FAR * This,
  3084. /* [in] */ DISPID dispIdMember,
  3085. /* [in] */ REFIID riid,
  3086. /* [in] */ LCID lcid,
  3087. /* [in] */ WORD wFlags,
  3088. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3089. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3090. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3091. /* [out] */ UINT __RPC_FAR *puArgErr);
  3092. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bandWidth )(
  3093. IWMPNetwork __RPC_FAR * This,
  3094. /* [retval][out] */ long __RPC_FAR *plBandwidth);
  3095. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_recoveredPackets )(
  3096. IWMPNetwork __RPC_FAR * This,
  3097. /* [retval][out] */ long __RPC_FAR *plRecoveredPackets);
  3098. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_sourceProtocol )(
  3099. IWMPNetwork __RPC_FAR * This,
  3100. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceProtocol);
  3101. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_receivedPackets )(
  3102. IWMPNetwork __RPC_FAR * This,
  3103. /* [retval][out] */ long __RPC_FAR *plReceivedPackets);
  3104. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_lostPackets )(
  3105. IWMPNetwork __RPC_FAR * This,
  3106. /* [retval][out] */ long __RPC_FAR *plLostPackets);
  3107. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_receptionQuality )(
  3108. IWMPNetwork __RPC_FAR * This,
  3109. /* [retval][out] */ long __RPC_FAR *plReceptionQuality);
  3110. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bufferingCount )(
  3111. IWMPNetwork __RPC_FAR * This,
  3112. /* [retval][out] */ long __RPC_FAR *plBufferingCount);
  3113. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bufferingProgress )(
  3114. IWMPNetwork __RPC_FAR * This,
  3115. /* [retval][out] */ long __RPC_FAR *plBufferingProgress);
  3116. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bufferingTime )(
  3117. IWMPNetwork __RPC_FAR * This,
  3118. /* [retval][out] */ long __RPC_FAR *plBufferingTime);
  3119. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_bufferingTime )(
  3120. IWMPNetwork __RPC_FAR * This,
  3121. /* [in] */ long lBufferingTime);
  3122. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_frameRate )(
  3123. IWMPNetwork __RPC_FAR * This,
  3124. /* [retval][out] */ long __RPC_FAR *plFrameRate);
  3125. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_maxBitRate )(
  3126. IWMPNetwork __RPC_FAR * This,
  3127. /* [retval][out] */ long __RPC_FAR *plBitRate);
  3128. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_bitRate )(
  3129. IWMPNetwork __RPC_FAR * This,
  3130. /* [retval][out] */ long __RPC_FAR *plBitRate);
  3131. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getProxySettings )(
  3132. IWMPNetwork __RPC_FAR * This,
  3133. /* [in] */ BSTR bstrProtocol,
  3134. /* [retval][out] */ long __RPC_FAR *plProxySetting);
  3135. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setProxySettings )(
  3136. IWMPNetwork __RPC_FAR * This,
  3137. /* [in] */ BSTR bstrProtocol,
  3138. /* [in] */ long lProxySetting);
  3139. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getProxyName )(
  3140. IWMPNetwork __RPC_FAR * This,
  3141. /* [in] */ BSTR bstrProtocol,
  3142. /* [retval][out] */ BSTR __RPC_FAR *pbstrProxyName);
  3143. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setProxyName )(
  3144. IWMPNetwork __RPC_FAR * This,
  3145. /* [in] */ BSTR bstrProtocol,
  3146. /* [in] */ BSTR bstrProxyName);
  3147. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getProxyPort )(
  3148. IWMPNetwork __RPC_FAR * This,
  3149. /* [in] */ BSTR bstrProtocol,
  3150. /* [retval][out] */ long __RPC_FAR *lProxyPort);
  3151. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setProxyPort )(
  3152. IWMPNetwork __RPC_FAR * This,
  3153. /* [in] */ BSTR bstrProtocol,
  3154. /* [in] */ long lProxyPort);
  3155. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getProxyExceptionList )(
  3156. IWMPNetwork __RPC_FAR * This,
  3157. /* [in] */ BSTR bstrProtocol,
  3158. /* [retval][out] */ BSTR __RPC_FAR *pbstrExceptionList);
  3159. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setProxyExceptionList )(
  3160. IWMPNetwork __RPC_FAR * This,
  3161. /* [in] */ BSTR bstrProtocol,
  3162. /* [in] */ BSTR pbstrExceptionList);
  3163. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getProxyBypassForLocal )(
  3164. IWMPNetwork __RPC_FAR * This,
  3165. /* [in] */ BSTR bstrProtocol,
  3166. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfBypassForLocal);
  3167. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setProxyBypassForLocal )(
  3168. IWMPNetwork __RPC_FAR * This,
  3169. /* [in] */ BSTR bstrProtocol,
  3170. /* [in] */ VARIANT_BOOL fBypassForLocal);
  3171. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_maxBandwidth )(
  3172. IWMPNetwork __RPC_FAR * This,
  3173. /* [retval][out] */ long __RPC_FAR *lMaxBandwidth);
  3174. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_maxBandwidth )(
  3175. IWMPNetwork __RPC_FAR * This,
  3176. /* [in] */ long lMaxBandwidth);
  3177. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_downloadProgress )(
  3178. IWMPNetwork __RPC_FAR * This,
  3179. /* [retval][out] */ long __RPC_FAR *plDownloadProgress);
  3180. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_encodedFrameRate )(
  3181. IWMPNetwork __RPC_FAR * This,
  3182. /* [retval][out] */ long __RPC_FAR *plFrameRate);
  3183. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_framesSkipped )(
  3184. IWMPNetwork __RPC_FAR * This,
  3185. /* [retval][out] */ long __RPC_FAR *plFrames);
  3186. END_INTERFACE
  3187. } IWMPNetworkVtbl;
  3188. interface IWMPNetwork
  3189. {
  3190. CONST_VTBL struct IWMPNetworkVtbl __RPC_FAR *lpVtbl;
  3191. };
  3192. #ifdef COBJMACROS
  3193. #define IWMPNetwork_QueryInterface(This,riid,ppvObject) \
  3194. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3195. #define IWMPNetwork_AddRef(This) \
  3196. (This)->lpVtbl -> AddRef(This)
  3197. #define IWMPNetwork_Release(This) \
  3198. (This)->lpVtbl -> Release(This)
  3199. #define IWMPNetwork_GetTypeInfoCount(This,pctinfo) \
  3200. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3201. #define IWMPNetwork_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3202. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3203. #define IWMPNetwork_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3204. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3205. #define IWMPNetwork_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3206. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3207. #define IWMPNetwork_get_bandWidth(This,plBandwidth) \
  3208. (This)->lpVtbl -> get_bandWidth(This,plBandwidth)
  3209. #define IWMPNetwork_get_recoveredPackets(This,plRecoveredPackets) \
  3210. (This)->lpVtbl -> get_recoveredPackets(This,plRecoveredPackets)
  3211. #define IWMPNetwork_get_sourceProtocol(This,pbstrSourceProtocol) \
  3212. (This)->lpVtbl -> get_sourceProtocol(This,pbstrSourceProtocol)
  3213. #define IWMPNetwork_get_receivedPackets(This,plReceivedPackets) \
  3214. (This)->lpVtbl -> get_receivedPackets(This,plReceivedPackets)
  3215. #define IWMPNetwork_get_lostPackets(This,plLostPackets) \
  3216. (This)->lpVtbl -> get_lostPackets(This,plLostPackets)
  3217. #define IWMPNetwork_get_receptionQuality(This,plReceptionQuality) \
  3218. (This)->lpVtbl -> get_receptionQuality(This,plReceptionQuality)
  3219. #define IWMPNetwork_get_bufferingCount(This,plBufferingCount) \
  3220. (This)->lpVtbl -> get_bufferingCount(This,plBufferingCount)
  3221. #define IWMPNetwork_get_bufferingProgress(This,plBufferingProgress) \
  3222. (This)->lpVtbl -> get_bufferingProgress(This,plBufferingProgress)
  3223. #define IWMPNetwork_get_bufferingTime(This,plBufferingTime) \
  3224. (This)->lpVtbl -> get_bufferingTime(This,plBufferingTime)
  3225. #define IWMPNetwork_put_bufferingTime(This,lBufferingTime) \
  3226. (This)->lpVtbl -> put_bufferingTime(This,lBufferingTime)
  3227. #define IWMPNetwork_get_frameRate(This,plFrameRate) \
  3228. (This)->lpVtbl -> get_frameRate(This,plFrameRate)
  3229. #define IWMPNetwork_get_maxBitRate(This,plBitRate) \
  3230. (This)->lpVtbl -> get_maxBitRate(This,plBitRate)
  3231. #define IWMPNetwork_get_bitRate(This,plBitRate) \
  3232. (This)->lpVtbl -> get_bitRate(This,plBitRate)
  3233. #define IWMPNetwork_getProxySettings(This,bstrProtocol,plProxySetting) \
  3234. (This)->lpVtbl -> getProxySettings(This,bstrProtocol,plProxySetting)
  3235. #define IWMPNetwork_setProxySettings(This,bstrProtocol,lProxySetting) \
  3236. (This)->lpVtbl -> setProxySettings(This,bstrProtocol,lProxySetting)
  3237. #define IWMPNetwork_getProxyName(This,bstrProtocol,pbstrProxyName) \
  3238. (This)->lpVtbl -> getProxyName(This,bstrProtocol,pbstrProxyName)
  3239. #define IWMPNetwork_setProxyName(This,bstrProtocol,bstrProxyName) \
  3240. (This)->lpVtbl -> setProxyName(This,bstrProtocol,bstrProxyName)
  3241. #define IWMPNetwork_getProxyPort(This,bstrProtocol,lProxyPort) \
  3242. (This)->lpVtbl -> getProxyPort(This,bstrProtocol,lProxyPort)
  3243. #define IWMPNetwork_setProxyPort(This,bstrProtocol,lProxyPort) \
  3244. (This)->lpVtbl -> setProxyPort(This,bstrProtocol,lProxyPort)
  3245. #define IWMPNetwork_getProxyExceptionList(This,bstrProtocol,pbstrExceptionList) \
  3246. (This)->lpVtbl -> getProxyExceptionList(This,bstrProtocol,pbstrExceptionList)
  3247. #define IWMPNetwork_setProxyExceptionList(This,bstrProtocol,pbstrExceptionList) \
  3248. (This)->lpVtbl -> setProxyExceptionList(This,bstrProtocol,pbstrExceptionList)
  3249. #define IWMPNetwork_getProxyBypassForLocal(This,bstrProtocol,pfBypassForLocal) \
  3250. (This)->lpVtbl -> getProxyBypassForLocal(This,bstrProtocol,pfBypassForLocal)
  3251. #define IWMPNetwork_setProxyBypassForLocal(This,bstrProtocol,fBypassForLocal) \
  3252. (This)->lpVtbl -> setProxyBypassForLocal(This,bstrProtocol,fBypassForLocal)
  3253. #define IWMPNetwork_get_maxBandwidth(This,lMaxBandwidth) \
  3254. (This)->lpVtbl -> get_maxBandwidth(This,lMaxBandwidth)
  3255. #define IWMPNetwork_put_maxBandwidth(This,lMaxBandwidth) \
  3256. (This)->lpVtbl -> put_maxBandwidth(This,lMaxBandwidth)
  3257. #define IWMPNetwork_get_downloadProgress(This,plDownloadProgress) \
  3258. (This)->lpVtbl -> get_downloadProgress(This,plDownloadProgress)
  3259. #define IWMPNetwork_get_encodedFrameRate(This,plFrameRate) \
  3260. (This)->lpVtbl -> get_encodedFrameRate(This,plFrameRate)
  3261. #define IWMPNetwork_get_framesSkipped(This,plFrames) \
  3262. (This)->lpVtbl -> get_framesSkipped(This,plFrames)
  3263. #endif /* COBJMACROS */
  3264. #endif /* C style interface */
  3265. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_bandWidth_Proxy(
  3266. IWMPNetwork __RPC_FAR * This,
  3267. /* [retval][out] */ long __RPC_FAR *plBandwidth);
  3268. void __RPC_STUB IWMPNetwork_get_bandWidth_Stub(
  3269. IRpcStubBuffer *This,
  3270. IRpcChannelBuffer *_pRpcChannelBuffer,
  3271. PRPC_MESSAGE _pRpcMessage,
  3272. DWORD *_pdwStubPhase);
  3273. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_recoveredPackets_Proxy(
  3274. IWMPNetwork __RPC_FAR * This,
  3275. /* [retval][out] */ long __RPC_FAR *plRecoveredPackets);
  3276. void __RPC_STUB IWMPNetwork_get_recoveredPackets_Stub(
  3277. IRpcStubBuffer *This,
  3278. IRpcChannelBuffer *_pRpcChannelBuffer,
  3279. PRPC_MESSAGE _pRpcMessage,
  3280. DWORD *_pdwStubPhase);
  3281. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_sourceProtocol_Proxy(
  3282. IWMPNetwork __RPC_FAR * This,
  3283. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceProtocol);
  3284. void __RPC_STUB IWMPNetwork_get_sourceProtocol_Stub(
  3285. IRpcStubBuffer *This,
  3286. IRpcChannelBuffer *_pRpcChannelBuffer,
  3287. PRPC_MESSAGE _pRpcMessage,
  3288. DWORD *_pdwStubPhase);
  3289. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_receivedPackets_Proxy(
  3290. IWMPNetwork __RPC_FAR * This,
  3291. /* [retval][out] */ long __RPC_FAR *plReceivedPackets);
  3292. void __RPC_STUB IWMPNetwork_get_receivedPackets_Stub(
  3293. IRpcStubBuffer *This,
  3294. IRpcChannelBuffer *_pRpcChannelBuffer,
  3295. PRPC_MESSAGE _pRpcMessage,
  3296. DWORD *_pdwStubPhase);
  3297. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_lostPackets_Proxy(
  3298. IWMPNetwork __RPC_FAR * This,
  3299. /* [retval][out] */ long __RPC_FAR *plLostPackets);
  3300. void __RPC_STUB IWMPNetwork_get_lostPackets_Stub(
  3301. IRpcStubBuffer *This,
  3302. IRpcChannelBuffer *_pRpcChannelBuffer,
  3303. PRPC_MESSAGE _pRpcMessage,
  3304. DWORD *_pdwStubPhase);
  3305. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_receptionQuality_Proxy(
  3306. IWMPNetwork __RPC_FAR * This,
  3307. /* [retval][out] */ long __RPC_FAR *plReceptionQuality);
  3308. void __RPC_STUB IWMPNetwork_get_receptionQuality_Stub(
  3309. IRpcStubBuffer *This,
  3310. IRpcChannelBuffer *_pRpcChannelBuffer,
  3311. PRPC_MESSAGE _pRpcMessage,
  3312. DWORD *_pdwStubPhase);
  3313. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_bufferingCount_Proxy(
  3314. IWMPNetwork __RPC_FAR * This,
  3315. /* [retval][out] */ long __RPC_FAR *plBufferingCount);
  3316. void __RPC_STUB IWMPNetwork_get_bufferingCount_Stub(
  3317. IRpcStubBuffer *This,
  3318. IRpcChannelBuffer *_pRpcChannelBuffer,
  3319. PRPC_MESSAGE _pRpcMessage,
  3320. DWORD *_pdwStubPhase);
  3321. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_bufferingProgress_Proxy(
  3322. IWMPNetwork __RPC_FAR * This,
  3323. /* [retval][out] */ long __RPC_FAR *plBufferingProgress);
  3324. void __RPC_STUB IWMPNetwork_get_bufferingProgress_Stub(
  3325. IRpcStubBuffer *This,
  3326. IRpcChannelBuffer *_pRpcChannelBuffer,
  3327. PRPC_MESSAGE _pRpcMessage,
  3328. DWORD *_pdwStubPhase);
  3329. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_bufferingTime_Proxy(
  3330. IWMPNetwork __RPC_FAR * This,
  3331. /* [retval][out] */ long __RPC_FAR *plBufferingTime);
  3332. void __RPC_STUB IWMPNetwork_get_bufferingTime_Stub(
  3333. IRpcStubBuffer *This,
  3334. IRpcChannelBuffer *_pRpcChannelBuffer,
  3335. PRPC_MESSAGE _pRpcMessage,
  3336. DWORD *_pdwStubPhase);
  3337. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_put_bufferingTime_Proxy(
  3338. IWMPNetwork __RPC_FAR * This,
  3339. /* [in] */ long lBufferingTime);
  3340. void __RPC_STUB IWMPNetwork_put_bufferingTime_Stub(
  3341. IRpcStubBuffer *This,
  3342. IRpcChannelBuffer *_pRpcChannelBuffer,
  3343. PRPC_MESSAGE _pRpcMessage,
  3344. DWORD *_pdwStubPhase);
  3345. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_frameRate_Proxy(
  3346. IWMPNetwork __RPC_FAR * This,
  3347. /* [retval][out] */ long __RPC_FAR *plFrameRate);
  3348. void __RPC_STUB IWMPNetwork_get_frameRate_Stub(
  3349. IRpcStubBuffer *This,
  3350. IRpcChannelBuffer *_pRpcChannelBuffer,
  3351. PRPC_MESSAGE _pRpcMessage,
  3352. DWORD *_pdwStubPhase);
  3353. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_maxBitRate_Proxy(
  3354. IWMPNetwork __RPC_FAR * This,
  3355. /* [retval][out] */ long __RPC_FAR *plBitRate);
  3356. void __RPC_STUB IWMPNetwork_get_maxBitRate_Stub(
  3357. IRpcStubBuffer *This,
  3358. IRpcChannelBuffer *_pRpcChannelBuffer,
  3359. PRPC_MESSAGE _pRpcMessage,
  3360. DWORD *_pdwStubPhase);
  3361. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_bitRate_Proxy(
  3362. IWMPNetwork __RPC_FAR * This,
  3363. /* [retval][out] */ long __RPC_FAR *plBitRate);
  3364. void __RPC_STUB IWMPNetwork_get_bitRate_Stub(
  3365. IRpcStubBuffer *This,
  3366. IRpcChannelBuffer *_pRpcChannelBuffer,
  3367. PRPC_MESSAGE _pRpcMessage,
  3368. DWORD *_pdwStubPhase);
  3369. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_getProxySettings_Proxy(
  3370. IWMPNetwork __RPC_FAR * This,
  3371. /* [in] */ BSTR bstrProtocol,
  3372. /* [retval][out] */ long __RPC_FAR *plProxySetting);
  3373. void __RPC_STUB IWMPNetwork_getProxySettings_Stub(
  3374. IRpcStubBuffer *This,
  3375. IRpcChannelBuffer *_pRpcChannelBuffer,
  3376. PRPC_MESSAGE _pRpcMessage,
  3377. DWORD *_pdwStubPhase);
  3378. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_setProxySettings_Proxy(
  3379. IWMPNetwork __RPC_FAR * This,
  3380. /* [in] */ BSTR bstrProtocol,
  3381. /* [in] */ long lProxySetting);
  3382. void __RPC_STUB IWMPNetwork_setProxySettings_Stub(
  3383. IRpcStubBuffer *This,
  3384. IRpcChannelBuffer *_pRpcChannelBuffer,
  3385. PRPC_MESSAGE _pRpcMessage,
  3386. DWORD *_pdwStubPhase);
  3387. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_getProxyName_Proxy(
  3388. IWMPNetwork __RPC_FAR * This,
  3389. /* [in] */ BSTR bstrProtocol,
  3390. /* [retval][out] */ BSTR __RPC_FAR *pbstrProxyName);
  3391. void __RPC_STUB IWMPNetwork_getProxyName_Stub(
  3392. IRpcStubBuffer *This,
  3393. IRpcChannelBuffer *_pRpcChannelBuffer,
  3394. PRPC_MESSAGE _pRpcMessage,
  3395. DWORD *_pdwStubPhase);
  3396. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_setProxyName_Proxy(
  3397. IWMPNetwork __RPC_FAR * This,
  3398. /* [in] */ BSTR bstrProtocol,
  3399. /* [in] */ BSTR bstrProxyName);
  3400. void __RPC_STUB IWMPNetwork_setProxyName_Stub(
  3401. IRpcStubBuffer *This,
  3402. IRpcChannelBuffer *_pRpcChannelBuffer,
  3403. PRPC_MESSAGE _pRpcMessage,
  3404. DWORD *_pdwStubPhase);
  3405. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_getProxyPort_Proxy(
  3406. IWMPNetwork __RPC_FAR * This,
  3407. /* [in] */ BSTR bstrProtocol,
  3408. /* [retval][out] */ long __RPC_FAR *lProxyPort);
  3409. void __RPC_STUB IWMPNetwork_getProxyPort_Stub(
  3410. IRpcStubBuffer *This,
  3411. IRpcChannelBuffer *_pRpcChannelBuffer,
  3412. PRPC_MESSAGE _pRpcMessage,
  3413. DWORD *_pdwStubPhase);
  3414. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_setProxyPort_Proxy(
  3415. IWMPNetwork __RPC_FAR * This,
  3416. /* [in] */ BSTR bstrProtocol,
  3417. /* [in] */ long lProxyPort);
  3418. void __RPC_STUB IWMPNetwork_setProxyPort_Stub(
  3419. IRpcStubBuffer *This,
  3420. IRpcChannelBuffer *_pRpcChannelBuffer,
  3421. PRPC_MESSAGE _pRpcMessage,
  3422. DWORD *_pdwStubPhase);
  3423. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_getProxyExceptionList_Proxy(
  3424. IWMPNetwork __RPC_FAR * This,
  3425. /* [in] */ BSTR bstrProtocol,
  3426. /* [retval][out] */ BSTR __RPC_FAR *pbstrExceptionList);
  3427. void __RPC_STUB IWMPNetwork_getProxyExceptionList_Stub(
  3428. IRpcStubBuffer *This,
  3429. IRpcChannelBuffer *_pRpcChannelBuffer,
  3430. PRPC_MESSAGE _pRpcMessage,
  3431. DWORD *_pdwStubPhase);
  3432. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_setProxyExceptionList_Proxy(
  3433. IWMPNetwork __RPC_FAR * This,
  3434. /* [in] */ BSTR bstrProtocol,
  3435. /* [in] */ BSTR pbstrExceptionList);
  3436. void __RPC_STUB IWMPNetwork_setProxyExceptionList_Stub(
  3437. IRpcStubBuffer *This,
  3438. IRpcChannelBuffer *_pRpcChannelBuffer,
  3439. PRPC_MESSAGE _pRpcMessage,
  3440. DWORD *_pdwStubPhase);
  3441. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_getProxyBypassForLocal_Proxy(
  3442. IWMPNetwork __RPC_FAR * This,
  3443. /* [in] */ BSTR bstrProtocol,
  3444. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfBypassForLocal);
  3445. void __RPC_STUB IWMPNetwork_getProxyBypassForLocal_Stub(
  3446. IRpcStubBuffer *This,
  3447. IRpcChannelBuffer *_pRpcChannelBuffer,
  3448. PRPC_MESSAGE _pRpcMessage,
  3449. DWORD *_pdwStubPhase);
  3450. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_setProxyBypassForLocal_Proxy(
  3451. IWMPNetwork __RPC_FAR * This,
  3452. /* [in] */ BSTR bstrProtocol,
  3453. /* [in] */ VARIANT_BOOL fBypassForLocal);
  3454. void __RPC_STUB IWMPNetwork_setProxyBypassForLocal_Stub(
  3455. IRpcStubBuffer *This,
  3456. IRpcChannelBuffer *_pRpcChannelBuffer,
  3457. PRPC_MESSAGE _pRpcMessage,
  3458. DWORD *_pdwStubPhase);
  3459. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_maxBandwidth_Proxy(
  3460. IWMPNetwork __RPC_FAR * This,
  3461. /* [retval][out] */ long __RPC_FAR *lMaxBandwidth);
  3462. void __RPC_STUB IWMPNetwork_get_maxBandwidth_Stub(
  3463. IRpcStubBuffer *This,
  3464. IRpcChannelBuffer *_pRpcChannelBuffer,
  3465. PRPC_MESSAGE _pRpcMessage,
  3466. DWORD *_pdwStubPhase);
  3467. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_put_maxBandwidth_Proxy(
  3468. IWMPNetwork __RPC_FAR * This,
  3469. /* [in] */ long lMaxBandwidth);
  3470. void __RPC_STUB IWMPNetwork_put_maxBandwidth_Stub(
  3471. IRpcStubBuffer *This,
  3472. IRpcChannelBuffer *_pRpcChannelBuffer,
  3473. PRPC_MESSAGE _pRpcMessage,
  3474. DWORD *_pdwStubPhase);
  3475. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_downloadProgress_Proxy(
  3476. IWMPNetwork __RPC_FAR * This,
  3477. /* [retval][out] */ long __RPC_FAR *plDownloadProgress);
  3478. void __RPC_STUB IWMPNetwork_get_downloadProgress_Stub(
  3479. IRpcStubBuffer *This,
  3480. IRpcChannelBuffer *_pRpcChannelBuffer,
  3481. PRPC_MESSAGE _pRpcMessage,
  3482. DWORD *_pdwStubPhase);
  3483. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_encodedFrameRate_Proxy(
  3484. IWMPNetwork __RPC_FAR * This,
  3485. /* [retval][out] */ long __RPC_FAR *plFrameRate);
  3486. void __RPC_STUB IWMPNetwork_get_encodedFrameRate_Stub(
  3487. IRpcStubBuffer *This,
  3488. IRpcChannelBuffer *_pRpcChannelBuffer,
  3489. PRPC_MESSAGE _pRpcMessage,
  3490. DWORD *_pdwStubPhase);
  3491. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPNetwork_get_framesSkipped_Proxy(
  3492. IWMPNetwork __RPC_FAR * This,
  3493. /* [retval][out] */ long __RPC_FAR *plFrames);
  3494. void __RPC_STUB IWMPNetwork_get_framesSkipped_Stub(
  3495. IRpcStubBuffer *This,
  3496. IRpcChannelBuffer *_pRpcChannelBuffer,
  3497. PRPC_MESSAGE _pRpcMessage,
  3498. DWORD *_pdwStubPhase);
  3499. #endif /* __IWMPNetwork_INTERFACE_DEFINED__ */
  3500. #ifndef __IWMPCore_INTERFACE_DEFINED__
  3501. #define __IWMPCore_INTERFACE_DEFINED__
  3502. /* interface IWMPCore */
  3503. /* [unique][helpstring][dual][uuid][object] */
  3504. EXTERN_C const IID IID_IWMPCore;
  3505. #if defined(__cplusplus) && !defined(CINTERFACE)
  3506. MIDL_INTERFACE("D84CCA99-CCE2-11d2-9ECC-0000F8085981")
  3507. IWMPCore : public IDispatch
  3508. {
  3509. public:
  3510. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE close( void) = 0;
  3511. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_URL(
  3512. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL) = 0;
  3513. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_URL(
  3514. /* [in] */ BSTR bstrURL) = 0;
  3515. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_openState(
  3516. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos) = 0;
  3517. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_playState(
  3518. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps) = 0;
  3519. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_controls(
  3520. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl) = 0;
  3521. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_settings(
  3522. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings) = 0;
  3523. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentMedia(
  3524. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia) = 0;
  3525. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE put_currentMedia(
  3526. /* [in] */ IWMPMedia __RPC_FAR *pMedia) = 0;
  3527. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_mediaCollection(
  3528. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection) = 0;
  3529. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_playlistCollection(
  3530. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection) = 0;
  3531. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_versionInfo(
  3532. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo) = 0;
  3533. virtual /* [id] */ HRESULT STDMETHODCALLTYPE launchURL(
  3534. BSTR bstrURL) = 0;
  3535. virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_network(
  3536. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI) = 0;
  3537. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_currentPlaylist(
  3538. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL) = 0;
  3539. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_currentPlaylist(
  3540. /* [in] */ IWMPPlaylist __RPC_FAR *pPL) = 0;
  3541. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_cdromCollection(
  3542. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection) = 0;
  3543. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_closedCaption(
  3544. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption) = 0;
  3545. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isOnline(
  3546. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline) = 0;
  3547. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_error(
  3548. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError) = 0;
  3549. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_status(
  3550. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus) = 0;
  3551. };
  3552. #else /* C style interface */
  3553. typedef struct IWMPCoreVtbl
  3554. {
  3555. BEGIN_INTERFACE
  3556. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3557. IWMPCore __RPC_FAR * This,
  3558. /* [in] */ REFIID riid,
  3559. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3560. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3561. IWMPCore __RPC_FAR * This);
  3562. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3563. IWMPCore __RPC_FAR * This);
  3564. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3565. IWMPCore __RPC_FAR * This,
  3566. /* [out] */ UINT __RPC_FAR *pctinfo);
  3567. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3568. IWMPCore __RPC_FAR * This,
  3569. /* [in] */ UINT iTInfo,
  3570. /* [in] */ LCID lcid,
  3571. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3572. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3573. IWMPCore __RPC_FAR * This,
  3574. /* [in] */ REFIID riid,
  3575. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3576. /* [in] */ UINT cNames,
  3577. /* [in] */ LCID lcid,
  3578. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3579. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3580. IWMPCore __RPC_FAR * This,
  3581. /* [in] */ DISPID dispIdMember,
  3582. /* [in] */ REFIID riid,
  3583. /* [in] */ LCID lcid,
  3584. /* [in] */ WORD wFlags,
  3585. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3586. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3587. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3588. /* [out] */ UINT __RPC_FAR *puArgErr);
  3589. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *close )(
  3590. IWMPCore __RPC_FAR * This);
  3591. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_URL )(
  3592. IWMPCore __RPC_FAR * This,
  3593. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  3594. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_URL )(
  3595. IWMPCore __RPC_FAR * This,
  3596. /* [in] */ BSTR bstrURL);
  3597. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_openState )(
  3598. IWMPCore __RPC_FAR * This,
  3599. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  3600. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playState )(
  3601. IWMPCore __RPC_FAR * This,
  3602. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  3603. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_controls )(
  3604. IWMPCore __RPC_FAR * This,
  3605. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  3606. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_settings )(
  3607. IWMPCore __RPC_FAR * This,
  3608. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  3609. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMedia )(
  3610. IWMPCore __RPC_FAR * This,
  3611. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  3612. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMedia )(
  3613. IWMPCore __RPC_FAR * This,
  3614. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  3615. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mediaCollection )(
  3616. IWMPCore __RPC_FAR * This,
  3617. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  3618. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlistCollection )(
  3619. IWMPCore __RPC_FAR * This,
  3620. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  3621. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_versionInfo )(
  3622. IWMPCore __RPC_FAR * This,
  3623. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  3624. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *launchURL )(
  3625. IWMPCore __RPC_FAR * This,
  3626. BSTR bstrURL);
  3627. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_network )(
  3628. IWMPCore __RPC_FAR * This,
  3629. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  3630. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPlaylist )(
  3631. IWMPCore __RPC_FAR * This,
  3632. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  3633. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPlaylist )(
  3634. IWMPCore __RPC_FAR * This,
  3635. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  3636. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_cdromCollection )(
  3637. IWMPCore __RPC_FAR * This,
  3638. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  3639. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closedCaption )(
  3640. IWMPCore __RPC_FAR * This,
  3641. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  3642. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isOnline )(
  3643. IWMPCore __RPC_FAR * This,
  3644. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  3645. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  3646. IWMPCore __RPC_FAR * This,
  3647. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  3648. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_status )(
  3649. IWMPCore __RPC_FAR * This,
  3650. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  3651. END_INTERFACE
  3652. } IWMPCoreVtbl;
  3653. interface IWMPCore
  3654. {
  3655. CONST_VTBL struct IWMPCoreVtbl __RPC_FAR *lpVtbl;
  3656. };
  3657. #ifdef COBJMACROS
  3658. #define IWMPCore_QueryInterface(This,riid,ppvObject) \
  3659. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3660. #define IWMPCore_AddRef(This) \
  3661. (This)->lpVtbl -> AddRef(This)
  3662. #define IWMPCore_Release(This) \
  3663. (This)->lpVtbl -> Release(This)
  3664. #define IWMPCore_GetTypeInfoCount(This,pctinfo) \
  3665. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3666. #define IWMPCore_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3667. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3668. #define IWMPCore_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3669. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3670. #define IWMPCore_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3671. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3672. #define IWMPCore_close(This) \
  3673. (This)->lpVtbl -> close(This)
  3674. #define IWMPCore_get_URL(This,pbstrURL) \
  3675. (This)->lpVtbl -> get_URL(This,pbstrURL)
  3676. #define IWMPCore_put_URL(This,bstrURL) \
  3677. (This)->lpVtbl -> put_URL(This,bstrURL)
  3678. #define IWMPCore_get_openState(This,pwmpos) \
  3679. (This)->lpVtbl -> get_openState(This,pwmpos)
  3680. #define IWMPCore_get_playState(This,pwmpps) \
  3681. (This)->lpVtbl -> get_playState(This,pwmpps)
  3682. #define IWMPCore_get_controls(This,ppControl) \
  3683. (This)->lpVtbl -> get_controls(This,ppControl)
  3684. #define IWMPCore_get_settings(This,ppSettings) \
  3685. (This)->lpVtbl -> get_settings(This,ppSettings)
  3686. #define IWMPCore_get_currentMedia(This,ppMedia) \
  3687. (This)->lpVtbl -> get_currentMedia(This,ppMedia)
  3688. #define IWMPCore_put_currentMedia(This,pMedia) \
  3689. (This)->lpVtbl -> put_currentMedia(This,pMedia)
  3690. #define IWMPCore_get_mediaCollection(This,ppMediaCollection) \
  3691. (This)->lpVtbl -> get_mediaCollection(This,ppMediaCollection)
  3692. #define IWMPCore_get_playlistCollection(This,ppPlaylistCollection) \
  3693. (This)->lpVtbl -> get_playlistCollection(This,ppPlaylistCollection)
  3694. #define IWMPCore_get_versionInfo(This,pbstrVersionInfo) \
  3695. (This)->lpVtbl -> get_versionInfo(This,pbstrVersionInfo)
  3696. #define IWMPCore_launchURL(This,bstrURL) \
  3697. (This)->lpVtbl -> launchURL(This,bstrURL)
  3698. #define IWMPCore_get_network(This,ppQNI) \
  3699. (This)->lpVtbl -> get_network(This,ppQNI)
  3700. #define IWMPCore_get_currentPlaylist(This,ppPL) \
  3701. (This)->lpVtbl -> get_currentPlaylist(This,ppPL)
  3702. #define IWMPCore_put_currentPlaylist(This,pPL) \
  3703. (This)->lpVtbl -> put_currentPlaylist(This,pPL)
  3704. #define IWMPCore_get_cdromCollection(This,ppCdromCollection) \
  3705. (This)->lpVtbl -> get_cdromCollection(This,ppCdromCollection)
  3706. #define IWMPCore_get_closedCaption(This,ppClosedCaption) \
  3707. (This)->lpVtbl -> get_closedCaption(This,ppClosedCaption)
  3708. #define IWMPCore_get_isOnline(This,pfOnline) \
  3709. (This)->lpVtbl -> get_isOnline(This,pfOnline)
  3710. #define IWMPCore_get_error(This,ppError) \
  3711. (This)->lpVtbl -> get_error(This,ppError)
  3712. #define IWMPCore_get_status(This,pbstrStatus) \
  3713. (This)->lpVtbl -> get_status(This,pbstrStatus)
  3714. #endif /* COBJMACROS */
  3715. #endif /* C style interface */
  3716. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_close_Proxy(
  3717. IWMPCore __RPC_FAR * This);
  3718. void __RPC_STUB IWMPCore_close_Stub(
  3719. IRpcStubBuffer *This,
  3720. IRpcChannelBuffer *_pRpcChannelBuffer,
  3721. PRPC_MESSAGE _pRpcMessage,
  3722. DWORD *_pdwStubPhase);
  3723. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_URL_Proxy(
  3724. IWMPCore __RPC_FAR * This,
  3725. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  3726. void __RPC_STUB IWMPCore_get_URL_Stub(
  3727. IRpcStubBuffer *This,
  3728. IRpcChannelBuffer *_pRpcChannelBuffer,
  3729. PRPC_MESSAGE _pRpcMessage,
  3730. DWORD *_pdwStubPhase);
  3731. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_put_URL_Proxy(
  3732. IWMPCore __RPC_FAR * This,
  3733. /* [in] */ BSTR bstrURL);
  3734. void __RPC_STUB IWMPCore_put_URL_Stub(
  3735. IRpcStubBuffer *This,
  3736. IRpcChannelBuffer *_pRpcChannelBuffer,
  3737. PRPC_MESSAGE _pRpcMessage,
  3738. DWORD *_pdwStubPhase);
  3739. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_openState_Proxy(
  3740. IWMPCore __RPC_FAR * This,
  3741. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  3742. void __RPC_STUB IWMPCore_get_openState_Stub(
  3743. IRpcStubBuffer *This,
  3744. IRpcChannelBuffer *_pRpcChannelBuffer,
  3745. PRPC_MESSAGE _pRpcMessage,
  3746. DWORD *_pdwStubPhase);
  3747. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_playState_Proxy(
  3748. IWMPCore __RPC_FAR * This,
  3749. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  3750. void __RPC_STUB IWMPCore_get_playState_Stub(
  3751. IRpcStubBuffer *This,
  3752. IRpcChannelBuffer *_pRpcChannelBuffer,
  3753. PRPC_MESSAGE _pRpcMessage,
  3754. DWORD *_pdwStubPhase);
  3755. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_controls_Proxy(
  3756. IWMPCore __RPC_FAR * This,
  3757. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  3758. void __RPC_STUB IWMPCore_get_controls_Stub(
  3759. IRpcStubBuffer *This,
  3760. IRpcChannelBuffer *_pRpcChannelBuffer,
  3761. PRPC_MESSAGE _pRpcMessage,
  3762. DWORD *_pdwStubPhase);
  3763. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_settings_Proxy(
  3764. IWMPCore __RPC_FAR * This,
  3765. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  3766. void __RPC_STUB IWMPCore_get_settings_Stub(
  3767. IRpcStubBuffer *This,
  3768. IRpcChannelBuffer *_pRpcChannelBuffer,
  3769. PRPC_MESSAGE _pRpcMessage,
  3770. DWORD *_pdwStubPhase);
  3771. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_currentMedia_Proxy(
  3772. IWMPCore __RPC_FAR * This,
  3773. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  3774. void __RPC_STUB IWMPCore_get_currentMedia_Stub(
  3775. IRpcStubBuffer *This,
  3776. IRpcChannelBuffer *_pRpcChannelBuffer,
  3777. PRPC_MESSAGE _pRpcMessage,
  3778. DWORD *_pdwStubPhase);
  3779. /* [propput][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_put_currentMedia_Proxy(
  3780. IWMPCore __RPC_FAR * This,
  3781. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  3782. void __RPC_STUB IWMPCore_put_currentMedia_Stub(
  3783. IRpcStubBuffer *This,
  3784. IRpcChannelBuffer *_pRpcChannelBuffer,
  3785. PRPC_MESSAGE _pRpcMessage,
  3786. DWORD *_pdwStubPhase);
  3787. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_mediaCollection_Proxy(
  3788. IWMPCore __RPC_FAR * This,
  3789. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  3790. void __RPC_STUB IWMPCore_get_mediaCollection_Stub(
  3791. IRpcStubBuffer *This,
  3792. IRpcChannelBuffer *_pRpcChannelBuffer,
  3793. PRPC_MESSAGE _pRpcMessage,
  3794. DWORD *_pdwStubPhase);
  3795. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_playlistCollection_Proxy(
  3796. IWMPCore __RPC_FAR * This,
  3797. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  3798. void __RPC_STUB IWMPCore_get_playlistCollection_Stub(
  3799. IRpcStubBuffer *This,
  3800. IRpcChannelBuffer *_pRpcChannelBuffer,
  3801. PRPC_MESSAGE _pRpcMessage,
  3802. DWORD *_pdwStubPhase);
  3803. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_versionInfo_Proxy(
  3804. IWMPCore __RPC_FAR * This,
  3805. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  3806. void __RPC_STUB IWMPCore_get_versionInfo_Stub(
  3807. IRpcStubBuffer *This,
  3808. IRpcChannelBuffer *_pRpcChannelBuffer,
  3809. PRPC_MESSAGE _pRpcMessage,
  3810. DWORD *_pdwStubPhase);
  3811. /* [id] */ HRESULT STDMETHODCALLTYPE IWMPCore_launchURL_Proxy(
  3812. IWMPCore __RPC_FAR * This,
  3813. BSTR bstrURL);
  3814. void __RPC_STUB IWMPCore_launchURL_Stub(
  3815. IRpcStubBuffer *This,
  3816. IRpcChannelBuffer *_pRpcChannelBuffer,
  3817. PRPC_MESSAGE _pRpcMessage,
  3818. DWORD *_pdwStubPhase);
  3819. /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_network_Proxy(
  3820. IWMPCore __RPC_FAR * This,
  3821. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  3822. void __RPC_STUB IWMPCore_get_network_Stub(
  3823. IRpcStubBuffer *This,
  3824. IRpcChannelBuffer *_pRpcChannelBuffer,
  3825. PRPC_MESSAGE _pRpcMessage,
  3826. DWORD *_pdwStubPhase);
  3827. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_currentPlaylist_Proxy(
  3828. IWMPCore __RPC_FAR * This,
  3829. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  3830. void __RPC_STUB IWMPCore_get_currentPlaylist_Stub(
  3831. IRpcStubBuffer *This,
  3832. IRpcChannelBuffer *_pRpcChannelBuffer,
  3833. PRPC_MESSAGE _pRpcMessage,
  3834. DWORD *_pdwStubPhase);
  3835. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_put_currentPlaylist_Proxy(
  3836. IWMPCore __RPC_FAR * This,
  3837. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  3838. void __RPC_STUB IWMPCore_put_currentPlaylist_Stub(
  3839. IRpcStubBuffer *This,
  3840. IRpcChannelBuffer *_pRpcChannelBuffer,
  3841. PRPC_MESSAGE _pRpcMessage,
  3842. DWORD *_pdwStubPhase);
  3843. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_cdromCollection_Proxy(
  3844. IWMPCore __RPC_FAR * This,
  3845. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  3846. void __RPC_STUB IWMPCore_get_cdromCollection_Stub(
  3847. IRpcStubBuffer *This,
  3848. IRpcChannelBuffer *_pRpcChannelBuffer,
  3849. PRPC_MESSAGE _pRpcMessage,
  3850. DWORD *_pdwStubPhase);
  3851. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_closedCaption_Proxy(
  3852. IWMPCore __RPC_FAR * This,
  3853. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  3854. void __RPC_STUB IWMPCore_get_closedCaption_Stub(
  3855. IRpcStubBuffer *This,
  3856. IRpcChannelBuffer *_pRpcChannelBuffer,
  3857. PRPC_MESSAGE _pRpcMessage,
  3858. DWORD *_pdwStubPhase);
  3859. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_isOnline_Proxy(
  3860. IWMPCore __RPC_FAR * This,
  3861. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  3862. void __RPC_STUB IWMPCore_get_isOnline_Stub(
  3863. IRpcStubBuffer *This,
  3864. IRpcChannelBuffer *_pRpcChannelBuffer,
  3865. PRPC_MESSAGE _pRpcMessage,
  3866. DWORD *_pdwStubPhase);
  3867. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_error_Proxy(
  3868. IWMPCore __RPC_FAR * This,
  3869. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  3870. void __RPC_STUB IWMPCore_get_error_Stub(
  3871. IRpcStubBuffer *This,
  3872. IRpcChannelBuffer *_pRpcChannelBuffer,
  3873. PRPC_MESSAGE _pRpcMessage,
  3874. DWORD *_pdwStubPhase);
  3875. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore_get_status_Proxy(
  3876. IWMPCore __RPC_FAR * This,
  3877. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  3878. void __RPC_STUB IWMPCore_get_status_Stub(
  3879. IRpcStubBuffer *This,
  3880. IRpcChannelBuffer *_pRpcChannelBuffer,
  3881. PRPC_MESSAGE _pRpcMessage,
  3882. DWORD *_pdwStubPhase);
  3883. #endif /* __IWMPCore_INTERFACE_DEFINED__ */
  3884. #ifndef __IWMPPlayer_INTERFACE_DEFINED__
  3885. #define __IWMPPlayer_INTERFACE_DEFINED__
  3886. /* interface IWMPPlayer */
  3887. /* [unique][helpstring][dual][uuid][object] */
  3888. EXTERN_C const IID IID_IWMPPlayer;
  3889. #if defined(__cplusplus) && !defined(CINTERFACE)
  3890. MIDL_INTERFACE("6BF52A4F-394A-11d3-B153-00C04F79FAA6")
  3891. IWMPPlayer : public IWMPCore
  3892. {
  3893. public:
  3894. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enabled(
  3895. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  3896. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enabled(
  3897. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  3898. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_fullScreen(
  3899. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen) = 0;
  3900. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_fullScreen(
  3901. VARIANT_BOOL bFullScreen) = 0;
  3902. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enableContextMenu(
  3903. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu) = 0;
  3904. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enableContextMenu(
  3905. VARIANT_BOOL bEnableContextMenu) = 0;
  3906. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_uiMode(
  3907. /* [in] */ BSTR bstrMode) = 0;
  3908. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_uiMode(
  3909. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode) = 0;
  3910. };
  3911. #else /* C style interface */
  3912. typedef struct IWMPPlayerVtbl
  3913. {
  3914. BEGIN_INTERFACE
  3915. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3916. IWMPPlayer __RPC_FAR * This,
  3917. /* [in] */ REFIID riid,
  3918. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3919. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3920. IWMPPlayer __RPC_FAR * This);
  3921. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3922. IWMPPlayer __RPC_FAR * This);
  3923. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3924. IWMPPlayer __RPC_FAR * This,
  3925. /* [out] */ UINT __RPC_FAR *pctinfo);
  3926. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3927. IWMPPlayer __RPC_FAR * This,
  3928. /* [in] */ UINT iTInfo,
  3929. /* [in] */ LCID lcid,
  3930. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3931. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3932. IWMPPlayer __RPC_FAR * This,
  3933. /* [in] */ REFIID riid,
  3934. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3935. /* [in] */ UINT cNames,
  3936. /* [in] */ LCID lcid,
  3937. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3938. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3939. IWMPPlayer __RPC_FAR * This,
  3940. /* [in] */ DISPID dispIdMember,
  3941. /* [in] */ REFIID riid,
  3942. /* [in] */ LCID lcid,
  3943. /* [in] */ WORD wFlags,
  3944. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3945. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3946. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3947. /* [out] */ UINT __RPC_FAR *puArgErr);
  3948. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *close )(
  3949. IWMPPlayer __RPC_FAR * This);
  3950. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_URL )(
  3951. IWMPPlayer __RPC_FAR * This,
  3952. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  3953. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_URL )(
  3954. IWMPPlayer __RPC_FAR * This,
  3955. /* [in] */ BSTR bstrURL);
  3956. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_openState )(
  3957. IWMPPlayer __RPC_FAR * This,
  3958. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  3959. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playState )(
  3960. IWMPPlayer __RPC_FAR * This,
  3961. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  3962. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_controls )(
  3963. IWMPPlayer __RPC_FAR * This,
  3964. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  3965. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_settings )(
  3966. IWMPPlayer __RPC_FAR * This,
  3967. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  3968. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMedia )(
  3969. IWMPPlayer __RPC_FAR * This,
  3970. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  3971. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMedia )(
  3972. IWMPPlayer __RPC_FAR * This,
  3973. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  3974. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mediaCollection )(
  3975. IWMPPlayer __RPC_FAR * This,
  3976. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  3977. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlistCollection )(
  3978. IWMPPlayer __RPC_FAR * This,
  3979. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  3980. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_versionInfo )(
  3981. IWMPPlayer __RPC_FAR * This,
  3982. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  3983. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *launchURL )(
  3984. IWMPPlayer __RPC_FAR * This,
  3985. BSTR bstrURL);
  3986. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_network )(
  3987. IWMPPlayer __RPC_FAR * This,
  3988. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  3989. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPlaylist )(
  3990. IWMPPlayer __RPC_FAR * This,
  3991. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  3992. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPlaylist )(
  3993. IWMPPlayer __RPC_FAR * This,
  3994. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  3995. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_cdromCollection )(
  3996. IWMPPlayer __RPC_FAR * This,
  3997. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  3998. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closedCaption )(
  3999. IWMPPlayer __RPC_FAR * This,
  4000. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  4001. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isOnline )(
  4002. IWMPPlayer __RPC_FAR * This,
  4003. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  4004. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  4005. IWMPPlayer __RPC_FAR * This,
  4006. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  4007. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_status )(
  4008. IWMPPlayer __RPC_FAR * This,
  4009. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  4010. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enabled )(
  4011. IWMPPlayer __RPC_FAR * This,
  4012. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4013. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enabled )(
  4014. IWMPPlayer __RPC_FAR * This,
  4015. /* [in] */ VARIANT_BOOL bEnabled);
  4016. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_fullScreen )(
  4017. IWMPPlayer __RPC_FAR * This,
  4018. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  4019. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_fullScreen )(
  4020. IWMPPlayer __RPC_FAR * This,
  4021. VARIANT_BOOL bFullScreen);
  4022. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableContextMenu )(
  4023. IWMPPlayer __RPC_FAR * This,
  4024. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  4025. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableContextMenu )(
  4026. IWMPPlayer __RPC_FAR * This,
  4027. VARIANT_BOOL bEnableContextMenu);
  4028. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_uiMode )(
  4029. IWMPPlayer __RPC_FAR * This,
  4030. /* [in] */ BSTR bstrMode);
  4031. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uiMode )(
  4032. IWMPPlayer __RPC_FAR * This,
  4033. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  4034. END_INTERFACE
  4035. } IWMPPlayerVtbl;
  4036. interface IWMPPlayer
  4037. {
  4038. CONST_VTBL struct IWMPPlayerVtbl __RPC_FAR *lpVtbl;
  4039. };
  4040. #ifdef COBJMACROS
  4041. #define IWMPPlayer_QueryInterface(This,riid,ppvObject) \
  4042. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4043. #define IWMPPlayer_AddRef(This) \
  4044. (This)->lpVtbl -> AddRef(This)
  4045. #define IWMPPlayer_Release(This) \
  4046. (This)->lpVtbl -> Release(This)
  4047. #define IWMPPlayer_GetTypeInfoCount(This,pctinfo) \
  4048. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4049. #define IWMPPlayer_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4050. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4051. #define IWMPPlayer_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4052. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4053. #define IWMPPlayer_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4054. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4055. #define IWMPPlayer_close(This) \
  4056. (This)->lpVtbl -> close(This)
  4057. #define IWMPPlayer_get_URL(This,pbstrURL) \
  4058. (This)->lpVtbl -> get_URL(This,pbstrURL)
  4059. #define IWMPPlayer_put_URL(This,bstrURL) \
  4060. (This)->lpVtbl -> put_URL(This,bstrURL)
  4061. #define IWMPPlayer_get_openState(This,pwmpos) \
  4062. (This)->lpVtbl -> get_openState(This,pwmpos)
  4063. #define IWMPPlayer_get_playState(This,pwmpps) \
  4064. (This)->lpVtbl -> get_playState(This,pwmpps)
  4065. #define IWMPPlayer_get_controls(This,ppControl) \
  4066. (This)->lpVtbl -> get_controls(This,ppControl)
  4067. #define IWMPPlayer_get_settings(This,ppSettings) \
  4068. (This)->lpVtbl -> get_settings(This,ppSettings)
  4069. #define IWMPPlayer_get_currentMedia(This,ppMedia) \
  4070. (This)->lpVtbl -> get_currentMedia(This,ppMedia)
  4071. #define IWMPPlayer_put_currentMedia(This,pMedia) \
  4072. (This)->lpVtbl -> put_currentMedia(This,pMedia)
  4073. #define IWMPPlayer_get_mediaCollection(This,ppMediaCollection) \
  4074. (This)->lpVtbl -> get_mediaCollection(This,ppMediaCollection)
  4075. #define IWMPPlayer_get_playlistCollection(This,ppPlaylistCollection) \
  4076. (This)->lpVtbl -> get_playlistCollection(This,ppPlaylistCollection)
  4077. #define IWMPPlayer_get_versionInfo(This,pbstrVersionInfo) \
  4078. (This)->lpVtbl -> get_versionInfo(This,pbstrVersionInfo)
  4079. #define IWMPPlayer_launchURL(This,bstrURL) \
  4080. (This)->lpVtbl -> launchURL(This,bstrURL)
  4081. #define IWMPPlayer_get_network(This,ppQNI) \
  4082. (This)->lpVtbl -> get_network(This,ppQNI)
  4083. #define IWMPPlayer_get_currentPlaylist(This,ppPL) \
  4084. (This)->lpVtbl -> get_currentPlaylist(This,ppPL)
  4085. #define IWMPPlayer_put_currentPlaylist(This,pPL) \
  4086. (This)->lpVtbl -> put_currentPlaylist(This,pPL)
  4087. #define IWMPPlayer_get_cdromCollection(This,ppCdromCollection) \
  4088. (This)->lpVtbl -> get_cdromCollection(This,ppCdromCollection)
  4089. #define IWMPPlayer_get_closedCaption(This,ppClosedCaption) \
  4090. (This)->lpVtbl -> get_closedCaption(This,ppClosedCaption)
  4091. #define IWMPPlayer_get_isOnline(This,pfOnline) \
  4092. (This)->lpVtbl -> get_isOnline(This,pfOnline)
  4093. #define IWMPPlayer_get_error(This,ppError) \
  4094. (This)->lpVtbl -> get_error(This,ppError)
  4095. #define IWMPPlayer_get_status(This,pbstrStatus) \
  4096. (This)->lpVtbl -> get_status(This,pbstrStatus)
  4097. #define IWMPPlayer_get_enabled(This,pbEnabled) \
  4098. (This)->lpVtbl -> get_enabled(This,pbEnabled)
  4099. #define IWMPPlayer_put_enabled(This,bEnabled) \
  4100. (This)->lpVtbl -> put_enabled(This,bEnabled)
  4101. #define IWMPPlayer_get_fullScreen(This,pbFullScreen) \
  4102. (This)->lpVtbl -> get_fullScreen(This,pbFullScreen)
  4103. #define IWMPPlayer_put_fullScreen(This,bFullScreen) \
  4104. (This)->lpVtbl -> put_fullScreen(This,bFullScreen)
  4105. #define IWMPPlayer_get_enableContextMenu(This,pbEnableContextMenu) \
  4106. (This)->lpVtbl -> get_enableContextMenu(This,pbEnableContextMenu)
  4107. #define IWMPPlayer_put_enableContextMenu(This,bEnableContextMenu) \
  4108. (This)->lpVtbl -> put_enableContextMenu(This,bEnableContextMenu)
  4109. #define IWMPPlayer_put_uiMode(This,bstrMode) \
  4110. (This)->lpVtbl -> put_uiMode(This,bstrMode)
  4111. #define IWMPPlayer_get_uiMode(This,pbstrMode) \
  4112. (This)->lpVtbl -> get_uiMode(This,pbstrMode)
  4113. #endif /* COBJMACROS */
  4114. #endif /* C style interface */
  4115. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_get_enabled_Proxy(
  4116. IWMPPlayer __RPC_FAR * This,
  4117. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4118. void __RPC_STUB IWMPPlayer_get_enabled_Stub(
  4119. IRpcStubBuffer *This,
  4120. IRpcChannelBuffer *_pRpcChannelBuffer,
  4121. PRPC_MESSAGE _pRpcMessage,
  4122. DWORD *_pdwStubPhase);
  4123. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_put_enabled_Proxy(
  4124. IWMPPlayer __RPC_FAR * This,
  4125. /* [in] */ VARIANT_BOOL bEnabled);
  4126. void __RPC_STUB IWMPPlayer_put_enabled_Stub(
  4127. IRpcStubBuffer *This,
  4128. IRpcChannelBuffer *_pRpcChannelBuffer,
  4129. PRPC_MESSAGE _pRpcMessage,
  4130. DWORD *_pdwStubPhase);
  4131. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_get_fullScreen_Proxy(
  4132. IWMPPlayer __RPC_FAR * This,
  4133. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  4134. void __RPC_STUB IWMPPlayer_get_fullScreen_Stub(
  4135. IRpcStubBuffer *This,
  4136. IRpcChannelBuffer *_pRpcChannelBuffer,
  4137. PRPC_MESSAGE _pRpcMessage,
  4138. DWORD *_pdwStubPhase);
  4139. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_put_fullScreen_Proxy(
  4140. IWMPPlayer __RPC_FAR * This,
  4141. VARIANT_BOOL bFullScreen);
  4142. void __RPC_STUB IWMPPlayer_put_fullScreen_Stub(
  4143. IRpcStubBuffer *This,
  4144. IRpcChannelBuffer *_pRpcChannelBuffer,
  4145. PRPC_MESSAGE _pRpcMessage,
  4146. DWORD *_pdwStubPhase);
  4147. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_get_enableContextMenu_Proxy(
  4148. IWMPPlayer __RPC_FAR * This,
  4149. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  4150. void __RPC_STUB IWMPPlayer_get_enableContextMenu_Stub(
  4151. IRpcStubBuffer *This,
  4152. IRpcChannelBuffer *_pRpcChannelBuffer,
  4153. PRPC_MESSAGE _pRpcMessage,
  4154. DWORD *_pdwStubPhase);
  4155. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_put_enableContextMenu_Proxy(
  4156. IWMPPlayer __RPC_FAR * This,
  4157. VARIANT_BOOL bEnableContextMenu);
  4158. void __RPC_STUB IWMPPlayer_put_enableContextMenu_Stub(
  4159. IRpcStubBuffer *This,
  4160. IRpcChannelBuffer *_pRpcChannelBuffer,
  4161. PRPC_MESSAGE _pRpcMessage,
  4162. DWORD *_pdwStubPhase);
  4163. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_put_uiMode_Proxy(
  4164. IWMPPlayer __RPC_FAR * This,
  4165. /* [in] */ BSTR bstrMode);
  4166. void __RPC_STUB IWMPPlayer_put_uiMode_Stub(
  4167. IRpcStubBuffer *This,
  4168. IRpcChannelBuffer *_pRpcChannelBuffer,
  4169. PRPC_MESSAGE _pRpcMessage,
  4170. DWORD *_pdwStubPhase);
  4171. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer_get_uiMode_Proxy(
  4172. IWMPPlayer __RPC_FAR * This,
  4173. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  4174. void __RPC_STUB IWMPPlayer_get_uiMode_Stub(
  4175. IRpcStubBuffer *This,
  4176. IRpcChannelBuffer *_pRpcChannelBuffer,
  4177. PRPC_MESSAGE _pRpcMessage,
  4178. DWORD *_pdwStubPhase);
  4179. #endif /* __IWMPPlayer_INTERFACE_DEFINED__ */
  4180. #ifndef __IWMPPlayer2_INTERFACE_DEFINED__
  4181. #define __IWMPPlayer2_INTERFACE_DEFINED__
  4182. /* interface IWMPPlayer2 */
  4183. /* [unique][helpstring][dual][uuid][object] */
  4184. EXTERN_C const IID IID_IWMPPlayer2;
  4185. #if defined(__cplusplus) && !defined(CINTERFACE)
  4186. MIDL_INTERFACE("0E6B01D1-D407-4c85-BF5F-1C01F6150280")
  4187. IWMPPlayer2 : public IWMPCore
  4188. {
  4189. public:
  4190. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enabled(
  4191. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  4192. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enabled(
  4193. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  4194. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_fullScreen(
  4195. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen) = 0;
  4196. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_fullScreen(
  4197. VARIANT_BOOL bFullScreen) = 0;
  4198. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enableContextMenu(
  4199. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu) = 0;
  4200. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enableContextMenu(
  4201. VARIANT_BOOL bEnableContextMenu) = 0;
  4202. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_uiMode(
  4203. /* [in] */ BSTR bstrMode) = 0;
  4204. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_uiMode(
  4205. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode) = 0;
  4206. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_stretchToFit(
  4207. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  4208. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_stretchToFit(
  4209. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  4210. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_windowlessVideo(
  4211. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  4212. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_windowlessVideo(
  4213. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  4214. };
  4215. #else /* C style interface */
  4216. typedef struct IWMPPlayer2Vtbl
  4217. {
  4218. BEGIN_INTERFACE
  4219. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4220. IWMPPlayer2 __RPC_FAR * This,
  4221. /* [in] */ REFIID riid,
  4222. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4223. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4224. IWMPPlayer2 __RPC_FAR * This);
  4225. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4226. IWMPPlayer2 __RPC_FAR * This);
  4227. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4228. IWMPPlayer2 __RPC_FAR * This,
  4229. /* [out] */ UINT __RPC_FAR *pctinfo);
  4230. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4231. IWMPPlayer2 __RPC_FAR * This,
  4232. /* [in] */ UINT iTInfo,
  4233. /* [in] */ LCID lcid,
  4234. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4235. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4236. IWMPPlayer2 __RPC_FAR * This,
  4237. /* [in] */ REFIID riid,
  4238. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4239. /* [in] */ UINT cNames,
  4240. /* [in] */ LCID lcid,
  4241. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4242. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4243. IWMPPlayer2 __RPC_FAR * This,
  4244. /* [in] */ DISPID dispIdMember,
  4245. /* [in] */ REFIID riid,
  4246. /* [in] */ LCID lcid,
  4247. /* [in] */ WORD wFlags,
  4248. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4249. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4250. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4251. /* [out] */ UINT __RPC_FAR *puArgErr);
  4252. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *close )(
  4253. IWMPPlayer2 __RPC_FAR * This);
  4254. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_URL )(
  4255. IWMPPlayer2 __RPC_FAR * This,
  4256. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  4257. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_URL )(
  4258. IWMPPlayer2 __RPC_FAR * This,
  4259. /* [in] */ BSTR bstrURL);
  4260. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_openState )(
  4261. IWMPPlayer2 __RPC_FAR * This,
  4262. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  4263. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playState )(
  4264. IWMPPlayer2 __RPC_FAR * This,
  4265. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  4266. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_controls )(
  4267. IWMPPlayer2 __RPC_FAR * This,
  4268. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  4269. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_settings )(
  4270. IWMPPlayer2 __RPC_FAR * This,
  4271. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  4272. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMedia )(
  4273. IWMPPlayer2 __RPC_FAR * This,
  4274. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  4275. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMedia )(
  4276. IWMPPlayer2 __RPC_FAR * This,
  4277. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  4278. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mediaCollection )(
  4279. IWMPPlayer2 __RPC_FAR * This,
  4280. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  4281. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlistCollection )(
  4282. IWMPPlayer2 __RPC_FAR * This,
  4283. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  4284. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_versionInfo )(
  4285. IWMPPlayer2 __RPC_FAR * This,
  4286. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  4287. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *launchURL )(
  4288. IWMPPlayer2 __RPC_FAR * This,
  4289. BSTR bstrURL);
  4290. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_network )(
  4291. IWMPPlayer2 __RPC_FAR * This,
  4292. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  4293. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPlaylist )(
  4294. IWMPPlayer2 __RPC_FAR * This,
  4295. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  4296. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPlaylist )(
  4297. IWMPPlayer2 __RPC_FAR * This,
  4298. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  4299. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_cdromCollection )(
  4300. IWMPPlayer2 __RPC_FAR * This,
  4301. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  4302. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closedCaption )(
  4303. IWMPPlayer2 __RPC_FAR * This,
  4304. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  4305. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isOnline )(
  4306. IWMPPlayer2 __RPC_FAR * This,
  4307. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  4308. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  4309. IWMPPlayer2 __RPC_FAR * This,
  4310. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  4311. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_status )(
  4312. IWMPPlayer2 __RPC_FAR * This,
  4313. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  4314. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enabled )(
  4315. IWMPPlayer2 __RPC_FAR * This,
  4316. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4317. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enabled )(
  4318. IWMPPlayer2 __RPC_FAR * This,
  4319. /* [in] */ VARIANT_BOOL bEnabled);
  4320. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_fullScreen )(
  4321. IWMPPlayer2 __RPC_FAR * This,
  4322. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  4323. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_fullScreen )(
  4324. IWMPPlayer2 __RPC_FAR * This,
  4325. VARIANT_BOOL bFullScreen);
  4326. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableContextMenu )(
  4327. IWMPPlayer2 __RPC_FAR * This,
  4328. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  4329. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableContextMenu )(
  4330. IWMPPlayer2 __RPC_FAR * This,
  4331. VARIANT_BOOL bEnableContextMenu);
  4332. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_uiMode )(
  4333. IWMPPlayer2 __RPC_FAR * This,
  4334. /* [in] */ BSTR bstrMode);
  4335. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uiMode )(
  4336. IWMPPlayer2 __RPC_FAR * This,
  4337. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  4338. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stretchToFit )(
  4339. IWMPPlayer2 __RPC_FAR * This,
  4340. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4341. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_stretchToFit )(
  4342. IWMPPlayer2 __RPC_FAR * This,
  4343. /* [in] */ VARIANT_BOOL bEnabled);
  4344. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_windowlessVideo )(
  4345. IWMPPlayer2 __RPC_FAR * This,
  4346. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4347. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_windowlessVideo )(
  4348. IWMPPlayer2 __RPC_FAR * This,
  4349. /* [in] */ VARIANT_BOOL bEnabled);
  4350. END_INTERFACE
  4351. } IWMPPlayer2Vtbl;
  4352. interface IWMPPlayer2
  4353. {
  4354. CONST_VTBL struct IWMPPlayer2Vtbl __RPC_FAR *lpVtbl;
  4355. };
  4356. #ifdef COBJMACROS
  4357. #define IWMPPlayer2_QueryInterface(This,riid,ppvObject) \
  4358. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4359. #define IWMPPlayer2_AddRef(This) \
  4360. (This)->lpVtbl -> AddRef(This)
  4361. #define IWMPPlayer2_Release(This) \
  4362. (This)->lpVtbl -> Release(This)
  4363. #define IWMPPlayer2_GetTypeInfoCount(This,pctinfo) \
  4364. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4365. #define IWMPPlayer2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4366. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4367. #define IWMPPlayer2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4368. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4369. #define IWMPPlayer2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4370. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4371. #define IWMPPlayer2_close(This) \
  4372. (This)->lpVtbl -> close(This)
  4373. #define IWMPPlayer2_get_URL(This,pbstrURL) \
  4374. (This)->lpVtbl -> get_URL(This,pbstrURL)
  4375. #define IWMPPlayer2_put_URL(This,bstrURL) \
  4376. (This)->lpVtbl -> put_URL(This,bstrURL)
  4377. #define IWMPPlayer2_get_openState(This,pwmpos) \
  4378. (This)->lpVtbl -> get_openState(This,pwmpos)
  4379. #define IWMPPlayer2_get_playState(This,pwmpps) \
  4380. (This)->lpVtbl -> get_playState(This,pwmpps)
  4381. #define IWMPPlayer2_get_controls(This,ppControl) \
  4382. (This)->lpVtbl -> get_controls(This,ppControl)
  4383. #define IWMPPlayer2_get_settings(This,ppSettings) \
  4384. (This)->lpVtbl -> get_settings(This,ppSettings)
  4385. #define IWMPPlayer2_get_currentMedia(This,ppMedia) \
  4386. (This)->lpVtbl -> get_currentMedia(This,ppMedia)
  4387. #define IWMPPlayer2_put_currentMedia(This,pMedia) \
  4388. (This)->lpVtbl -> put_currentMedia(This,pMedia)
  4389. #define IWMPPlayer2_get_mediaCollection(This,ppMediaCollection) \
  4390. (This)->lpVtbl -> get_mediaCollection(This,ppMediaCollection)
  4391. #define IWMPPlayer2_get_playlistCollection(This,ppPlaylistCollection) \
  4392. (This)->lpVtbl -> get_playlistCollection(This,ppPlaylistCollection)
  4393. #define IWMPPlayer2_get_versionInfo(This,pbstrVersionInfo) \
  4394. (This)->lpVtbl -> get_versionInfo(This,pbstrVersionInfo)
  4395. #define IWMPPlayer2_launchURL(This,bstrURL) \
  4396. (This)->lpVtbl -> launchURL(This,bstrURL)
  4397. #define IWMPPlayer2_get_network(This,ppQNI) \
  4398. (This)->lpVtbl -> get_network(This,ppQNI)
  4399. #define IWMPPlayer2_get_currentPlaylist(This,ppPL) \
  4400. (This)->lpVtbl -> get_currentPlaylist(This,ppPL)
  4401. #define IWMPPlayer2_put_currentPlaylist(This,pPL) \
  4402. (This)->lpVtbl -> put_currentPlaylist(This,pPL)
  4403. #define IWMPPlayer2_get_cdromCollection(This,ppCdromCollection) \
  4404. (This)->lpVtbl -> get_cdromCollection(This,ppCdromCollection)
  4405. #define IWMPPlayer2_get_closedCaption(This,ppClosedCaption) \
  4406. (This)->lpVtbl -> get_closedCaption(This,ppClosedCaption)
  4407. #define IWMPPlayer2_get_isOnline(This,pfOnline) \
  4408. (This)->lpVtbl -> get_isOnline(This,pfOnline)
  4409. #define IWMPPlayer2_get_error(This,ppError) \
  4410. (This)->lpVtbl -> get_error(This,ppError)
  4411. #define IWMPPlayer2_get_status(This,pbstrStatus) \
  4412. (This)->lpVtbl -> get_status(This,pbstrStatus)
  4413. #define IWMPPlayer2_get_enabled(This,pbEnabled) \
  4414. (This)->lpVtbl -> get_enabled(This,pbEnabled)
  4415. #define IWMPPlayer2_put_enabled(This,bEnabled) \
  4416. (This)->lpVtbl -> put_enabled(This,bEnabled)
  4417. #define IWMPPlayer2_get_fullScreen(This,pbFullScreen) \
  4418. (This)->lpVtbl -> get_fullScreen(This,pbFullScreen)
  4419. #define IWMPPlayer2_put_fullScreen(This,bFullScreen) \
  4420. (This)->lpVtbl -> put_fullScreen(This,bFullScreen)
  4421. #define IWMPPlayer2_get_enableContextMenu(This,pbEnableContextMenu) \
  4422. (This)->lpVtbl -> get_enableContextMenu(This,pbEnableContextMenu)
  4423. #define IWMPPlayer2_put_enableContextMenu(This,bEnableContextMenu) \
  4424. (This)->lpVtbl -> put_enableContextMenu(This,bEnableContextMenu)
  4425. #define IWMPPlayer2_put_uiMode(This,bstrMode) \
  4426. (This)->lpVtbl -> put_uiMode(This,bstrMode)
  4427. #define IWMPPlayer2_get_uiMode(This,pbstrMode) \
  4428. (This)->lpVtbl -> get_uiMode(This,pbstrMode)
  4429. #define IWMPPlayer2_get_stretchToFit(This,pbEnabled) \
  4430. (This)->lpVtbl -> get_stretchToFit(This,pbEnabled)
  4431. #define IWMPPlayer2_put_stretchToFit(This,bEnabled) \
  4432. (This)->lpVtbl -> put_stretchToFit(This,bEnabled)
  4433. #define IWMPPlayer2_get_windowlessVideo(This,pbEnabled) \
  4434. (This)->lpVtbl -> get_windowlessVideo(This,pbEnabled)
  4435. #define IWMPPlayer2_put_windowlessVideo(This,bEnabled) \
  4436. (This)->lpVtbl -> put_windowlessVideo(This,bEnabled)
  4437. #endif /* COBJMACROS */
  4438. #endif /* C style interface */
  4439. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_enabled_Proxy(
  4440. IWMPPlayer2 __RPC_FAR * This,
  4441. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4442. void __RPC_STUB IWMPPlayer2_get_enabled_Stub(
  4443. IRpcStubBuffer *This,
  4444. IRpcChannelBuffer *_pRpcChannelBuffer,
  4445. PRPC_MESSAGE _pRpcMessage,
  4446. DWORD *_pdwStubPhase);
  4447. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_enabled_Proxy(
  4448. IWMPPlayer2 __RPC_FAR * This,
  4449. /* [in] */ VARIANT_BOOL bEnabled);
  4450. void __RPC_STUB IWMPPlayer2_put_enabled_Stub(
  4451. IRpcStubBuffer *This,
  4452. IRpcChannelBuffer *_pRpcChannelBuffer,
  4453. PRPC_MESSAGE _pRpcMessage,
  4454. DWORD *_pdwStubPhase);
  4455. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_fullScreen_Proxy(
  4456. IWMPPlayer2 __RPC_FAR * This,
  4457. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  4458. void __RPC_STUB IWMPPlayer2_get_fullScreen_Stub(
  4459. IRpcStubBuffer *This,
  4460. IRpcChannelBuffer *_pRpcChannelBuffer,
  4461. PRPC_MESSAGE _pRpcMessage,
  4462. DWORD *_pdwStubPhase);
  4463. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_fullScreen_Proxy(
  4464. IWMPPlayer2 __RPC_FAR * This,
  4465. VARIANT_BOOL bFullScreen);
  4466. void __RPC_STUB IWMPPlayer2_put_fullScreen_Stub(
  4467. IRpcStubBuffer *This,
  4468. IRpcChannelBuffer *_pRpcChannelBuffer,
  4469. PRPC_MESSAGE _pRpcMessage,
  4470. DWORD *_pdwStubPhase);
  4471. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_enableContextMenu_Proxy(
  4472. IWMPPlayer2 __RPC_FAR * This,
  4473. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  4474. void __RPC_STUB IWMPPlayer2_get_enableContextMenu_Stub(
  4475. IRpcStubBuffer *This,
  4476. IRpcChannelBuffer *_pRpcChannelBuffer,
  4477. PRPC_MESSAGE _pRpcMessage,
  4478. DWORD *_pdwStubPhase);
  4479. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_enableContextMenu_Proxy(
  4480. IWMPPlayer2 __RPC_FAR * This,
  4481. VARIANT_BOOL bEnableContextMenu);
  4482. void __RPC_STUB IWMPPlayer2_put_enableContextMenu_Stub(
  4483. IRpcStubBuffer *This,
  4484. IRpcChannelBuffer *_pRpcChannelBuffer,
  4485. PRPC_MESSAGE _pRpcMessage,
  4486. DWORD *_pdwStubPhase);
  4487. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_uiMode_Proxy(
  4488. IWMPPlayer2 __RPC_FAR * This,
  4489. /* [in] */ BSTR bstrMode);
  4490. void __RPC_STUB IWMPPlayer2_put_uiMode_Stub(
  4491. IRpcStubBuffer *This,
  4492. IRpcChannelBuffer *_pRpcChannelBuffer,
  4493. PRPC_MESSAGE _pRpcMessage,
  4494. DWORD *_pdwStubPhase);
  4495. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_uiMode_Proxy(
  4496. IWMPPlayer2 __RPC_FAR * This,
  4497. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  4498. void __RPC_STUB IWMPPlayer2_get_uiMode_Stub(
  4499. IRpcStubBuffer *This,
  4500. IRpcChannelBuffer *_pRpcChannelBuffer,
  4501. PRPC_MESSAGE _pRpcMessage,
  4502. DWORD *_pdwStubPhase);
  4503. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_stretchToFit_Proxy(
  4504. IWMPPlayer2 __RPC_FAR * This,
  4505. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4506. void __RPC_STUB IWMPPlayer2_get_stretchToFit_Stub(
  4507. IRpcStubBuffer *This,
  4508. IRpcChannelBuffer *_pRpcChannelBuffer,
  4509. PRPC_MESSAGE _pRpcMessage,
  4510. DWORD *_pdwStubPhase);
  4511. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_stretchToFit_Proxy(
  4512. IWMPPlayer2 __RPC_FAR * This,
  4513. /* [in] */ VARIANT_BOOL bEnabled);
  4514. void __RPC_STUB IWMPPlayer2_put_stretchToFit_Stub(
  4515. IRpcStubBuffer *This,
  4516. IRpcChannelBuffer *_pRpcChannelBuffer,
  4517. PRPC_MESSAGE _pRpcMessage,
  4518. DWORD *_pdwStubPhase);
  4519. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_get_windowlessVideo_Proxy(
  4520. IWMPPlayer2 __RPC_FAR * This,
  4521. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  4522. void __RPC_STUB IWMPPlayer2_get_windowlessVideo_Stub(
  4523. IRpcStubBuffer *This,
  4524. IRpcChannelBuffer *_pRpcChannelBuffer,
  4525. PRPC_MESSAGE _pRpcMessage,
  4526. DWORD *_pdwStubPhase);
  4527. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer2_put_windowlessVideo_Proxy(
  4528. IWMPPlayer2 __RPC_FAR * This,
  4529. /* [in] */ VARIANT_BOOL bEnabled);
  4530. void __RPC_STUB IWMPPlayer2_put_windowlessVideo_Stub(
  4531. IRpcStubBuffer *This,
  4532. IRpcChannelBuffer *_pRpcChannelBuffer,
  4533. PRPC_MESSAGE _pRpcMessage,
  4534. DWORD *_pdwStubPhase);
  4535. #endif /* __IWMPPlayer2_INTERFACE_DEFINED__ */
  4536. #ifndef __IWMPMedia2_INTERFACE_DEFINED__
  4537. #define __IWMPMedia2_INTERFACE_DEFINED__
  4538. /* interface IWMPMedia2 */
  4539. /* [unique][helpstring][dual][uuid][object] */
  4540. EXTERN_C const IID IID_IWMPMedia2;
  4541. #if defined(__cplusplus) && !defined(CINTERFACE)
  4542. MIDL_INTERFACE("AB7C88BB-143E-4ea4-ACC3-E4350B2106C3")
  4543. IWMPMedia2 : public IWMPMedia
  4544. {
  4545. public:
  4546. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_error(
  4547. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppIWMPErrorItem) = 0;
  4548. };
  4549. #else /* C style interface */
  4550. typedef struct IWMPMedia2Vtbl
  4551. {
  4552. BEGIN_INTERFACE
  4553. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4554. IWMPMedia2 __RPC_FAR * This,
  4555. /* [in] */ REFIID riid,
  4556. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4557. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4558. IWMPMedia2 __RPC_FAR * This);
  4559. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4560. IWMPMedia2 __RPC_FAR * This);
  4561. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4562. IWMPMedia2 __RPC_FAR * This,
  4563. /* [out] */ UINT __RPC_FAR *pctinfo);
  4564. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4565. IWMPMedia2 __RPC_FAR * This,
  4566. /* [in] */ UINT iTInfo,
  4567. /* [in] */ LCID lcid,
  4568. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4569. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4570. IWMPMedia2 __RPC_FAR * This,
  4571. /* [in] */ REFIID riid,
  4572. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4573. /* [in] */ UINT cNames,
  4574. /* [in] */ LCID lcid,
  4575. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4576. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4577. IWMPMedia2 __RPC_FAR * This,
  4578. /* [in] */ DISPID dispIdMember,
  4579. /* [in] */ REFIID riid,
  4580. /* [in] */ LCID lcid,
  4581. /* [in] */ WORD wFlags,
  4582. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4583. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4584. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4585. /* [out] */ UINT __RPC_FAR *puArgErr);
  4586. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isIdentical )(
  4587. IWMPMedia2 __RPC_FAR * This,
  4588. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia,
  4589. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvbool);
  4590. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_sourceURL )(
  4591. IWMPMedia2 __RPC_FAR * This,
  4592. /* [retval][out] */ BSTR __RPC_FAR *pbstrSourceURL);
  4593. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_name )(
  4594. IWMPMedia2 __RPC_FAR * This,
  4595. /* [retval][out] */ BSTR __RPC_FAR *pbstrName);
  4596. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_name )(
  4597. IWMPMedia2 __RPC_FAR * This,
  4598. /* [in] */ BSTR bstrName);
  4599. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_imageSourceWidth )(
  4600. IWMPMedia2 __RPC_FAR * This,
  4601. /* [retval][out] */ long __RPC_FAR *pWidth);
  4602. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_imageSourceHeight )(
  4603. IWMPMedia2 __RPC_FAR * This,
  4604. /* [retval][out] */ long __RPC_FAR *pHeight);
  4605. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_markerCount )(
  4606. IWMPMedia2 __RPC_FAR * This,
  4607. /* [retval][out] */ long __RPC_FAR *pMarkerCount);
  4608. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMarkerTime )(
  4609. IWMPMedia2 __RPC_FAR * This,
  4610. /* [in] */ long MarkerNum,
  4611. /* [retval][out] */ double __RPC_FAR *pMarkerTime);
  4612. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getMarkerName )(
  4613. IWMPMedia2 __RPC_FAR * This,
  4614. /* [in] */ long MarkerNum,
  4615. /* [retval][out] */ BSTR __RPC_FAR *pbstrMarkerName);
  4616. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_duration )(
  4617. IWMPMedia2 __RPC_FAR * This,
  4618. /* [retval][out] */ double __RPC_FAR *pDuration);
  4619. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_durationString )(
  4620. IWMPMedia2 __RPC_FAR * This,
  4621. /* [retval][out] */ BSTR __RPC_FAR *pbstrDuration);
  4622. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_attributeCount )(
  4623. IWMPMedia2 __RPC_FAR * This,
  4624. /* [retval][out] */ long __RPC_FAR *plCount);
  4625. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getAttributeName )(
  4626. IWMPMedia2 __RPC_FAR * This,
  4627. /* [in] */ long lIndex,
  4628. /* [retval][out] */ BSTR __RPC_FAR *pbstrItemName);
  4629. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getItemInfo )(
  4630. IWMPMedia2 __RPC_FAR * This,
  4631. /* [in] */ BSTR bstrItemName,
  4632. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  4633. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *setItemInfo )(
  4634. IWMPMedia2 __RPC_FAR * This,
  4635. /* [in] */ BSTR bstrItemName,
  4636. /* [in] */ BSTR bstrVal);
  4637. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *getItemInfoByAtom )(
  4638. IWMPMedia2 __RPC_FAR * This,
  4639. /* [in] */ long lAtom,
  4640. /* [retval][out] */ BSTR __RPC_FAR *pbstrVal);
  4641. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isMemberOf )(
  4642. IWMPMedia2 __RPC_FAR * This,
  4643. /* [in] */ IWMPPlaylist __RPC_FAR *pPlaylist,
  4644. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsMemberOf);
  4645. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *isReadOnlyItem )(
  4646. IWMPMedia2 __RPC_FAR * This,
  4647. /* [in] */ BSTR bstrItemName,
  4648. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pvarfIsReadOnly);
  4649. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  4650. IWMPMedia2 __RPC_FAR * This,
  4651. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppIWMPErrorItem);
  4652. END_INTERFACE
  4653. } IWMPMedia2Vtbl;
  4654. interface IWMPMedia2
  4655. {
  4656. CONST_VTBL struct IWMPMedia2Vtbl __RPC_FAR *lpVtbl;
  4657. };
  4658. #ifdef COBJMACROS
  4659. #define IWMPMedia2_QueryInterface(This,riid,ppvObject) \
  4660. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4661. #define IWMPMedia2_AddRef(This) \
  4662. (This)->lpVtbl -> AddRef(This)
  4663. #define IWMPMedia2_Release(This) \
  4664. (This)->lpVtbl -> Release(This)
  4665. #define IWMPMedia2_GetTypeInfoCount(This,pctinfo) \
  4666. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4667. #define IWMPMedia2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4668. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4669. #define IWMPMedia2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4670. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4671. #define IWMPMedia2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4672. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4673. #define IWMPMedia2_get_isIdentical(This,pIWMPMedia,pvbool) \
  4674. (This)->lpVtbl -> get_isIdentical(This,pIWMPMedia,pvbool)
  4675. #define IWMPMedia2_get_sourceURL(This,pbstrSourceURL) \
  4676. (This)->lpVtbl -> get_sourceURL(This,pbstrSourceURL)
  4677. #define IWMPMedia2_get_name(This,pbstrName) \
  4678. (This)->lpVtbl -> get_name(This,pbstrName)
  4679. #define IWMPMedia2_put_name(This,bstrName) \
  4680. (This)->lpVtbl -> put_name(This,bstrName)
  4681. #define IWMPMedia2_get_imageSourceWidth(This,pWidth) \
  4682. (This)->lpVtbl -> get_imageSourceWidth(This,pWidth)
  4683. #define IWMPMedia2_get_imageSourceHeight(This,pHeight) \
  4684. (This)->lpVtbl -> get_imageSourceHeight(This,pHeight)
  4685. #define IWMPMedia2_get_markerCount(This,pMarkerCount) \
  4686. (This)->lpVtbl -> get_markerCount(This,pMarkerCount)
  4687. #define IWMPMedia2_getMarkerTime(This,MarkerNum,pMarkerTime) \
  4688. (This)->lpVtbl -> getMarkerTime(This,MarkerNum,pMarkerTime)
  4689. #define IWMPMedia2_getMarkerName(This,MarkerNum,pbstrMarkerName) \
  4690. (This)->lpVtbl -> getMarkerName(This,MarkerNum,pbstrMarkerName)
  4691. #define IWMPMedia2_get_duration(This,pDuration) \
  4692. (This)->lpVtbl -> get_duration(This,pDuration)
  4693. #define IWMPMedia2_get_durationString(This,pbstrDuration) \
  4694. (This)->lpVtbl -> get_durationString(This,pbstrDuration)
  4695. #define IWMPMedia2_get_attributeCount(This,plCount) \
  4696. (This)->lpVtbl -> get_attributeCount(This,plCount)
  4697. #define IWMPMedia2_getAttributeName(This,lIndex,pbstrItemName) \
  4698. (This)->lpVtbl -> getAttributeName(This,lIndex,pbstrItemName)
  4699. #define IWMPMedia2_getItemInfo(This,bstrItemName,pbstrVal) \
  4700. (This)->lpVtbl -> getItemInfo(This,bstrItemName,pbstrVal)
  4701. #define IWMPMedia2_setItemInfo(This,bstrItemName,bstrVal) \
  4702. (This)->lpVtbl -> setItemInfo(This,bstrItemName,bstrVal)
  4703. #define IWMPMedia2_getItemInfoByAtom(This,lAtom,pbstrVal) \
  4704. (This)->lpVtbl -> getItemInfoByAtom(This,lAtom,pbstrVal)
  4705. #define IWMPMedia2_isMemberOf(This,pPlaylist,pvarfIsMemberOf) \
  4706. (This)->lpVtbl -> isMemberOf(This,pPlaylist,pvarfIsMemberOf)
  4707. #define IWMPMedia2_isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly) \
  4708. (This)->lpVtbl -> isReadOnlyItem(This,bstrItemName,pvarfIsReadOnly)
  4709. #define IWMPMedia2_get_error(This,ppIWMPErrorItem) \
  4710. (This)->lpVtbl -> get_error(This,ppIWMPErrorItem)
  4711. #endif /* COBJMACROS */
  4712. #endif /* C style interface */
  4713. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPMedia2_get_error_Proxy(
  4714. IWMPMedia2 __RPC_FAR * This,
  4715. /* [retval][out] */ IWMPErrorItem __RPC_FAR *__RPC_FAR *ppIWMPErrorItem);
  4716. void __RPC_STUB IWMPMedia2_get_error_Stub(
  4717. IRpcStubBuffer *This,
  4718. IRpcChannelBuffer *_pRpcChannelBuffer,
  4719. PRPC_MESSAGE _pRpcMessage,
  4720. DWORD *_pdwStubPhase);
  4721. #endif /* __IWMPMedia2_INTERFACE_DEFINED__ */
  4722. #ifndef __IWMPControls2_INTERFACE_DEFINED__
  4723. #define __IWMPControls2_INTERFACE_DEFINED__
  4724. /* interface IWMPControls2 */
  4725. /* [unique][helpstring][dual][uuid][object] */
  4726. EXTERN_C const IID IID_IWMPControls2;
  4727. #if defined(__cplusplus) && !defined(CINTERFACE)
  4728. MIDL_INTERFACE("6F030D25-0890-480f-9775-1F7E40AB5B8E")
  4729. IWMPControls2 : public IWMPControls
  4730. {
  4731. public:
  4732. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE step(
  4733. /* [in] */ long lStep) = 0;
  4734. };
  4735. #else /* C style interface */
  4736. typedef struct IWMPControls2Vtbl
  4737. {
  4738. BEGIN_INTERFACE
  4739. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4740. IWMPControls2 __RPC_FAR * This,
  4741. /* [in] */ REFIID riid,
  4742. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4743. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4744. IWMPControls2 __RPC_FAR * This);
  4745. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4746. IWMPControls2 __RPC_FAR * This);
  4747. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4748. IWMPControls2 __RPC_FAR * This,
  4749. /* [out] */ UINT __RPC_FAR *pctinfo);
  4750. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4751. IWMPControls2 __RPC_FAR * This,
  4752. /* [in] */ UINT iTInfo,
  4753. /* [in] */ LCID lcid,
  4754. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4755. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4756. IWMPControls2 __RPC_FAR * This,
  4757. /* [in] */ REFIID riid,
  4758. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4759. /* [in] */ UINT cNames,
  4760. /* [in] */ LCID lcid,
  4761. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4762. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4763. IWMPControls2 __RPC_FAR * This,
  4764. /* [in] */ DISPID dispIdMember,
  4765. /* [in] */ REFIID riid,
  4766. /* [in] */ LCID lcid,
  4767. /* [in] */ WORD wFlags,
  4768. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4769. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4770. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4771. /* [out] */ UINT __RPC_FAR *puArgErr);
  4772. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isAvailable )(
  4773. IWMPControls2 __RPC_FAR * This,
  4774. /* [in] */ BSTR bstrItem,
  4775. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  4776. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *play )(
  4777. IWMPControls2 __RPC_FAR * This);
  4778. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *stop )(
  4779. IWMPControls2 __RPC_FAR * This);
  4780. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *pause )(
  4781. IWMPControls2 __RPC_FAR * This);
  4782. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *fastForward )(
  4783. IWMPControls2 __RPC_FAR * This);
  4784. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *fastReverse )(
  4785. IWMPControls2 __RPC_FAR * This);
  4786. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPosition )(
  4787. IWMPControls2 __RPC_FAR * This,
  4788. /* [retval][out] */ double __RPC_FAR *pdCurrentPosition);
  4789. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPosition )(
  4790. IWMPControls2 __RPC_FAR * This,
  4791. /* [in] */ double dCurrentPosition);
  4792. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPositionString )(
  4793. IWMPControls2 __RPC_FAR * This,
  4794. /* [retval][out] */ BSTR __RPC_FAR *pbstrCurrentPosition);
  4795. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *next )(
  4796. IWMPControls2 __RPC_FAR * This);
  4797. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *previous )(
  4798. IWMPControls2 __RPC_FAR * This);
  4799. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentItem )(
  4800. IWMPControls2 __RPC_FAR * This,
  4801. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppIWMPMedia);
  4802. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentItem )(
  4803. IWMPControls2 __RPC_FAR * This,
  4804. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  4805. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMarker )(
  4806. IWMPControls2 __RPC_FAR * This,
  4807. /* [retval][out] */ long __RPC_FAR *plMarker);
  4808. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMarker )(
  4809. IWMPControls2 __RPC_FAR * This,
  4810. /* [in] */ long lMarker);
  4811. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *playItem )(
  4812. IWMPControls2 __RPC_FAR * This,
  4813. /* [in] */ IWMPMedia __RPC_FAR *pIWMPMedia);
  4814. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *step )(
  4815. IWMPControls2 __RPC_FAR * This,
  4816. /* [in] */ long lStep);
  4817. END_INTERFACE
  4818. } IWMPControls2Vtbl;
  4819. interface IWMPControls2
  4820. {
  4821. CONST_VTBL struct IWMPControls2Vtbl __RPC_FAR *lpVtbl;
  4822. };
  4823. #ifdef COBJMACROS
  4824. #define IWMPControls2_QueryInterface(This,riid,ppvObject) \
  4825. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4826. #define IWMPControls2_AddRef(This) \
  4827. (This)->lpVtbl -> AddRef(This)
  4828. #define IWMPControls2_Release(This) \
  4829. (This)->lpVtbl -> Release(This)
  4830. #define IWMPControls2_GetTypeInfoCount(This,pctinfo) \
  4831. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4832. #define IWMPControls2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4833. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4834. #define IWMPControls2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4835. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4836. #define IWMPControls2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4837. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4838. #define IWMPControls2_get_isAvailable(This,bstrItem,pIsAvailable) \
  4839. (This)->lpVtbl -> get_isAvailable(This,bstrItem,pIsAvailable)
  4840. #define IWMPControls2_play(This) \
  4841. (This)->lpVtbl -> play(This)
  4842. #define IWMPControls2_stop(This) \
  4843. (This)->lpVtbl -> stop(This)
  4844. #define IWMPControls2_pause(This) \
  4845. (This)->lpVtbl -> pause(This)
  4846. #define IWMPControls2_fastForward(This) \
  4847. (This)->lpVtbl -> fastForward(This)
  4848. #define IWMPControls2_fastReverse(This) \
  4849. (This)->lpVtbl -> fastReverse(This)
  4850. #define IWMPControls2_get_currentPosition(This,pdCurrentPosition) \
  4851. (This)->lpVtbl -> get_currentPosition(This,pdCurrentPosition)
  4852. #define IWMPControls2_put_currentPosition(This,dCurrentPosition) \
  4853. (This)->lpVtbl -> put_currentPosition(This,dCurrentPosition)
  4854. #define IWMPControls2_get_currentPositionString(This,pbstrCurrentPosition) \
  4855. (This)->lpVtbl -> get_currentPositionString(This,pbstrCurrentPosition)
  4856. #define IWMPControls2_next(This) \
  4857. (This)->lpVtbl -> next(This)
  4858. #define IWMPControls2_previous(This) \
  4859. (This)->lpVtbl -> previous(This)
  4860. #define IWMPControls2_get_currentItem(This,ppIWMPMedia) \
  4861. (This)->lpVtbl -> get_currentItem(This,ppIWMPMedia)
  4862. #define IWMPControls2_put_currentItem(This,pIWMPMedia) \
  4863. (This)->lpVtbl -> put_currentItem(This,pIWMPMedia)
  4864. #define IWMPControls2_get_currentMarker(This,plMarker) \
  4865. (This)->lpVtbl -> get_currentMarker(This,plMarker)
  4866. #define IWMPControls2_put_currentMarker(This,lMarker) \
  4867. (This)->lpVtbl -> put_currentMarker(This,lMarker)
  4868. #define IWMPControls2_playItem(This,pIWMPMedia) \
  4869. (This)->lpVtbl -> playItem(This,pIWMPMedia)
  4870. #define IWMPControls2_step(This,lStep) \
  4871. (This)->lpVtbl -> step(This,lStep)
  4872. #endif /* COBJMACROS */
  4873. #endif /* C style interface */
  4874. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPControls2_step_Proxy(
  4875. IWMPControls2 __RPC_FAR * This,
  4876. /* [in] */ long lStep);
  4877. void __RPC_STUB IWMPControls2_step_Stub(
  4878. IRpcStubBuffer *This,
  4879. IRpcChannelBuffer *_pRpcChannelBuffer,
  4880. PRPC_MESSAGE _pRpcMessage,
  4881. DWORD *_pdwStubPhase);
  4882. #endif /* __IWMPControls2_INTERFACE_DEFINED__ */
  4883. #ifndef __IWMPDVD_INTERFACE_DEFINED__
  4884. #define __IWMPDVD_INTERFACE_DEFINED__
  4885. /* interface IWMPDVD */
  4886. /* [unique][helpstring][dual][uuid][object] */
  4887. EXTERN_C const IID IID_IWMPDVD;
  4888. #if defined(__cplusplus) && !defined(CINTERFACE)
  4889. MIDL_INTERFACE("8DA61686-4668-4a5c-AE5D-803193293DBE")
  4890. IWMPDVD : public IDispatch
  4891. {
  4892. public:
  4893. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_isAvailable(
  4894. /* [in] */ BSTR bstrItem,
  4895. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable) = 0;
  4896. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_domain(
  4897. /* [retval][out] */ BSTR __RPC_FAR *strDomain) = 0;
  4898. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE topMenu( void) = 0;
  4899. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE titleMenu( void) = 0;
  4900. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE back( void) = 0;
  4901. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE resume( void) = 0;
  4902. };
  4903. #else /* C style interface */
  4904. typedef struct IWMPDVDVtbl
  4905. {
  4906. BEGIN_INTERFACE
  4907. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4908. IWMPDVD __RPC_FAR * This,
  4909. /* [in] */ REFIID riid,
  4910. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4911. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4912. IWMPDVD __RPC_FAR * This);
  4913. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4914. IWMPDVD __RPC_FAR * This);
  4915. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4916. IWMPDVD __RPC_FAR * This,
  4917. /* [out] */ UINT __RPC_FAR *pctinfo);
  4918. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4919. IWMPDVD __RPC_FAR * This,
  4920. /* [in] */ UINT iTInfo,
  4921. /* [in] */ LCID lcid,
  4922. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4923. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4924. IWMPDVD __RPC_FAR * This,
  4925. /* [in] */ REFIID riid,
  4926. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4927. /* [in] */ UINT cNames,
  4928. /* [in] */ LCID lcid,
  4929. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4930. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4931. IWMPDVD __RPC_FAR * This,
  4932. /* [in] */ DISPID dispIdMember,
  4933. /* [in] */ REFIID riid,
  4934. /* [in] */ LCID lcid,
  4935. /* [in] */ WORD wFlags,
  4936. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4937. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4938. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4939. /* [out] */ UINT __RPC_FAR *puArgErr);
  4940. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isAvailable )(
  4941. IWMPDVD __RPC_FAR * This,
  4942. /* [in] */ BSTR bstrItem,
  4943. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  4944. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_domain )(
  4945. IWMPDVD __RPC_FAR * This,
  4946. /* [retval][out] */ BSTR __RPC_FAR *strDomain);
  4947. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *topMenu )(
  4948. IWMPDVD __RPC_FAR * This);
  4949. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *titleMenu )(
  4950. IWMPDVD __RPC_FAR * This);
  4951. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *back )(
  4952. IWMPDVD __RPC_FAR * This);
  4953. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *resume )(
  4954. IWMPDVD __RPC_FAR * This);
  4955. END_INTERFACE
  4956. } IWMPDVDVtbl;
  4957. interface IWMPDVD
  4958. {
  4959. CONST_VTBL struct IWMPDVDVtbl __RPC_FAR *lpVtbl;
  4960. };
  4961. #ifdef COBJMACROS
  4962. #define IWMPDVD_QueryInterface(This,riid,ppvObject) \
  4963. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4964. #define IWMPDVD_AddRef(This) \
  4965. (This)->lpVtbl -> AddRef(This)
  4966. #define IWMPDVD_Release(This) \
  4967. (This)->lpVtbl -> Release(This)
  4968. #define IWMPDVD_GetTypeInfoCount(This,pctinfo) \
  4969. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4970. #define IWMPDVD_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4971. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4972. #define IWMPDVD_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4973. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4974. #define IWMPDVD_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4975. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4976. #define IWMPDVD_get_isAvailable(This,bstrItem,pIsAvailable) \
  4977. (This)->lpVtbl -> get_isAvailable(This,bstrItem,pIsAvailable)
  4978. #define IWMPDVD_get_domain(This,strDomain) \
  4979. (This)->lpVtbl -> get_domain(This,strDomain)
  4980. #define IWMPDVD_topMenu(This) \
  4981. (This)->lpVtbl -> topMenu(This)
  4982. #define IWMPDVD_titleMenu(This) \
  4983. (This)->lpVtbl -> titleMenu(This)
  4984. #define IWMPDVD_back(This) \
  4985. (This)->lpVtbl -> back(This)
  4986. #define IWMPDVD_resume(This) \
  4987. (This)->lpVtbl -> resume(This)
  4988. #endif /* COBJMACROS */
  4989. #endif /* C style interface */
  4990. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_get_isAvailable_Proxy(
  4991. IWMPDVD __RPC_FAR * This,
  4992. /* [in] */ BSTR bstrItem,
  4993. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pIsAvailable);
  4994. void __RPC_STUB IWMPDVD_get_isAvailable_Stub(
  4995. IRpcStubBuffer *This,
  4996. IRpcChannelBuffer *_pRpcChannelBuffer,
  4997. PRPC_MESSAGE _pRpcMessage,
  4998. DWORD *_pdwStubPhase);
  4999. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_get_domain_Proxy(
  5000. IWMPDVD __RPC_FAR * This,
  5001. /* [retval][out] */ BSTR __RPC_FAR *strDomain);
  5002. void __RPC_STUB IWMPDVD_get_domain_Stub(
  5003. IRpcStubBuffer *This,
  5004. IRpcChannelBuffer *_pRpcChannelBuffer,
  5005. PRPC_MESSAGE _pRpcMessage,
  5006. DWORD *_pdwStubPhase);
  5007. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_topMenu_Proxy(
  5008. IWMPDVD __RPC_FAR * This);
  5009. void __RPC_STUB IWMPDVD_topMenu_Stub(
  5010. IRpcStubBuffer *This,
  5011. IRpcChannelBuffer *_pRpcChannelBuffer,
  5012. PRPC_MESSAGE _pRpcMessage,
  5013. DWORD *_pdwStubPhase);
  5014. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_titleMenu_Proxy(
  5015. IWMPDVD __RPC_FAR * This);
  5016. void __RPC_STUB IWMPDVD_titleMenu_Stub(
  5017. IRpcStubBuffer *This,
  5018. IRpcChannelBuffer *_pRpcChannelBuffer,
  5019. PRPC_MESSAGE _pRpcMessage,
  5020. DWORD *_pdwStubPhase);
  5021. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_back_Proxy(
  5022. IWMPDVD __RPC_FAR * This);
  5023. void __RPC_STUB IWMPDVD_back_Stub(
  5024. IRpcStubBuffer *This,
  5025. IRpcChannelBuffer *_pRpcChannelBuffer,
  5026. PRPC_MESSAGE _pRpcMessage,
  5027. DWORD *_pdwStubPhase);
  5028. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IWMPDVD_resume_Proxy(
  5029. IWMPDVD __RPC_FAR * This);
  5030. void __RPC_STUB IWMPDVD_resume_Stub(
  5031. IRpcStubBuffer *This,
  5032. IRpcChannelBuffer *_pRpcChannelBuffer,
  5033. PRPC_MESSAGE _pRpcMessage,
  5034. DWORD *_pdwStubPhase);
  5035. #endif /* __IWMPDVD_INTERFACE_DEFINED__ */
  5036. #ifndef __IWMPCore2_INTERFACE_DEFINED__
  5037. #define __IWMPCore2_INTERFACE_DEFINED__
  5038. /* interface IWMPCore2 */
  5039. /* [unique][helpstring][dual][uuid][object] */
  5040. EXTERN_C const IID IID_IWMPCore2;
  5041. #if defined(__cplusplus) && !defined(CINTERFACE)
  5042. MIDL_INTERFACE("BC17E5B7-7561-4c18-BB90-17D485775659")
  5043. IWMPCore2 : public IWMPCore
  5044. {
  5045. public:
  5046. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_dvd(
  5047. /* [retval][out] */ IWMPDVD __RPC_FAR *__RPC_FAR *ppDVD) = 0;
  5048. };
  5049. #else /* C style interface */
  5050. typedef struct IWMPCore2Vtbl
  5051. {
  5052. BEGIN_INTERFACE
  5053. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5054. IWMPCore2 __RPC_FAR * This,
  5055. /* [in] */ REFIID riid,
  5056. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5057. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5058. IWMPCore2 __RPC_FAR * This);
  5059. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5060. IWMPCore2 __RPC_FAR * This);
  5061. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  5062. IWMPCore2 __RPC_FAR * This,
  5063. /* [out] */ UINT __RPC_FAR *pctinfo);
  5064. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  5065. IWMPCore2 __RPC_FAR * This,
  5066. /* [in] */ UINT iTInfo,
  5067. /* [in] */ LCID lcid,
  5068. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  5069. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  5070. IWMPCore2 __RPC_FAR * This,
  5071. /* [in] */ REFIID riid,
  5072. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  5073. /* [in] */ UINT cNames,
  5074. /* [in] */ LCID lcid,
  5075. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  5076. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  5077. IWMPCore2 __RPC_FAR * This,
  5078. /* [in] */ DISPID dispIdMember,
  5079. /* [in] */ REFIID riid,
  5080. /* [in] */ LCID lcid,
  5081. /* [in] */ WORD wFlags,
  5082. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  5083. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  5084. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  5085. /* [out] */ UINT __RPC_FAR *puArgErr);
  5086. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *close )(
  5087. IWMPCore2 __RPC_FAR * This);
  5088. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_URL )(
  5089. IWMPCore2 __RPC_FAR * This,
  5090. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  5091. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_URL )(
  5092. IWMPCore2 __RPC_FAR * This,
  5093. /* [in] */ BSTR bstrURL);
  5094. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_openState )(
  5095. IWMPCore2 __RPC_FAR * This,
  5096. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  5097. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playState )(
  5098. IWMPCore2 __RPC_FAR * This,
  5099. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  5100. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_controls )(
  5101. IWMPCore2 __RPC_FAR * This,
  5102. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  5103. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_settings )(
  5104. IWMPCore2 __RPC_FAR * This,
  5105. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  5106. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMedia )(
  5107. IWMPCore2 __RPC_FAR * This,
  5108. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  5109. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMedia )(
  5110. IWMPCore2 __RPC_FAR * This,
  5111. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  5112. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mediaCollection )(
  5113. IWMPCore2 __RPC_FAR * This,
  5114. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  5115. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlistCollection )(
  5116. IWMPCore2 __RPC_FAR * This,
  5117. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  5118. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_versionInfo )(
  5119. IWMPCore2 __RPC_FAR * This,
  5120. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  5121. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *launchURL )(
  5122. IWMPCore2 __RPC_FAR * This,
  5123. BSTR bstrURL);
  5124. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_network )(
  5125. IWMPCore2 __RPC_FAR * This,
  5126. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  5127. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPlaylist )(
  5128. IWMPCore2 __RPC_FAR * This,
  5129. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  5130. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPlaylist )(
  5131. IWMPCore2 __RPC_FAR * This,
  5132. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  5133. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_cdromCollection )(
  5134. IWMPCore2 __RPC_FAR * This,
  5135. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  5136. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closedCaption )(
  5137. IWMPCore2 __RPC_FAR * This,
  5138. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  5139. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isOnline )(
  5140. IWMPCore2 __RPC_FAR * This,
  5141. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  5142. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  5143. IWMPCore2 __RPC_FAR * This,
  5144. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  5145. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_status )(
  5146. IWMPCore2 __RPC_FAR * This,
  5147. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  5148. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dvd )(
  5149. IWMPCore2 __RPC_FAR * This,
  5150. /* [retval][out] */ IWMPDVD __RPC_FAR *__RPC_FAR *ppDVD);
  5151. END_INTERFACE
  5152. } IWMPCore2Vtbl;
  5153. interface IWMPCore2
  5154. {
  5155. CONST_VTBL struct IWMPCore2Vtbl __RPC_FAR *lpVtbl;
  5156. };
  5157. #ifdef COBJMACROS
  5158. #define IWMPCore2_QueryInterface(This,riid,ppvObject) \
  5159. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5160. #define IWMPCore2_AddRef(This) \
  5161. (This)->lpVtbl -> AddRef(This)
  5162. #define IWMPCore2_Release(This) \
  5163. (This)->lpVtbl -> Release(This)
  5164. #define IWMPCore2_GetTypeInfoCount(This,pctinfo) \
  5165. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5166. #define IWMPCore2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5167. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5168. #define IWMPCore2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5169. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5170. #define IWMPCore2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5171. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5172. #define IWMPCore2_close(This) \
  5173. (This)->lpVtbl -> close(This)
  5174. #define IWMPCore2_get_URL(This,pbstrURL) \
  5175. (This)->lpVtbl -> get_URL(This,pbstrURL)
  5176. #define IWMPCore2_put_URL(This,bstrURL) \
  5177. (This)->lpVtbl -> put_URL(This,bstrURL)
  5178. #define IWMPCore2_get_openState(This,pwmpos) \
  5179. (This)->lpVtbl -> get_openState(This,pwmpos)
  5180. #define IWMPCore2_get_playState(This,pwmpps) \
  5181. (This)->lpVtbl -> get_playState(This,pwmpps)
  5182. #define IWMPCore2_get_controls(This,ppControl) \
  5183. (This)->lpVtbl -> get_controls(This,ppControl)
  5184. #define IWMPCore2_get_settings(This,ppSettings) \
  5185. (This)->lpVtbl -> get_settings(This,ppSettings)
  5186. #define IWMPCore2_get_currentMedia(This,ppMedia) \
  5187. (This)->lpVtbl -> get_currentMedia(This,ppMedia)
  5188. #define IWMPCore2_put_currentMedia(This,pMedia) \
  5189. (This)->lpVtbl -> put_currentMedia(This,pMedia)
  5190. #define IWMPCore2_get_mediaCollection(This,ppMediaCollection) \
  5191. (This)->lpVtbl -> get_mediaCollection(This,ppMediaCollection)
  5192. #define IWMPCore2_get_playlistCollection(This,ppPlaylistCollection) \
  5193. (This)->lpVtbl -> get_playlistCollection(This,ppPlaylistCollection)
  5194. #define IWMPCore2_get_versionInfo(This,pbstrVersionInfo) \
  5195. (This)->lpVtbl -> get_versionInfo(This,pbstrVersionInfo)
  5196. #define IWMPCore2_launchURL(This,bstrURL) \
  5197. (This)->lpVtbl -> launchURL(This,bstrURL)
  5198. #define IWMPCore2_get_network(This,ppQNI) \
  5199. (This)->lpVtbl -> get_network(This,ppQNI)
  5200. #define IWMPCore2_get_currentPlaylist(This,ppPL) \
  5201. (This)->lpVtbl -> get_currentPlaylist(This,ppPL)
  5202. #define IWMPCore2_put_currentPlaylist(This,pPL) \
  5203. (This)->lpVtbl -> put_currentPlaylist(This,pPL)
  5204. #define IWMPCore2_get_cdromCollection(This,ppCdromCollection) \
  5205. (This)->lpVtbl -> get_cdromCollection(This,ppCdromCollection)
  5206. #define IWMPCore2_get_closedCaption(This,ppClosedCaption) \
  5207. (This)->lpVtbl -> get_closedCaption(This,ppClosedCaption)
  5208. #define IWMPCore2_get_isOnline(This,pfOnline) \
  5209. (This)->lpVtbl -> get_isOnline(This,pfOnline)
  5210. #define IWMPCore2_get_error(This,ppError) \
  5211. (This)->lpVtbl -> get_error(This,ppError)
  5212. #define IWMPCore2_get_status(This,pbstrStatus) \
  5213. (This)->lpVtbl -> get_status(This,pbstrStatus)
  5214. #define IWMPCore2_get_dvd(This,ppDVD) \
  5215. (This)->lpVtbl -> get_dvd(This,ppDVD)
  5216. #endif /* COBJMACROS */
  5217. #endif /* C style interface */
  5218. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPCore2_get_dvd_Proxy(
  5219. IWMPCore2 __RPC_FAR * This,
  5220. /* [retval][out] */ IWMPDVD __RPC_FAR *__RPC_FAR *ppDVD);
  5221. void __RPC_STUB IWMPCore2_get_dvd_Stub(
  5222. IRpcStubBuffer *This,
  5223. IRpcChannelBuffer *_pRpcChannelBuffer,
  5224. PRPC_MESSAGE _pRpcMessage,
  5225. DWORD *_pdwStubPhase);
  5226. #endif /* __IWMPCore2_INTERFACE_DEFINED__ */
  5227. #ifndef __IWMPPlayer3_INTERFACE_DEFINED__
  5228. #define __IWMPPlayer3_INTERFACE_DEFINED__
  5229. /* interface IWMPPlayer3 */
  5230. /* [unique][helpstring][dual][uuid][object] */
  5231. EXTERN_C const IID IID_IWMPPlayer3;
  5232. #if defined(__cplusplus) && !defined(CINTERFACE)
  5233. MIDL_INTERFACE("54062B68-052A-4c25-A39F-8B63346511D4")
  5234. IWMPPlayer3 : public IWMPCore2
  5235. {
  5236. public:
  5237. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enabled(
  5238. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  5239. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enabled(
  5240. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  5241. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_fullScreen(
  5242. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen) = 0;
  5243. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_fullScreen(
  5244. VARIANT_BOOL bFullScreen) = 0;
  5245. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_enableContextMenu(
  5246. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu) = 0;
  5247. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_enableContextMenu(
  5248. VARIANT_BOOL bEnableContextMenu) = 0;
  5249. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_uiMode(
  5250. /* [in] */ BSTR bstrMode) = 0;
  5251. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_uiMode(
  5252. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode) = 0;
  5253. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_stretchToFit(
  5254. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  5255. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_stretchToFit(
  5256. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  5257. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE get_windowlessVideo(
  5258. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled) = 0;
  5259. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE put_windowlessVideo(
  5260. /* [in] */ VARIANT_BOOL bEnabled) = 0;
  5261. };
  5262. #else /* C style interface */
  5263. typedef struct IWMPPlayer3Vtbl
  5264. {
  5265. BEGIN_INTERFACE
  5266. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5267. IWMPPlayer3 __RPC_FAR * This,
  5268. /* [in] */ REFIID riid,
  5269. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5270. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5271. IWMPPlayer3 __RPC_FAR * This);
  5272. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5273. IWMPPlayer3 __RPC_FAR * This);
  5274. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  5275. IWMPPlayer3 __RPC_FAR * This,
  5276. /* [out] */ UINT __RPC_FAR *pctinfo);
  5277. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  5278. IWMPPlayer3 __RPC_FAR * This,
  5279. /* [in] */ UINT iTInfo,
  5280. /* [in] */ LCID lcid,
  5281. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  5282. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  5283. IWMPPlayer3 __RPC_FAR * This,
  5284. /* [in] */ REFIID riid,
  5285. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  5286. /* [in] */ UINT cNames,
  5287. /* [in] */ LCID lcid,
  5288. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  5289. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  5290. IWMPPlayer3 __RPC_FAR * This,
  5291. /* [in] */ DISPID dispIdMember,
  5292. /* [in] */ REFIID riid,
  5293. /* [in] */ LCID lcid,
  5294. /* [in] */ WORD wFlags,
  5295. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  5296. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  5297. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  5298. /* [out] */ UINT __RPC_FAR *puArgErr);
  5299. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *close )(
  5300. IWMPPlayer3 __RPC_FAR * This);
  5301. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_URL )(
  5302. IWMPPlayer3 __RPC_FAR * This,
  5303. /* [retval][out] */ BSTR __RPC_FAR *pbstrURL);
  5304. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_URL )(
  5305. IWMPPlayer3 __RPC_FAR * This,
  5306. /* [in] */ BSTR bstrURL);
  5307. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_openState )(
  5308. IWMPPlayer3 __RPC_FAR * This,
  5309. /* [retval][out] */ WMPOpenState __RPC_FAR *pwmpos);
  5310. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playState )(
  5311. IWMPPlayer3 __RPC_FAR * This,
  5312. /* [retval][out] */ WMPPlayState __RPC_FAR *pwmpps);
  5313. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_controls )(
  5314. IWMPPlayer3 __RPC_FAR * This,
  5315. /* [retval][out] */ IWMPControls __RPC_FAR *__RPC_FAR *ppControl);
  5316. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_settings )(
  5317. IWMPPlayer3 __RPC_FAR * This,
  5318. /* [retval][out] */ IWMPSettings __RPC_FAR *__RPC_FAR *ppSettings);
  5319. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentMedia )(
  5320. IWMPPlayer3 __RPC_FAR * This,
  5321. /* [retval][out] */ IWMPMedia __RPC_FAR *__RPC_FAR *ppMedia);
  5322. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentMedia )(
  5323. IWMPPlayer3 __RPC_FAR * This,
  5324. /* [in] */ IWMPMedia __RPC_FAR *pMedia);
  5325. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_mediaCollection )(
  5326. IWMPPlayer3 __RPC_FAR * This,
  5327. /* [retval][out] */ IWMPMediaCollection __RPC_FAR *__RPC_FAR *ppMediaCollection);
  5328. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_playlistCollection )(
  5329. IWMPPlayer3 __RPC_FAR * This,
  5330. /* [retval][out] */ IWMPPlaylistCollection __RPC_FAR *__RPC_FAR *ppPlaylistCollection);
  5331. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_versionInfo )(
  5332. IWMPPlayer3 __RPC_FAR * This,
  5333. /* [retval][out] */ BSTR __RPC_FAR *pbstrVersionInfo);
  5334. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *launchURL )(
  5335. IWMPPlayer3 __RPC_FAR * This,
  5336. BSTR bstrURL);
  5337. /* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_network )(
  5338. IWMPPlayer3 __RPC_FAR * This,
  5339. /* [retval][out] */ IWMPNetwork __RPC_FAR *__RPC_FAR *ppQNI);
  5340. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_currentPlaylist )(
  5341. IWMPPlayer3 __RPC_FAR * This,
  5342. /* [retval][out] */ IWMPPlaylist __RPC_FAR *__RPC_FAR *ppPL);
  5343. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_currentPlaylist )(
  5344. IWMPPlayer3 __RPC_FAR * This,
  5345. /* [in] */ IWMPPlaylist __RPC_FAR *pPL);
  5346. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_cdromCollection )(
  5347. IWMPPlayer3 __RPC_FAR * This,
  5348. /* [retval][out] */ IWMPCdromCollection __RPC_FAR *__RPC_FAR *ppCdromCollection);
  5349. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_closedCaption )(
  5350. IWMPPlayer3 __RPC_FAR * This,
  5351. /* [retval][out] */ IWMPClosedCaption __RPC_FAR *__RPC_FAR *ppClosedCaption);
  5352. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_isOnline )(
  5353. IWMPPlayer3 __RPC_FAR * This,
  5354. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfOnline);
  5355. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_error )(
  5356. IWMPPlayer3 __RPC_FAR * This,
  5357. /* [retval][out] */ IWMPError __RPC_FAR *__RPC_FAR *ppError);
  5358. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_status )(
  5359. IWMPPlayer3 __RPC_FAR * This,
  5360. /* [retval][out] */ BSTR __RPC_FAR *pbstrStatus);
  5361. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_dvd )(
  5362. IWMPPlayer3 __RPC_FAR * This,
  5363. /* [retval][out] */ IWMPDVD __RPC_FAR *__RPC_FAR *ppDVD);
  5364. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enabled )(
  5365. IWMPPlayer3 __RPC_FAR * This,
  5366. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5367. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enabled )(
  5368. IWMPPlayer3 __RPC_FAR * This,
  5369. /* [in] */ VARIANT_BOOL bEnabled);
  5370. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_fullScreen )(
  5371. IWMPPlayer3 __RPC_FAR * This,
  5372. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  5373. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_fullScreen )(
  5374. IWMPPlayer3 __RPC_FAR * This,
  5375. VARIANT_BOOL bFullScreen);
  5376. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_enableContextMenu )(
  5377. IWMPPlayer3 __RPC_FAR * This,
  5378. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  5379. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_enableContextMenu )(
  5380. IWMPPlayer3 __RPC_FAR * This,
  5381. VARIANT_BOOL bEnableContextMenu);
  5382. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_uiMode )(
  5383. IWMPPlayer3 __RPC_FAR * This,
  5384. /* [in] */ BSTR bstrMode);
  5385. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_uiMode )(
  5386. IWMPPlayer3 __RPC_FAR * This,
  5387. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  5388. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_stretchToFit )(
  5389. IWMPPlayer3 __RPC_FAR * This,
  5390. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5391. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_stretchToFit )(
  5392. IWMPPlayer3 __RPC_FAR * This,
  5393. /* [in] */ VARIANT_BOOL bEnabled);
  5394. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_windowlessVideo )(
  5395. IWMPPlayer3 __RPC_FAR * This,
  5396. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5397. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_windowlessVideo )(
  5398. IWMPPlayer3 __RPC_FAR * This,
  5399. /* [in] */ VARIANT_BOOL bEnabled);
  5400. END_INTERFACE
  5401. } IWMPPlayer3Vtbl;
  5402. interface IWMPPlayer3
  5403. {
  5404. CONST_VTBL struct IWMPPlayer3Vtbl __RPC_FAR *lpVtbl;
  5405. };
  5406. #ifdef COBJMACROS
  5407. #define IWMPPlayer3_QueryInterface(This,riid,ppvObject) \
  5408. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5409. #define IWMPPlayer3_AddRef(This) \
  5410. (This)->lpVtbl -> AddRef(This)
  5411. #define IWMPPlayer3_Release(This) \
  5412. (This)->lpVtbl -> Release(This)
  5413. #define IWMPPlayer3_GetTypeInfoCount(This,pctinfo) \
  5414. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5415. #define IWMPPlayer3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5416. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5417. #define IWMPPlayer3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5418. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5419. #define IWMPPlayer3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5420. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5421. #define IWMPPlayer3_close(This) \
  5422. (This)->lpVtbl -> close(This)
  5423. #define IWMPPlayer3_get_URL(This,pbstrURL) \
  5424. (This)->lpVtbl -> get_URL(This,pbstrURL)
  5425. #define IWMPPlayer3_put_URL(This,bstrURL) \
  5426. (This)->lpVtbl -> put_URL(This,bstrURL)
  5427. #define IWMPPlayer3_get_openState(This,pwmpos) \
  5428. (This)->lpVtbl -> get_openState(This,pwmpos)
  5429. #define IWMPPlayer3_get_playState(This,pwmpps) \
  5430. (This)->lpVtbl -> get_playState(This,pwmpps)
  5431. #define IWMPPlayer3_get_controls(This,ppControl) \
  5432. (This)->lpVtbl -> get_controls(This,ppControl)
  5433. #define IWMPPlayer3_get_settings(This,ppSettings) \
  5434. (This)->lpVtbl -> get_settings(This,ppSettings)
  5435. #define IWMPPlayer3_get_currentMedia(This,ppMedia) \
  5436. (This)->lpVtbl -> get_currentMedia(This,ppMedia)
  5437. #define IWMPPlayer3_put_currentMedia(This,pMedia) \
  5438. (This)->lpVtbl -> put_currentMedia(This,pMedia)
  5439. #define IWMPPlayer3_get_mediaCollection(This,ppMediaCollection) \
  5440. (This)->lpVtbl -> get_mediaCollection(This,ppMediaCollection)
  5441. #define IWMPPlayer3_get_playlistCollection(This,ppPlaylistCollection) \
  5442. (This)->lpVtbl -> get_playlistCollection(This,ppPlaylistCollection)
  5443. #define IWMPPlayer3_get_versionInfo(This,pbstrVersionInfo) \
  5444. (This)->lpVtbl -> get_versionInfo(This,pbstrVersionInfo)
  5445. #define IWMPPlayer3_launchURL(This,bstrURL) \
  5446. (This)->lpVtbl -> launchURL(This,bstrURL)
  5447. #define IWMPPlayer3_get_network(This,ppQNI) \
  5448. (This)->lpVtbl -> get_network(This,ppQNI)
  5449. #define IWMPPlayer3_get_currentPlaylist(This,ppPL) \
  5450. (This)->lpVtbl -> get_currentPlaylist(This,ppPL)
  5451. #define IWMPPlayer3_put_currentPlaylist(This,pPL) \
  5452. (This)->lpVtbl -> put_currentPlaylist(This,pPL)
  5453. #define IWMPPlayer3_get_cdromCollection(This,ppCdromCollection) \
  5454. (This)->lpVtbl -> get_cdromCollection(This,ppCdromCollection)
  5455. #define IWMPPlayer3_get_closedCaption(This,ppClosedCaption) \
  5456. (This)->lpVtbl -> get_closedCaption(This,ppClosedCaption)
  5457. #define IWMPPlayer3_get_isOnline(This,pfOnline) \
  5458. (This)->lpVtbl -> get_isOnline(This,pfOnline)
  5459. #define IWMPPlayer3_get_error(This,ppError) \
  5460. (This)->lpVtbl -> get_error(This,ppError)
  5461. #define IWMPPlayer3_get_status(This,pbstrStatus) \
  5462. (This)->lpVtbl -> get_status(This,pbstrStatus)
  5463. #define IWMPPlayer3_get_dvd(This,ppDVD) \
  5464. (This)->lpVtbl -> get_dvd(This,ppDVD)
  5465. #define IWMPPlayer3_get_enabled(This,pbEnabled) \
  5466. (This)->lpVtbl -> get_enabled(This,pbEnabled)
  5467. #define IWMPPlayer3_put_enabled(This,bEnabled) \
  5468. (This)->lpVtbl -> put_enabled(This,bEnabled)
  5469. #define IWMPPlayer3_get_fullScreen(This,pbFullScreen) \
  5470. (This)->lpVtbl -> get_fullScreen(This,pbFullScreen)
  5471. #define IWMPPlayer3_put_fullScreen(This,bFullScreen) \
  5472. (This)->lpVtbl -> put_fullScreen(This,bFullScreen)
  5473. #define IWMPPlayer3_get_enableContextMenu(This,pbEnableContextMenu) \
  5474. (This)->lpVtbl -> get_enableContextMenu(This,pbEnableContextMenu)
  5475. #define IWMPPlayer3_put_enableContextMenu(This,bEnableContextMenu) \
  5476. (This)->lpVtbl -> put_enableContextMenu(This,bEnableContextMenu)
  5477. #define IWMPPlayer3_put_uiMode(This,bstrMode) \
  5478. (This)->lpVtbl -> put_uiMode(This,bstrMode)
  5479. #define IWMPPlayer3_get_uiMode(This,pbstrMode) \
  5480. (This)->lpVtbl -> get_uiMode(This,pbstrMode)
  5481. #define IWMPPlayer3_get_stretchToFit(This,pbEnabled) \
  5482. (This)->lpVtbl -> get_stretchToFit(This,pbEnabled)
  5483. #define IWMPPlayer3_put_stretchToFit(This,bEnabled) \
  5484. (This)->lpVtbl -> put_stretchToFit(This,bEnabled)
  5485. #define IWMPPlayer3_get_windowlessVideo(This,pbEnabled) \
  5486. (This)->lpVtbl -> get_windowlessVideo(This,pbEnabled)
  5487. #define IWMPPlayer3_put_windowlessVideo(This,bEnabled) \
  5488. (This)->lpVtbl -> put_windowlessVideo(This,bEnabled)
  5489. #endif /* COBJMACROS */
  5490. #endif /* C style interface */
  5491. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_enabled_Proxy(
  5492. IWMPPlayer3 __RPC_FAR * This,
  5493. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5494. void __RPC_STUB IWMPPlayer3_get_enabled_Stub(
  5495. IRpcStubBuffer *This,
  5496. IRpcChannelBuffer *_pRpcChannelBuffer,
  5497. PRPC_MESSAGE _pRpcMessage,
  5498. DWORD *_pdwStubPhase);
  5499. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_enabled_Proxy(
  5500. IWMPPlayer3 __RPC_FAR * This,
  5501. /* [in] */ VARIANT_BOOL bEnabled);
  5502. void __RPC_STUB IWMPPlayer3_put_enabled_Stub(
  5503. IRpcStubBuffer *This,
  5504. IRpcChannelBuffer *_pRpcChannelBuffer,
  5505. PRPC_MESSAGE _pRpcMessage,
  5506. DWORD *_pdwStubPhase);
  5507. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_fullScreen_Proxy(
  5508. IWMPPlayer3 __RPC_FAR * This,
  5509. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbFullScreen);
  5510. void __RPC_STUB IWMPPlayer3_get_fullScreen_Stub(
  5511. IRpcStubBuffer *This,
  5512. IRpcChannelBuffer *_pRpcChannelBuffer,
  5513. PRPC_MESSAGE _pRpcMessage,
  5514. DWORD *_pdwStubPhase);
  5515. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_fullScreen_Proxy(
  5516. IWMPPlayer3 __RPC_FAR * This,
  5517. VARIANT_BOOL bFullScreen);
  5518. void __RPC_STUB IWMPPlayer3_put_fullScreen_Stub(
  5519. IRpcStubBuffer *This,
  5520. IRpcChannelBuffer *_pRpcChannelBuffer,
  5521. PRPC_MESSAGE _pRpcMessage,
  5522. DWORD *_pdwStubPhase);
  5523. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_enableContextMenu_Proxy(
  5524. IWMPPlayer3 __RPC_FAR * This,
  5525. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnableContextMenu);
  5526. void __RPC_STUB IWMPPlayer3_get_enableContextMenu_Stub(
  5527. IRpcStubBuffer *This,
  5528. IRpcChannelBuffer *_pRpcChannelBuffer,
  5529. PRPC_MESSAGE _pRpcMessage,
  5530. DWORD *_pdwStubPhase);
  5531. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_enableContextMenu_Proxy(
  5532. IWMPPlayer3 __RPC_FAR * This,
  5533. VARIANT_BOOL bEnableContextMenu);
  5534. void __RPC_STUB IWMPPlayer3_put_enableContextMenu_Stub(
  5535. IRpcStubBuffer *This,
  5536. IRpcChannelBuffer *_pRpcChannelBuffer,
  5537. PRPC_MESSAGE _pRpcMessage,
  5538. DWORD *_pdwStubPhase);
  5539. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_uiMode_Proxy(
  5540. IWMPPlayer3 __RPC_FAR * This,
  5541. /* [in] */ BSTR bstrMode);
  5542. void __RPC_STUB IWMPPlayer3_put_uiMode_Stub(
  5543. IRpcStubBuffer *This,
  5544. IRpcChannelBuffer *_pRpcChannelBuffer,
  5545. PRPC_MESSAGE _pRpcMessage,
  5546. DWORD *_pdwStubPhase);
  5547. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_uiMode_Proxy(
  5548. IWMPPlayer3 __RPC_FAR * This,
  5549. /* [retval][out] */ BSTR __RPC_FAR *pbstrMode);
  5550. void __RPC_STUB IWMPPlayer3_get_uiMode_Stub(
  5551. IRpcStubBuffer *This,
  5552. IRpcChannelBuffer *_pRpcChannelBuffer,
  5553. PRPC_MESSAGE _pRpcMessage,
  5554. DWORD *_pdwStubPhase);
  5555. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_stretchToFit_Proxy(
  5556. IWMPPlayer3 __RPC_FAR * This,
  5557. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5558. void __RPC_STUB IWMPPlayer3_get_stretchToFit_Stub(
  5559. IRpcStubBuffer *This,
  5560. IRpcChannelBuffer *_pRpcChannelBuffer,
  5561. PRPC_MESSAGE _pRpcMessage,
  5562. DWORD *_pdwStubPhase);
  5563. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_stretchToFit_Proxy(
  5564. IWMPPlayer3 __RPC_FAR * This,
  5565. /* [in] */ VARIANT_BOOL bEnabled);
  5566. void __RPC_STUB IWMPPlayer3_put_stretchToFit_Stub(
  5567. IRpcStubBuffer *This,
  5568. IRpcChannelBuffer *_pRpcChannelBuffer,
  5569. PRPC_MESSAGE _pRpcMessage,
  5570. DWORD *_pdwStubPhase);
  5571. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_get_windowlessVideo_Proxy(
  5572. IWMPPlayer3 __RPC_FAR * This,
  5573. /* [retval][out] */ VARIANT_BOOL __RPC_FAR *pbEnabled);
  5574. void __RPC_STUB IWMPPlayer3_get_windowlessVideo_Stub(
  5575. IRpcStubBuffer *This,
  5576. IRpcChannelBuffer *_pRpcChannelBuffer,
  5577. PRPC_MESSAGE _pRpcMessage,
  5578. DWORD *_pdwStubPhase);
  5579. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE IWMPPlayer3_put_windowlessVideo_Proxy(
  5580. IWMPPlayer3 __RPC_FAR * This,
  5581. /* [in] */ VARIANT_BOOL bEnabled);
  5582. void __RPC_STUB IWMPPlayer3_put_windowlessVideo_Stub(
  5583. IRpcStubBuffer *This,
  5584. IRpcChannelBuffer *_pRpcChannelBuffer,
  5585. PRPC_MESSAGE _pRpcMessage,
  5586. DWORD *_pdwStubPhase);
  5587. #endif /* __IWMPPlayer3_INTERFACE_DEFINED__ */
  5588. #ifndef __WMPOCX_LIBRARY_DEFINED__
  5589. #define __WMPOCX_LIBRARY_DEFINED__
  5590. /* library WMPOCX */
  5591. /* [helpstring][version][uuid] */
  5592. EXTERN_C const IID LIBID_WMPOCX;
  5593. #ifndef ___WMPOCXEvents_DISPINTERFACE_DEFINED__
  5594. #define ___WMPOCXEvents_DISPINTERFACE_DEFINED__
  5595. /* dispinterface _WMPOCXEvents */
  5596. /* [hidden][helpstring][uuid] */
  5597. EXTERN_C const IID DIID__WMPOCXEvents;
  5598. #if defined(__cplusplus) && !defined(CINTERFACE)
  5599. MIDL_INTERFACE("6BF52A51-394A-11d3-B153-00C04F79FAA6")
  5600. _WMPOCXEvents : public IDispatch
  5601. {
  5602. };
  5603. #else /* C style interface */
  5604. typedef struct _WMPOCXEventsVtbl
  5605. {
  5606. BEGIN_INTERFACE
  5607. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  5608. _WMPOCXEvents __RPC_FAR * This,
  5609. /* [in] */ REFIID riid,
  5610. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  5611. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  5612. _WMPOCXEvents __RPC_FAR * This);
  5613. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  5614. _WMPOCXEvents __RPC_FAR * This);
  5615. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  5616. _WMPOCXEvents __RPC_FAR * This,
  5617. /* [out] */ UINT __RPC_FAR *pctinfo);
  5618. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  5619. _WMPOCXEvents __RPC_FAR * This,
  5620. /* [in] */ UINT iTInfo,
  5621. /* [in] */ LCID lcid,
  5622. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  5623. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  5624. _WMPOCXEvents __RPC_FAR * This,
  5625. /* [in] */ REFIID riid,
  5626. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  5627. /* [in] */ UINT cNames,
  5628. /* [in] */ LCID lcid,
  5629. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  5630. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  5631. _WMPOCXEvents __RPC_FAR * This,
  5632. /* [in] */ DISPID dispIdMember,
  5633. /* [in] */ REFIID riid,
  5634. /* [in] */ LCID lcid,
  5635. /* [in] */ WORD wFlags,
  5636. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  5637. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  5638. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  5639. /* [out] */ UINT __RPC_FAR *puArgErr);
  5640. END_INTERFACE
  5641. } _WMPOCXEventsVtbl;
  5642. interface _WMPOCXEvents
  5643. {
  5644. CONST_VTBL struct _WMPOCXEventsVtbl __RPC_FAR *lpVtbl;
  5645. };
  5646. #ifdef COBJMACROS
  5647. #define _WMPOCXEvents_QueryInterface(This,riid,ppvObject) \
  5648. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  5649. #define _WMPOCXEvents_AddRef(This) \
  5650. (This)->lpVtbl -> AddRef(This)
  5651. #define _WMPOCXEvents_Release(This) \
  5652. (This)->lpVtbl -> Release(This)
  5653. #define _WMPOCXEvents_GetTypeInfoCount(This,pctinfo) \
  5654. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  5655. #define _WMPOCXEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  5656. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  5657. #define _WMPOCXEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  5658. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  5659. #define _WMPOCXEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  5660. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  5661. #endif /* COBJMACROS */
  5662. #endif /* C style interface */
  5663. #endif /* ___WMPOCXEvents_DISPINTERFACE_DEFINED__ */
  5664. EXTERN_C const CLSID CLSID_WMPOCX;
  5665. #ifdef __cplusplus
  5666. class DECLSPEC_UUID("6BF52A52-394A-11d3-B153-00C04F79FAA6")
  5667. WMPOCX;
  5668. #endif
  5669. #endif /* __WMPOCX_LIBRARY_DEFINED__ */
  5670. /* Additional Prototypes for ALL interfaces */
  5671. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  5672. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5673. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  5674. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  5675. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  5676. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  5677. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  5678. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  5679. /* end of Additional Prototypes */
  5680. #ifdef __cplusplus
  5681. }
  5682. #endif
  5683. #endif