Counter Strike : Global Offensive Source Code
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.

555 lines
17 KiB

  1. //------------------------------------------------------------------------------
  2. // File: qnetwork.h
  3. //
  4. // Desc: This header file machine-generated by mktyplib.exe.
  5. // Interface to type library: QuartzNetTypeLib
  6. //
  7. // Copyright (c) 1997-2001, Microsoft Corporation. All rights reserved.
  8. //------------------------------------------------------------------------------
  9. #ifndef _QuartzNetTypeLib_H_
  10. #define _QuartzNetTypeLib_H_
  11. DEFINE_GUID(LIBID_QuartzNetTypeLib,0x56A868B1L,0x0AD4,0x11CE,0xB0,0x3A,0x00,0x20,0xAF,0x0B,0xA7,0x70);
  12. #ifndef BEGIN_INTERFACE
  13. #define BEGIN_INTERFACE
  14. #endif
  15. DEFINE_GUID(IID_IAMNetShowConfig,0xFA2AA8F1L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  16. /* Definition of interface: IAMNetShowConfig */
  17. #undef INTERFACE
  18. #define INTERFACE IAMNetShowConfig
  19. DECLARE_INTERFACE_(IAMNetShowConfig, IDispatch)
  20. {
  21. BEGIN_INTERFACE
  22. #ifndef NO_BASEINTERFACE_FUNCS
  23. /* IUnknown methods */
  24. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  25. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  26. STDMETHOD_(ULONG, Release)(THIS) PURE;
  27. /* IDispatch methods */
  28. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  29. STDMETHOD(GetTypeInfo)(
  30. THIS_
  31. UINT itinfo,
  32. LCID lcid,
  33. ITypeInfo FAR* FAR* pptinfo) PURE;
  34. STDMETHOD(GetIDsOfNames)(
  35. THIS_
  36. REFIID riid,
  37. OLECHAR FAR* FAR* rgszNames,
  38. UINT cNames,
  39. LCID lcid,
  40. DISPID FAR* rgdispid) PURE;
  41. STDMETHOD(Invoke)(
  42. THIS_
  43. DISPID dispidMember,
  44. REFIID riid,
  45. LCID lcid,
  46. WORD wFlags,
  47. DISPPARAMS FAR* pdispparams,
  48. VARIANT FAR* pvarResult,
  49. EXCEPINFO FAR* pexcepinfo,
  50. UINT FAR* puArgErr) PURE;
  51. #endif
  52. /* IAMNetShowConfig methods */
  53. STDMETHOD(get_BufferingTime)(THIS_ double FAR* pBufferingTime) PURE;
  54. STDMETHOD(put_BufferingTime)(THIS_ double BufferingTime) PURE;
  55. STDMETHOD(get_UseFixedUDPPort)(THIS_ VARIANT_BOOL FAR* pUseFixedUDPPort) PURE;
  56. STDMETHOD(put_UseFixedUDPPort)(THIS_ VARIANT_BOOL UseFixedUDPPort) PURE;
  57. STDMETHOD(get_FixedUDPPort)(THIS_ long FAR* pFixedUDPPort) PURE;
  58. STDMETHOD(put_FixedUDPPort)(THIS_ long FixedUDPPort) PURE;
  59. STDMETHOD(get_UseHTTPProxy)(THIS_ VARIANT_BOOL FAR* pUseHTTPProxy) PURE;
  60. STDMETHOD(put_UseHTTPProxy)(THIS_ VARIANT_BOOL UseHTTPProxy) PURE;
  61. STDMETHOD(get_EnableAutoProxy)(THIS_ VARIANT_BOOL FAR* pEnableAutoProxy) PURE;
  62. STDMETHOD(put_EnableAutoProxy)(THIS_ VARIANT_BOOL EnableAutoProxy) PURE;
  63. STDMETHOD(get_HTTPProxyHost)(THIS_ BSTR FAR* pbstrHTTPProxyHost) PURE;
  64. STDMETHOD(put_HTTPProxyHost)(THIS_ BSTR bstrHTTPProxyHost) PURE;
  65. STDMETHOD(get_HTTPProxyPort)(THIS_ long FAR* pHTTPProxyPort) PURE;
  66. STDMETHOD(put_HTTPProxyPort)(THIS_ long HTTPProxyPort) PURE;
  67. STDMETHOD(get_EnableMulticast)(THIS_ VARIANT_BOOL FAR* pEnableMulticast) PURE;
  68. STDMETHOD(put_EnableMulticast)(THIS_ VARIANT_BOOL EnableMulticast) PURE;
  69. STDMETHOD(get_EnableUDP)(THIS_ VARIANT_BOOL FAR* pEnableUDP) PURE;
  70. STDMETHOD(put_EnableUDP)(THIS_ VARIANT_BOOL EnableUDP) PURE;
  71. STDMETHOD(get_EnableTCP)(THIS_ VARIANT_BOOL FAR* pEnableTCP) PURE;
  72. STDMETHOD(put_EnableTCP)(THIS_ VARIANT_BOOL EnableTCP) PURE;
  73. STDMETHOD(get_EnableHTTP)(THIS_ VARIANT_BOOL FAR* pEnableHTTP) PURE;
  74. STDMETHOD(put_EnableHTTP)(THIS_ VARIANT_BOOL EnableHTTP) PURE;
  75. };
  76. DEFINE_GUID(IID_IAMChannelInfo,0xFA2AA8F2L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  77. /* Definition of interface: IAMChannelInfo */
  78. #undef INTERFACE
  79. #define INTERFACE IAMChannelInfo
  80. DECLARE_INTERFACE_(IAMChannelInfo, IDispatch)
  81. {
  82. BEGIN_INTERFACE
  83. #ifndef NO_BASEINTERFACE_FUNCS
  84. /* IUnknown methods */
  85. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  86. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  87. STDMETHOD_(ULONG, Release)(THIS) PURE;
  88. /* IDispatch methods */
  89. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  90. STDMETHOD(GetTypeInfo)(
  91. THIS_
  92. UINT itinfo,
  93. LCID lcid,
  94. ITypeInfo FAR* FAR* pptinfo) PURE;
  95. STDMETHOD(GetIDsOfNames)(
  96. THIS_
  97. REFIID riid,
  98. OLECHAR FAR* FAR* rgszNames,
  99. UINT cNames,
  100. LCID lcid,
  101. DISPID FAR* rgdispid) PURE;
  102. STDMETHOD(Invoke)(
  103. THIS_
  104. DISPID dispidMember,
  105. REFIID riid,
  106. LCID lcid,
  107. WORD wFlags,
  108. DISPPARAMS FAR* pdispparams,
  109. VARIANT FAR* pvarResult,
  110. EXCEPINFO FAR* pexcepinfo,
  111. UINT FAR* puArgErr) PURE;
  112. #endif
  113. /* IAMChannelInfo methods */
  114. STDMETHOD(get_ChannelName)(THIS_ BSTR FAR* pbstrChannelName) PURE;
  115. STDMETHOD(get_ChannelDescription)(THIS_ BSTR FAR* pbstrChannelDescription) PURE;
  116. STDMETHOD(get_ChannelURL)(THIS_ BSTR FAR* pbstrChannelURL) PURE;
  117. STDMETHOD(get_ContactAddress)(THIS_ BSTR FAR* pbstrContactAddress) PURE;
  118. STDMETHOD(get_ContactPhone)(THIS_ BSTR FAR* pbstrContactPhone) PURE;
  119. STDMETHOD(get_ContactEmail)(THIS_ BSTR FAR* pbstrContactEmail) PURE;
  120. };
  121. DEFINE_GUID(IID_IAMNetworkStatus,0xFA2AA8F3L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  122. /* Definition of interface: IAMNetworkStatus */
  123. #undef INTERFACE
  124. #define INTERFACE IAMNetworkStatus
  125. DECLARE_INTERFACE_(IAMNetworkStatus, IDispatch)
  126. {
  127. BEGIN_INTERFACE
  128. #ifndef NO_BASEINTERFACE_FUNCS
  129. /* IUnknown methods */
  130. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  131. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  132. STDMETHOD_(ULONG, Release)(THIS) PURE;
  133. /* IDispatch methods */
  134. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  135. STDMETHOD(GetTypeInfo)(
  136. THIS_
  137. UINT itinfo,
  138. LCID lcid,
  139. ITypeInfo FAR* FAR* pptinfo) PURE;
  140. STDMETHOD(GetIDsOfNames)(
  141. THIS_
  142. REFIID riid,
  143. OLECHAR FAR* FAR* rgszNames,
  144. UINT cNames,
  145. LCID lcid,
  146. DISPID FAR* rgdispid) PURE;
  147. STDMETHOD(Invoke)(
  148. THIS_
  149. DISPID dispidMember,
  150. REFIID riid,
  151. LCID lcid,
  152. WORD wFlags,
  153. DISPPARAMS FAR* pdispparams,
  154. VARIANT FAR* pvarResult,
  155. EXCEPINFO FAR* pexcepinfo,
  156. UINT FAR* puArgErr) PURE;
  157. #endif
  158. /* IAMNetworkStatus methods */
  159. STDMETHOD(get_ReceivedPackets)(THIS_ long FAR* pReceivedPackets) PURE;
  160. STDMETHOD(get_RecoveredPackets)(THIS_ long FAR* pRecoveredPackets) PURE;
  161. STDMETHOD(get_LostPackets)(THIS_ long FAR* pLostPackets) PURE;
  162. STDMETHOD(get_ReceptionQuality)(THIS_ long FAR* pReceptionQuality) PURE;
  163. STDMETHOD(get_BufferingCount)(THIS_ long FAR* pBufferingCount) PURE;
  164. STDMETHOD(get_IsBroadcast)(THIS_ VARIANT_BOOL FAR* pIsBroadcast) PURE;
  165. STDMETHOD(get_BufferingProgress)(THIS_ long FAR* pBufferingProgress) PURE;
  166. };
  167. typedef enum {
  168. AM_EXSEEK_CANSEEK = 1,
  169. AM_EXSEEK_CANSCAN = 2,
  170. AM_EXSEEK_MARKERSEEK = 4,
  171. AM_EXSEEK_SCANWITHOUTCLOCK = 8,
  172. AM_EXSEEK_NOSTANDARDREPAINT = 16,
  173. AM_EXSEEK_BUFFERING = 32,
  174. AM_EXSEEK_SENDS_VIDEOFRAMEREADY = 64
  175. } AMExtendedSeekingCapabilities;
  176. DEFINE_GUID(IID_IAMExtendedSeeking,0xFA2AA8F9L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  177. /* Definition of interface: IAMExtendedSeeking */
  178. #undef INTERFACE
  179. #define INTERFACE IAMExtendedSeeking
  180. DECLARE_INTERFACE_(IAMExtendedSeeking, IDispatch)
  181. {
  182. BEGIN_INTERFACE
  183. #ifndef NO_BASEINTERFACE_FUNCS
  184. /* IUnknown methods */
  185. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  186. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  187. STDMETHOD_(ULONG, Release)(THIS) PURE;
  188. /* IDispatch methods */
  189. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  190. STDMETHOD(GetTypeInfo)(
  191. THIS_
  192. UINT itinfo,
  193. LCID lcid,
  194. ITypeInfo FAR* FAR* pptinfo) PURE;
  195. STDMETHOD(GetIDsOfNames)(
  196. THIS_
  197. REFIID riid,
  198. OLECHAR FAR* FAR* rgszNames,
  199. UINT cNames,
  200. LCID lcid,
  201. DISPID FAR* rgdispid) PURE;
  202. STDMETHOD(Invoke)(
  203. THIS_
  204. DISPID dispidMember,
  205. REFIID riid,
  206. LCID lcid,
  207. WORD wFlags,
  208. DISPPARAMS FAR* pdispparams,
  209. VARIANT FAR* pvarResult,
  210. EXCEPINFO FAR* pexcepinfo,
  211. UINT FAR* puArgErr) PURE;
  212. #endif
  213. /* IAMExtendedSeeking methods */
  214. STDMETHOD(get_ExSeekCapabilities)(THIS_ long FAR* pExCapabilities) PURE;
  215. STDMETHOD(get_MarkerCount)(THIS_ long FAR* pMarkerCount) PURE;
  216. STDMETHOD(get_CurrentMarker)(THIS_ long FAR* pCurrentMarker) PURE;
  217. STDMETHOD(GetMarkerTime)(THIS_ long MarkerNum, double FAR* pMarkerTime) PURE;
  218. STDMETHOD(GetMarkerName)(THIS_ long MarkerNum, BSTR FAR* pbstrMarkerName) PURE;
  219. STDMETHOD(put_PlaybackSpeed)(THIS_ double Speed) PURE;
  220. STDMETHOD(get_PlaybackSpeed)(THIS_ double FAR* pSpeed) PURE;
  221. };
  222. DEFINE_GUID(IID_IAMNetShowExProps,0xFA2AA8F5L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  223. /* Definition of interface: IAMNetShowExProps */
  224. #undef INTERFACE
  225. #define INTERFACE IAMNetShowExProps
  226. DECLARE_INTERFACE_(IAMNetShowExProps, IDispatch)
  227. {
  228. BEGIN_INTERFACE
  229. #ifndef NO_BASEINTERFACE_FUNCS
  230. /* IUnknown methods */
  231. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  232. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  233. STDMETHOD_(ULONG, Release)(THIS) PURE;
  234. /* IDispatch methods */
  235. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  236. STDMETHOD(GetTypeInfo)(
  237. THIS_
  238. UINT itinfo,
  239. LCID lcid,
  240. ITypeInfo FAR* FAR* pptinfo) PURE;
  241. STDMETHOD(GetIDsOfNames)(
  242. THIS_
  243. REFIID riid,
  244. OLECHAR FAR* FAR* rgszNames,
  245. UINT cNames,
  246. LCID lcid,
  247. DISPID FAR* rgdispid) PURE;
  248. STDMETHOD(Invoke)(
  249. THIS_
  250. DISPID dispidMember,
  251. REFIID riid,
  252. LCID lcid,
  253. WORD wFlags,
  254. DISPPARAMS FAR* pdispparams,
  255. VARIANT FAR* pvarResult,
  256. EXCEPINFO FAR* pexcepinfo,
  257. UINT FAR* puArgErr) PURE;
  258. #endif
  259. /* IAMNetShowExProps methods */
  260. STDMETHOD(get_SourceProtocol)(THIS_ long FAR* pSourceProtocol) PURE;
  261. STDMETHOD(get_Bandwidth)(THIS_ long FAR* pBandwidth) PURE;
  262. STDMETHOD(get_ErrorCorrection)(THIS_ BSTR FAR* pbstrErrorCorrection) PURE;
  263. STDMETHOD(get_CodecCount)(THIS_ long FAR* pCodecCount) PURE;
  264. STDMETHOD(GetCodecInstalled)(THIS_ long CodecNum, VARIANT_BOOL FAR* pCodecInstalled) PURE;
  265. STDMETHOD(GetCodecDescription)(THIS_ long CodecNum, BSTR FAR* pbstrCodecDescription) PURE;
  266. STDMETHOD(GetCodecURL)(THIS_ long CodecNum, BSTR FAR* pbstrCodecURL) PURE;
  267. STDMETHOD(get_CreationDate)(THIS_ DATE FAR* pCreationDate) PURE;
  268. STDMETHOD(get_SourceLink)(THIS_ BSTR FAR* pbstrSourceLink) PURE;
  269. };
  270. DEFINE_GUID(IID_IAMExtendedErrorInfo,0xFA2AA8F6L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  271. /* Definition of interface: IAMExtendedErrorInfo */
  272. #undef INTERFACE
  273. #define INTERFACE IAMExtendedErrorInfo
  274. DECLARE_INTERFACE_(IAMExtendedErrorInfo, IDispatch)
  275. {
  276. BEGIN_INTERFACE
  277. #ifndef NO_BASEINTERFACE_FUNCS
  278. /* IUnknown methods */
  279. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  280. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  281. STDMETHOD_(ULONG, Release)(THIS) PURE;
  282. /* IDispatch methods */
  283. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  284. STDMETHOD(GetTypeInfo)(
  285. THIS_
  286. UINT itinfo,
  287. LCID lcid,
  288. ITypeInfo FAR* FAR* pptinfo) PURE;
  289. STDMETHOD(GetIDsOfNames)(
  290. THIS_
  291. REFIID riid,
  292. OLECHAR FAR* FAR* rgszNames,
  293. UINT cNames,
  294. LCID lcid,
  295. DISPID FAR* rgdispid) PURE;
  296. STDMETHOD(Invoke)(
  297. THIS_
  298. DISPID dispidMember,
  299. REFIID riid,
  300. LCID lcid,
  301. WORD wFlags,
  302. DISPPARAMS FAR* pdispparams,
  303. VARIANT FAR* pvarResult,
  304. EXCEPINFO FAR* pexcepinfo,
  305. UINT FAR* puArgErr) PURE;
  306. #endif
  307. /* IAMExtendedErrorInfo methods */
  308. STDMETHOD(get_HasError)(THIS_ VARIANT_BOOL FAR* pHasError) PURE;
  309. STDMETHOD(get_ErrorDescription)(THIS_ BSTR FAR* pbstrErrorDescription) PURE;
  310. STDMETHOD(get_ErrorCode)(THIS_ long FAR* pErrorCode) PURE;
  311. };
  312. DEFINE_GUID(IID_IAMMediaContent,0xFA2AA8F4L,0x8B62,0x11D0,0xA5,0x20,0x00,0x00,0x00,0x00,0x00,0x00);
  313. /* Definition of interface: IAMMediaContent */
  314. #undef INTERFACE
  315. #define INTERFACE IAMMediaContent
  316. DECLARE_INTERFACE_(IAMMediaContent, IDispatch)
  317. {
  318. BEGIN_INTERFACE
  319. #ifndef NO_BASEINTERFACE_FUNCS
  320. /* IUnknown methods */
  321. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  322. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  323. STDMETHOD_(ULONG, Release)(THIS) PURE;
  324. /* IDispatch methods */
  325. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  326. STDMETHOD(GetTypeInfo)(
  327. THIS_
  328. UINT itinfo,
  329. LCID lcid,
  330. ITypeInfo FAR* FAR* pptinfo) PURE;
  331. STDMETHOD(GetIDsOfNames)(
  332. THIS_
  333. REFIID riid,
  334. OLECHAR FAR* FAR* rgszNames,
  335. UINT cNames,
  336. LCID lcid,
  337. DISPID FAR* rgdispid) PURE;
  338. STDMETHOD(Invoke)(
  339. THIS_
  340. DISPID dispidMember,
  341. REFIID riid,
  342. LCID lcid,
  343. WORD wFlags,
  344. DISPPARAMS FAR* pdispparams,
  345. VARIANT FAR* pvarResult,
  346. EXCEPINFO FAR* pexcepinfo,
  347. UINT FAR* puArgErr) PURE;
  348. #endif
  349. /* IAMMediaContent methods */
  350. STDMETHOD(get_AuthorName)(THIS_ BSTR FAR* pbstrAuthorName) PURE;
  351. STDMETHOD(get_Title)(THIS_ BSTR FAR* pbstrTitle) PURE;
  352. STDMETHOD(get_Rating)(THIS_ BSTR FAR* pbstrRating) PURE;
  353. STDMETHOD(get_Description)(THIS_ BSTR FAR* pbstrDescription) PURE;
  354. STDMETHOD(get_Copyright)(THIS_ BSTR FAR* pbstrCopyright) PURE;
  355. STDMETHOD(get_BaseURL)(THIS_ BSTR FAR* pbstrBaseURL) PURE;
  356. STDMETHOD(get_LogoURL)(THIS_ BSTR FAR* pbstrLogoURL) PURE;
  357. STDMETHOD(get_LogoIconURL)(THIS_ BSTR FAR* pbstrLogoURL) PURE;
  358. STDMETHOD(get_WatermarkURL)(THIS_ BSTR FAR* pbstrWatermarkURL) PURE;
  359. STDMETHOD(get_MoreInfoURL)(THIS_ BSTR FAR* pbstrMoreInfoURL) PURE;
  360. STDMETHOD(get_MoreInfoBannerImage)(THIS_ BSTR FAR* pbstrMoreInfoBannerImage) PURE;
  361. STDMETHOD(get_MoreInfoBannerURL)(THIS_ BSTR FAR* pbstrMoreInfoBannerURL) PURE;
  362. STDMETHOD(get_MoreInfoText)(THIS_ BSTR FAR* pbstrMoreInfoText) PURE;
  363. };
  364. DEFINE_GUID(IID_IAMMediaContent2,0xCE8F78C1L,0x74D9,0x11D2,0xB0,0x9D,0x00,0xA0,0xC9,0xA8,0x11,0x17);
  365. /* Definition of interface: IAMMediaContent2 */
  366. #undef INTERFACE
  367. #define INTERFACE IAMMediaContent2
  368. DECLARE_INTERFACE_(IAMMediaContent2, IDispatch)
  369. {
  370. BEGIN_INTERFACE
  371. #ifndef NO_BASEINTERFACE_FUNCS
  372. /* IUnknown methods */
  373. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  374. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  375. STDMETHOD_(ULONG, Release)(THIS) PURE;
  376. /* IDispatch methods */
  377. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  378. STDMETHOD(GetTypeInfo)(
  379. THIS_
  380. UINT itinfo,
  381. LCID lcid,
  382. ITypeInfo FAR* FAR* pptinfo) PURE;
  383. STDMETHOD(GetIDsOfNames)(
  384. THIS_
  385. REFIID riid,
  386. OLECHAR FAR* FAR* rgszNames,
  387. UINT cNames,
  388. LCID lcid,
  389. DISPID FAR* rgdispid) PURE;
  390. STDMETHOD(Invoke)(
  391. THIS_
  392. DISPID dispidMember,
  393. REFIID riid,
  394. LCID lcid,
  395. WORD wFlags,
  396. DISPPARAMS FAR* pdispparams,
  397. VARIANT FAR* pvarResult,
  398. EXCEPINFO FAR* pexcepinfo,
  399. UINT FAR* puArgErr) PURE;
  400. #endif
  401. /* IAMMediaContent2 methods */
  402. STDMETHOD(get_MediaParameter)(THIS_ long EntryNum, BSTR bstrName, BSTR FAR* pbstrValue) PURE;
  403. STDMETHOD(get_MediaParameterName)(THIS_ long EntryNum, long Index, BSTR FAR* pbstrName) PURE;
  404. STDMETHOD(get_PlaylistCount)(THIS_ long FAR* pNumberEntries) PURE;
  405. };
  406. DEFINE_GUID(IID_IAMNetShowPreroll,0xAAE7E4E2L,0x6388,0x11D1,0x8D,0x93,0x00,0x60,0x97,0xC9,0xA2,0xB2);
  407. /* Definition of interface: IAMNetShowPreroll */
  408. #undef INTERFACE
  409. #define INTERFACE IAMNetShowPreroll
  410. DECLARE_INTERFACE_(IAMNetShowPreroll, IDispatch)
  411. {
  412. BEGIN_INTERFACE
  413. #ifndef NO_BASEINTERFACE_FUNCS
  414. /* IUnknown methods */
  415. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  416. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  417. STDMETHOD_(ULONG, Release)(THIS) PURE;
  418. /* IDispatch methods */
  419. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  420. STDMETHOD(GetTypeInfo)(
  421. THIS_
  422. UINT itinfo,
  423. LCID lcid,
  424. ITypeInfo FAR* FAR* pptinfo) PURE;
  425. STDMETHOD(GetIDsOfNames)(
  426. THIS_
  427. REFIID riid,
  428. OLECHAR FAR* FAR* rgszNames,
  429. UINT cNames,
  430. LCID lcid,
  431. DISPID FAR* rgdispid) PURE;
  432. STDMETHOD(Invoke)(
  433. THIS_
  434. DISPID dispidMember,
  435. REFIID riid,
  436. LCID lcid,
  437. WORD wFlags,
  438. DISPPARAMS FAR* pdispparams,
  439. VARIANT FAR* pvarResult,
  440. EXCEPINFO FAR* pexcepinfo,
  441. UINT FAR* puArgErr) PURE;
  442. #endif
  443. /* IAMNetShowPreroll methods */
  444. STDMETHOD(put_Preroll)(THIS_ VARIANT_BOOL fPreroll) PURE;
  445. STDMETHOD(get_Preroll)(THIS_ VARIANT_BOOL FAR* pfPreroll) PURE;
  446. };
  447. DEFINE_GUID(IID_IDShowPlugin,0x4746B7C8L,0x700E,0x11D1,0xBE,0xCC,0x00,0xC0,0x4F,0xB6,0xE9,0x37);
  448. /* Definition of interface: IDShowPlugin */
  449. #undef INTERFACE
  450. #define INTERFACE IDShowPlugin
  451. DECLARE_INTERFACE_(IDShowPlugin, IUnknown)
  452. {
  453. BEGIN_INTERFACE
  454. #ifndef NO_BASEINTERFACE_FUNCS
  455. /* IUnknown methods */
  456. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  457. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  458. STDMETHOD_(ULONG, Release)(THIS) PURE;
  459. #endif
  460. /* IDShowPlugin methods */
  461. STDMETHOD(get_URL)(THIS_ BSTR FAR* pURL) PURE;
  462. STDMETHOD(get_UserAgent)(THIS_ BSTR FAR* pUserAgent) PURE;
  463. };
  464. #endif