playlist.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:26k
源码类别:

模拟服务器

开发平台:

C/C++

  1. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3.  /* File created by MIDL compiler version 5.03.0286 */
  4. /* Compiler settings for playlist.idl:
  5.     Oicf (OptLev=i2), W1, Zp8, env=Win32 (32b run), ms_ext, c_ext, robust
  6.     error checks: allocation ref bounds_check enum stub_data 
  7.     VC __declspec() decoration level: 
  8.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9.          DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  13. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  14. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  15. #endif
  16. #include "rpc.h"
  17. #include "rpcndr.h"
  18. #ifndef __RPCNDR_H_VERSION__
  19. #error this stub requires an updated version of <rpcndr.h>
  20. #endif // __RPCNDR_H_VERSION__
  21. #ifndef COM_NO_WINDOWS_H
  22. #include "windows.h"
  23. #include "ole2.h"
  24. #endif /*COM_NO_WINDOWS_H*/
  25. #ifndef __playlist_h__
  26. #define __playlist_h__
  27. /* Forward Declarations */ 
  28. #ifndef __IAMPlayListItem_FWD_DEFINED__
  29. #define __IAMPlayListItem_FWD_DEFINED__
  30. typedef interface IAMPlayListItem IAMPlayListItem;
  31. #endif  /* __IAMPlayListItem_FWD_DEFINED__ */
  32. #ifndef __IAMPlayList_FWD_DEFINED__
  33. #define __IAMPlayList_FWD_DEFINED__
  34. typedef interface IAMPlayList IAMPlayList;
  35. #endif  /* __IAMPlayList_FWD_DEFINED__ */
  36. #ifndef __ISpecifyParticularPages_FWD_DEFINED__
  37. #define __ISpecifyParticularPages_FWD_DEFINED__
  38. typedef interface ISpecifyParticularPages ISpecifyParticularPages;
  39. #endif  /* __ISpecifyParticularPages_FWD_DEFINED__ */
  40. #ifndef __IAMRebuild_FWD_DEFINED__
  41. #define __IAMRebuild_FWD_DEFINED__
  42. typedef interface IAMRebuild IAMRebuild;
  43. #endif  /* __IAMRebuild_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "unknwn.h"
  46. #include "strmif.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif 
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52. /* interface __MIDL_itf_playlist_0000 */
  53. /* [local] */ 
  54. enum AMPlayListItemFlags
  55.     { AMPLAYLISTITEM_CANSKIP = 0x1,
  56. AMPLAYLISTITEM_CANBIND = 0x2
  57.     };
  58. extern RPC_IF_HANDLE __MIDL_itf_playlist_0000_v0_0_c_ifspec;
  59. extern RPC_IF_HANDLE __MIDL_itf_playlist_0000_v0_0_s_ifspec;
  60. #ifndef __IAMPlayListItem_INTERFACE_DEFINED__
  61. #define __IAMPlayListItem_INTERFACE_DEFINED__
  62. /* interface IAMPlayListItem */
  63. /* [unique][uuid][object] */ 
  64. EXTERN_C const IID IID_IAMPlayListItem;
  65. #if defined(__cplusplus) && !defined(CINTERFACE)
  66.     
  67.     MIDL_INTERFACE("56a868ff-0ad4-11ce-b03a-0020af0ba770")
  68.     IAMPlayListItem : public IUnknown
  69.     {
  70.     public:
  71.         virtual HRESULT STDMETHODCALLTYPE GetFlags( 
  72.             /* [out] */ DWORD __RPC_FAR *pdwFlags) = 0;
  73.         
  74.         virtual HRESULT STDMETHODCALLTYPE GetSourceCount( 
  75.             /* [out] */ DWORD __RPC_FAR *pdwSources) = 0;
  76.         
  77.         virtual HRESULT STDMETHODCALLTYPE GetSourceURL( 
  78.             /* [in] */ DWORD dwSourceIndex,
  79.             /* [out] */ BSTR __RPC_FAR *pbstrURL) = 0;
  80.         
  81.         virtual HRESULT STDMETHODCALLTYPE GetSourceStart( 
  82.             /* [in] */ DWORD dwSourceIndex,
  83.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtStart) = 0;
  84.         
  85.         virtual HRESULT STDMETHODCALLTYPE GetSourceDuration( 
  86.             /* [in] */ DWORD dwSourceIndex,
  87.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtDuration) = 0;
  88.         
  89.         virtual HRESULT STDMETHODCALLTYPE GetSourceStartMarker( 
  90.             /* [in] */ DWORD dwSourceIndex,
  91.             /* [out] */ DWORD __RPC_FAR *pdwMarker) = 0;
  92.         
  93.         virtual HRESULT STDMETHODCALLTYPE GetSourceEndMarker( 
  94.             /* [in] */ DWORD dwSourceIndex,
  95.             /* [out] */ DWORD __RPC_FAR *pdwMarker) = 0;
  96.         
  97.         virtual HRESULT STDMETHODCALLTYPE GetSourceStartMarkerName( 
  98.             /* [in] */ DWORD dwSourceIndex,
  99.             /* [out] */ BSTR __RPC_FAR *pbstrStartMarker) = 0;
  100.         
  101.         virtual HRESULT STDMETHODCALLTYPE GetSourceEndMarkerName( 
  102.             /* [in] */ DWORD dwSourceIndex,
  103.             /* [out] */ BSTR __RPC_FAR *pbstrEndMarker) = 0;
  104.         
  105.         virtual HRESULT STDMETHODCALLTYPE GetLinkURL( 
  106.             /* [out] */ BSTR __RPC_FAR *pbstrURL) = 0;
  107.         
  108.         virtual HRESULT STDMETHODCALLTYPE GetScanDuration( 
  109.             /* [in] */ DWORD dwSourceIndex,
  110.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtScanDuration) = 0;
  111.         
  112.     };
  113.     
  114. #else  /* C style interface */
  115.     typedef struct IAMPlayListItemVtbl
  116.     {
  117.         BEGIN_INTERFACE
  118.         
  119.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  120.             IAMPlayListItem __RPC_FAR * This,
  121.             /* [in] */ REFIID riid,
  122.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  123.         
  124.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  125.             IAMPlayListItem __RPC_FAR * This);
  126.         
  127.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  128.             IAMPlayListItem __RPC_FAR * This);
  129.         
  130.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFlags )( 
  131.             IAMPlayListItem __RPC_FAR * This,
  132.             /* [out] */ DWORD __RPC_FAR *pdwFlags);
  133.         
  134.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceCount )( 
  135.             IAMPlayListItem __RPC_FAR * This,
  136.             /* [out] */ DWORD __RPC_FAR *pdwSources);
  137.         
  138.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceURL )( 
  139.             IAMPlayListItem __RPC_FAR * This,
  140.             /* [in] */ DWORD dwSourceIndex,
  141.             /* [out] */ BSTR __RPC_FAR *pbstrURL);
  142.         
  143.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceStart )( 
  144.             IAMPlayListItem __RPC_FAR * This,
  145.             /* [in] */ DWORD dwSourceIndex,
  146.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtStart);
  147.         
  148.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceDuration )( 
  149.             IAMPlayListItem __RPC_FAR * This,
  150.             /* [in] */ DWORD dwSourceIndex,
  151.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtDuration);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceStartMarker )( 
  154.             IAMPlayListItem __RPC_FAR * This,
  155.             /* [in] */ DWORD dwSourceIndex,
  156.             /* [out] */ DWORD __RPC_FAR *pdwMarker);
  157.         
  158.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceEndMarker )( 
  159.             IAMPlayListItem __RPC_FAR * This,
  160.             /* [in] */ DWORD dwSourceIndex,
  161.             /* [out] */ DWORD __RPC_FAR *pdwMarker);
  162.         
  163.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceStartMarkerName )( 
  164.             IAMPlayListItem __RPC_FAR * This,
  165.             /* [in] */ DWORD dwSourceIndex,
  166.             /* [out] */ BSTR __RPC_FAR *pbstrStartMarker);
  167.         
  168.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSourceEndMarkerName )( 
  169.             IAMPlayListItem __RPC_FAR * This,
  170.             /* [in] */ DWORD dwSourceIndex,
  171.             /* [out] */ BSTR __RPC_FAR *pbstrEndMarker);
  172.         
  173.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLinkURL )( 
  174.             IAMPlayListItem __RPC_FAR * This,
  175.             /* [out] */ BSTR __RPC_FAR *pbstrURL);
  176.         
  177.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetScanDuration )( 
  178.             IAMPlayListItem __RPC_FAR * This,
  179.             /* [in] */ DWORD dwSourceIndex,
  180.             /* [out] */ REFERENCE_TIME __RPC_FAR *prtScanDuration);
  181.         
  182.         END_INTERFACE
  183.     } IAMPlayListItemVtbl;
  184.     interface IAMPlayListItem
  185.     {
  186.         CONST_VTBL struct IAMPlayListItemVtbl __RPC_FAR *lpVtbl;
  187.     };
  188.     
  189. #ifdef COBJMACROS
  190. #define IAMPlayListItem_QueryInterface(This,riid,ppvObject)
  191.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  192. #define IAMPlayListItem_AddRef(This)
  193.     (This)->lpVtbl -> AddRef(This)
  194. #define IAMPlayListItem_Release(This)
  195.     (This)->lpVtbl -> Release(This)
  196. #define IAMPlayListItem_GetFlags(This,pdwFlags)
  197.     (This)->lpVtbl -> GetFlags(This,pdwFlags)
  198. #define IAMPlayListItem_GetSourceCount(This,pdwSources)
  199.     (This)->lpVtbl -> GetSourceCount(This,pdwSources)
  200. #define IAMPlayListItem_GetSourceURL(This,dwSourceIndex,pbstrURL)
  201.     (This)->lpVtbl -> GetSourceURL(This,dwSourceIndex,pbstrURL)
  202. #define IAMPlayListItem_GetSourceStart(This,dwSourceIndex,prtStart)
  203.     (This)->lpVtbl -> GetSourceStart(This,dwSourceIndex,prtStart)
  204. #define IAMPlayListItem_GetSourceDuration(This,dwSourceIndex,prtDuration)
  205.     (This)->lpVtbl -> GetSourceDuration(This,dwSourceIndex,prtDuration)
  206. #define IAMPlayListItem_GetSourceStartMarker(This,dwSourceIndex,pdwMarker)
  207.     (This)->lpVtbl -> GetSourceStartMarker(This,dwSourceIndex,pdwMarker)
  208. #define IAMPlayListItem_GetSourceEndMarker(This,dwSourceIndex,pdwMarker)
  209.     (This)->lpVtbl -> GetSourceEndMarker(This,dwSourceIndex,pdwMarker)
  210. #define IAMPlayListItem_GetSourceStartMarkerName(This,dwSourceIndex,pbstrStartMarker)
  211.     (This)->lpVtbl -> GetSourceStartMarkerName(This,dwSourceIndex,pbstrStartMarker)
  212. #define IAMPlayListItem_GetSourceEndMarkerName(This,dwSourceIndex,pbstrEndMarker)
  213.     (This)->lpVtbl -> GetSourceEndMarkerName(This,dwSourceIndex,pbstrEndMarker)
  214. #define IAMPlayListItem_GetLinkURL(This,pbstrURL)
  215.     (This)->lpVtbl -> GetLinkURL(This,pbstrURL)
  216. #define IAMPlayListItem_GetScanDuration(This,dwSourceIndex,prtScanDuration)
  217.     (This)->lpVtbl -> GetScanDuration(This,dwSourceIndex,prtScanDuration)
  218. #endif /* COBJMACROS */
  219. #endif  /* C style interface */
  220. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetFlags_Proxy( 
  221.     IAMPlayListItem __RPC_FAR * This,
  222.     /* [out] */ DWORD __RPC_FAR *pdwFlags);
  223. void __RPC_STUB IAMPlayListItem_GetFlags_Stub(
  224.     IRpcStubBuffer *This,
  225.     IRpcChannelBuffer *_pRpcChannelBuffer,
  226.     PRPC_MESSAGE _pRpcMessage,
  227.     DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceCount_Proxy( 
  229.     IAMPlayListItem __RPC_FAR * This,
  230.     /* [out] */ DWORD __RPC_FAR *pdwSources);
  231. void __RPC_STUB IAMPlayListItem_GetSourceCount_Stub(
  232.     IRpcStubBuffer *This,
  233.     IRpcChannelBuffer *_pRpcChannelBuffer,
  234.     PRPC_MESSAGE _pRpcMessage,
  235.     DWORD *_pdwStubPhase);
  236. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceURL_Proxy( 
  237.     IAMPlayListItem __RPC_FAR * This,
  238.     /* [in] */ DWORD dwSourceIndex,
  239.     /* [out] */ BSTR __RPC_FAR *pbstrURL);
  240. void __RPC_STUB IAMPlayListItem_GetSourceURL_Stub(
  241.     IRpcStubBuffer *This,
  242.     IRpcChannelBuffer *_pRpcChannelBuffer,
  243.     PRPC_MESSAGE _pRpcMessage,
  244.     DWORD *_pdwStubPhase);
  245. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceStart_Proxy( 
  246.     IAMPlayListItem __RPC_FAR * This,
  247.     /* [in] */ DWORD dwSourceIndex,
  248.     /* [out] */ REFERENCE_TIME __RPC_FAR *prtStart);
  249. void __RPC_STUB IAMPlayListItem_GetSourceStart_Stub(
  250.     IRpcStubBuffer *This,
  251.     IRpcChannelBuffer *_pRpcChannelBuffer,
  252.     PRPC_MESSAGE _pRpcMessage,
  253.     DWORD *_pdwStubPhase);
  254. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceDuration_Proxy( 
  255.     IAMPlayListItem __RPC_FAR * This,
  256.     /* [in] */ DWORD dwSourceIndex,
  257.     /* [out] */ REFERENCE_TIME __RPC_FAR *prtDuration);
  258. void __RPC_STUB IAMPlayListItem_GetSourceDuration_Stub(
  259.     IRpcStubBuffer *This,
  260.     IRpcChannelBuffer *_pRpcChannelBuffer,
  261.     PRPC_MESSAGE _pRpcMessage,
  262.     DWORD *_pdwStubPhase);
  263. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceStartMarker_Proxy( 
  264.     IAMPlayListItem __RPC_FAR * This,
  265.     /* [in] */ DWORD dwSourceIndex,
  266.     /* [out] */ DWORD __RPC_FAR *pdwMarker);
  267. void __RPC_STUB IAMPlayListItem_GetSourceStartMarker_Stub(
  268.     IRpcStubBuffer *This,
  269.     IRpcChannelBuffer *_pRpcChannelBuffer,
  270.     PRPC_MESSAGE _pRpcMessage,
  271.     DWORD *_pdwStubPhase);
  272. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceEndMarker_Proxy( 
  273.     IAMPlayListItem __RPC_FAR * This,
  274.     /* [in] */ DWORD dwSourceIndex,
  275.     /* [out] */ DWORD __RPC_FAR *pdwMarker);
  276. void __RPC_STUB IAMPlayListItem_GetSourceEndMarker_Stub(
  277.     IRpcStubBuffer *This,
  278.     IRpcChannelBuffer *_pRpcChannelBuffer,
  279.     PRPC_MESSAGE _pRpcMessage,
  280.     DWORD *_pdwStubPhase);
  281. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceStartMarkerName_Proxy( 
  282.     IAMPlayListItem __RPC_FAR * This,
  283.     /* [in] */ DWORD dwSourceIndex,
  284.     /* [out] */ BSTR __RPC_FAR *pbstrStartMarker);
  285. void __RPC_STUB IAMPlayListItem_GetSourceStartMarkerName_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetSourceEndMarkerName_Proxy( 
  291.     IAMPlayListItem __RPC_FAR * This,
  292.     /* [in] */ DWORD dwSourceIndex,
  293.     /* [out] */ BSTR __RPC_FAR *pbstrEndMarker);
  294. void __RPC_STUB IAMPlayListItem_GetSourceEndMarkerName_Stub(
  295.     IRpcStubBuffer *This,
  296.     IRpcChannelBuffer *_pRpcChannelBuffer,
  297.     PRPC_MESSAGE _pRpcMessage,
  298.     DWORD *_pdwStubPhase);
  299. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetLinkURL_Proxy( 
  300.     IAMPlayListItem __RPC_FAR * This,
  301.     /* [out] */ BSTR __RPC_FAR *pbstrURL);
  302. void __RPC_STUB IAMPlayListItem_GetLinkURL_Stub(
  303.     IRpcStubBuffer *This,
  304.     IRpcChannelBuffer *_pRpcChannelBuffer,
  305.     PRPC_MESSAGE _pRpcMessage,
  306.     DWORD *_pdwStubPhase);
  307. HRESULT STDMETHODCALLTYPE IAMPlayListItem_GetScanDuration_Proxy( 
  308.     IAMPlayListItem __RPC_FAR * This,
  309.     /* [in] */ DWORD dwSourceIndex,
  310.     /* [out] */ REFERENCE_TIME __RPC_FAR *prtScanDuration);
  311. void __RPC_STUB IAMPlayListItem_GetScanDuration_Stub(
  312.     IRpcStubBuffer *This,
  313.     IRpcChannelBuffer *_pRpcChannelBuffer,
  314.     PRPC_MESSAGE _pRpcMessage,
  315.     DWORD *_pdwStubPhase);
  316. #endif  /* __IAMPlayListItem_INTERFACE_DEFINED__ */
  317. /* interface __MIDL_itf_playlist_0348 */
  318. /* [local] */ 
  319. enum AMPlayListFlags
  320.     { AMPLAYLIST_STARTINSCANMODE = 0x1,
  321. AMPLAYLIST_FORCEBANNER = 0x2
  322.     };
  323. enum AMPlayListEventFlags
  324.     { AMPLAYLISTEVENT_RESUME = 0,
  325. AMPLAYLISTEVENT_BREAK = 0x1,
  326. AMPLAYLISTEVENT_NEXT = 0x2,
  327. AMPLAYLISTEVENT_MASK = 0xf,
  328. AMPLAYLISTEVENT_REFRESH = 0x10
  329.     };
  330. extern RPC_IF_HANDLE __MIDL_itf_playlist_0348_v0_0_c_ifspec;
  331. extern RPC_IF_HANDLE __MIDL_itf_playlist_0348_v0_0_s_ifspec;
  332. #ifndef __IAMPlayList_INTERFACE_DEFINED__
  333. #define __IAMPlayList_INTERFACE_DEFINED__
  334. /* interface IAMPlayList */
  335. /* [unique][uuid][object] */ 
  336. EXTERN_C const IID IID_IAMPlayList;
  337. #if defined(__cplusplus) && !defined(CINTERFACE)
  338.     
  339.     MIDL_INTERFACE("56a868fe-0ad4-11ce-b03a-0020af0ba770")
  340.     IAMPlayList : public IUnknown
  341.     {
  342.     public:
  343.         virtual HRESULT STDMETHODCALLTYPE GetFlags( 
  344.             /* [out] */ DWORD __RPC_FAR *pdwFlags) = 0;
  345.         
  346.         virtual HRESULT STDMETHODCALLTYPE GetItemCount( 
  347.             /* [out] */ DWORD __RPC_FAR *pdwItems) = 0;
  348.         
  349.         virtual HRESULT STDMETHODCALLTYPE GetItem( 
  350.             /* [in] */ DWORD dwItemIndex,
  351.             /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem) = 0;
  352.         
  353.         virtual HRESULT STDMETHODCALLTYPE GetNamedEvent( 
  354.             /* [in] */ WCHAR __RPC_FAR *pwszEventName,
  355.             /* [in] */ DWORD dwItemIndex,
  356.             /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem,
  357.             /* [out] */ DWORD __RPC_FAR *pdwFlags) = 0;
  358.         
  359.         virtual HRESULT STDMETHODCALLTYPE GetRepeatInfo( 
  360.             /* [out] */ DWORD __RPC_FAR *pdwRepeatCount,
  361.             /* [out] */ DWORD __RPC_FAR *pdwRepeatStart,
  362.             /* [out] */ DWORD __RPC_FAR *pdwRepeatEnd) = 0;
  363.         
  364.     };
  365.     
  366. #else  /* C style interface */
  367.     typedef struct IAMPlayListVtbl
  368.     {
  369.         BEGIN_INTERFACE
  370.         
  371.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  372.             IAMPlayList __RPC_FAR * This,
  373.             /* [in] */ REFIID riid,
  374.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  375.         
  376.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  377.             IAMPlayList __RPC_FAR * This);
  378.         
  379.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  380.             IAMPlayList __RPC_FAR * This);
  381.         
  382.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFlags )( 
  383.             IAMPlayList __RPC_FAR * This,
  384.             /* [out] */ DWORD __RPC_FAR *pdwFlags);
  385.         
  386.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItemCount )( 
  387.             IAMPlayList __RPC_FAR * This,
  388.             /* [out] */ DWORD __RPC_FAR *pdwItems);
  389.         
  390.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItem )( 
  391.             IAMPlayList __RPC_FAR * This,
  392.             /* [in] */ DWORD dwItemIndex,
  393.             /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem);
  394.         
  395.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNamedEvent )( 
  396.             IAMPlayList __RPC_FAR * This,
  397.             /* [in] */ WCHAR __RPC_FAR *pwszEventName,
  398.             /* [in] */ DWORD dwItemIndex,
  399.             /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem,
  400.             /* [out] */ DWORD __RPC_FAR *pdwFlags);
  401.         
  402.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRepeatInfo )( 
  403.             IAMPlayList __RPC_FAR * This,
  404.             /* [out] */ DWORD __RPC_FAR *pdwRepeatCount,
  405.             /* [out] */ DWORD __RPC_FAR *pdwRepeatStart,
  406.             /* [out] */ DWORD __RPC_FAR *pdwRepeatEnd);
  407.         
  408.         END_INTERFACE
  409.     } IAMPlayListVtbl;
  410.     interface IAMPlayList
  411.     {
  412.         CONST_VTBL struct IAMPlayListVtbl __RPC_FAR *lpVtbl;
  413.     };
  414.     
  415. #ifdef COBJMACROS
  416. #define IAMPlayList_QueryInterface(This,riid,ppvObject)
  417.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  418. #define IAMPlayList_AddRef(This)
  419.     (This)->lpVtbl -> AddRef(This)
  420. #define IAMPlayList_Release(This)
  421.     (This)->lpVtbl -> Release(This)
  422. #define IAMPlayList_GetFlags(This,pdwFlags)
  423.     (This)->lpVtbl -> GetFlags(This,pdwFlags)
  424. #define IAMPlayList_GetItemCount(This,pdwItems)
  425.     (This)->lpVtbl -> GetItemCount(This,pdwItems)
  426. #define IAMPlayList_GetItem(This,dwItemIndex,ppItem)
  427.     (This)->lpVtbl -> GetItem(This,dwItemIndex,ppItem)
  428. #define IAMPlayList_GetNamedEvent(This,pwszEventName,dwItemIndex,ppItem,pdwFlags)
  429.     (This)->lpVtbl -> GetNamedEvent(This,pwszEventName,dwItemIndex,ppItem,pdwFlags)
  430. #define IAMPlayList_GetRepeatInfo(This,pdwRepeatCount,pdwRepeatStart,pdwRepeatEnd)
  431.     (This)->lpVtbl -> GetRepeatInfo(This,pdwRepeatCount,pdwRepeatStart,pdwRepeatEnd)
  432. #endif /* COBJMACROS */
  433. #endif  /* C style interface */
  434. HRESULT STDMETHODCALLTYPE IAMPlayList_GetFlags_Proxy( 
  435.     IAMPlayList __RPC_FAR * This,
  436.     /* [out] */ DWORD __RPC_FAR *pdwFlags);
  437. void __RPC_STUB IAMPlayList_GetFlags_Stub(
  438.     IRpcStubBuffer *This,
  439.     IRpcChannelBuffer *_pRpcChannelBuffer,
  440.     PRPC_MESSAGE _pRpcMessage,
  441.     DWORD *_pdwStubPhase);
  442. HRESULT STDMETHODCALLTYPE IAMPlayList_GetItemCount_Proxy( 
  443.     IAMPlayList __RPC_FAR * This,
  444.     /* [out] */ DWORD __RPC_FAR *pdwItems);
  445. void __RPC_STUB IAMPlayList_GetItemCount_Stub(
  446.     IRpcStubBuffer *This,
  447.     IRpcChannelBuffer *_pRpcChannelBuffer,
  448.     PRPC_MESSAGE _pRpcMessage,
  449.     DWORD *_pdwStubPhase);
  450. HRESULT STDMETHODCALLTYPE IAMPlayList_GetItem_Proxy( 
  451.     IAMPlayList __RPC_FAR * This,
  452.     /* [in] */ DWORD dwItemIndex,
  453.     /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem);
  454. void __RPC_STUB IAMPlayList_GetItem_Stub(
  455.     IRpcStubBuffer *This,
  456.     IRpcChannelBuffer *_pRpcChannelBuffer,
  457.     PRPC_MESSAGE _pRpcMessage,
  458.     DWORD *_pdwStubPhase);
  459. HRESULT STDMETHODCALLTYPE IAMPlayList_GetNamedEvent_Proxy( 
  460.     IAMPlayList __RPC_FAR * This,
  461.     /* [in] */ WCHAR __RPC_FAR *pwszEventName,
  462.     /* [in] */ DWORD dwItemIndex,
  463.     /* [out] */ IAMPlayListItem __RPC_FAR *__RPC_FAR *ppItem,
  464.     /* [out] */ DWORD __RPC_FAR *pdwFlags);
  465. void __RPC_STUB IAMPlayList_GetNamedEvent_Stub(
  466.     IRpcStubBuffer *This,
  467.     IRpcChannelBuffer *_pRpcChannelBuffer,
  468.     PRPC_MESSAGE _pRpcMessage,
  469.     DWORD *_pdwStubPhase);
  470. HRESULT STDMETHODCALLTYPE IAMPlayList_GetRepeatInfo_Proxy( 
  471.     IAMPlayList __RPC_FAR * This,
  472.     /* [out] */ DWORD __RPC_FAR *pdwRepeatCount,
  473.     /* [out] */ DWORD __RPC_FAR *pdwRepeatStart,
  474.     /* [out] */ DWORD __RPC_FAR *pdwRepeatEnd);
  475. void __RPC_STUB IAMPlayList_GetRepeatInfo_Stub(
  476.     IRpcStubBuffer *This,
  477.     IRpcChannelBuffer *_pRpcChannelBuffer,
  478.     PRPC_MESSAGE _pRpcMessage,
  479.     DWORD *_pdwStubPhase);
  480. #endif  /* __IAMPlayList_INTERFACE_DEFINED__ */
  481. #ifndef __ISpecifyParticularPages_INTERFACE_DEFINED__
  482. #define __ISpecifyParticularPages_INTERFACE_DEFINED__
  483. /* interface ISpecifyParticularPages */
  484. /* [object][helpstring][uuid] */ 
  485. EXTERN_C const IID IID_ISpecifyParticularPages;
  486. #if defined(__cplusplus) && !defined(CINTERFACE)
  487.     
  488.     MIDL_INTERFACE("4C437B91-6E9E-11d1-A704-006097C4E476")
  489.     ISpecifyParticularPages : public IUnknown
  490.     {
  491.     public:
  492.         virtual HRESULT STDMETHODCALLTYPE GetPages( 
  493.             /* [in] */ REFGUID guidWhatPages,
  494.             /* [out] */ CAUUID __RPC_FAR *pPages) = 0;
  495.         
  496.     };
  497.     
  498. #else  /* C style interface */
  499.     typedef struct ISpecifyParticularPagesVtbl
  500.     {
  501.         BEGIN_INTERFACE
  502.         
  503.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  504.             ISpecifyParticularPages __RPC_FAR * This,
  505.             /* [in] */ REFIID riid,
  506.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  507.         
  508.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  509.             ISpecifyParticularPages __RPC_FAR * This);
  510.         
  511.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  512.             ISpecifyParticularPages __RPC_FAR * This);
  513.         
  514.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPages )( 
  515.             ISpecifyParticularPages __RPC_FAR * This,
  516.             /* [in] */ REFGUID guidWhatPages,
  517.             /* [out] */ CAUUID __RPC_FAR *pPages);
  518.         
  519.         END_INTERFACE
  520.     } ISpecifyParticularPagesVtbl;
  521.     interface ISpecifyParticularPages
  522.     {
  523.         CONST_VTBL struct ISpecifyParticularPagesVtbl __RPC_FAR *lpVtbl;
  524.     };
  525.     
  526. #ifdef COBJMACROS
  527. #define ISpecifyParticularPages_QueryInterface(This,riid,ppvObject)
  528.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  529. #define ISpecifyParticularPages_AddRef(This)
  530.     (This)->lpVtbl -> AddRef(This)
  531. #define ISpecifyParticularPages_Release(This)
  532.     (This)->lpVtbl -> Release(This)
  533. #define ISpecifyParticularPages_GetPages(This,guidWhatPages,pPages)
  534.     (This)->lpVtbl -> GetPages(This,guidWhatPages,pPages)
  535. #endif /* COBJMACROS */
  536. #endif  /* C style interface */
  537. HRESULT STDMETHODCALLTYPE ISpecifyParticularPages_GetPages_Proxy( 
  538.     ISpecifyParticularPages __RPC_FAR * This,
  539.     /* [in] */ REFGUID guidWhatPages,
  540.     /* [out] */ CAUUID __RPC_FAR *pPages);
  541. void __RPC_STUB ISpecifyParticularPages_GetPages_Stub(
  542.     IRpcStubBuffer *This,
  543.     IRpcChannelBuffer *_pRpcChannelBuffer,
  544.     PRPC_MESSAGE _pRpcMessage,
  545.     DWORD *_pdwStubPhase);
  546. #endif  /* __ISpecifyParticularPages_INTERFACE_DEFINED__ */
  547. #ifndef __IAMRebuild_INTERFACE_DEFINED__
  548. #define __IAMRebuild_INTERFACE_DEFINED__
  549. /* interface IAMRebuild */
  550. /* [object][helpstring][uuid][local] */ 
  551. EXTERN_C const IID IID_IAMRebuild;
  552. #if defined(__cplusplus) && !defined(CINTERFACE)
  553.     
  554.     MIDL_INTERFACE("02EF04DD-7580-11d1-BECE-00C04FB6E937")
  555.     IAMRebuild : public IUnknown
  556.     {
  557.     public:
  558.         virtual HRESULT STDMETHODCALLTYPE RebuildNow( void) = 0;
  559.         
  560.     };
  561.     
  562. #else  /* C style interface */
  563.     typedef struct IAMRebuildVtbl
  564.     {
  565.         BEGIN_INTERFACE
  566.         
  567.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  568.             IAMRebuild __RPC_FAR * This,
  569.             /* [in] */ REFIID riid,
  570.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  571.         
  572.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  573.             IAMRebuild __RPC_FAR * This);
  574.         
  575.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  576.             IAMRebuild __RPC_FAR * This);
  577.         
  578.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RebuildNow )( 
  579.             IAMRebuild __RPC_FAR * This);
  580.         
  581.         END_INTERFACE
  582.     } IAMRebuildVtbl;
  583.     interface IAMRebuild
  584.     {
  585.         CONST_VTBL struct IAMRebuildVtbl __RPC_FAR *lpVtbl;
  586.     };
  587.     
  588. #ifdef COBJMACROS
  589. #define IAMRebuild_QueryInterface(This,riid,ppvObject)
  590.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  591. #define IAMRebuild_AddRef(This)
  592.     (This)->lpVtbl -> AddRef(This)
  593. #define IAMRebuild_Release(This)
  594.     (This)->lpVtbl -> Release(This)
  595. #define IAMRebuild_RebuildNow(This)
  596.     (This)->lpVtbl -> RebuildNow(This)
  597. #endif /* COBJMACROS */
  598. #endif  /* C style interface */
  599. HRESULT STDMETHODCALLTYPE IAMRebuild_RebuildNow_Proxy( 
  600.     IAMRebuild __RPC_FAR * This);
  601. void __RPC_STUB IAMRebuild_RebuildNow_Stub(
  602.     IRpcStubBuffer *This,
  603.     IRpcChannelBuffer *_pRpcChannelBuffer,
  604.     PRPC_MESSAGE _pRpcMessage,
  605.     DWORD *_pdwStubPhase);
  606. #endif  /* __IAMRebuild_INTERFACE_DEFINED__ */
  607. /* interface __MIDL_itf_playlist_0351 */
  608. /* [local] */ 
  609. EXTERN_GUID(IID_IAMPlayListItem,0x56a868ff,0x0ad4,0x11ce,0xb0,0xa3,0x0,0x20,0xaf,0x0b,0xa7,0x70);
  610. EXTERN_GUID(IID_IAMRebuild,0x2ef04dd,0x7580,0x11d1,0xbe,0xce,0x0,0xc0,0x4f,0xb6,0xe9,0x37);
  611. EXTERN_GUID(IID_IAMPlayList,0x56a868fe,0x0ad4,0x11ce,0xb0,0xa3,0x0,0x20,0xaf,0x0b,0xa7,0x70);
  612. EXTERN_GUID(SPECIFYPAGES_STATISTICS,0x4c437b92,0x6e9e,0x11d1,0xa7,0x4,0x0,0x60,0x97,0xc4,0xe4,0x76);
  613. EXTERN_GUID(IID_ISpecifyParticularPages,0x4c437b91,0x6e9e,0x11d1,0xa7,0x4,0x0,0x60,0x97,0xc4,0xe4,0x76);
  614. extern RPC_IF_HANDLE __MIDL_itf_playlist_0351_v0_0_c_ifspec;
  615. extern RPC_IF_HANDLE __MIDL_itf_playlist_0351_v0_0_s_ifspec;
  616. /* Additional Prototypes for ALL interfaces */
  617. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  618. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  619. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  620. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  621. /* end of Additional Prototypes */
  622. #ifdef __cplusplus
  623. }
  624. #endif
  625. #endif