home *** CD-ROM | disk | FTP | other *** search
/ Beginning Direct3D Game Programming / Direct3D.iso / directx / dxf / include / qnetwork.h < prev    next >
C/C++ Source or Header  |  2000-09-21  |  18KB  |  549 lines

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