blob: 24952a6e8d7c4b27604641741c9bf219758a80c4 [file] [log] [blame]
/*** Autogenerated by WIDL 1.6 from include/wmsdkidl.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __wmsdkidl_h__
#define __wmsdkidl_h__
/* Forward declarations */
#ifndef __IWMStatusCallback_FWD_DEFINED__
#define __IWMStatusCallback_FWD_DEFINED__
typedef interface IWMStatusCallback IWMStatusCallback;
#endif
#ifndef __IWMReaderCallback_FWD_DEFINED__
#define __IWMReaderCallback_FWD_DEFINED__
typedef interface IWMReaderCallback IWMReaderCallback;
#endif
#ifndef __IWMStreamList_FWD_DEFINED__
#define __IWMStreamList_FWD_DEFINED__
typedef interface IWMStreamList IWMStreamList;
#endif
#ifndef __IWMMutualExclusion_FWD_DEFINED__
#define __IWMMutualExclusion_FWD_DEFINED__
typedef interface IWMMutualExclusion IWMMutualExclusion;
#endif
#ifndef __IWMStreamConfig_FWD_DEFINED__
#define __IWMStreamConfig_FWD_DEFINED__
typedef interface IWMStreamConfig IWMStreamConfig;
#endif
#ifndef __IWMProfile_FWD_DEFINED__
#define __IWMProfile_FWD_DEFINED__
typedef interface IWMProfile IWMProfile;
#endif
#ifndef __IWMProfileManager_FWD_DEFINED__
#define __IWMProfileManager_FWD_DEFINED__
typedef interface IWMProfileManager IWMProfileManager;
#endif
#ifndef __IWMMediaProps_FWD_DEFINED__
#define __IWMMediaProps_FWD_DEFINED__
typedef interface IWMMediaProps IWMMediaProps;
#endif
#ifndef __IWMOutputMediaProps_FWD_DEFINED__
#define __IWMOutputMediaProps_FWD_DEFINED__
typedef interface IWMOutputMediaProps IWMOutputMediaProps;
#endif
#ifndef __IWMMetadataEditor_FWD_DEFINED__
#define __IWMMetadataEditor_FWD_DEFINED__
typedef interface IWMMetadataEditor IWMMetadataEditor;
#endif
#ifndef __IWMReader_FWD_DEFINED__
#define __IWMReader_FWD_DEFINED__
typedef interface IWMReader IWMReader;
#endif
#ifndef __IWMPlayerHook_FWD_DEFINED__
#define __IWMPlayerHook_FWD_DEFINED__
typedef interface IWMPlayerHook IWMPlayerHook;
#endif
#ifndef __IWMReaderAdvanced_FWD_DEFINED__
#define __IWMReaderAdvanced_FWD_DEFINED__
typedef interface IWMReaderAdvanced IWMReaderAdvanced;
#endif
#ifndef __IWMReaderAdvanced2_FWD_DEFINED__
#define __IWMReaderAdvanced2_FWD_DEFINED__
typedef interface IWMReaderAdvanced2 IWMReaderAdvanced2;
#endif
#ifndef __IWMReaderAdvanced3_FWD_DEFINED__
#define __IWMReaderAdvanced3_FWD_DEFINED__
typedef interface IWMReaderAdvanced3 IWMReaderAdvanced3;
#endif
#ifndef __IWMReaderAdvanced4_FWD_DEFINED__
#define __IWMReaderAdvanced4_FWD_DEFINED__
typedef interface IWMReaderAdvanced4 IWMReaderAdvanced4;
#endif
#ifndef __IWMReaderAdvanced5_FWD_DEFINED__
#define __IWMReaderAdvanced5_FWD_DEFINED__
typedef interface IWMReaderAdvanced5 IWMReaderAdvanced5;
#endif
#ifndef __IWMReaderAdvanced6_FWD_DEFINED__
#define __IWMReaderAdvanced6_FWD_DEFINED__
typedef interface IWMReaderAdvanced6 IWMReaderAdvanced6;
#endif
#ifndef __IWMSyncReader_FWD_DEFINED__
#define __IWMSyncReader_FWD_DEFINED__
typedef interface IWMSyncReader IWMSyncReader;
#endif
#ifndef __IWMInputMediaProps_FWD_DEFINED__
#define __IWMInputMediaProps_FWD_DEFINED__
typedef interface IWMInputMediaProps IWMInputMediaProps;
#endif
#ifndef __IWMWriterSink_FWD_DEFINED__
#define __IWMWriterSink_FWD_DEFINED__
typedef interface IWMWriterSink IWMWriterSink;
#endif
#ifndef __IWMWriter_FWD_DEFINED__
#define __IWMWriter_FWD_DEFINED__
typedef interface IWMWriter IWMWriter;
#endif
#ifndef __IWMWriterAdvanced_FWD_DEFINED__
#define __IWMWriterAdvanced_FWD_DEFINED__
typedef interface IWMWriterAdvanced IWMWriterAdvanced;
#endif
#ifndef __IWMWriterAdvanced2_FWD_DEFINED__
#define __IWMWriterAdvanced2_FWD_DEFINED__
typedef interface IWMWriterAdvanced2 IWMWriterAdvanced2;
#endif
#ifndef __IWMWriterAdvanced3_FWD_DEFINED__
#define __IWMWriterAdvanced3_FWD_DEFINED__
typedef interface IWMWriterAdvanced3 IWMWriterAdvanced3;
#endif
/* Headers for imported files */
#include <oaidl.h>
#include <wmsbuffer.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef UINT64 QWORD;
typedef struct _WMMediaType {
GUID majortype;
GUID subtype;
WINBOOL bFixedSizeSamples;
WINBOOL bTemporalCompression;
ULONG lSampleSize;
GUID formattype;
IUnknown *pUnk;
ULONG cbFormat;
BYTE *pbFormat;
} WM_MEDIA_TYPE;
typedef struct _WMWriterStatistics {
QWORD qwSampleCount;
QWORD qwByteCount;
QWORD qwDroppedSampleCount;
QWORD qwDroppedByteCount;
DWORD dwCurrentBitrate;
DWORD dwAverageBitrate;
DWORD dwExpectedBitrate;
DWORD dwCurrentSampleRate;
DWORD dwAverageSampleRate;
DWORD dwExpectedSampleRate;
} WM_WRITER_STATISTICS;
typedef struct _WMWriterStatisticsEx {
DWORD dwBitratePlusOverhead;
DWORD dwCurrentSampleDropRateInQueue;
DWORD dwCurrentSampleDropRateInCodec;
DWORD dwCurrentSampleDropRateInMultiplexer;
DWORD dwTotalSampleDropsInQueue;
DWORD dwTotalSampleDropsInCodec;
DWORD dwTotalSampleDropsInMultiplexer;
} WM_WRITER_STATISTICS_EX;
typedef struct _WMReaderStatistics {
DWORD cbSize;
DWORD dwBandwidth;
DWORD cPacketsReceived;
DWORD cPacketsRecovered;
DWORD cPacketsLost;
WORD wQuality;
} WM_READER_STATISTICS;
typedef struct _WMReaderClientInfo {
DWORD cbSize;
WCHAR *wszLang;
WCHAR *wszBrowserUserAgent;
WCHAR *wszBrowserWebPage;
QWORD qwReserved;
LPARAM *pReserved;
WCHAR *wszHostExe;
QWORD qwHostVersion;
WCHAR *wszPlayerUserAgent;
} WM_READER_CLIENTINFO;
typedef enum WMT_ATTR_DATATYPE {
WMT_TYPE_DWORD = 0,
WMT_TYPE_STRING = 1,
WMT_TYPE_BINARY = 2,
WMT_TYPE_BOOL = 3,
WMT_TYPE_QWORD = 4,
WMT_TYPE_WORD = 5,
WMT_TYPE_GUID = 6
} WMT_ATTR_DATATYPE;
typedef enum WMT_STATUS {
WMT_ERROR = 0,
WMT_OPENED = 1,
WMT_BUFFERING_START = 2,
WMT_BUFFERING_STOP = 3,
WMT_EOF = 4,
WMT_END_OF_FILE = 4,
WMT_END_OF_SEGMENT = 5,
WMT_END_OF_STREAMING = 6,
WMT_LOCATING = 7,
WMT_CONNECTING = 8,
WMT_NO_RIGHTS = 9,
WMT_MISSING_CODEC = 10,
WMT_STARTED = 11,
WMT_STOPPED = 12,
WMT_CLOSED = 13,
WMT_STRIDING = 14,
WMT_TIMER = 15,
WMT_INDEX_PROGRESS = 16,
WMT_SAVEAS_START = 17,
WMT_SAVEAS_STOP = 18,
WMT_NEW_SOURCEFLAGS = 19,
WMT_NEW_METADATA = 20,
WMT_BACKUPRESTORE_BEGIN = 21,
WMT_SOURCE_SWITCH = 22,
WMT_ACQUIRE_LICENSE = 23,
WMT_INDIVIDUALIZE = 24,
WMT_NEEDS_INDIVIDUALIZATION = 25,
WMT_NO_RIGHTS_EX = 26,
WMT_BACKUPRESTORE_END = 27,
WMT_BACKUPRESTORE_CONNECTING = 28,
WMT_BACKUPRESTORE_DISCONNECTING = 29,
WMT_ERROR_WITHURL = 30,
WMT_RESTRICTED_LICENSE = 31,
WMT_CLIENT_CONNECT = 32,
WMT_CLIENT_DISCONNECT = 33,
WMT_NATIVE_OUTPUT_PROPS_CHANGED = 34,
WMT_RECONNECT_START = 35,
WMT_RECONNECT_END = 36,
WMT_CLIENT_CONNECT_EX = 37,
WMT_CLIENT_DISCONNECT_EX = 38,
WMT_SET_FEC_SPAN = 39,
WMT_PREROLL_READY = 40,
WMT_PREROLL_COMPLETE = 41,
WMT_CLIENT_PROPERTIES = 42,
WMT_LICENSEURL_SIGNATURE_STATE = 43,
WMT_INIT_PLAYLIST_BURN = 44,
WMT_TRANSCRYPTOR_INIT = 45,
WMT_TRANSCRYPTOR_SEEKED = 46,
WMT_TRANSCRYPTOR_READ = 47,
WMT_TRANSCRYPTOR_CLOSED = 48,
WMT_PROXIMITY_RESULT = 49,
WMT_PROXIMITY_COMPLETED = 50,
WMT_CONTENT_ENABLER = 51
} WMT_STATUS;
typedef enum WMT_STREAM_SELECTION {
WMT_OFF = 0,
WMT_CLEANPOINT_ONLY = 1,
WMT_ON = 2
} WMT_STREAM_SELECTION;
typedef enum WMT_VERSION {
WMT_VER_4_0 = 0x40000,
WMT_VER_7_0 = 0x70000,
WMT_VER_8_0 = 0x80000,
WMT_VER_9_0 = 0x90000
} WMT_VERSION;
typedef enum WMT_PLAY_MODE {
WMT_PLAY_MODE_AUTOSELECT = 0,
WMT_PLAY_MODE_LOCAL = 1,
WMT_PLAY_MODE_DOWNLOAD = 2,
WMT_PLAY_MODE_STREAMING = 3
} WMT_PLAY_MODE;
typedef enum tagWMT_OFFSET_FORMAT {
WMT_OFFSET_FORMAT_100NS = 0,
WMT_OFFSET_FORMAT_FRAME_NUMBERS = 1,
WMT_OFFSET_FORMAT_PLAYLIST_OFFSET = 2,
WMT_OFFSET_FORMAT_TIMECODE = 3,
WMT_OFFSET_FORMAT_100NS_APPROXIMATE = 4
} WMT_OFFSET_FORMAT;
typedef LPCWSTR LPCWSTR_WMSDK_TYPE_SAFE;
/*****************************************************************************
* IWMStatusCallback interface
*/
#ifndef __IWMStatusCallback_INTERFACE_DEFINED__
#define __IWMStatusCallback_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6d7cdc70-9888-11d3-8edc-00c04f6109cf")
IWMStatusCallback : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE OnStatus(
WMT_STATUS Status,
HRESULT hr,
WMT_ATTR_DATATYPE dwType,
BYTE *pValue,
void *pvContext) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMStatusCallback, 0x6d7cdc70, 0x9888, 0x11d3, 0x8e,0xdc, 0x00,0xc0,0x4f,0x61,0x09,0xcf)
#endif
#else
typedef struct IWMStatusCallbackVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMStatusCallback* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMStatusCallback* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMStatusCallback* This);
/*** IWMStatusCallback methods ***/
HRESULT (STDMETHODCALLTYPE *OnStatus)(
IWMStatusCallback* This,
WMT_STATUS Status,
HRESULT hr,
WMT_ATTR_DATATYPE dwType,
BYTE *pValue,
void *pvContext);
END_INTERFACE
} IWMStatusCallbackVtbl;
interface IWMStatusCallback {
CONST_VTBL IWMStatusCallbackVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMStatusCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMStatusCallback_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMStatusCallback_Release(This) (This)->lpVtbl->Release(This)
/*** IWMStatusCallback methods ***/
#define IWMStatusCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMStatusCallback_QueryInterface(IWMStatusCallback* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMStatusCallback_AddRef(IWMStatusCallback* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMStatusCallback_Release(IWMStatusCallback* This) {
return This->lpVtbl->Release(This);
}
/*** IWMStatusCallback methods ***/
static FORCEINLINE HRESULT IWMStatusCallback_OnStatus(IWMStatusCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) {
return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMStatusCallback_OnStatus_Proxy(
IWMStatusCallback* This,
WMT_STATUS Status,
HRESULT hr,
WMT_ATTR_DATATYPE dwType,
BYTE *pValue,
void *pvContext);
void __RPC_STUB IWMStatusCallback_OnStatus_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMStatusCallback_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMReaderCallback interface
*/
#ifndef __IWMReaderCallback_INTERFACE_DEFINED__
#define __IWMReaderCallback_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bd8-2b2b-11d3-b36b-00c04f6108ff")
IWMReaderCallback : public IWMStatusCallback
{
virtual HRESULT STDMETHODCALLTYPE OnSample(
DWORD dwOutputNum,
QWORD cnsSampleTime,
QWORD cnsSampleDuration,
DWORD dwFlags,
INSSBuffer *pSample,
void *pvContext) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMReaderCallback, 0x96406bd8, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMReaderCallbackVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMReaderCallback* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMReaderCallback* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMReaderCallback* This);
/*** IWMStatusCallback methods ***/
HRESULT (STDMETHODCALLTYPE *OnStatus)(
IWMReaderCallback* This,
WMT_STATUS Status,
HRESULT hr,
WMT_ATTR_DATATYPE dwType,
BYTE *pValue,
void *pvContext);
/*** IWMReaderCallback methods ***/
HRESULT (STDMETHODCALLTYPE *OnSample)(
IWMReaderCallback* This,
DWORD dwOutputNum,
QWORD cnsSampleTime,
QWORD cnsSampleDuration,
DWORD dwFlags,
INSSBuffer *pSample,
void *pvContext);
END_INTERFACE
} IWMReaderCallbackVtbl;
interface IWMReaderCallback {
CONST_VTBL IWMReaderCallbackVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMReaderCallback_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMReaderCallback_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMReaderCallback_Release(This) (This)->lpVtbl->Release(This)
/*** IWMStatusCallback methods ***/
#define IWMReaderCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext) (This)->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext)
/*** IWMReaderCallback methods ***/
#define IWMReaderCallback_OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext) (This)->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMReaderCallback_QueryInterface(IWMReaderCallback* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMReaderCallback_AddRef(IWMReaderCallback* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMReaderCallback_Release(IWMReaderCallback* This) {
return This->lpVtbl->Release(This);
}
/*** IWMStatusCallback methods ***/
static FORCEINLINE HRESULT IWMReaderCallback_OnStatus(IWMReaderCallback* This,WMT_STATUS Status,HRESULT hr,WMT_ATTR_DATATYPE dwType,BYTE *pValue,void *pvContext) {
return This->lpVtbl->OnStatus(This,Status,hr,dwType,pValue,pvContext);
}
/*** IWMReaderCallback methods ***/
static FORCEINLINE HRESULT IWMReaderCallback_OnSample(IWMReaderCallback* This,DWORD dwOutputNum,QWORD cnsSampleTime,QWORD cnsSampleDuration,DWORD dwFlags,INSSBuffer *pSample,void *pvContext) {
return This->lpVtbl->OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMReaderCallback_OnSample_Proxy(
IWMReaderCallback* This,
DWORD dwOutputNum,
QWORD cnsSampleTime,
QWORD cnsSampleDuration,
DWORD dwFlags,
INSSBuffer *pSample,
void *pvContext);
void __RPC_STUB IWMReaderCallback_OnSample_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMReaderCallback_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMStreamList interface
*/
#ifndef __IWMStreamList_INTERFACE_DEFINED__
#define __IWMStreamList_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bdd-2b2b-11d3-b36b-00c04f6108ff")
IWMStreamList : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetStreams(
WORD *pwStreamNumArray,
WORD *pcStreams) = 0;
virtual HRESULT STDMETHODCALLTYPE AddStream(
WORD wStreamNum) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveStream(
WORD wStreamNum) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMStreamList, 0x96406bdd, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMStreamListVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMStreamList* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMStreamList* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMStreamList* This);
/*** IWMStreamList methods ***/
HRESULT (STDMETHODCALLTYPE *GetStreams)(
IWMStreamList* This,
WORD *pwStreamNumArray,
WORD *pcStreams);
HRESULT (STDMETHODCALLTYPE *AddStream)(
IWMStreamList* This,
WORD wStreamNum);
HRESULT (STDMETHODCALLTYPE *RemoveStream)(
IWMStreamList* This,
WORD wStreamNum);
END_INTERFACE
} IWMStreamListVtbl;
interface IWMStreamList {
CONST_VTBL IWMStreamListVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMStreamList_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMStreamList_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMStreamList_Release(This) (This)->lpVtbl->Release(This)
/*** IWMStreamList methods ***/
#define IWMStreamList_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams)
#define IWMStreamList_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum)
#define IWMStreamList_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMStreamList_QueryInterface(IWMStreamList* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMStreamList_AddRef(IWMStreamList* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMStreamList_Release(IWMStreamList* This) {
return This->lpVtbl->Release(This);
}
/*** IWMStreamList methods ***/
static FORCEINLINE HRESULT IWMStreamList_GetStreams(IWMStreamList* This,WORD *pwStreamNumArray,WORD *pcStreams) {
return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams);
}
static FORCEINLINE HRESULT IWMStreamList_AddStream(IWMStreamList* This,WORD wStreamNum) {
return This->lpVtbl->AddStream(This,wStreamNum);
}
static FORCEINLINE HRESULT IWMStreamList_RemoveStream(IWMStreamList* This,WORD wStreamNum) {
return This->lpVtbl->RemoveStream(This,wStreamNum);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMStreamList_GetStreams_Proxy(
IWMStreamList* This,
WORD *pwStreamNumArray,
WORD *pcStreams);
void __RPC_STUB IWMStreamList_GetStreams_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamList_AddStream_Proxy(
IWMStreamList* This,
WORD wStreamNum);
void __RPC_STUB IWMStreamList_AddStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamList_RemoveStream_Proxy(
IWMStreamList* This,
WORD wStreamNum);
void __RPC_STUB IWMStreamList_RemoveStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMStreamList_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMMutualExclusion interface
*/
#ifndef __IWMMutualExclusion_INTERFACE_DEFINED__
#define __IWMMutualExclusion_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bde-2b2b-11d3-b36b-00c04f6108ff")
IWMMutualExclusion : public IWMStreamList
{
virtual HRESULT STDMETHODCALLTYPE GetType(
GUID *pguidType) = 0;
virtual HRESULT STDMETHODCALLTYPE SetType(
REFGUID guidType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMMutualExclusion, 0x96406bde, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMMutualExclusionVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMMutualExclusion* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMMutualExclusion* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMMutualExclusion* This);
/*** IWMStreamList methods ***/
HRESULT (STDMETHODCALLTYPE *GetStreams)(
IWMMutualExclusion* This,
WORD *pwStreamNumArray,
WORD *pcStreams);
HRESULT (STDMETHODCALLTYPE *AddStream)(
IWMMutualExclusion* This,
WORD wStreamNum);
HRESULT (STDMETHODCALLTYPE *RemoveStream)(
IWMMutualExclusion* This,
WORD wStreamNum);
/*** IWMMutualExclusion methods ***/
HRESULT (STDMETHODCALLTYPE *GetType)(
IWMMutualExclusion* This,
GUID *pguidType);
HRESULT (STDMETHODCALLTYPE *SetType)(
IWMMutualExclusion* This,
REFGUID guidType);
END_INTERFACE
} IWMMutualExclusionVtbl;
interface IWMMutualExclusion {
CONST_VTBL IWMMutualExclusionVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMMutualExclusion_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMMutualExclusion_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMMutualExclusion_Release(This) (This)->lpVtbl->Release(This)
/*** IWMStreamList methods ***/
#define IWMMutualExclusion_GetStreams(This,pwStreamNumArray,pcStreams) (This)->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams)
#define IWMMutualExclusion_AddStream(This,wStreamNum) (This)->lpVtbl->AddStream(This,wStreamNum)
#define IWMMutualExclusion_RemoveStream(This,wStreamNum) (This)->lpVtbl->RemoveStream(This,wStreamNum)
/*** IWMMutualExclusion methods ***/
#define IWMMutualExclusion_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType)
#define IWMMutualExclusion_SetType(This,guidType) (This)->lpVtbl->SetType(This,guidType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMMutualExclusion_QueryInterface(IWMMutualExclusion* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMMutualExclusion_AddRef(IWMMutualExclusion* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMMutualExclusion_Release(IWMMutualExclusion* This) {
return This->lpVtbl->Release(This);
}
/*** IWMStreamList methods ***/
static FORCEINLINE HRESULT IWMMutualExclusion_GetStreams(IWMMutualExclusion* This,WORD *pwStreamNumArray,WORD *pcStreams) {
return This->lpVtbl->GetStreams(This,pwStreamNumArray,pcStreams);
}
static FORCEINLINE HRESULT IWMMutualExclusion_AddStream(IWMMutualExclusion* This,WORD wStreamNum) {
return This->lpVtbl->AddStream(This,wStreamNum);
}
static FORCEINLINE HRESULT IWMMutualExclusion_RemoveStream(IWMMutualExclusion* This,WORD wStreamNum) {
return This->lpVtbl->RemoveStream(This,wStreamNum);
}
/*** IWMMutualExclusion methods ***/
static FORCEINLINE HRESULT IWMMutualExclusion_GetType(IWMMutualExclusion* This,GUID *pguidType) {
return This->lpVtbl->GetType(This,pguidType);
}
static FORCEINLINE HRESULT IWMMutualExclusion_SetType(IWMMutualExclusion* This,REFGUID guidType) {
return This->lpVtbl->SetType(This,guidType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMMutualExclusion_GetType_Proxy(
IWMMutualExclusion* This,
GUID *pguidType);
void __RPC_STUB IWMMutualExclusion_GetType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMMutualExclusion_SetType_Proxy(
IWMMutualExclusion* This,
REFGUID guidType);
void __RPC_STUB IWMMutualExclusion_SetType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMMutualExclusion_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMStreamConfig interface
*/
#ifndef __IWMStreamConfig_INTERFACE_DEFINED__
#define __IWMStreamConfig_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bdc-2b2b-11d3-b36b-00c04f6108ff")
IWMStreamConfig : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetStreamType(
GUID *pguidStreamType) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStreamNumber(
WORD *pwStreamNum) = 0;
virtual HRESULT STDMETHODCALLTYPE SetStreamNumber(
WORD wStreamNum) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStreamName(
WCHAR *pwszStreamName,
WORD *pcchStreamName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetStreamName(
LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionName(
WCHAR *pwszInputName,
WORD *pcchInputName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetConnectionName(
LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBitrate(
DWORD *pdwBitrate) = 0;
virtual HRESULT STDMETHODCALLTYPE SetBitrate(
DWORD pdwBitrate) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBufferWindow(
DWORD *pmsBufferWindow) = 0;
virtual HRESULT STDMETHODCALLTYPE SetBufferWindow(
DWORD msBufferWindow) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMStreamConfig, 0x96406bdc, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMStreamConfigVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMStreamConfig* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMStreamConfig* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMStreamConfig* This);
/*** IWMStreamConfig methods ***/
HRESULT (STDMETHODCALLTYPE *GetStreamType)(
IWMStreamConfig* This,
GUID *pguidStreamType);
HRESULT (STDMETHODCALLTYPE *GetStreamNumber)(
IWMStreamConfig* This,
WORD *pwStreamNum);
HRESULT (STDMETHODCALLTYPE *SetStreamNumber)(
IWMStreamConfig* This,
WORD wStreamNum);
HRESULT (STDMETHODCALLTYPE *GetStreamName)(
IWMStreamConfig* This,
WCHAR *pwszStreamName,
WORD *pcchStreamName);
HRESULT (STDMETHODCALLTYPE *SetStreamName)(
IWMStreamConfig* This,
LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName);
HRESULT (STDMETHODCALLTYPE *GetConnectionName)(
IWMStreamConfig* This,
WCHAR *pwszInputName,
WORD *pcchInputName);
HRESULT (STDMETHODCALLTYPE *SetConnectionName)(
IWMStreamConfig* This,
LPCWSTR_WMSDK_TYPE_SAFE pwszInputName);
HRESULT (STDMETHODCALLTYPE *GetBitrate)(
IWMStreamConfig* This,
DWORD *pdwBitrate);
HRESULT (STDMETHODCALLTYPE *SetBitrate)(
IWMStreamConfig* This,
DWORD pdwBitrate);
HRESULT (STDMETHODCALLTYPE *GetBufferWindow)(
IWMStreamConfig* This,
DWORD *pmsBufferWindow);
HRESULT (STDMETHODCALLTYPE *SetBufferWindow)(
IWMStreamConfig* This,
DWORD msBufferWindow);
END_INTERFACE
} IWMStreamConfigVtbl;
interface IWMStreamConfig {
CONST_VTBL IWMStreamConfigVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMStreamConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMStreamConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMStreamConfig_Release(This) (This)->lpVtbl->Release(This)
/*** IWMStreamConfig methods ***/
#define IWMStreamConfig_GetStreamType(This,pguidStreamType) (This)->lpVtbl->GetStreamType(This,pguidStreamType)
#define IWMStreamConfig_GetStreamNumber(This,pwStreamNum) (This)->lpVtbl->GetStreamNumber(This,pwStreamNum)
#define IWMStreamConfig_SetStreamNumber(This,wStreamNum) (This)->lpVtbl->SetStreamNumber(This,wStreamNum)
#define IWMStreamConfig_GetStreamName(This,pwszStreamName,pcchStreamName) (This)->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName)
#define IWMStreamConfig_SetStreamName(This,pwszStreamName) (This)->lpVtbl->SetStreamName(This,pwszStreamName)
#define IWMStreamConfig_GetConnectionName(This,pwszInputName,pcchInputName) (This)->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName)
#define IWMStreamConfig_SetConnectionName(This,pwszInputName) (This)->lpVtbl->SetConnectionName(This,pwszInputName)
#define IWMStreamConfig_GetBitrate(This,pdwBitrate) (This)->lpVtbl->GetBitrate(This,pdwBitrate)
#define IWMStreamConfig_SetBitrate(This,pdwBitrate) (This)->lpVtbl->SetBitrate(This,pdwBitrate)
#define IWMStreamConfig_GetBufferWindow(This,pmsBufferWindow) (This)->lpVtbl->GetBufferWindow(This,pmsBufferWindow)
#define IWMStreamConfig_SetBufferWindow(This,msBufferWindow) (This)->lpVtbl->SetBufferWindow(This,msBufferWindow)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMStreamConfig_QueryInterface(IWMStreamConfig* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMStreamConfig_AddRef(IWMStreamConfig* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMStreamConfig_Release(IWMStreamConfig* This) {
return This->lpVtbl->Release(This);
}
/*** IWMStreamConfig methods ***/
static FORCEINLINE HRESULT IWMStreamConfig_GetStreamType(IWMStreamConfig* This,GUID *pguidStreamType) {
return This->lpVtbl->GetStreamType(This,pguidStreamType);
}
static FORCEINLINE HRESULT IWMStreamConfig_GetStreamNumber(IWMStreamConfig* This,WORD *pwStreamNum) {
return This->lpVtbl->GetStreamNumber(This,pwStreamNum);
}
static FORCEINLINE HRESULT IWMStreamConfig_SetStreamNumber(IWMStreamConfig* This,WORD wStreamNum) {
return This->lpVtbl->SetStreamNumber(This,wStreamNum);
}
static FORCEINLINE HRESULT IWMStreamConfig_GetStreamName(IWMStreamConfig* This,WCHAR *pwszStreamName,WORD *pcchStreamName) {
return This->lpVtbl->GetStreamName(This,pwszStreamName,pcchStreamName);
}
static FORCEINLINE HRESULT IWMStreamConfig_SetStreamName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName) {
return This->lpVtbl->SetStreamName(This,pwszStreamName);
}
static FORCEINLINE HRESULT IWMStreamConfig_GetConnectionName(IWMStreamConfig* This,WCHAR *pwszInputName,WORD *pcchInputName) {
return This->lpVtbl->GetConnectionName(This,pwszInputName,pcchInputName);
}
static FORCEINLINE HRESULT IWMStreamConfig_SetConnectionName(IWMStreamConfig* This,LPCWSTR_WMSDK_TYPE_SAFE pwszInputName) {
return This->lpVtbl->SetConnectionName(This,pwszInputName);
}
static FORCEINLINE HRESULT IWMStreamConfig_GetBitrate(IWMStreamConfig* This,DWORD *pdwBitrate) {
return This->lpVtbl->GetBitrate(This,pdwBitrate);
}
static FORCEINLINE HRESULT IWMStreamConfig_SetBitrate(IWMStreamConfig* This,DWORD pdwBitrate) {
return This->lpVtbl->SetBitrate(This,pdwBitrate);
}
static FORCEINLINE HRESULT IWMStreamConfig_GetBufferWindow(IWMStreamConfig* This,DWORD *pmsBufferWindow) {
return This->lpVtbl->GetBufferWindow(This,pmsBufferWindow);
}
static FORCEINLINE HRESULT IWMStreamConfig_SetBufferWindow(IWMStreamConfig* This,DWORD msBufferWindow) {
return This->lpVtbl->SetBufferWindow(This,msBufferWindow);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamType_Proxy(
IWMStreamConfig* This,
GUID *pguidStreamType);
void __RPC_STUB IWMStreamConfig_GetStreamType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamNumber_Proxy(
IWMStreamConfig* This,
WORD *pwStreamNum);
void __RPC_STUB IWMStreamConfig_GetStreamNumber_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetStreamNumber_Proxy(
IWMStreamConfig* This,
WORD wStreamNum);
void __RPC_STUB IWMStreamConfig_SetStreamNumber_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetStreamName_Proxy(
IWMStreamConfig* This,
WCHAR *pwszStreamName,
WORD *pcchStreamName);
void __RPC_STUB IWMStreamConfig_GetStreamName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetStreamName_Proxy(
IWMStreamConfig* This,
LPCWSTR_WMSDK_TYPE_SAFE pwszStreamName);
void __RPC_STUB IWMStreamConfig_SetStreamName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetConnectionName_Proxy(
IWMStreamConfig* This,
WCHAR *pwszInputName,
WORD *pcchInputName);
void __RPC_STUB IWMStreamConfig_GetConnectionName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetConnectionName_Proxy(
IWMStreamConfig* This,
LPCWSTR_WMSDK_TYPE_SAFE pwszInputName);
void __RPC_STUB IWMStreamConfig_SetConnectionName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetBitrate_Proxy(
IWMStreamConfig* This,
DWORD *pdwBitrate);
void __RPC_STUB IWMStreamConfig_GetBitrate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetBitrate_Proxy(
IWMStreamConfig* This,
DWORD pdwBitrate);
void __RPC_STUB IWMStreamConfig_SetBitrate_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_GetBufferWindow_Proxy(
IWMStreamConfig* This,
DWORD *pmsBufferWindow);
void __RPC_STUB IWMStreamConfig_GetBufferWindow_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMStreamConfig_SetBufferWindow_Proxy(
IWMStreamConfig* This,
DWORD msBufferWindow);
void __RPC_STUB IWMStreamConfig_SetBufferWindow_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMStreamConfig_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMProfile interface
*/
#ifndef __IWMProfile_INTERFACE_DEFINED__
#define __IWMProfile_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bdb-2b2b-11d3-b36b-00c04f6108ff")
IWMProfile : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetVersion(
WMT_VERSION *pdwVersion) = 0;
virtual HRESULT STDMETHODCALLTYPE GetName(
WCHAR *pwszName,
DWORD *pcchName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetName(
const WCHAR *pwszName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDescription(
WCHAR *pwszDescription,
DWORD *pcchDescription) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDescription(
const WCHAR *pwszDescription) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStreamCount(
DWORD *pcStreams) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStream(
DWORD dwStreamIndex,
IWMStreamConfig **ppConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStreamByNumber(
WORD wStreamNum,
IWMStreamConfig **ppConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveStream(
IWMStreamConfig *pConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveStreamByNumber(
WORD wStreamNum) = 0;
virtual HRESULT STDMETHODCALLTYPE AddStream(
IWMStreamConfig *pConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE ReconfigStream(
IWMStreamConfig *pConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateNewStream(
REFGUID guidStreamType,
IWMStreamConfig **ppConfig) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMutualExclusionCount(
DWORD *pcME) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMutualExclusion(
DWORD dwMEIndex,
IWMMutualExclusion **ppME) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveMutualExclusion(
IWMMutualExclusion *pME) = 0;
virtual HRESULT STDMETHODCALLTYPE AddMutualExclusion(
IWMMutualExclusion *pME) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateNewMutualExclusion(
IWMMutualExclusion **ppME) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMProfile, 0x96406bdb, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMProfileVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMProfile* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMProfile* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMProfile* This);
/*** IWMProfile methods ***/
HRESULT (STDMETHODCALLTYPE *GetVersion)(
IWMProfile* This,
WMT_VERSION *pdwVersion);
HRESULT (STDMETHODCALLTYPE *GetName)(
IWMProfile* This,
WCHAR *pwszName,
DWORD *pcchName);
HRESULT (STDMETHODCALLTYPE *SetName)(
IWMProfile* This,
const WCHAR *pwszName);
HRESULT (STDMETHODCALLTYPE *GetDescription)(
IWMProfile* This,
WCHAR *pwszDescription,
DWORD *pcchDescription);
HRESULT (STDMETHODCALLTYPE *SetDescription)(
IWMProfile* This,
const WCHAR *pwszDescription);
HRESULT (STDMETHODCALLTYPE *GetStreamCount)(
IWMProfile* This,
DWORD *pcStreams);
HRESULT (STDMETHODCALLTYPE *GetStream)(
IWMProfile* This,
DWORD dwStreamIndex,
IWMStreamConfig **ppConfig);
HRESULT (STDMETHODCALLTYPE *GetStreamByNumber)(
IWMProfile* This,
WORD wStreamNum,
IWMStreamConfig **ppConfig);
HRESULT (STDMETHODCALLTYPE *RemoveStream)(
IWMProfile* This,
IWMStreamConfig *pConfig);
HRESULT (STDMETHODCALLTYPE *RemoveStreamByNumber)(
IWMProfile* This,
WORD wStreamNum);
HRESULT (STDMETHODCALLTYPE *AddStream)(
IWMProfile* This,
IWMStreamConfig *pConfig);
HRESULT (STDMETHODCALLTYPE *ReconfigStream)(
IWMProfile* This,
IWMStreamConfig *pConfig);
HRESULT (STDMETHODCALLTYPE *CreateNewStream)(
IWMProfile* This,
REFGUID guidStreamType,
IWMStreamConfig **ppConfig);
HRESULT (STDMETHODCALLTYPE *GetMutualExclusionCount)(
IWMProfile* This,
DWORD *pcME);
HRESULT (STDMETHODCALLTYPE *GetMutualExclusion)(
IWMProfile* This,
DWORD dwMEIndex,
IWMMutualExclusion **ppME);
HRESULT (STDMETHODCALLTYPE *RemoveMutualExclusion)(
IWMProfile* This,
IWMMutualExclusion *pME);
HRESULT (STDMETHODCALLTYPE *AddMutualExclusion)(
IWMProfile* This,
IWMMutualExclusion *pME);
HRESULT (STDMETHODCALLTYPE *CreateNewMutualExclusion)(
IWMProfile* This,
IWMMutualExclusion **ppME);
END_INTERFACE
} IWMProfileVtbl;
interface IWMProfile {
CONST_VTBL IWMProfileVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMProfile_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMProfile_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMProfile_Release(This) (This)->lpVtbl->Release(This)
/*** IWMProfile methods ***/
#define IWMProfile_GetVersion(This,pdwVersion) (This)->lpVtbl->GetVersion(This,pdwVersion)
#define IWMProfile_GetName(This,pwszName,pcchName) (This)->lpVtbl->GetName(This,pwszName,pcchName)
#define IWMProfile_SetName(This,pwszName) (This)->lpVtbl->SetName(This,pwszName)
#define IWMProfile_GetDescription(This,pwszDescription,pcchDescription) (This)->lpVtbl->GetDescription(This,pwszDescription,pcchDescription)
#define IWMProfile_SetDescription(This,pwszDescription) (This)->lpVtbl->SetDescription(This,pwszDescription)
#define IWMProfile_GetStreamCount(This,pcStreams) (This)->lpVtbl->GetStreamCount(This,pcStreams)
#define IWMProfile_GetStream(This,dwStreamIndex,ppConfig) (This)->lpVtbl->GetStream(This,dwStreamIndex,ppConfig)
#define IWMProfile_GetStreamByNumber(This,wStreamNum,ppConfig) (This)->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig)
#define IWMProfile_RemoveStream(This,pConfig) (This)->lpVtbl->RemoveStream(This,pConfig)
#define IWMProfile_RemoveStreamByNumber(This,wStreamNum) (This)->lpVtbl->RemoveStreamByNumber(This,wStreamNum)
#define IWMProfile_AddStream(This,pConfig) (This)->lpVtbl->AddStream(This,pConfig)
#define IWMProfile_ReconfigStream(This,pConfig) (This)->lpVtbl->ReconfigStream(This,pConfig)
#define IWMProfile_CreateNewStream(This,guidStreamType,ppConfig) (This)->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig)
#define IWMProfile_GetMutualExclusionCount(This,pcME) (This)->lpVtbl->GetMutualExclusionCount(This,pcME)
#define IWMProfile_GetMutualExclusion(This,dwMEIndex,ppME) (This)->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME)
#define IWMProfile_RemoveMutualExclusion(This,pME) (This)->lpVtbl->RemoveMutualExclusion(This,pME)
#define IWMProfile_AddMutualExclusion(This,pME) (This)->lpVtbl->AddMutualExclusion(This,pME)
#define IWMProfile_CreateNewMutualExclusion(This,ppME) (This)->lpVtbl->CreateNewMutualExclusion(This,ppME)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMProfile_QueryInterface(IWMProfile* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMProfile_AddRef(IWMProfile* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMProfile_Release(IWMProfile* This) {
return This->lpVtbl->Release(This);
}
/*** IWMProfile methods ***/
static FORCEINLINE HRESULT IWMProfile_GetVersion(IWMProfile* This,WMT_VERSION *pdwVersion) {
return This->lpVtbl->GetVersion(This,pdwVersion);
}
static FORCEINLINE HRESULT IWMProfile_GetName(IWMProfile* This,WCHAR *pwszName,DWORD *pcchName) {
return This->lpVtbl->GetName(This,pwszName,pcchName);
}
static FORCEINLINE HRESULT IWMProfile_SetName(IWMProfile* This,const WCHAR *pwszName) {
return This->lpVtbl->SetName(This,pwszName);
}
static FORCEINLINE HRESULT IWMProfile_GetDescription(IWMProfile* This,WCHAR *pwszDescription,DWORD *pcchDescription) {
return This->lpVtbl->GetDescription(This,pwszDescription,pcchDescription);
}
static FORCEINLINE HRESULT IWMProfile_SetDescription(IWMProfile* This,const WCHAR *pwszDescription) {
return This->lpVtbl->SetDescription(This,pwszDescription);
}
static FORCEINLINE HRESULT IWMProfile_GetStreamCount(IWMProfile* This,DWORD *pcStreams) {
return This->lpVtbl->GetStreamCount(This,pcStreams);
}
static FORCEINLINE HRESULT IWMProfile_GetStream(IWMProfile* This,DWORD dwStreamIndex,IWMStreamConfig **ppConfig) {
return This->lpVtbl->GetStream(This,dwStreamIndex,ppConfig);
}
static FORCEINLINE HRESULT IWMProfile_GetStreamByNumber(IWMProfile* This,WORD wStreamNum,IWMStreamConfig **ppConfig) {
return This->lpVtbl->GetStreamByNumber(This,wStreamNum,ppConfig);
}
static FORCEINLINE HRESULT IWMProfile_RemoveStream(IWMProfile* This,IWMStreamConfig *pConfig) {
return This->lpVtbl->RemoveStream(This,pConfig);
}
static FORCEINLINE HRESULT IWMProfile_RemoveStreamByNumber(IWMProfile* This,WORD wStreamNum) {
return This->lpVtbl->RemoveStreamByNumber(This,wStreamNum);
}
static FORCEINLINE HRESULT IWMProfile_AddStream(IWMProfile* This,IWMStreamConfig *pConfig) {
return This->lpVtbl->AddStream(This,pConfig);
}
static FORCEINLINE HRESULT IWMProfile_ReconfigStream(IWMProfile* This,IWMStreamConfig *pConfig) {
return This->lpVtbl->ReconfigStream(This,pConfig);
}
static FORCEINLINE HRESULT IWMProfile_CreateNewStream(IWMProfile* This,REFGUID guidStreamType,IWMStreamConfig **ppConfig) {
return This->lpVtbl->CreateNewStream(This,guidStreamType,ppConfig);
}
static FORCEINLINE HRESULT IWMProfile_GetMutualExclusionCount(IWMProfile* This,DWORD *pcME) {
return This->lpVtbl->GetMutualExclusionCount(This,pcME);
}
static FORCEINLINE HRESULT IWMProfile_GetMutualExclusion(IWMProfile* This,DWORD dwMEIndex,IWMMutualExclusion **ppME) {
return This->lpVtbl->GetMutualExclusion(This,dwMEIndex,ppME);
}
static FORCEINLINE HRESULT IWMProfile_RemoveMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) {
return This->lpVtbl->RemoveMutualExclusion(This,pME);
}
static FORCEINLINE HRESULT IWMProfile_AddMutualExclusion(IWMProfile* This,IWMMutualExclusion *pME) {
return This->lpVtbl->AddMutualExclusion(This,pME);
}
static FORCEINLINE HRESULT IWMProfile_CreateNewMutualExclusion(IWMProfile* This,IWMMutualExclusion **ppME) {
return This->lpVtbl->CreateNewMutualExclusion(This,ppME);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMProfile_GetVersion_Proxy(
IWMProfile* This,
WMT_VERSION *pdwVersion);
void __RPC_STUB IWMProfile_GetVersion_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetName_Proxy(
IWMProfile* This,
WCHAR *pwszName,
DWORD *pcchName);
void __RPC_STUB IWMProfile_GetName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_SetName_Proxy(
IWMProfile* This,
const WCHAR *pwszName);
void __RPC_STUB IWMProfile_SetName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetDescription_Proxy(
IWMProfile* This,
WCHAR *pwszDescription,
DWORD *pcchDescription);
void __RPC_STUB IWMProfile_GetDescription_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_SetDescription_Proxy(
IWMProfile* This,
const WCHAR *pwszDescription);
void __RPC_STUB IWMProfile_SetDescription_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetStreamCount_Proxy(
IWMProfile* This,
DWORD *pcStreams);
void __RPC_STUB IWMProfile_GetStreamCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetStream_Proxy(
IWMProfile* This,
DWORD dwStreamIndex,
IWMStreamConfig **ppConfig);
void __RPC_STUB IWMProfile_GetStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetStreamByNumber_Proxy(
IWMProfile* This,
WORD wStreamNum,
IWMStreamConfig **ppConfig);
void __RPC_STUB IWMProfile_GetStreamByNumber_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_RemoveStream_Proxy(
IWMProfile* This,
IWMStreamConfig *pConfig);
void __RPC_STUB IWMProfile_RemoveStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_RemoveStreamByNumber_Proxy(
IWMProfile* This,
WORD wStreamNum);
void __RPC_STUB IWMProfile_RemoveStreamByNumber_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_AddStream_Proxy(
IWMProfile* This,
IWMStreamConfig *pConfig);
void __RPC_STUB IWMProfile_AddStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_ReconfigStream_Proxy(
IWMProfile* This,
IWMStreamConfig *pConfig);
void __RPC_STUB IWMProfile_ReconfigStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_CreateNewStream_Proxy(
IWMProfile* This,
REFGUID guidStreamType,
IWMStreamConfig **ppConfig);
void __RPC_STUB IWMProfile_CreateNewStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetMutualExclusionCount_Proxy(
IWMProfile* This,
DWORD *pcME);
void __RPC_STUB IWMProfile_GetMutualExclusionCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_GetMutualExclusion_Proxy(
IWMProfile* This,
DWORD dwMEIndex,
IWMMutualExclusion **ppME);
void __RPC_STUB IWMProfile_GetMutualExclusion_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_RemoveMutualExclusion_Proxy(
IWMProfile* This,
IWMMutualExclusion *pME);
void __RPC_STUB IWMProfile_RemoveMutualExclusion_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_AddMutualExclusion_Proxy(
IWMProfile* This,
IWMMutualExclusion *pME);
void __RPC_STUB IWMProfile_AddMutualExclusion_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfile_CreateNewMutualExclusion_Proxy(
IWMProfile* This,
IWMMutualExclusion **ppME);
void __RPC_STUB IWMProfile_CreateNewMutualExclusion_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMProfile_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMProfileManager interface
*/
#ifndef __IWMProfileManager_INTERFACE_DEFINED__
#define __IWMProfileManager_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d16679f2-6ca0-472d-8d31-2f5d55aee155")
IWMProfileManager : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateEmptyProfile(
WMT_VERSION dwVersion,
IWMProfile **ppProfile) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadProfileByID(
REFGUID guidProfile,
IWMProfile **ppProfile) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadProfileByData(
const WCHAR *pwszProfile,
IWMProfile **ppProfile) = 0;
virtual HRESULT STDMETHODCALLTYPE SaveProfile(
IWMProfile *pIWMProfile,
WCHAR *pwszProfile,
DWORD *pdwLength) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSystemProfileCount(
DWORD *pcProfiles) = 0;
virtual HRESULT STDMETHODCALLTYPE LoadSystemProfile(
DWORD dwProfileIndex,
IWMProfile **ppProfile) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMProfileManager, 0xd16679f2, 0x6ca0, 0x472d, 0x8d,0x31, 0x2f,0x5d,0x55,0xae,0xe1,0x55)
#endif
#else
typedef struct IWMProfileManagerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMProfileManager* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMProfileManager* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMProfileManager* This);
/*** IWMProfileManager methods ***/
HRESULT (STDMETHODCALLTYPE *CreateEmptyProfile)(
IWMProfileManager* This,
WMT_VERSION dwVersion,
IWMProfile **ppProfile);
HRESULT (STDMETHODCALLTYPE *LoadProfileByID)(
IWMProfileManager* This,
REFGUID guidProfile,
IWMProfile **ppProfile);
HRESULT (STDMETHODCALLTYPE *LoadProfileByData)(
IWMProfileManager* This,
const WCHAR *pwszProfile,
IWMProfile **ppProfile);
HRESULT (STDMETHODCALLTYPE *SaveProfile)(
IWMProfileManager* This,
IWMProfile *pIWMProfile,
WCHAR *pwszProfile,
DWORD *pdwLength);
HRESULT (STDMETHODCALLTYPE *GetSystemProfileCount)(
IWMProfileManager* This,
DWORD *pcProfiles);
HRESULT (STDMETHODCALLTYPE *LoadSystemProfile)(
IWMProfileManager* This,
DWORD dwProfileIndex,
IWMProfile **ppProfile);
END_INTERFACE
} IWMProfileManagerVtbl;
interface IWMProfileManager {
CONST_VTBL IWMProfileManagerVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMProfileManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMProfileManager_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMProfileManager_Release(This) (This)->lpVtbl->Release(This)
/*** IWMProfileManager methods ***/
#define IWMProfileManager_CreateEmptyProfile(This,dwVersion,ppProfile) (This)->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile)
#define IWMProfileManager_LoadProfileByID(This,guidProfile,ppProfile) (This)->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile)
#define IWMProfileManager_LoadProfileByData(This,pwszProfile,ppProfile) (This)->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile)
#define IWMProfileManager_SaveProfile(This,pIWMProfile,pwszProfile,pdwLength) (This)->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength)
#define IWMProfileManager_GetSystemProfileCount(This,pcProfiles) (This)->lpVtbl->GetSystemProfileCount(This,pcProfiles)
#define IWMProfileManager_LoadSystemProfile(This,dwProfileIndex,ppProfile) (This)->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMProfileManager_QueryInterface(IWMProfileManager* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMProfileManager_AddRef(IWMProfileManager* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMProfileManager_Release(IWMProfileManager* This) {
return This->lpVtbl->Release(This);
}
/*** IWMProfileManager methods ***/
static FORCEINLINE HRESULT IWMProfileManager_CreateEmptyProfile(IWMProfileManager* This,WMT_VERSION dwVersion,IWMProfile **ppProfile) {
return This->lpVtbl->CreateEmptyProfile(This,dwVersion,ppProfile);
}
static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByID(IWMProfileManager* This,REFGUID guidProfile,IWMProfile **ppProfile) {
return This->lpVtbl->LoadProfileByID(This,guidProfile,ppProfile);
}
static FORCEINLINE HRESULT IWMProfileManager_LoadProfileByData(IWMProfileManager* This,const WCHAR *pwszProfile,IWMProfile **ppProfile) {
return This->lpVtbl->LoadProfileByData(This,pwszProfile,ppProfile);
}
static FORCEINLINE HRESULT IWMProfileManager_SaveProfile(IWMProfileManager* This,IWMProfile *pIWMProfile,WCHAR *pwszProfile,DWORD *pdwLength) {
return This->lpVtbl->SaveProfile(This,pIWMProfile,pwszProfile,pdwLength);
}
static FORCEINLINE HRESULT IWMProfileManager_GetSystemProfileCount(IWMProfileManager* This,DWORD *pcProfiles) {
return This->lpVtbl->GetSystemProfileCount(This,pcProfiles);
}
static FORCEINLINE HRESULT IWMProfileManager_LoadSystemProfile(IWMProfileManager* This,DWORD dwProfileIndex,IWMProfile **ppProfile) {
return This->lpVtbl->LoadSystemProfile(This,dwProfileIndex,ppProfile);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMProfileManager_CreateEmptyProfile_Proxy(
IWMProfileManager* This,
WMT_VERSION dwVersion,
IWMProfile **ppProfile);
void __RPC_STUB IWMProfileManager_CreateEmptyProfile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadProfileByID_Proxy(
IWMProfileManager* This,
REFGUID guidProfile,
IWMProfile **ppProfile);
void __RPC_STUB IWMProfileManager_LoadProfileByID_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadProfileByData_Proxy(
IWMProfileManager* This,
const WCHAR *pwszProfile,
IWMProfile **ppProfile);
void __RPC_STUB IWMProfileManager_LoadProfileByData_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfileManager_SaveProfile_Proxy(
IWMProfileManager* This,
IWMProfile *pIWMProfile,
WCHAR *pwszProfile,
DWORD *pdwLength);
void __RPC_STUB IWMProfileManager_SaveProfile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfileManager_GetSystemProfileCount_Proxy(
IWMProfileManager* This,
DWORD *pcProfiles);
void __RPC_STUB IWMProfileManager_GetSystemProfileCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadSystemProfile_Proxy(
IWMProfileManager* This,
DWORD dwProfileIndex,
IWMProfile **ppProfile);
void __RPC_STUB IWMProfileManager_LoadSystemProfile_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMProfileManager_INTERFACE_DEFINED__ */
HRESULT WINAPI WMCreateProfileManager(IWMProfileManager**);
/*****************************************************************************
* IWMMediaProps interface
*/
#ifndef __IWMMediaProps_INTERFACE_DEFINED__
#define __IWMMediaProps_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMMediaProps, 0x96406bce, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bce-2b2b-11d3-b36b-00c04f6108ff")
IWMMediaProps : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetType(
GUID *pguidType) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMediaType(
WM_MEDIA_TYPE *pType,
DWORD *pcbType) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMediaType(
WM_MEDIA_TYPE *pType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMMediaProps, 0x96406bce, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMMediaPropsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMMediaProps* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMMediaProps* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMMediaProps* This);
/*** IWMMediaProps methods ***/
HRESULT (STDMETHODCALLTYPE *GetType)(
IWMMediaProps* This,
GUID *pguidType);
HRESULT (STDMETHODCALLTYPE *GetMediaType)(
IWMMediaProps* This,
WM_MEDIA_TYPE *pType,
DWORD *pcbType);
HRESULT (STDMETHODCALLTYPE *SetMediaType)(
IWMMediaProps* This,
WM_MEDIA_TYPE *pType);
END_INTERFACE
} IWMMediaPropsVtbl;
interface IWMMediaProps {
CONST_VTBL IWMMediaPropsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMMediaProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMMediaProps_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMMediaProps_Release(This) (This)->lpVtbl->Release(This)
/*** IWMMediaProps methods ***/
#define IWMMediaProps_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType)
#define IWMMediaProps_GetMediaType(This,pType,pcbType) (This)->lpVtbl->GetMediaType(This,pType,pcbType)
#define IWMMediaProps_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMMediaProps_QueryInterface(IWMMediaProps* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMMediaProps_AddRef(IWMMediaProps* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMMediaProps_Release(IWMMediaProps* This) {
return This->lpVtbl->Release(This);
}
/*** IWMMediaProps methods ***/
static FORCEINLINE HRESULT IWMMediaProps_GetType(IWMMediaProps* This,GUID *pguidType) {
return This->lpVtbl->GetType(This,pguidType);
}
static FORCEINLINE HRESULT IWMMediaProps_GetMediaType(IWMMediaProps* This,WM_MEDIA_TYPE *pType,DWORD *pcbType) {
return This->lpVtbl->GetMediaType(This,pType,pcbType);
}
static FORCEINLINE HRESULT IWMMediaProps_SetMediaType(IWMMediaProps* This,WM_MEDIA_TYPE *pType) {
return This->lpVtbl->SetMediaType(This,pType);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMMediaProps_GetType_Proxy(
IWMMediaProps* This,
GUID *pguidType);
void __RPC_STUB IWMMediaProps_GetType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMMediaProps_GetMediaType_Proxy(
IWMMediaProps* This,
WM_MEDIA_TYPE *pType,
DWORD *pcbType);
void __RPC_STUB IWMMediaProps_GetMediaType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMMediaProps_SetMediaType_Proxy(
IWMMediaProps* This,
WM_MEDIA_TYPE *pType);
void __RPC_STUB IWMMediaProps_SetMediaType_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMMediaProps_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMOutputMediaProps interface
*/
#ifndef __IWMOutputMediaProps_INTERFACE_DEFINED__
#define __IWMOutputMediaProps_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMOutputMediaProps, 0x96406bd7, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bd7-2b2b-11d3-b36b-00c04f6108ff")
IWMOutputMediaProps : public IWMMediaProps
{
virtual HRESULT STDMETHODCALLTYPE GetStreamGroupName(
WCHAR *pwszName,
WORD *pcchName) = 0;
virtual HRESULT STDMETHODCALLTYPE GetConnectionName(
WCHAR *pwszName,
WORD *pcchName) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMOutputMediaProps, 0x96406bd7, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMOutputMediaPropsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMOutputMediaProps* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMOutputMediaProps* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMOutputMediaProps* This);
/*** IWMMediaProps methods ***/
HRESULT (STDMETHODCALLTYPE *GetType)(
IWMOutputMediaProps* This,
GUID *pguidType);
HRESULT (STDMETHODCALLTYPE *GetMediaType)(
IWMOutputMediaProps* This,
WM_MEDIA_TYPE *pType,
DWORD *pcbType);
HRESULT (STDMETHODCALLTYPE *SetMediaType)(
IWMOutputMediaProps* This,
WM_MEDIA_TYPE *pType);
/*** IWMOutputMediaProps methods ***/
HRESULT (STDMETHODCALLTYPE *GetStreamGroupName)(
IWMOutputMediaProps* This,
WCHAR *pwszName,
WORD *pcchName);
HRESULT (STDMETHODCALLTYPE *GetConnectionName)(
IWMOutputMediaProps* This,
WCHAR *pwszName,
WORD *pcchName);
END_INTERFACE
} IWMOutputMediaPropsVtbl;
interface IWMOutputMediaProps {
CONST_VTBL IWMOutputMediaPropsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMOutputMediaProps_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMOutputMediaProps_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMOutputMediaProps_Release(This) (This)->lpVtbl->Release(This)
/*** IWMMediaProps methods ***/
#define IWMOutputMediaProps_GetType(This,pguidType) (This)->lpVtbl->GetType(This,pguidType)
#define IWMOutputMediaProps_GetMediaType(This,pType,pcbType) (This)->lpVtbl->GetMediaType(This,pType,pcbType)
#define IWMOutputMediaProps_SetMediaType(This,pType) (This)->lpVtbl->SetMediaType(This,pType)
/*** IWMOutputMediaProps methods ***/
#define IWMOutputMediaProps_GetStreamGroupName(This,pwszName,pcchName) (This)->lpVtbl->GetStreamGroupName(This,pwszName,pcchName)
#define IWMOutputMediaProps_GetConnectionName(This,pwszName,pcchName) (This)->lpVtbl->GetConnectionName(This,pwszName,pcchName)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMOutputMediaProps_QueryInterface(IWMOutputMediaProps* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMOutputMediaProps_AddRef(IWMOutputMediaProps* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMOutputMediaProps_Release(IWMOutputMediaProps* This) {
return This->lpVtbl->Release(This);
}
/*** IWMMediaProps methods ***/
static FORCEINLINE HRESULT IWMOutputMediaProps_GetType(IWMOutputMediaProps* This,GUID *pguidType) {
return This->lpVtbl->GetType(This,pguidType);
}
static FORCEINLINE HRESULT IWMOutputMediaProps_GetMediaType(IWMOutputMediaProps* This,WM_MEDIA_TYPE *pType,DWORD *pcbType) {
return This->lpVtbl->GetMediaType(This,pType,pcbType);
}
static FORCEINLINE HRESULT IWMOutputMediaProps_SetMediaType(IWMOutputMediaProps* This,WM_MEDIA_TYPE *pType) {
return This->lpVtbl->SetMediaType(This,pType);
}
/*** IWMOutputMediaProps methods ***/
static FORCEINLINE HRESULT IWMOutputMediaProps_GetStreamGroupName(IWMOutputMediaProps* This,WCHAR *pwszName,WORD *pcchName) {
return This->lpVtbl->GetStreamGroupName(This,pwszName,pcchName);
}
static FORCEINLINE HRESULT IWMOutputMediaProps_GetConnectionName(IWMOutputMediaProps* This,WCHAR *pwszName,WORD *pcchName) {
return This->lpVtbl->GetConnectionName(This,pwszName,pcchName);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMOutputMediaProps_GetStreamGroupName_Proxy(
IWMOutputMediaProps* This,
WCHAR *pwszName,
WORD *pcchName);
void __RPC_STUB IWMOutputMediaProps_GetStreamGroupName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMOutputMediaProps_GetConnectionName_Proxy(
IWMOutputMediaProps* This,
WCHAR *pwszName,
WORD *pcchName);
void __RPC_STUB IWMOutputMediaProps_GetConnectionName_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMOutputMediaProps_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMMetadataEditor interface
*/
#ifndef __IWMMetadataEditor_INTERFACE_DEFINED__
#define __IWMMetadataEditor_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMMetadataEditor, 0x96406bd9, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bd9-2b2b-11d3-b36b-00c04f6108ff")
IWMMetadataEditor : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Open(
const WCHAR *pwszFilename) = 0;
virtual HRESULT STDMETHODCALLTYPE Close(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Flush(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMMetadataEditor, 0x96406bd9, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMMetadataEditorVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMMetadataEditor* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMMetadataEditor* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMMetadataEditor* This);
/*** IWMMetadataEditor methods ***/
HRESULT (STDMETHODCALLTYPE *Open)(
IWMMetadataEditor* This,
const WCHAR *pwszFilename);
HRESULT (STDMETHODCALLTYPE *Close)(
IWMMetadataEditor* This);
HRESULT (STDMETHODCALLTYPE *Flush)(
IWMMetadataEditor* This);
END_INTERFACE
} IWMMetadataEditorVtbl;
interface IWMMetadataEditor {
CONST_VTBL IWMMetadataEditorVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMMetadataEditor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMMetadataEditor_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMMetadataEditor_Release(This) (This)->lpVtbl->Release(This)
/*** IWMMetadataEditor methods ***/
#define IWMMetadataEditor_Open(This,pwszFilename) (This)->lpVtbl->Open(This,pwszFilename)
#define IWMMetadataEditor_Close(This) (This)->lpVtbl->Close(This)
#define IWMMetadataEditor_Flush(This) (This)->lpVtbl->Flush(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMMetadataEditor_QueryInterface(IWMMetadataEditor* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMMetadataEditor_AddRef(IWMMetadataEditor* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMMetadataEditor_Release(IWMMetadataEditor* This) {
return This->lpVtbl->Release(This);
}
/*** IWMMetadataEditor methods ***/
static FORCEINLINE HRESULT IWMMetadataEditor_Open(IWMMetadataEditor* This,const WCHAR *pwszFilename) {
return This->lpVtbl->Open(This,pwszFilename);
}
static FORCEINLINE HRESULT IWMMetadataEditor_Close(IWMMetadataEditor* This) {
return This->lpVtbl->Close(This);
}
static FORCEINLINE HRESULT IWMMetadataEditor_Flush(IWMMetadataEditor* This) {
return This->lpVtbl->Flush(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMMetadataEditor_Open_Proxy(
IWMMetadataEditor* This,
const WCHAR *pwszFilename);
void __RPC_STUB IWMMetadataEditor_Open_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMMetadataEditor_Close_Proxy(
IWMMetadataEditor* This);
void __RPC_STUB IWMMetadataEditor_Close_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMMetadataEditor_Flush_Proxy(
IWMMetadataEditor* This);
void __RPC_STUB IWMMetadataEditor_Flush_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMMetadataEditor_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMReader interface
*/
#ifndef __IWMReader_INTERFACE_DEFINED__
#define __IWMReader_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMReader, 0x96406bd6, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bd6-2b2b-11d3-b36b-00c04f6108ff")
IWMReader : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Open(
const WCHAR *pwszURL,
IWMReaderCallback *pCallback,
void *pvContext) = 0;
virtual HRESULT STDMETHODCALLTYPE Close(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOutputCount(
DWORD *pcOutputs) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOutputProps(
DWORD dwOutputNum,
IWMOutputMediaProps **ppOutput) = 0;
virtual HRESULT STDMETHODCALLTYPE SetOutputProps(
DWORD dwOutputNum,
IWMOutputMediaProps *pOutput) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOutputFormatCount(
DWORD dwOutputNumber,
DWORD *pcFormats) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOutputFormat(
DWORD dwOutputNumber,
DWORD dwFormatNumber,
IWMOutputMediaProps **ppProps) = 0;
virtual HRESULT STDMETHODCALLTYPE Start(
QWORD cnsStart,
QWORD cnsDuration,
float fRate,
void *pvContext) = 0;
virtual HRESULT STDMETHODCALLTYPE Stop(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Pause(
) = 0;
virtual HRESULT STDMETHODCALLTYPE Resume(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMReader, 0x96406bd6, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMReaderVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMReader* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMReader* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMReader* This);
/*** IWMReader methods ***/
HRESULT (STDMETHODCALLTYPE *Open)(
IWMReader* This,
const WCHAR *pwszURL,
IWMReaderCallback *pCallback,
void *pvContext);
HRESULT (STDMETHODCALLTYPE *Close)(
IWMReader* This);
HRESULT (STDMETHODCALLTYPE *GetOutputCount)(
IWMReader* This,
DWORD *pcOutputs);
HRESULT (STDMETHODCALLTYPE *GetOutputProps)(
IWMReader* This,
DWORD dwOutputNum,
IWMOutputMediaProps **ppOutput);
HRESULT (STDMETHODCALLTYPE *SetOutputProps)(
IWMReader* This,
DWORD dwOutputNum,
IWMOutputMediaProps *pOutput);
HRESULT (STDMETHODCALLTYPE *GetOutputFormatCount)(
IWMReader* This,
DWORD dwOutputNumber,
DWORD *pcFormats);
HRESULT (STDMETHODCALLTYPE *GetOutputFormat)(
IWMReader* This,
DWORD dwOutputNumber,
DWORD dwFormatNumber,
IWMOutputMediaProps **ppProps);
HRESULT (STDMETHODCALLTYPE *Start)(
IWMReader* This,
QWORD cnsStart,
QWORD cnsDuration,
float fRate,
void *pvContext);
HRESULT (STDMETHODCALLTYPE *Stop)(
IWMReader* This);
HRESULT (STDMETHODCALLTYPE *Pause)(
IWMReader* This);
HRESULT (STDMETHODCALLTYPE *Resume)(
IWMReader* This);
END_INTERFACE
} IWMReaderVtbl;
interface IWMReader {
CONST_VTBL IWMReaderVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMReader_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMReader_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMReader_Release(This) (This)->lpVtbl->Release(This)
/*** IWMReader methods ***/
#define IWMReader_Open(This,pwszURL,pCallback,pvContext) (This)->lpVtbl->Open(This,pwszURL,pCallback,pvContext)
#define IWMReader_Close(This) (This)->lpVtbl->Close(This)
#define IWMReader_GetOutputCount(This,pcOutputs) (This)->lpVtbl->GetOutputCount(This,pcOutputs)
#define IWMReader_GetOutputProps(This,dwOutputNum,ppOutput) (This)->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput)
#define IWMReader_SetOutputProps(This,dwOutputNum,pOutput) (This)->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput)
#define IWMReader_GetOutputFormatCount(This,dwOutputNumber,pcFormats) (This)->lpVtbl->GetOutputFormatCount(This,dwOutputNumber,pcFormats)
#define IWMReader_GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps) (This)->lpVtbl->GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps)
#define IWMReader_Start(This,cnsStart,cnsDuration,fRate,pvContext) (This)->lpVtbl->Start(This,cnsStart,cnsDuration,fRate,pvContext)
#define IWMReader_Stop(This) (This)->lpVtbl->Stop(This)
#define IWMReader_Pause(This) (This)->lpVtbl->Pause(This)
#define IWMReader_Resume(This) (This)->lpVtbl->Resume(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMReader_QueryInterface(IWMReader* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMReader_AddRef(IWMReader* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMReader_Release(IWMReader* This) {
return This->lpVtbl->Release(This);
}
/*** IWMReader methods ***/
static FORCEINLINE HRESULT IWMReader_Open(IWMReader* This,const WCHAR *pwszURL,IWMReaderCallback *pCallback,void *pvContext) {
return This->lpVtbl->Open(This,pwszURL,pCallback,pvContext);
}
static FORCEINLINE HRESULT IWMReader_Close(IWMReader* This) {
return This->lpVtbl->Close(This);
}
static FORCEINLINE HRESULT IWMReader_GetOutputCount(IWMReader* This,DWORD *pcOutputs) {
return This->lpVtbl->GetOutputCount(This,pcOutputs);
}
static FORCEINLINE HRESULT IWMReader_GetOutputProps(IWMReader* This,DWORD dwOutputNum,IWMOutputMediaProps **ppOutput) {
return This->lpVtbl->GetOutputProps(This,dwOutputNum,ppOutput);
}
static FORCEINLINE HRESULT IWMReader_SetOutputProps(IWMReader* This,DWORD dwOutputNum,IWMOutputMediaProps *pOutput) {
return This->lpVtbl->SetOutputProps(This,dwOutputNum,pOutput);
}
static FORCEINLINE HRESULT IWMReader_GetOutputFormatCount(IWMReader* This,DWORD dwOutputNumber,DWORD *pcFormats) {
return This->lpVtbl->GetOutputFormatCount(This,dwOutputNumber,pcFormats);
}
static FORCEINLINE HRESULT IWMReader_GetOutputFormat(IWMReader* This,DWORD dwOutputNumber,DWORD dwFormatNumber,IWMOutputMediaProps **ppProps) {
return This->lpVtbl->GetOutputFormat(This,dwOutputNumber,dwFormatNumber,ppProps);
}
static FORCEINLINE HRESULT IWMReader_Start(IWMReader* This,QWORD cnsStart,QWORD cnsDuration,float fRate,void *pvContext) {
return This->lpVtbl->Start(This,cnsStart,cnsDuration,fRate,pvContext);
}
static FORCEINLINE HRESULT IWMReader_Stop(IWMReader* This) {
return This->lpVtbl->Stop(This);
}
static FORCEINLINE HRESULT IWMReader_Pause(IWMReader* This) {
return This->lpVtbl->Pause(This);
}
static FORCEINLINE HRESULT IWMReader_Resume(IWMReader* This) {
return This->lpVtbl->Resume(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMReader_Open_Proxy(
IWMReader* This,
const WCHAR *pwszURL,
IWMReaderCallback *pCallback,
void *pvContext);
void __RPC_STUB IWMReader_Open_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_Close_Proxy(
IWMReader* This);
void __RPC_STUB IWMReader_Close_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_GetOutputCount_Proxy(
IWMReader* This,
DWORD *pcOutputs);
void __RPC_STUB IWMReader_GetOutputCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_GetOutputProps_Proxy(
IWMReader* This,
DWORD dwOutputNum,
IWMOutputMediaProps **ppOutput);
void __RPC_STUB IWMReader_GetOutputProps_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_SetOutputProps_Proxy(
IWMReader* This,
DWORD dwOutputNum,
IWMOutputMediaProps *pOutput);
void __RPC_STUB IWMReader_SetOutputProps_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_GetOutputFormatCount_Proxy(
IWMReader* This,
DWORD dwOutputNumber,
DWORD *pcFormats);
void __RPC_STUB IWMReader_GetOutputFormatCount_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_GetOutputFormat_Proxy(
IWMReader* This,
DWORD dwOutputNumber,
DWORD dwFormatNumber,
IWMOutputMediaProps **ppProps);
void __RPC_STUB IWMReader_GetOutputFormat_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_Start_Proxy(
IWMReader* This,
QWORD cnsStart,
QWORD cnsDuration,
float fRate,
void *pvContext);
void __RPC_STUB IWMReader_Start_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_Stop_Proxy(
IWMReader* This);
void __RPC_STUB IWMReader_Stop_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_Pause_Proxy(
IWMReader* This);
void __RPC_STUB IWMReader_Pause_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReader_Resume_Proxy(
IWMReader* This);
void __RPC_STUB IWMReader_Resume_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMReader_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMPlayerHook interface
*/
#ifndef __IWMPlayerHook_INTERFACE_DEFINED__
#define __IWMPlayerHook_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMPlayerHook, 0xe5b7ca9a, 0x0f1c, 0x4f66, 0x90,0x02, 0x74,0xec,0x50,0xd8,0xb3,0x04);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("e5b7ca9a-0f1c-4f66-9002-74ec50d8b304")
IWMPlayerHook : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE PreDecode(
) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMPlayerHook, 0xe5b7ca9a, 0x0f1c, 0x4f66, 0x90,0x02, 0x74,0xec,0x50,0xd8,0xb3,0x04)
#endif
#else
typedef struct IWMPlayerHookVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMPlayerHook* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMPlayerHook* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMPlayerHook* This);
/*** IWMPlayerHook methods ***/
HRESULT (STDMETHODCALLTYPE *PreDecode)(
IWMPlayerHook* This);
END_INTERFACE
} IWMPlayerHookVtbl;
interface IWMPlayerHook {
CONST_VTBL IWMPlayerHookVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMPlayerHook_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMPlayerHook_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMPlayerHook_Release(This) (This)->lpVtbl->Release(This)
/*** IWMPlayerHook methods ***/
#define IWMPlayerHook_PreDecode(This) (This)->lpVtbl->PreDecode(This)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMPlayerHook_QueryInterface(IWMPlayerHook* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMPlayerHook_AddRef(IWMPlayerHook* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMPlayerHook_Release(IWMPlayerHook* This) {
return This->lpVtbl->Release(This);
}
/*** IWMPlayerHook methods ***/
static FORCEINLINE HRESULT IWMPlayerHook_PreDecode(IWMPlayerHook* This) {
return This->lpVtbl->PreDecode(This);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMPlayerHook_PreDecode_Proxy(
IWMPlayerHook* This);
void __RPC_STUB IWMPlayerHook_PreDecode_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMPlayerHook_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMReaderAdvanced interface
*/
#ifndef __IWMReaderAdvanced_INTERFACE_DEFINED__
#define __IWMReaderAdvanced_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMReaderAdvanced, 0x96406bea, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("96406bea-2b2b-11d3-b36b-00c04f6108ff")
IWMReaderAdvanced : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetUserProvidedClock(
WINBOOL fUserClock) = 0;
virtual HRESULT STDMETHODCALLTYPE GetUserProvidedClock(
WINBOOL *pfUserClock) = 0;
virtual HRESULT STDMETHODCALLTYPE DeliverTime(
QWORD cnsTime) = 0;
virtual HRESULT STDMETHODCALLTYPE SetManualStreamSelection(
WINBOOL fSelection) = 0;
virtual HRESULT STDMETHODCALLTYPE GetManualStreamSelection(
WINBOOL *pfSelection) = 0;
virtual HRESULT STDMETHODCALLTYPE SetStreamsSelected(
WORD cStreamCount,
WORD *pwStreamNumbers,
WMT_STREAM_SELECTION *pSelections) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStreamSelected(
WORD wStreamNum,
WMT_STREAM_SELECTION *pSelection) = 0;
virtual HRESULT STDMETHODCALLTYPE SetReceiveSelectionCallbacks(
WINBOOL fGetCallbacks) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReceiveSelectionCallbacks(
WINBOOL *pfGetCallbacks) = 0;
virtual HRESULT STDMETHODCALLTYPE SetReceiveStreamSamples(
WORD wStreamNum,
WINBOOL fReceiveStreamSamples) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReceiveStreamSamples(
WORD wStreamNum,
WINBOOL *pfReceiveStreamSamples) = 0;
virtual HRESULT STDMETHODCALLTYPE SetAllocateForOutput(
DWORD dwOutputNum,
WINBOOL fAllocate) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAllocateForOutput(
DWORD dwOutputNum,
WINBOOL *pfAllocate) = 0;
virtual HRESULT STDMETHODCALLTYPE SetAllocateForStream(
WORD wStreamNum,
WINBOOL fAllocate) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAllocateForStream(
WORD dwSreamNum,
WINBOOL *pfAllocate) = 0;
virtual HRESULT STDMETHODCALLTYPE GetStatistics(
WM_READER_STATISTICS *pStatistics) = 0;
virtual HRESULT STDMETHODCALLTYPE SetClientInfo(
WM_READER_CLIENTINFO *pClientInfo) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMaxOutputSampleSize(
DWORD dwOutput,
DWORD *pcbMax) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMaxStreamSampleSize(
WORD wStream,
DWORD *pcbMax) = 0;
virtual HRESULT STDMETHODCALLTYPE NotifyLateDelivery(
QWORD cnsLateness) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWMReaderAdvanced, 0x96406bea, 0x2b2b, 0x11d3, 0xb3,0x6b, 0x00,0xc0,0x4f,0x61,0x08,0xff)
#endif
#else
typedef struct IWMReaderAdvancedVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWMReaderAdvanced* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWMReaderAdvanced* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWMReaderAdvanced* This);
/*** IWMReaderAdvanced methods ***/
HRESULT (STDMETHODCALLTYPE *SetUserProvidedClock)(
IWMReaderAdvanced* This,
WINBOOL fUserClock);
HRESULT (STDMETHODCALLTYPE *GetUserProvidedClock)(
IWMReaderAdvanced* This,
WINBOOL *pfUserClock);
HRESULT (STDMETHODCALLTYPE *DeliverTime)(
IWMReaderAdvanced* This,
QWORD cnsTime);
HRESULT (STDMETHODCALLTYPE *SetManualStreamSelection)(
IWMReaderAdvanced* This,
WINBOOL fSelection);
HRESULT (STDMETHODCALLTYPE *GetManualStreamSelection)(
IWMReaderAdvanced* This,
WINBOOL *pfSelection);
HRESULT (STDMETHODCALLTYPE *SetStreamsSelected)(
IWMReaderAdvanced* This,
WORD cStreamCount,
WORD *pwStreamNumbers,
WMT_STREAM_SELECTION *pSelections);
HRESULT (STDMETHODCALLTYPE *GetStreamSelected)(
IWMReaderAdvanced* This,
WORD wStreamNum,
WMT_STREAM_SELECTION *pSelection);
HRESULT (STDMETHODCALLTYPE *SetReceiveSelectionCallbacks)(
IWMReaderAdvanced* This,
WINBOOL fGetCallbacks);
HRESULT (STDMETHODCALLTYPE *GetReceiveSelectionCallbacks)(
IWMReaderAdvanced* This,
WINBOOL *pfGetCallbacks);
HRESULT (STDMETHODCALLTYPE *SetReceiveStreamSamples)(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL fReceiveStreamSamples);
HRESULT (STDMETHODCALLTYPE *GetReceiveStreamSamples)(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL *pfReceiveStreamSamples);
HRESULT (STDMETHODCALLTYPE *SetAllocateForOutput)(
IWMReaderAdvanced* This,
DWORD dwOutputNum,
WINBOOL fAllocate);
HRESULT (STDMETHODCALLTYPE *GetAllocateForOutput)(
IWMReaderAdvanced* This,
DWORD dwOutputNum,
WINBOOL *pfAllocate);
HRESULT (STDMETHODCALLTYPE *SetAllocateForStream)(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL fAllocate);
HRESULT (STDMETHODCALLTYPE *GetAllocateForStream)(
IWMReaderAdvanced* This,
WORD dwSreamNum,
WINBOOL *pfAllocate);
HRESULT (STDMETHODCALLTYPE *GetStatistics)(
IWMReaderAdvanced* This,
WM_READER_STATISTICS *pStatistics);
HRESULT (STDMETHODCALLTYPE *SetClientInfo)(
IWMReaderAdvanced* This,
WM_READER_CLIENTINFO *pClientInfo);
HRESULT (STDMETHODCALLTYPE *GetMaxOutputSampleSize)(
IWMReaderAdvanced* This,
DWORD dwOutput,
DWORD *pcbMax);
HRESULT (STDMETHODCALLTYPE *GetMaxStreamSampleSize)(
IWMReaderAdvanced* This,
WORD wStream,
DWORD *pcbMax);
HRESULT (STDMETHODCALLTYPE *NotifyLateDelivery)(
IWMReaderAdvanced* This,
QWORD cnsLateness);
END_INTERFACE
} IWMReaderAdvancedVtbl;
interface IWMReaderAdvanced {
CONST_VTBL IWMReaderAdvancedVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IWMReaderAdvanced_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWMReaderAdvanced_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWMReaderAdvanced_Release(This) (This)->lpVtbl->Release(This)
/*** IWMReaderAdvanced methods ***/
#define IWMReaderAdvanced_SetUserProvidedClock(This,fUserClock) (This)->lpVtbl->SetUserProvidedClock(This,fUserClock)
#define IWMReaderAdvanced_GetUserProvidedClock(This,pfUserClock) (This)->lpVtbl->GetUserProvidedClock(This,pfUserClock)
#define IWMReaderAdvanced_DeliverTime(This,cnsTime) (This)->lpVtbl->DeliverTime(This,cnsTime)
#define IWMReaderAdvanced_SetManualStreamSelection(This,fSelection) (This)->lpVtbl->SetManualStreamSelection(This,fSelection)
#define IWMReaderAdvanced_GetManualStreamSelection(This,pfSelection) (This)->lpVtbl->GetManualStreamSelection(This,pfSelection)
#define IWMReaderAdvanced_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections) (This)->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections)
#define IWMReaderAdvanced_GetStreamSelected(This,wStreamNum,pSelection) (This)->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection)
#define IWMReaderAdvanced_SetReceiveSelectionCallbacks(This,fGetCallbacks) (This)->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks)
#define IWMReaderAdvanced_GetReceiveSelectionCallbacks(This,pfGetCallbacks) (This)->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks)
#define IWMReaderAdvanced_SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples) (This)->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples)
#define IWMReaderAdvanced_GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples) (This)->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples)
#define IWMReaderAdvanced_SetAllocateForOutput(This,dwOutputNum,fAllocate) (This)->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate)
#define IWMReaderAdvanced_GetAllocateForOutput(This,dwOutputNum,pfAllocate) (This)->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate)
#define IWMReaderAdvanced_SetAllocateForStream(This,wStreamNum,fAllocate) (This)->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate)
#define IWMReaderAdvanced_GetAllocateForStream(This,dwSreamNum,pfAllocate) (This)->lpVtbl->GetAllocateForStream(This,dwSreamNum,pfAllocate)
#define IWMReaderAdvanced_GetStatistics(This,pStatistics) (This)->lpVtbl->GetStatistics(This,pStatistics)
#define IWMReaderAdvanced_SetClientInfo(This,pClientInfo) (This)->lpVtbl->SetClientInfo(This,pClientInfo)
#define IWMReaderAdvanced_GetMaxOutputSampleSize(This,dwOutput,pcbMax) (This)->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax)
#define IWMReaderAdvanced_GetMaxStreamSampleSize(This,wStream,pcbMax) (This)->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax)
#define IWMReaderAdvanced_NotifyLateDelivery(This,cnsLateness) (This)->lpVtbl->NotifyLateDelivery(This,cnsLateness)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IWMReaderAdvanced_QueryInterface(IWMReaderAdvanced* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IWMReaderAdvanced_AddRef(IWMReaderAdvanced* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IWMReaderAdvanced_Release(IWMReaderAdvanced* This) {
return This->lpVtbl->Release(This);
}
/*** IWMReaderAdvanced methods ***/
static FORCEINLINE HRESULT IWMReaderAdvanced_SetUserProvidedClock(IWMReaderAdvanced* This,WINBOOL fUserClock) {
return This->lpVtbl->SetUserProvidedClock(This,fUserClock);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetUserProvidedClock(IWMReaderAdvanced* This,WINBOOL *pfUserClock) {
return This->lpVtbl->GetUserProvidedClock(This,pfUserClock);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_DeliverTime(IWMReaderAdvanced* This,QWORD cnsTime) {
return This->lpVtbl->DeliverTime(This,cnsTime);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetManualStreamSelection(IWMReaderAdvanced* This,WINBOOL fSelection) {
return This->lpVtbl->SetManualStreamSelection(This,fSelection);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvanced* This,WINBOOL *pfSelection) {
return This->lpVtbl->GetManualStreamSelection(This,pfSelection);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetStreamsSelected(IWMReaderAdvanced* This,WORD cStreamCount,WORD *pwStreamNumbers,WMT_STREAM_SELECTION *pSelections) {
return This->lpVtbl->SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetStreamSelected(IWMReaderAdvanced* This,WORD wStreamNum,WMT_STREAM_SELECTION *pSelection) {
return This->lpVtbl->GetStreamSelected(This,wStreamNum,pSelection);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetReceiveSelectionCallbacks(IWMReaderAdvanced* This,WINBOOL fGetCallbacks) {
return This->lpVtbl->SetReceiveSelectionCallbacks(This,fGetCallbacks);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetReceiveSelectionCallbacks(IWMReaderAdvanced* This,WINBOOL *pfGetCallbacks) {
return This->lpVtbl->GetReceiveSelectionCallbacks(This,pfGetCallbacks);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetReceiveStreamSamples(IWMReaderAdvanced* This,WORD wStreamNum,WINBOOL fReceiveStreamSamples) {
return This->lpVtbl->SetReceiveStreamSamples(This,wStreamNum,fReceiveStreamSamples);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetReceiveStreamSamples(IWMReaderAdvanced* This,WORD wStreamNum,WINBOOL *pfReceiveStreamSamples) {
return This->lpVtbl->GetReceiveStreamSamples(This,wStreamNum,pfReceiveStreamSamples);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetAllocateForOutput(IWMReaderAdvanced* This,DWORD dwOutputNum,WINBOOL fAllocate) {
return This->lpVtbl->SetAllocateForOutput(This,dwOutputNum,fAllocate);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetAllocateForOutput(IWMReaderAdvanced* This,DWORD dwOutputNum,WINBOOL *pfAllocate) {
return This->lpVtbl->GetAllocateForOutput(This,dwOutputNum,pfAllocate);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetAllocateForStream(IWMReaderAdvanced* This,WORD wStreamNum,WINBOOL fAllocate) {
return This->lpVtbl->SetAllocateForStream(This,wStreamNum,fAllocate);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetAllocateForStream(IWMReaderAdvanced* This,WORD dwSreamNum,WINBOOL *pfAllocate) {
return This->lpVtbl->GetAllocateForStream(This,dwSreamNum,pfAllocate);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetStatistics(IWMReaderAdvanced* This,WM_READER_STATISTICS *pStatistics) {
return This->lpVtbl->GetStatistics(This,pStatistics);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_SetClientInfo(IWMReaderAdvanced* This,WM_READER_CLIENTINFO *pClientInfo) {
return This->lpVtbl->SetClientInfo(This,pClientInfo);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetMaxOutputSampleSize(IWMReaderAdvanced* This,DWORD dwOutput,DWORD *pcbMax) {
return This->lpVtbl->GetMaxOutputSampleSize(This,dwOutput,pcbMax);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_GetMaxStreamSampleSize(IWMReaderAdvanced* This,WORD wStream,DWORD *pcbMax) {
return This->lpVtbl->GetMaxStreamSampleSize(This,wStream,pcbMax);
}
static FORCEINLINE HRESULT IWMReaderAdvanced_NotifyLateDelivery(IWMReaderAdvanced* This,QWORD cnsLateness) {
return This->lpVtbl->NotifyLateDelivery(This,cnsLateness);
}
#endif
#endif
#endif
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetUserProvidedClock_Proxy(
IWMReaderAdvanced* This,
WINBOOL fUserClock);
void __RPC_STUB IWMReaderAdvanced_SetUserProvidedClock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetUserProvidedClock_Proxy(
IWMReaderAdvanced* This,
WINBOOL *pfUserClock);
void __RPC_STUB IWMReaderAdvanced_GetUserProvidedClock_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_DeliverTime_Proxy(
IWMReaderAdvanced* This,
QWORD cnsTime);
void __RPC_STUB IWMReaderAdvanced_DeliverTime_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetManualStreamSelection_Proxy(
IWMReaderAdvanced* This,
WINBOOL fSelection);
void __RPC_STUB IWMReaderAdvanced_SetManualStreamSelection_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetManualStreamSelection_Proxy(
IWMReaderAdvanced* This,
WINBOOL *pfSelection);
void __RPC_STUB IWMReaderAdvanced_GetManualStreamSelection_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetStreamsSelected_Proxy(
IWMReaderAdvanced* This,
WORD cStreamCount,
WORD *pwStreamNumbers,
WMT_STREAM_SELECTION *pSelections);
void __RPC_STUB IWMReaderAdvanced_SetStreamsSelected_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetStreamSelected_Proxy(
IWMReaderAdvanced* This,
WORD wStreamNum,
WMT_STREAM_SELECTION *pSelection);
void __RPC_STUB IWMReaderAdvanced_GetStreamSelected_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetReceiveSelectionCallbacks_Proxy(
IWMReaderAdvanced* This,
WINBOOL fGetCallbacks);
void __RPC_STUB IWMReaderAdvanced_SetReceiveSelectionCallbacks_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetReceiveSelectionCallbacks_Proxy(
IWMReaderAdvanced* This,
WINBOOL *pfGetCallbacks);
void __RPC_STUB IWMReaderAdvanced_GetReceiveSelectionCallbacks_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetReceiveStreamSamples_Proxy(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL fReceiveStreamSamples);
void __RPC_STUB IWMReaderAdvanced_SetReceiveStreamSamples_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetReceiveStreamSamples_Proxy(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL *pfReceiveStreamSamples);
void __RPC_STUB IWMReaderAdvanced_GetReceiveStreamSamples_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetAllocateForOutput_Proxy(
IWMReaderAdvanced* This,
DWORD dwOutputNum,
WINBOOL fAllocate);
void __RPC_STUB IWMReaderAdvanced_SetAllocateForOutput_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetAllocateForOutput_Proxy(
IWMReaderAdvanced* This,
DWORD dwOutputNum,
WINBOOL *pfAllocate);
void __RPC_STUB IWMReaderAdvanced_GetAllocateForOutput_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetAllocateForStream_Proxy(
IWMReaderAdvanced* This,
WORD wStreamNum,
WINBOOL fAllocate);
void __RPC_STUB IWMReaderAdvanced_SetAllocateForStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetAllocateForStream_Proxy(
IWMReaderAdvanced* This,
WORD dwSreamNum,
WINBOOL *pfAllocate);
void __RPC_STUB IWMReaderAdvanced_GetAllocateForStream_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetStatistics_Proxy(
IWMReaderAdvanced* This,
WM_READER_STATISTICS *pStatistics);
void __RPC_STUB IWMReaderAdvanced_GetStatistics_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_SetClientInfo_Proxy(
IWMReaderAdvanced* This,
WM_READER_CLIENTINFO *pClientInfo);
void __RPC_STUB IWMReaderAdvanced_SetClientInfo_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetMaxOutputSampleSize_Proxy(
IWMReaderAdvanced* This,
DWORD dwOutput,
DWORD *pcbMax);
void __RPC_STUB IWMReaderAdvanced_GetMaxOutputSampleSize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_GetMaxStreamSampleSize_Proxy(
IWMReaderAdvanced* This,
WORD wStream,
DWORD *pcbMax);
void __RPC_STUB IWMReaderAdvanced_GetMaxStreamSampleSize_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWMReaderAdvanced_NotifyLateDelivery_Proxy(
IWMReaderAdvanced* This,
QWORD cnsLateness);
void __RPC_STUB IWMReaderAdvanced_NotifyLateDelivery_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWMReaderAdvanced_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWMReaderAdvanced2 interface
*/
#ifndef __IWMReaderAdvanced2_INTERFACE_DEFINED__
#define __IWMReaderAdvanced2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWMReaderAdvanced2, 0xae14a945, 0xb90c, 0x4d0d, 0x91,0x27, 0x80,0xd6,0x65,0xf7,0xd7,0x3e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("ae14a945-b90c-4d0d-9127-80d665f7d73e")
IWMReaderAdvanced2 : public IWMReaderAdvanced
{
virtual HRESULT STDMETHODCALLTYPE SetPlayMode(
WMT_PLAY_MODE Mode) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPlayMode(
WMT_PLAY_MODE *pMode) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBufferProgress(
DWORD *pdwPercent,
QWORD *pcnsBuffering) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDownloadProgress(
DWORD *pdwPercent,
QWORD *pqwBytesDownloaded,
QWORD </