123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437 |
- /* this ALWAYS GENERATED file contains the definitions for the interfaces */
- /* File created by MIDL compiler version 6.00.0361 */
- /* Compiler settings for datacontainer.idl:
- Oicf, W1, Zp8, env=Win32 (32b run)
- protocol : dce , ms_ext, c_ext, robust
- error checks: allocation ref bounds_check enum stub_data
- VC __declspec() decoration level:
- __declspec(uuid()), __declspec(selectany), __declspec(novtable)
- DECLSPEC_UUID(), MIDL_INTERFACE()
- */
- //@@MIDL_FILE_HEADING( )
- #pragma warning( disable: 4049 ) /* more than 64k source lines */
- /* verify that the <rpcndr.h> version is high enough to compile this file*/
- #ifndef __REQUIRED_RPCNDR_H_VERSION__
- #define __REQUIRED_RPCNDR_H_VERSION__ 475
- #endif
- #include "rpc.h"
- #include "rpcndr.h"
- #ifndef __RPCNDR_H_VERSION__
- #error this stub requires an updated version of <rpcndr.h>
- #endif // __RPCNDR_H_VERSION__
- #ifndef COM_NO_WINDOWS_H
- #include "windows.h"
- #include "ole2.h"
- #endif /*COM_NO_WINDOWS_H*/
- #ifndef __datacontainer_h__
- #define __datacontainer_h__
- #if defined(_MSC_VER) && (_MSC_VER >= 1020)
- #pragma once
- #endif
- /* Forward Declarations */
- #ifndef __IWMSDataSourcePlugin_FWD_DEFINED__
- #define __IWMSDataSourcePlugin_FWD_DEFINED__
- typedef interface IWMSDataSourcePlugin IWMSDataSourcePlugin;
- #endif /* __IWMSDataSourcePlugin_FWD_DEFINED__ */
- #ifndef __IWMSDataSourcePluginCallback_FWD_DEFINED__
- #define __IWMSDataSourcePluginCallback_FWD_DEFINED__
- typedef interface IWMSDataSourcePluginCallback IWMSDataSourcePluginCallback;
- #endif /* __IWMSDataSourcePluginCallback_FWD_DEFINED__ */
- #ifndef __IWMSDataContainer_FWD_DEFINED__
- #define __IWMSDataContainer_FWD_DEFINED__
- typedef interface IWMSDataContainer IWMSDataContainer;
- #endif /* __IWMSDataContainer_FWD_DEFINED__ */
- #ifndef __IWMSDataContainerCallback_FWD_DEFINED__
- #define __IWMSDataContainerCallback_FWD_DEFINED__
- typedef interface IWMSDataContainerCallback IWMSDataContainerCallback;
- #endif /* __IWMSDataContainerCallback_FWD_DEFINED__ */
- #ifndef __IWMSDirectory_FWD_DEFINED__
- #define __IWMSDirectory_FWD_DEFINED__
- typedef interface IWMSDirectory IWMSDirectory;
- #endif /* __IWMSDirectory_FWD_DEFINED__ */
- /* header files for imported files */
- #include "objidl.h"
- #include "WMSBuffer.h"
- #include "WMSContext.h"
- #include "DataContainerVersion.h"
- #include "wmsPacket.h"
- #ifdef __cplusplus
- extern "C"{
- #endif
- void * __RPC_USER MIDL_user_allocate(size_t);
- void __RPC_USER MIDL_user_free( void * );
- /* interface __MIDL_itf_datacontainer_0000 */
- /* [local] */
- //*****************************************************************************
- //
- // Microsoft Windows Media
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //
- // Automatically generated by Midl from datacontainer.idl
- //
- // DO NOT EDIT THIS FILE.
- //
- //*****************************************************************************
- #define WMS_DATA_CONTAINER_NONSEEKABLE 0xFFFFFFFFFFFFFFFF
- EXTERN_GUID( IID_IWMSDataSourcePlugin, 0xE1CD3525,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
- EXTERN_GUID( IID_IWMSDataSourcePluginCallback, 0xE1CD3526,0x03D7,0x11d2,0x9E,0xED,0x00,0x60,0x97,0xD2,0xD7,0xCF );
- EXTERN_GUID( IID_IWMSDataContainer, 0xE6EE9A13,0x0FCC,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
- EXTERN_GUID( IID_IWMSDataContainerCallback, 0x2E34AB82,0x0D3D,0x11d2,0x9E,0xEE,0x00,0x60,0x97,0xD2,0xD7,0xCF );
- EXTERN_GUID( IID_IWMSDirectory, 0x6fa365e7, 0xe8b9, 0x437a, 0x8c, 0x4b, 0x65, 0x52, 0xdf, 0xbb, 0xc, 0x57 );
- EXTERN_GUID( IID_IWMSUnknownFormat, 0x9b6c9e51, 0x4813, 0x11d2, 0x9e, 0xff, 0x00, 0x60, 0x97, 0xd2, 0xd7, 0xcf );
- EXTERN_GUID( IID_IWMSDirectoryFormat, 0x7408ceb0, 0x3a5a, 0x41b6, 0xa5, 0xec, 0x9a, 0x4e, 0x81, 0x1c, 0x96, 0x73 );
- EXTERN_GUID( IID_IWMSPlaylistSmilFormat, 0xc34294ea, 0xe111, 0x4fb2, 0xbe, 0x6b, 0xec, 0x68, 0x6a, 0x1a, 0x97, 0x57 );
- typedef /* [public] */
- enum WMS_DATA_CONTAINER_OPEN_FLAGS
- { WMS_DATA_CONTAINER_READ_ACCESS = 0x1,
- WMS_DATA_CONTAINER_WRITE_ACCESS = 0x2,
- WMS_DATA_CONTAINER_CREATE_NEW_CONTAINER = 0x4,
- WMS_DATA_CONTAINER_ALLOW_BUFFER_IO = 0x8,
- WMS_DATA_CONTAINER_SHARED_SOURCE = 0x10
- } WMS_DATA_CONTAINER_OPEN_FLAGS;
- typedef /* [public] */
- enum WMS_DIRECTORY_ENTRY_FLAGS
- { WMS_DIRECTORY_ENTRY_IS_DIRECTORY = 0x1
- } WMS_DIRECTORY_ENTRY_FLAGS;
- typedef /* [public] */
- enum WMS_DATA_CONTAINER_GETINFO_VALUES
- { WMS_DATA_CONTAINER_SIZE = 1,
- WMS_DATA_CONTAINER_MAX_SUPPORTED_READ_SIZE = 2
- } WMS_DATA_CONTAINER_GETINFO_VALUES;
- typedef /* [public] */
- enum WMS_DATA_CONTAINER_GETINFO_FLAGS
- { WMS_SEEKABLE_CONTAINER = 0x1,
- WMS_LOCAL_DATA_CONTAINER = 0x2
- } WMS_DATA_CONTAINER_GETINFO_FLAGS;
- typedef /* [public] */
- enum WMS_DATA_CONTAINER_ATTRIBUTES
- { WMS_DATA_CONTAINER_SUPPORTS_ENUMERATION = 0x1
- } WMS_DATA_CONTAINER_ATTRIBUTES;
- typedef unsigned __int64 QWORD;
- extern RPC_IF_HANDLE __MIDL_itf_datacontainer_0000_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_datacontainer_0000_v0_0_s_ifspec;
- #ifndef __IWMSDataSourcePlugin_INTERFACE_DEFINED__
- #define __IWMSDataSourcePlugin_INTERFACE_DEFINED__
- /* interface IWMSDataSourcePlugin */
- /* [helpstring][version][uuid][unique][object] */
- EXTERN_C const IID IID_IWMSDataSourcePlugin;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E1CD3525-03D7-11d2-9EED-006097D2D7CF")
- IWMSDataSourcePlugin : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataSourceAttributes(
- /* [out] */ DWORD *pdwFlags) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetRootDirectories(
- /* [in] */ LPWSTR *pstrRootDirectoryList,
- /* [in] */ DWORD dwMaxRoots,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OpenDataContainer(
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OpenDirectory(
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteDataContainer(
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataContainerVersion(
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE CreateDataSourceDirectory(
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DeleteDirectory(
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSDataSourcePluginVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSDataSourcePlugin * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSDataSourcePlugin * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSDataSourcePlugin * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataSourceAttributes )(
- IWMSDataSourcePlugin * This,
- /* [out] */ DWORD *pdwFlags);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetRootDirectories )(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR *pstrRootDirectoryList,
- /* [in] */ DWORD dwMaxRoots,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OpenDataContainer )(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OpenDirectory )(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteDataContainer )(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataContainerVersion )(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *CreateDataSourceDirectory )(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DeleteDirectory )(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- END_INTERFACE
- } IWMSDataSourcePluginVtbl;
- interface IWMSDataSourcePlugin
- {
- CONST_VTBL struct IWMSDataSourcePluginVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSDataSourcePlugin_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSDataSourcePlugin_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IWMSDataSourcePlugin_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IWMSDataSourcePlugin_GetDataSourceAttributes(This,pdwFlags) \
- (This)->lpVtbl -> GetDataSourceAttributes(This,pdwFlags)
- #define IWMSDataSourcePlugin_GetRootDirectories(This,pstrRootDirectoryList,dwMaxRoots,pCallback,qwContext) \
- (This)->lpVtbl -> GetRootDirectories(This,pstrRootDirectoryList,dwMaxRoots,pCallback,qwContext)
- #define IWMSDataSourcePlugin_OpenDataContainer(This,pCommandContext,pUserContext,pPresentationContext,pszContainerName,dwFlags,pBufferAllocator,pCallback,qwContext) \
- (This)->lpVtbl -> OpenDataContainer(This,pCommandContext,pUserContext,pPresentationContext,pszContainerName,dwFlags,pBufferAllocator,pCallback,qwContext)
- #define IWMSDataSourcePlugin_OpenDirectory(This,pCommandContext,pUserContext,pPresentationContext,pszContainerName,dwFlags,pBufferAllocator,pCallback,qwContext) \
- (This)->lpVtbl -> OpenDirectory(This,pCommandContext,pUserContext,pPresentationContext,pszContainerName,dwFlags,pBufferAllocator,pCallback,qwContext)
- #define IWMSDataSourcePlugin_DeleteDataContainer(This,pszContainerName,dwFlags,pCallback,qwContext) \
- (This)->lpVtbl -> DeleteDataContainer(This,pszContainerName,dwFlags,pCallback,qwContext)
- #define IWMSDataSourcePlugin_GetDataContainerVersion(This,pCommandContext,pUserContext,pPresContext,pszContainerName,dwFlags,pCallback,qwContext) \
- (This)->lpVtbl -> GetDataContainerVersion(This,pCommandContext,pUserContext,pPresContext,pszContainerName,dwFlags,pCallback,qwContext)
- #define IWMSDataSourcePlugin_CreateDataSourceDirectory(This,pCommandContext,pszContainerName,dwFlags,pCallback,qwContext) \
- (This)->lpVtbl -> CreateDataSourceDirectory(This,pCommandContext,pszContainerName,dwFlags,pCallback,qwContext)
- #define IWMSDataSourcePlugin_DeleteDirectory(This,pszContainerName,dwFlags,pCallback,qwContext) \
- (This)->lpVtbl -> DeleteDirectory(This,pszContainerName,dwFlags,pCallback,qwContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_GetDataSourceAttributes_Proxy(
- IWMSDataSourcePlugin * This,
- /* [out] */ DWORD *pdwFlags);
- void __RPC_STUB IWMSDataSourcePlugin_GetDataSourceAttributes_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_GetRootDirectories_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR *pstrRootDirectoryList,
- /* [in] */ DWORD dwMaxRoots,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_GetRootDirectories_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_OpenDataContainer_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_OpenDataContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_OpenDirectory_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresentationContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSBufferAllocator *pBufferAllocator,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_OpenDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_DeleteDataContainer_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_DeleteDataContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_GetDataContainerVersion_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ IWMSContext *pUserContext,
- /* [in] */ IWMSContext *pPresContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_GetDataContainerVersion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_CreateDataSourceDirectory_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ IWMSCommandContext *pCommandContext,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_CreateDataSourceDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePlugin_DeleteDirectory_Proxy(
- IWMSDataSourcePlugin * This,
- /* [in] */ LPWSTR pszContainerName,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataSourcePluginCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePlugin_DeleteDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSDataSourcePlugin_INTERFACE_DEFINED__ */
- #ifndef __IWMSDataSourcePluginCallback_INTERFACE_DEFINED__
- #define __IWMSDataSourcePluginCallback_INTERFACE_DEFINED__
- /* interface IWMSDataSourcePluginCallback */
- /* [helpstring][version][uuid][unique][object] */
- EXTERN_C const IID IID_IWMSDataSourcePluginCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E1CD3526-03D7-11d2-9EED-006097D2D7CF")
- IWMSDataSourcePluginCallback : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnOpenDataContainer(
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainer *pDataContainer,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnOpenDirectory(
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDirectory *pDirectory,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnOpenPacketStreamDataContainer(
- /* [in] */ HRESULT hr,
- /* [in] */ IUnknown *pLiveDataContainer,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDeleteDataContainer(
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnGetDataContainerVersion(
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainerVersion *pVersion,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnGetRootDirectories(
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwNumReturnedRoots,
- /* [in] */ DWORD dwTotalNumRoots,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnCreateDirectory(
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDeleteDirectory(
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSDataSourcePluginCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSDataSourcePluginCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSDataSourcePluginCallback * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnOpenDataContainer )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainer *pDataContainer,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnOpenDirectory )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDirectory *pDirectory,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnOpenPacketStreamDataContainer )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IUnknown *pLiveDataContainer,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDeleteDataContainer )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnGetDataContainerVersion )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainerVersion *pVersion,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnGetRootDirectories )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwNumReturnedRoots,
- /* [in] */ DWORD dwTotalNumRoots,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnCreateDirectory )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDeleteDirectory )(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
-
- END_INTERFACE
- } IWMSDataSourcePluginCallbackVtbl;
- interface IWMSDataSourcePluginCallback
- {
- CONST_VTBL struct IWMSDataSourcePluginCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSDataSourcePluginCallback_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSDataSourcePluginCallback_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IWMSDataSourcePluginCallback_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IWMSDataSourcePluginCallback_OnOpenDataContainer(This,hr,pDataContainer,qwContext) \
- (This)->lpVtbl -> OnOpenDataContainer(This,hr,pDataContainer,qwContext)
- #define IWMSDataSourcePluginCallback_OnOpenDirectory(This,hr,pDirectory,qwContext) \
- (This)->lpVtbl -> OnOpenDirectory(This,hr,pDirectory,qwContext)
- #define IWMSDataSourcePluginCallback_OnOpenPacketStreamDataContainer(This,hr,pLiveDataContainer,qwContext) \
- (This)->lpVtbl -> OnOpenPacketStreamDataContainer(This,hr,pLiveDataContainer,qwContext)
- #define IWMSDataSourcePluginCallback_OnDeleteDataContainer(This,hr,qwContext) \
- (This)->lpVtbl -> OnDeleteDataContainer(This,hr,qwContext)
- #define IWMSDataSourcePluginCallback_OnGetDataContainerVersion(This,hr,pVersion,qwContext) \
- (This)->lpVtbl -> OnGetDataContainerVersion(This,hr,pVersion,qwContext)
- #define IWMSDataSourcePluginCallback_OnGetRootDirectories(This,hr,dwNumReturnedRoots,dwTotalNumRoots,qwContext) \
- (This)->lpVtbl -> OnGetRootDirectories(This,hr,dwNumReturnedRoots,dwTotalNumRoots,qwContext)
- #define IWMSDataSourcePluginCallback_OnCreateDirectory(This,hr,qwContext) \
- (This)->lpVtbl -> OnCreateDirectory(This,hr,qwContext)
- #define IWMSDataSourcePluginCallback_OnDeleteDirectory(This,hr,qwContext) \
- (This)->lpVtbl -> OnDeleteDirectory(This,hr,qwContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnOpenDataContainer_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainer *pDataContainer,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnOpenDataContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnOpenDirectory_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDirectory *pDirectory,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnOpenDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnOpenPacketStreamDataContainer_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IUnknown *pLiveDataContainer,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnOpenPacketStreamDataContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnDeleteDataContainer_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnDeleteDataContainer_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnGetDataContainerVersion_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ IWMSDataContainerVersion *pVersion,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnGetDataContainerVersion_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnGetRootDirectories_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwNumReturnedRoots,
- /* [in] */ DWORD dwTotalNumRoots,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnGetRootDirectories_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnCreateDirectory_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnCreateDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataSourcePluginCallback_OnDeleteDirectory_Proxy(
- IWMSDataSourcePluginCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataSourcePluginCallback_OnDeleteDirectory_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSDataSourcePluginCallback_INTERFACE_DEFINED__ */
- /* interface __MIDL_itf_datacontainer_0136 */
- /* [local] */
- typedef /* [public][public] */ struct __MIDL___MIDL_itf_datacontainer_0136_0001
- {
- LPOLESTR pstrName;
- DWORD dwFlags;
- QWORD qwSize;
- } WMSDirectoryEntryInfo;
- extern RPC_IF_HANDLE __MIDL_itf_datacontainer_0136_v0_0_c_ifspec;
- extern RPC_IF_HANDLE __MIDL_itf_datacontainer_0136_v0_0_s_ifspec;
- #ifndef __IWMSDataContainer_INTERFACE_DEFINED__
- #define __IWMSDataContainer_INTERFACE_DEFINED__
- /* interface IWMSDataContainer */
- /* [helpstring][version][uuid][unique][object] */
- EXTERN_C const IID IID_IWMSDataContainer;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("E6EE9A13-0FCC-11d2-9EEE-006097D2D7CF")
- IWMSDataContainer : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetContainerFormat(
- /* [out] */ GUID *pFormat) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataSourcePlugin(
- /* [out] */ IWMSDataSourcePlugin **ppDataSource) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetInfo(
- /* [in] */ DWORD dwInfoValueId,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Read(
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ QWORD qwOffset,
- /* [in] */ DWORD dwMaxDataSize,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Write(
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ DWORD dwDataSize,
- /* [in] */ QWORD qwWritePosition,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetTransferParameters(
- /* [in] */ QWORD qwDesiredOffset,
- /* [in] */ DWORD dwDesiredMinSize,
- /* [in] */ DWORD dwDesiredMaxSize,
- /* [out] */ QWORD *pqwOffset,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ DWORD *pdwBufferAlignment) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE DoDataContainerExtendedCommand(
- /* [in] */ LPWSTR szCommandName,
- /* [in] */ IWMSCommandContext *pCommand,
- /* [in] */ DWORD dwCallFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE FinishParsingPacketlist(
- /* [in] */ IWMSPacketList *pPacketList) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSDataContainerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSDataContainer * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSDataContainer * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSDataContainer * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetContainerFormat )(
- IWMSDataContainer * This,
- /* [out] */ GUID *pFormat);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataSourcePlugin )(
- IWMSDataContainer * This,
- /* [out] */ IWMSDataSourcePlugin **ppDataSource);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetInfo )(
- IWMSDataContainer * This,
- /* [in] */ DWORD dwInfoValueId,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Read )(
- IWMSDataContainer * This,
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ QWORD qwOffset,
- /* [in] */ DWORD dwMaxDataSize,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Write )(
- IWMSDataContainer * This,
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ DWORD dwDataSize,
- /* [in] */ QWORD qwWritePosition,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetTransferParameters )(
- IWMSDataContainer * This,
- /* [in] */ QWORD qwDesiredOffset,
- /* [in] */ DWORD dwDesiredMinSize,
- /* [in] */ DWORD dwDesiredMaxSize,
- /* [out] */ QWORD *pqwOffset,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ DWORD *pdwBufferAlignment);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *DoDataContainerExtendedCommand )(
- IWMSDataContainer * This,
- /* [in] */ LPWSTR szCommandName,
- /* [in] */ IWMSCommandContext *pCommand,
- /* [in] */ DWORD dwCallFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *FinishParsingPacketlist )(
- IWMSDataContainer * This,
- /* [in] */ IWMSPacketList *pPacketList);
-
- END_INTERFACE
- } IWMSDataContainerVtbl;
- interface IWMSDataContainer
- {
- CONST_VTBL struct IWMSDataContainerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSDataContainer_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSDataContainer_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IWMSDataContainer_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IWMSDataContainer_GetContainerFormat(This,pFormat) \
- (This)->lpVtbl -> GetContainerFormat(This,pFormat)
- #define IWMSDataContainer_GetDataSourcePlugin(This,ppDataSource) \
- (This)->lpVtbl -> GetDataSourcePlugin(This,ppDataSource)
- #define IWMSDataContainer_GetInfo(This,dwInfoValueId,pCallback,qwContext) \
- (This)->lpVtbl -> GetInfo(This,dwInfoValueId,pCallback,qwContext)
- #define IWMSDataContainer_Read(This,pbBuffer,qwOffset,dwMaxDataSize,dwFlags,pCallback,qwContext) \
- (This)->lpVtbl -> Read(This,pbBuffer,qwOffset,dwMaxDataSize,dwFlags,pCallback,qwContext)
- #define IWMSDataContainer_Write(This,pbBuffer,dwDataSize,qwWritePosition,pCallback,qwContext) \
- (This)->lpVtbl -> Write(This,pbBuffer,dwDataSize,qwWritePosition,pCallback,qwContext)
- #define IWMSDataContainer_GetTransferParameters(This,qwDesiredOffset,dwDesiredMinSize,dwDesiredMaxSize,pqwOffset,pdwSize,pdwBufferAlignment) \
- (This)->lpVtbl -> GetTransferParameters(This,qwDesiredOffset,dwDesiredMinSize,dwDesiredMaxSize,pqwOffset,pdwSize,pdwBufferAlignment)
- #define IWMSDataContainer_DoDataContainerExtendedCommand(This,szCommandName,pCommand,dwCallFlags,pCallback,qwContext) \
- (This)->lpVtbl -> DoDataContainerExtendedCommand(This,szCommandName,pCommand,dwCallFlags,pCallback,qwContext)
- #define IWMSDataContainer_FinishParsingPacketlist(This,pPacketList) \
- (This)->lpVtbl -> FinishParsingPacketlist(This,pPacketList)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_GetContainerFormat_Proxy(
- IWMSDataContainer * This,
- /* [out] */ GUID *pFormat);
- void __RPC_STUB IWMSDataContainer_GetContainerFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_GetDataSourcePlugin_Proxy(
- IWMSDataContainer * This,
- /* [out] */ IWMSDataSourcePlugin **ppDataSource);
- void __RPC_STUB IWMSDataContainer_GetDataSourcePlugin_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_GetInfo_Proxy(
- IWMSDataContainer * This,
- /* [in] */ DWORD dwInfoValueId,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainer_GetInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_Read_Proxy(
- IWMSDataContainer * This,
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ QWORD qwOffset,
- /* [in] */ DWORD dwMaxDataSize,
- /* [in] */ DWORD dwFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainer_Read_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_Write_Proxy(
- IWMSDataContainer * This,
- /* [in] */ BYTE *pbBuffer,
- /* [in] */ DWORD dwDataSize,
- /* [in] */ QWORD qwWritePosition,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainer_Write_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_GetTransferParameters_Proxy(
- IWMSDataContainer * This,
- /* [in] */ QWORD qwDesiredOffset,
- /* [in] */ DWORD dwDesiredMinSize,
- /* [in] */ DWORD dwDesiredMaxSize,
- /* [out] */ QWORD *pqwOffset,
- /* [out] */ DWORD *pdwSize,
- /* [out] */ DWORD *pdwBufferAlignment);
- void __RPC_STUB IWMSDataContainer_GetTransferParameters_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_DoDataContainerExtendedCommand_Proxy(
- IWMSDataContainer * This,
- /* [in] */ LPWSTR szCommandName,
- /* [in] */ IWMSCommandContext *pCommand,
- /* [in] */ DWORD dwCallFlags,
- /* [in] */ IWMSDataContainerCallback *pCallback,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainer_DoDataContainerExtendedCommand_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainer_FinishParsingPacketlist_Proxy(
- IWMSDataContainer * This,
- /* [in] */ IWMSPacketList *pPacketList);
- void __RPC_STUB IWMSDataContainer_FinishParsingPacketlist_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSDataContainer_INTERFACE_DEFINED__ */
- #ifndef __IWMSDataContainerCallback_INTERFACE_DEFINED__
- #define __IWMSDataContainerCallback_INTERFACE_DEFINED__
- /* interface IWMSDataContainerCallback */
- /* [helpstring][version][uuid][unique][object] */
- EXTERN_C const IID IID_IWMSDataContainerCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("2E34AB82-0D3D-11d2-9EEE-006097D2D7CF")
- IWMSDataContainerCallback : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnGetInfo(
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwFlags,
- /* [in] */ QWORD qwInfoValue,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnRead(
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ DWORD dwChangeType,
- /* [in] */ QWORD qwChangeParameter,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnWrite(
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ QWORD qwContext) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDoDataContainerExtendedCommand(
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSDataContainerCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSDataContainerCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSDataContainerCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSDataContainerCallback * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnGetInfo )(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwFlags,
- /* [in] */ QWORD qwInfoValue,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnRead )(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ DWORD dwChangeType,
- /* [in] */ QWORD qwChangeParameter,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnWrite )(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ QWORD qwContext);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *OnDoDataContainerExtendedCommand )(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
-
- END_INTERFACE
- } IWMSDataContainerCallbackVtbl;
- interface IWMSDataContainerCallback
- {
- CONST_VTBL struct IWMSDataContainerCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSDataContainerCallback_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSDataContainerCallback_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IWMSDataContainerCallback_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IWMSDataContainerCallback_OnGetInfo(This,hr,dwFlags,qwInfoValue,qwContext) \
- (This)->lpVtbl -> OnGetInfo(This,hr,dwFlags,qwInfoValue,qwContext)
- #define IWMSDataContainerCallback_OnRead(This,hr,dwActualBytesTransferred,dwChangeType,qwChangeParameter,qwContext) \
- (This)->lpVtbl -> OnRead(This,hr,dwActualBytesTransferred,dwChangeType,qwChangeParameter,qwContext)
- #define IWMSDataContainerCallback_OnWrite(This,hr,dwActualBytesTransferred,qwContext) \
- (This)->lpVtbl -> OnWrite(This,hr,dwActualBytesTransferred,qwContext)
- #define IWMSDataContainerCallback_OnDoDataContainerExtendedCommand(This,hr,qwContext) \
- (This)->lpVtbl -> OnDoDataContainerExtendedCommand(This,hr,qwContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainerCallback_OnGetInfo_Proxy(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwFlags,
- /* [in] */ QWORD qwInfoValue,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainerCallback_OnGetInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainerCallback_OnRead_Proxy(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ DWORD dwChangeType,
- /* [in] */ QWORD qwChangeParameter,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainerCallback_OnRead_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainerCallback_OnWrite_Proxy(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ DWORD dwActualBytesTransferred,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainerCallback_OnWrite_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDataContainerCallback_OnDoDataContainerExtendedCommand_Proxy(
- IWMSDataContainerCallback * This,
- /* [in] */ HRESULT hr,
- /* [in] */ QWORD qwContext);
- void __RPC_STUB IWMSDataContainerCallback_OnDoDataContainerExtendedCommand_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSDataContainerCallback_INTERFACE_DEFINED__ */
- #ifndef __IWMSDirectory_INTERFACE_DEFINED__
- #define __IWMSDirectory_INTERFACE_DEFINED__
- /* interface IWMSDirectory */
- /* [helpstring][version][uuid][unique][object] */
- EXTERN_C const IID IID_IWMSDirectory;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6FA365E7-E8B9-437a-8C4B-6552DFBB0C57")
- IWMSDirectory : public IUnknown
- {
- public:
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetDataSourcePlugin(
- /* [out] */ IWMSDataSourcePlugin **ppDataSource) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetName(
- /* [out] */ LPOLESTR *pstrValue) = 0;
-
- virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetChildInfo(
- /* [in] */ DWORD dwIndex,
- /* [out] */ WMSDirectoryEntryInfo *pInfo) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSDirectoryVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSDirectory * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSDirectory * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSDirectory * This);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetDataSourcePlugin )(
- IWMSDirectory * This,
- /* [out] */ IWMSDataSourcePlugin **ppDataSource);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetName )(
- IWMSDirectory * This,
- /* [out] */ LPOLESTR *pstrValue);
-
- /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetChildInfo )(
- IWMSDirectory * This,
- /* [in] */ DWORD dwIndex,
- /* [out] */ WMSDirectoryEntryInfo *pInfo);
-
- END_INTERFACE
- } IWMSDirectoryVtbl;
- interface IWMSDirectory
- {
- CONST_VTBL struct IWMSDirectoryVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSDirectory_QueryInterface(This,riid,ppvObject) \
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSDirectory_AddRef(This) \
- (This)->lpVtbl -> AddRef(This)
- #define IWMSDirectory_Release(This) \
- (This)->lpVtbl -> Release(This)
- #define IWMSDirectory_GetDataSourcePlugin(This,ppDataSource) \
- (This)->lpVtbl -> GetDataSourcePlugin(This,ppDataSource)
- #define IWMSDirectory_GetName(This,pstrValue) \
- (This)->lpVtbl -> GetName(This,pstrValue)
- #define IWMSDirectory_GetChildInfo(This,dwIndex,pInfo) \
- (This)->lpVtbl -> GetChildInfo(This,dwIndex,pInfo)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDirectory_GetDataSourcePlugin_Proxy(
- IWMSDirectory * This,
- /* [out] */ IWMSDataSourcePlugin **ppDataSource);
- void __RPC_STUB IWMSDirectory_GetDataSourcePlugin_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDirectory_GetName_Proxy(
- IWMSDirectory * This,
- /* [out] */ LPOLESTR *pstrValue);
- void __RPC_STUB IWMSDirectory_GetName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- /* [helpstring] */ HRESULT STDMETHODCALLTYPE IWMSDirectory_GetChildInfo_Proxy(
- IWMSDirectory * This,
- /* [in] */ DWORD dwIndex,
- /* [out] */ WMSDirectoryEntryInfo *pInfo);
- void __RPC_STUB IWMSDirectory_GetChildInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSDirectory_INTERFACE_DEFINED__ */
- /* Additional Prototypes for ALL interfaces */
- /* end of Additional Prototypes */
- #ifdef __cplusplus
- }
- #endif
- #endif
|