home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / qnetwork.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  18KB  |  551 lines

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