wmsdkidl.h
上传用户:hylc_2004
上传日期:2014-01-23
资源大小:46800k
文件大小:644k
- /* [in] */ IWMReaderCallback *pCallback,
- /* [in] */ 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,
- /* [out] */ DWORD *pcOutputs);
- void __RPC_STUB IWMReader_GetOutputCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMReader_GetOutputProps_Proxy(
- IWMReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMOutputMediaProps **ppOutput);
- void __RPC_STUB IWMReader_GetOutputProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMReader_SetOutputProps_Proxy(
- IWMReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMOutputMediaProps *pOutput);
- void __RPC_STUB IWMReader_SetOutputProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMReader_GetOutputFormatCount_Proxy(
- IWMReader * This,
- /* [in] */ DWORD dwOutputNumber,
- /* [out] */ DWORD *pcFormats);
- void __RPC_STUB IWMReader_GetOutputFormatCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMReader_GetOutputFormat_Proxy(
- IWMReader * This,
- /* [in] */ DWORD dwOutputNumber,
- /* [in] */ DWORD dwFormatNumber,
- /* [out] */ IWMOutputMediaProps **ppProps);
- void __RPC_STUB IWMReader_GetOutputFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMReader_Start_Proxy(
- IWMReader * This,
- /* [in] */ QWORD cnsStart,
- /* [in] */ QWORD cnsDuration,
- /* [in] */ float fRate,
- /* [in] */ 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__ */
- #ifndef __IWMSyncReader_INTERFACE_DEFINED__
- #define __IWMSyncReader_INTERFACE_DEFINED__
- /* interface IWMSyncReader */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMSyncReader;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("9397F121-7705-4dc9-B049-98B698188414")
- IWMSyncReader : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Open(
- /* [in] */ const WCHAR *pwszFilename) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetRange(
- /* [in] */ QWORD cnsStartTime,
- /* [in] */ LONGLONG cnsDuration) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetRangeByFrame(
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetNextSample(
- /* [in] */ WORD wStreamNum,
- /* [out] */ INSSBuffer **ppSample,
- /* [out] */ QWORD *pcnsSampleTime,
- /* [out] */ QWORD *pcnsDuration,
- /* [out] */ DWORD *pdwFlags,
- /* [out] */ DWORD *pdwOutputNum,
- /* [out] */ WORD *pwStreamNum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetStreamsSelected(
- /* [in] */ WORD cStreamCount,
- /* [in] */ WORD *pwStreamNumbers,
- /* [in] */ WMT_STREAM_SELECTION *pSelections) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStreamSelected(
- /* [in] */ WORD wStreamNum,
- /* [out] */ WMT_STREAM_SELECTION *pSelection) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetReadStreamSamples(
- /* [in] */ WORD wStreamNum,
- /* [in] */ BOOL fCompressed) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetReadStreamSamples(
- /* [in] */ WORD wStreamNum,
- /* [out] */ BOOL *pfCompressed) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputSetting(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetOutputSetting(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputCount(
- /* [out] */ DWORD *pcOutputs) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputProps(
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMOutputMediaProps **ppOutput) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetOutputProps(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMOutputMediaProps *pOutput) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputFormatCount(
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ DWORD *pcFormats) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputFormat(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ DWORD dwFormatNum,
- /* [out] */ IWMOutputMediaProps **ppProps) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetOutputNumberForStream(
- /* [in] */ WORD wStreamNum,
- /* [out] */ DWORD *pdwOutputNum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetStreamNumberForOutput(
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ WORD *pwStreamNum) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMaxOutputSampleSize(
- /* [in] */ DWORD dwOutput,
- /* [out] */ DWORD *pcbMax) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMaxStreamSampleSize(
- /* [in] */ WORD wStream,
- /* [out] */ DWORD *pcbMax) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE OpenStream(
- /* [in] */ IStream *pStream) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSyncReaderVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSyncReader * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSyncReader * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSyncReader * This);
-
- HRESULT ( STDMETHODCALLTYPE *Open )(
- IWMSyncReader * This,
- /* [in] */ const WCHAR *pwszFilename);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IWMSyncReader * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetRange )(
- IWMSyncReader * This,
- /* [in] */ QWORD cnsStartTime,
- /* [in] */ LONGLONG cnsDuration);
-
- HRESULT ( STDMETHODCALLTYPE *SetRangeByFrame )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead);
-
- HRESULT ( STDMETHODCALLTYPE *GetNextSample )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ INSSBuffer **ppSample,
- /* [out] */ QWORD *pcnsSampleTime,
- /* [out] */ QWORD *pcnsDuration,
- /* [out] */ DWORD *pdwFlags,
- /* [out] */ DWORD *pdwOutputNum,
- /* [out] */ WORD *pwStreamNum);
-
- HRESULT ( STDMETHODCALLTYPE *SetStreamsSelected )(
- IWMSyncReader * This,
- /* [in] */ WORD cStreamCount,
- /* [in] */ WORD *pwStreamNumbers,
- /* [in] */ WMT_STREAM_SELECTION *pSelections);
-
- HRESULT ( STDMETHODCALLTYPE *GetStreamSelected )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WMT_STREAM_SELECTION *pSelection);
-
- HRESULT ( STDMETHODCALLTYPE *SetReadStreamSamples )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ BOOL fCompressed);
-
- HRESULT ( STDMETHODCALLTYPE *GetReadStreamSamples )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ BOOL *pfCompressed);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputSetting )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputSetting )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputCount )(
- IWMSyncReader * This,
- /* [out] */ DWORD *pcOutputs);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputProps )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMOutputMediaProps **ppOutput);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputProps )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMOutputMediaProps *pOutput);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputFormatCount )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ DWORD *pcFormats);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputFormat )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ DWORD dwFormatNum,
- /* [out] */ IWMOutputMediaProps **ppProps);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputNumberForStream )(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ DWORD *pdwOutputNum);
-
- HRESULT ( STDMETHODCALLTYPE *GetStreamNumberForOutput )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ WORD *pwStreamNum);
-
- HRESULT ( STDMETHODCALLTYPE *GetMaxOutputSampleSize )(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutput,
- /* [out] */ DWORD *pcbMax);
-
- HRESULT ( STDMETHODCALLTYPE *GetMaxStreamSampleSize )(
- IWMSyncReader * This,
- /* [in] */ WORD wStream,
- /* [out] */ DWORD *pcbMax);
-
- HRESULT ( STDMETHODCALLTYPE *OpenStream )(
- IWMSyncReader * This,
- /* [in] */ IStream *pStream);
-
- END_INTERFACE
- } IWMSyncReaderVtbl;
- interface IWMSyncReader
- {
- CONST_VTBL struct IWMSyncReaderVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSyncReader_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSyncReader_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMSyncReader_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMSyncReader_Open(This,pwszFilename)
- (This)->lpVtbl -> Open(This,pwszFilename)
- #define IWMSyncReader_Close(This)
- (This)->lpVtbl -> Close(This)
- #define IWMSyncReader_SetRange(This,cnsStartTime,cnsDuration)
- (This)->lpVtbl -> SetRange(This,cnsStartTime,cnsDuration)
- #define IWMSyncReader_SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead)
- (This)->lpVtbl -> SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead)
- #define IWMSyncReader_GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum)
- (This)->lpVtbl -> GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum)
- #define IWMSyncReader_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections)
- (This)->lpVtbl -> SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections)
- #define IWMSyncReader_GetStreamSelected(This,wStreamNum,pSelection)
- (This)->lpVtbl -> GetStreamSelected(This,wStreamNum,pSelection)
- #define IWMSyncReader_SetReadStreamSamples(This,wStreamNum,fCompressed)
- (This)->lpVtbl -> SetReadStreamSamples(This,wStreamNum,fCompressed)
- #define IWMSyncReader_GetReadStreamSamples(This,wStreamNum,pfCompressed)
- (This)->lpVtbl -> GetReadStreamSamples(This,wStreamNum,pfCompressed)
- #define IWMSyncReader_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength)
- #define IWMSyncReader_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength)
- (This)->lpVtbl -> SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength)
- #define IWMSyncReader_GetOutputCount(This,pcOutputs)
- (This)->lpVtbl -> GetOutputCount(This,pcOutputs)
- #define IWMSyncReader_GetOutputProps(This,dwOutputNum,ppOutput)
- (This)->lpVtbl -> GetOutputProps(This,dwOutputNum,ppOutput)
- #define IWMSyncReader_SetOutputProps(This,dwOutputNum,pOutput)
- (This)->lpVtbl -> SetOutputProps(This,dwOutputNum,pOutput)
- #define IWMSyncReader_GetOutputFormatCount(This,dwOutputNum,pcFormats)
- (This)->lpVtbl -> GetOutputFormatCount(This,dwOutputNum,pcFormats)
- #define IWMSyncReader_GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps)
- (This)->lpVtbl -> GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps)
- #define IWMSyncReader_GetOutputNumberForStream(This,wStreamNum,pdwOutputNum)
- (This)->lpVtbl -> GetOutputNumberForStream(This,wStreamNum,pdwOutputNum)
- #define IWMSyncReader_GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum)
- (This)->lpVtbl -> GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum)
- #define IWMSyncReader_GetMaxOutputSampleSize(This,dwOutput,pcbMax)
- (This)->lpVtbl -> GetMaxOutputSampleSize(This,dwOutput,pcbMax)
- #define IWMSyncReader_GetMaxStreamSampleSize(This,wStream,pcbMax)
- (This)->lpVtbl -> GetMaxStreamSampleSize(This,wStream,pcbMax)
- #define IWMSyncReader_OpenStream(This,pStream)
- (This)->lpVtbl -> OpenStream(This,pStream)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMSyncReader_Open_Proxy(
- IWMSyncReader * This,
- /* [in] */ const WCHAR *pwszFilename);
- void __RPC_STUB IWMSyncReader_Open_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_Close_Proxy(
- IWMSyncReader * This);
- void __RPC_STUB IWMSyncReader_Close_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetRange_Proxy(
- IWMSyncReader * This,
- /* [in] */ QWORD cnsStartTime,
- /* [in] */ LONGLONG cnsDuration);
- void __RPC_STUB IWMSyncReader_SetRange_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetRangeByFrame_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead);
- void __RPC_STUB IWMSyncReader_SetRangeByFrame_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetNextSample_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ INSSBuffer **ppSample,
- /* [out] */ QWORD *pcnsSampleTime,
- /* [out] */ QWORD *pcnsDuration,
- /* [out] */ DWORD *pdwFlags,
- /* [out] */ DWORD *pdwOutputNum,
- /* [out] */ WORD *pwStreamNum);
- void __RPC_STUB IWMSyncReader_GetNextSample_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetStreamsSelected_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD cStreamCount,
- /* [in] */ WORD *pwStreamNumbers,
- /* [in] */ WMT_STREAM_SELECTION *pSelections);
- void __RPC_STUB IWMSyncReader_SetStreamsSelected_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetStreamSelected_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WMT_STREAM_SELECTION *pSelection);
- void __RPC_STUB IWMSyncReader_GetStreamSelected_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetReadStreamSamples_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ BOOL fCompressed);
- void __RPC_STUB IWMSyncReader_SetReadStreamSamples_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetReadStreamSamples_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ BOOL *pfCompressed);
- void __RPC_STUB IWMSyncReader_GetReadStreamSamples_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputSetting_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
- void __RPC_STUB IWMSyncReader_GetOutputSetting_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetOutputSetting_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
- void __RPC_STUB IWMSyncReader_SetOutputSetting_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputCount_Proxy(
- IWMSyncReader * This,
- /* [out] */ DWORD *pcOutputs);
- void __RPC_STUB IWMSyncReader_GetOutputCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputProps_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMOutputMediaProps **ppOutput);
- void __RPC_STUB IWMSyncReader_GetOutputProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_SetOutputProps_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMOutputMediaProps *pOutput);
- void __RPC_STUB IWMSyncReader_SetOutputProps_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputFormatCount_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ DWORD *pcFormats);
- void __RPC_STUB IWMSyncReader_GetOutputFormatCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputFormat_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ DWORD dwFormatNum,
- /* [out] */ IWMOutputMediaProps **ppProps);
- void __RPC_STUB IWMSyncReader_GetOutputFormat_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetOutputNumberForStream_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ DWORD *pdwOutputNum);
- void __RPC_STUB IWMSyncReader_GetOutputNumberForStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetStreamNumberForOutput_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ WORD *pwStreamNum);
- void __RPC_STUB IWMSyncReader_GetStreamNumberForOutput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetMaxOutputSampleSize_Proxy(
- IWMSyncReader * This,
- /* [in] */ DWORD dwOutput,
- /* [out] */ DWORD *pcbMax);
- void __RPC_STUB IWMSyncReader_GetMaxOutputSampleSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_GetMaxStreamSampleSize_Proxy(
- IWMSyncReader * This,
- /* [in] */ WORD wStream,
- /* [out] */ DWORD *pcbMax);
- void __RPC_STUB IWMSyncReader_GetMaxStreamSampleSize_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader_OpenStream_Proxy(
- IWMSyncReader * This,
- /* [in] */ IStream *pStream);
- void __RPC_STUB IWMSyncReader_OpenStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSyncReader_INTERFACE_DEFINED__ */
- #ifndef __IWMSyncReader2_INTERFACE_DEFINED__
- #define __IWMSyncReader2_INTERFACE_DEFINED__
- /* interface IWMSyncReader2 */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMSyncReader2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("faed3d21-1b6b-4af7-8cb6-3e189bbc187b")
- IWMSyncReader2 : public IWMSyncReader
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE SetRangeByTimecode(
- /* [in] */ WORD wStreamNum,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pStart,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pEnd) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetRangeByFrameEx(
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead,
- /* [out] */ QWORD *pcnsStartTime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetAllocateForOutput(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAllocateForOutput(
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetAllocateForStream(
- /* [in] */ WORD wStreamNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAllocateForStream(
- /* [in] */ WORD dwSreamNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMSyncReader2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMSyncReader2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMSyncReader2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMSyncReader2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Open )(
- IWMSyncReader2 * This,
- /* [in] */ const WCHAR *pwszFilename);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IWMSyncReader2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *SetRange )(
- IWMSyncReader2 * This,
- /* [in] */ QWORD cnsStartTime,
- /* [in] */ LONGLONG cnsDuration);
-
- HRESULT ( STDMETHODCALLTYPE *SetRangeByFrame )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead);
-
- HRESULT ( STDMETHODCALLTYPE *GetNextSample )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ INSSBuffer **ppSample,
- /* [out] */ QWORD *pcnsSampleTime,
- /* [out] */ QWORD *pcnsDuration,
- /* [out] */ DWORD *pdwFlags,
- /* [out] */ DWORD *pdwOutputNum,
- /* [out] */ WORD *pwStreamNum);
-
- HRESULT ( STDMETHODCALLTYPE *SetStreamsSelected )(
- IWMSyncReader2 * This,
- /* [in] */ WORD cStreamCount,
- /* [in] */ WORD *pwStreamNumbers,
- /* [in] */ WMT_STREAM_SELECTION *pSelections);
-
- HRESULT ( STDMETHODCALLTYPE *GetStreamSelected )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WMT_STREAM_SELECTION *pSelection);
-
- HRESULT ( STDMETHODCALLTYPE *SetReadStreamSamples )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ BOOL fCompressed);
-
- HRESULT ( STDMETHODCALLTYPE *GetReadStreamSamples )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ BOOL *pfCompressed);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputSetting )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputSetting )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputCount )(
- IWMSyncReader2 * This,
- /* [out] */ DWORD *pcOutputs);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputProps )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMOutputMediaProps **ppOutput);
-
- HRESULT ( STDMETHODCALLTYPE *SetOutputProps )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMOutputMediaProps *pOutput);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputFormatCount )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ DWORD *pcFormats);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputFormat )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ DWORD dwFormatNum,
- /* [out] */ IWMOutputMediaProps **ppProps);
-
- HRESULT ( STDMETHODCALLTYPE *GetOutputNumberForStream )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ DWORD *pdwOutputNum);
-
- HRESULT ( STDMETHODCALLTYPE *GetStreamNumberForOutput )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ WORD *pwStreamNum);
-
- HRESULT ( STDMETHODCALLTYPE *GetMaxOutputSampleSize )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutput,
- /* [out] */ DWORD *pcbMax);
-
- HRESULT ( STDMETHODCALLTYPE *GetMaxStreamSampleSize )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStream,
- /* [out] */ DWORD *pcbMax);
-
- HRESULT ( STDMETHODCALLTYPE *OpenStream )(
- IWMSyncReader2 * This,
- /* [in] */ IStream *pStream);
-
- HRESULT ( STDMETHODCALLTYPE *SetRangeByTimecode )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pStart,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pEnd);
-
- HRESULT ( STDMETHODCALLTYPE *SetRangeByFrameEx )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead,
- /* [out] */ QWORD *pcnsStartTime);
-
- HRESULT ( STDMETHODCALLTYPE *SetAllocateForOutput )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator);
-
- HRESULT ( STDMETHODCALLTYPE *GetAllocateForOutput )(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator);
-
- HRESULT ( STDMETHODCALLTYPE *SetAllocateForStream )(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator);
-
- HRESULT ( STDMETHODCALLTYPE *GetAllocateForStream )(
- IWMSyncReader2 * This,
- /* [in] */ WORD dwSreamNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator);
-
- END_INTERFACE
- } IWMSyncReader2Vtbl;
- interface IWMSyncReader2
- {
- CONST_VTBL struct IWMSyncReader2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMSyncReader2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMSyncReader2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMSyncReader2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMSyncReader2_Open(This,pwszFilename)
- (This)->lpVtbl -> Open(This,pwszFilename)
- #define IWMSyncReader2_Close(This)
- (This)->lpVtbl -> Close(This)
- #define IWMSyncReader2_SetRange(This,cnsStartTime,cnsDuration)
- (This)->lpVtbl -> SetRange(This,cnsStartTime,cnsDuration)
- #define IWMSyncReader2_SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead)
- (This)->lpVtbl -> SetRangeByFrame(This,wStreamNum,qwFrameNumber,cFramesToRead)
- #define IWMSyncReader2_GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum)
- (This)->lpVtbl -> GetNextSample(This,wStreamNum,ppSample,pcnsSampleTime,pcnsDuration,pdwFlags,pdwOutputNum,pwStreamNum)
- #define IWMSyncReader2_SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections)
- (This)->lpVtbl -> SetStreamsSelected(This,cStreamCount,pwStreamNumbers,pSelections)
- #define IWMSyncReader2_GetStreamSelected(This,wStreamNum,pSelection)
- (This)->lpVtbl -> GetStreamSelected(This,wStreamNum,pSelection)
- #define IWMSyncReader2_SetReadStreamSamples(This,wStreamNum,fCompressed)
- (This)->lpVtbl -> SetReadStreamSamples(This,wStreamNum,fCompressed)
- #define IWMSyncReader2_GetReadStreamSamples(This,wStreamNum,pfCompressed)
- (This)->lpVtbl -> GetReadStreamSamples(This,wStreamNum,pfCompressed)
- #define IWMSyncReader2_GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetOutputSetting(This,dwOutputNum,pszName,pType,pValue,pcbLength)
- #define IWMSyncReader2_SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength)
- (This)->lpVtbl -> SetOutputSetting(This,dwOutputNum,pszName,Type,pValue,cbLength)
- #define IWMSyncReader2_GetOutputCount(This,pcOutputs)
- (This)->lpVtbl -> GetOutputCount(This,pcOutputs)
- #define IWMSyncReader2_GetOutputProps(This,dwOutputNum,ppOutput)
- (This)->lpVtbl -> GetOutputProps(This,dwOutputNum,ppOutput)
- #define IWMSyncReader2_SetOutputProps(This,dwOutputNum,pOutput)
- (This)->lpVtbl -> SetOutputProps(This,dwOutputNum,pOutput)
- #define IWMSyncReader2_GetOutputFormatCount(This,dwOutputNum,pcFormats)
- (This)->lpVtbl -> GetOutputFormatCount(This,dwOutputNum,pcFormats)
- #define IWMSyncReader2_GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps)
- (This)->lpVtbl -> GetOutputFormat(This,dwOutputNum,dwFormatNum,ppProps)
- #define IWMSyncReader2_GetOutputNumberForStream(This,wStreamNum,pdwOutputNum)
- (This)->lpVtbl -> GetOutputNumberForStream(This,wStreamNum,pdwOutputNum)
- #define IWMSyncReader2_GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum)
- (This)->lpVtbl -> GetStreamNumberForOutput(This,dwOutputNum,pwStreamNum)
- #define IWMSyncReader2_GetMaxOutputSampleSize(This,dwOutput,pcbMax)
- (This)->lpVtbl -> GetMaxOutputSampleSize(This,dwOutput,pcbMax)
- #define IWMSyncReader2_GetMaxStreamSampleSize(This,wStream,pcbMax)
- (This)->lpVtbl -> GetMaxStreamSampleSize(This,wStream,pcbMax)
- #define IWMSyncReader2_OpenStream(This,pStream)
- (This)->lpVtbl -> OpenStream(This,pStream)
- #define IWMSyncReader2_SetRangeByTimecode(This,wStreamNum,pStart,pEnd)
- (This)->lpVtbl -> SetRangeByTimecode(This,wStreamNum,pStart,pEnd)
- #define IWMSyncReader2_SetRangeByFrameEx(This,wStreamNum,qwFrameNumber,cFramesToRead,pcnsStartTime)
- (This)->lpVtbl -> SetRangeByFrameEx(This,wStreamNum,qwFrameNumber,cFramesToRead,pcnsStartTime)
- #define IWMSyncReader2_SetAllocateForOutput(This,dwOutputNum,pAllocator)
- (This)->lpVtbl -> SetAllocateForOutput(This,dwOutputNum,pAllocator)
- #define IWMSyncReader2_GetAllocateForOutput(This,dwOutputNum,ppAllocator)
- (This)->lpVtbl -> GetAllocateForOutput(This,dwOutputNum,ppAllocator)
- #define IWMSyncReader2_SetAllocateForStream(This,wStreamNum,pAllocator)
- (This)->lpVtbl -> SetAllocateForStream(This,wStreamNum,pAllocator)
- #define IWMSyncReader2_GetAllocateForStream(This,dwSreamNum,ppAllocator)
- (This)->lpVtbl -> GetAllocateForStream(This,dwSreamNum,ppAllocator)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_SetRangeByTimecode_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pStart,
- /* [in] */ WMT_TIMECODE_EXTENSION_DATA *pEnd);
- void __RPC_STUB IWMSyncReader2_SetRangeByTimecode_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_SetRangeByFrameEx_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ QWORD qwFrameNumber,
- /* [in] */ LONGLONG cFramesToRead,
- /* [out] */ QWORD *pcnsStartTime);
- void __RPC_STUB IWMSyncReader2_SetRangeByFrameEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_SetAllocateForOutput_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator);
- void __RPC_STUB IWMSyncReader2_SetAllocateForOutput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_GetAllocateForOutput_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ DWORD dwOutputNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator);
- void __RPC_STUB IWMSyncReader2_GetAllocateForOutput_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_SetAllocateForStream_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ IWMReaderAllocatorEx *pAllocator);
- void __RPC_STUB IWMSyncReader2_SetAllocateForStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMSyncReader2_GetAllocateForStream_Proxy(
- IWMSyncReader2 * This,
- /* [in] */ WORD dwSreamNum,
- /* [out] */ IWMReaderAllocatorEx **ppAllocator);
- void __RPC_STUB IWMSyncReader2_GetAllocateForStream_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMSyncReader2_INTERFACE_DEFINED__ */
- #ifndef __IWMOutputMediaProps_INTERFACE_DEFINED__
- #define __IWMOutputMediaProps_INTERFACE_DEFINED__
- /* interface IWMOutputMediaProps */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMOutputMediaProps;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("96406BD7-2B2B-11d3-B36B-00C04F6108FF")
- IWMOutputMediaProps : public IWMMediaProps
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetStreamGroupName(
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetConnectionName(
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMOutputMediaPropsVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMOutputMediaProps * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMOutputMediaProps * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMOutputMediaProps * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetType )(
- IWMOutputMediaProps * This,
- /* [out] */ GUID *pguidType);
-
- HRESULT ( STDMETHODCALLTYPE *GetMediaType )(
- IWMOutputMediaProps * This,
- /* [out] */ WM_MEDIA_TYPE *pType,
- /* [out][in] */ DWORD *pcbType);
-
- HRESULT ( STDMETHODCALLTYPE *SetMediaType )(
- IWMOutputMediaProps * This,
- /* [in] */ WM_MEDIA_TYPE *pType);
-
- HRESULT ( STDMETHODCALLTYPE *GetStreamGroupName )(
- IWMOutputMediaProps * This,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName);
-
- HRESULT ( STDMETHODCALLTYPE *GetConnectionName )(
- IWMOutputMediaProps * This,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName);
-
- END_INTERFACE
- } IWMOutputMediaPropsVtbl;
- interface IWMOutputMediaProps
- {
- CONST_VTBL struct IWMOutputMediaPropsVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #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)
- #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)
- #define IWMOutputMediaProps_GetStreamGroupName(This,pwszName,pcchName)
- (This)->lpVtbl -> GetStreamGroupName(This,pwszName,pcchName)
- #define IWMOutputMediaProps_GetConnectionName(This,pwszName,pcchName)
- (This)->lpVtbl -> GetConnectionName(This,pwszName,pcchName)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMOutputMediaProps_GetStreamGroupName_Proxy(
- IWMOutputMediaProps * This,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName);
- void __RPC_STUB IWMOutputMediaProps_GetStreamGroupName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMOutputMediaProps_GetConnectionName_Proxy(
- IWMOutputMediaProps * This,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchName);
- void __RPC_STUB IWMOutputMediaProps_GetConnectionName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMOutputMediaProps_INTERFACE_DEFINED__ */
- #ifndef __IWMStatusCallback_INTERFACE_DEFINED__
- #define __IWMStatusCallback_INTERFACE_DEFINED__
- /* interface IWMStatusCallback */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMStatusCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("6d7cdc70-9888-11d3-8edc-00c04f6109cf")
- IWMStatusCallback : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnStatus(
- /* [in] */ WMT_STATUS Status,
- /* [in] */ HRESULT hr,
- /* [in] */ WMT_ATTR_DATATYPE dwType,
- /* [in] */ BYTE *pValue,
- /* [in] */ void *pvContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMStatusCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMStatusCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMStatusCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMStatusCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatus )(
- IWMStatusCallback * This,
- /* [in] */ WMT_STATUS Status,
- /* [in] */ HRESULT hr,
- /* [in] */ WMT_ATTR_DATATYPE dwType,
- /* [in] */ BYTE *pValue,
- /* [in] */ void *pvContext);
-
- END_INTERFACE
- } IWMStatusCallbackVtbl;
- interface IWMStatusCallback
- {
- CONST_VTBL struct IWMStatusCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #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)
- #define IWMStatusCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext)
- (This)->lpVtbl -> OnStatus(This,Status,hr,dwType,pValue,pvContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMStatusCallback_OnStatus_Proxy(
- IWMStatusCallback * This,
- /* [in] */ WMT_STATUS Status,
- /* [in] */ HRESULT hr,
- /* [in] */ WMT_ATTR_DATATYPE dwType,
- /* [in] */ BYTE *pValue,
- /* [in] */ void *pvContext);
- void __RPC_STUB IWMStatusCallback_OnStatus_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMStatusCallback_INTERFACE_DEFINED__ */
- #ifndef __IWMReaderCallback_INTERFACE_DEFINED__
- #define __IWMReaderCallback_INTERFACE_DEFINED__
- /* interface IWMReaderCallback */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMReaderCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("96406BD8-2B2B-11d3-B36B-00C04F6108FF")
- IWMReaderCallback : public IWMStatusCallback
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OnSample(
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ QWORD cnsSampleTime,
- /* [in] */ QWORD cnsSampleDuration,
- /* [in] */ DWORD dwFlags,
- /* [in] */ INSSBuffer *pSample,
- /* [in] */ void *pvContext) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMReaderCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMReaderCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMReaderCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMReaderCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *OnStatus )(
- IWMReaderCallback * This,
- /* [in] */ WMT_STATUS Status,
- /* [in] */ HRESULT hr,
- /* [in] */ WMT_ATTR_DATATYPE dwType,
- /* [in] */ BYTE *pValue,
- /* [in] */ void *pvContext);
-
- HRESULT ( STDMETHODCALLTYPE *OnSample )(
- IWMReaderCallback * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ QWORD cnsSampleTime,
- /* [in] */ QWORD cnsSampleDuration,
- /* [in] */ DWORD dwFlags,
- /* [in] */ INSSBuffer *pSample,
- /* [in] */ void *pvContext);
-
- END_INTERFACE
- } IWMReaderCallbackVtbl;
- interface IWMReaderCallback
- {
- CONST_VTBL struct IWMReaderCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #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)
- #define IWMReaderCallback_OnStatus(This,Status,hr,dwType,pValue,pvContext)
- (This)->lpVtbl -> OnStatus(This,Status,hr,dwType,pValue,pvContext)
- #define IWMReaderCallback_OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext)
- (This)->lpVtbl -> OnSample(This,dwOutputNum,cnsSampleTime,cnsSampleDuration,dwFlags,pSample,pvContext)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMReaderCallback_OnSample_Proxy(
- IWMReaderCallback * This,
- /* [in] */ DWORD dwOutputNum,
- /* [in] */ QWORD cnsSampleTime,
- /* [in] */ QWORD cnsSampleDuration,
- /* [in] */ DWORD dwFlags,
- /* [in] */ INSSBuffer *pSample,
- /* [in] */ void *pvContext);
- void __RPC_STUB IWMReaderCallback_OnSample_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMReaderCallback_INTERFACE_DEFINED__ */
- #ifndef __IWMCredentialCallback_INTERFACE_DEFINED__
- #define __IWMCredentialCallback_INTERFACE_DEFINED__
- /* interface IWMCredentialCallback */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMCredentialCallback;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("342e0eb7-e651-450c-975b-2ace2c90c48e")
- IWMCredentialCallback : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE AcquireCredentials(
- /* [in] */ WCHAR *pwszRealm,
- /* [in] */ WCHAR *pwszSite,
- /* [size_is][out] */ WCHAR *pwszUser,
- /* [in] */ DWORD cchUser,
- /* [size_is][out] */ WCHAR *pwszPassword,
- /* [in] */ DWORD cchPassword,
- /* [in] */ HRESULT hrStatus,
- /* [out] */ DWORD *pdwFlags) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMCredentialCallbackVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMCredentialCallback * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMCredentialCallback * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMCredentialCallback * This);
-
- HRESULT ( STDMETHODCALLTYPE *AcquireCredentials )(
- IWMCredentialCallback * This,
- /* [in] */ WCHAR *pwszRealm,
- /* [in] */ WCHAR *pwszSite,
- /* [size_is][out] */ WCHAR *pwszUser,
- /* [in] */ DWORD cchUser,
- /* [size_is][out] */ WCHAR *pwszPassword,
- /* [in] */ DWORD cchPassword,
- /* [in] */ HRESULT hrStatus,
- /* [out] */ DWORD *pdwFlags);
-
- END_INTERFACE
- } IWMCredentialCallbackVtbl;
- interface IWMCredentialCallback
- {
- CONST_VTBL struct IWMCredentialCallbackVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMCredentialCallback_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMCredentialCallback_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMCredentialCallback_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMCredentialCallback_AcquireCredentials(This,pwszRealm,pwszSite,pwszUser,cchUser,pwszPassword,cchPassword,hrStatus,pdwFlags)
- (This)->lpVtbl -> AcquireCredentials(This,pwszRealm,pwszSite,pwszUser,cchUser,pwszPassword,cchPassword,hrStatus,pdwFlags)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMCredentialCallback_AcquireCredentials_Proxy(
- IWMCredentialCallback * This,
- /* [in] */ WCHAR *pwszRealm,
- /* [in] */ WCHAR *pwszSite,
- /* [size_is][out] */ WCHAR *pwszUser,
- /* [in] */ DWORD cchUser,
- /* [size_is][out] */ WCHAR *pwszPassword,
- /* [in] */ DWORD cchPassword,
- /* [in] */ HRESULT hrStatus,
- /* [out] */ DWORD *pdwFlags);
- void __RPC_STUB IWMCredentialCallback_AcquireCredentials_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMCredentialCallback_INTERFACE_DEFINED__ */
- #ifndef __IWMMetadataEditor_INTERFACE_DEFINED__
- #define __IWMMetadataEditor_INTERFACE_DEFINED__
- /* interface IWMMetadataEditor */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMMetadataEditor;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("96406BD9-2B2B-11d3-B36B-00C04F6108FF")
- IWMMetadataEditor : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE Open(
- /* [in] */ const WCHAR *pwszFilename) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Close( void) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE Flush( void) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMMetadataEditorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMMetadataEditor * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMMetadataEditor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMMetadataEditor * This);
-
- HRESULT ( STDMETHODCALLTYPE *Open )(
- IWMMetadataEditor * This,
- /* [in] */ const WCHAR *pwszFilename);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IWMMetadataEditor * This);
-
- HRESULT ( STDMETHODCALLTYPE *Flush )(
- IWMMetadataEditor * This);
-
- END_INTERFACE
- } IWMMetadataEditorVtbl;
- interface IWMMetadataEditor
- {
- CONST_VTBL struct IWMMetadataEditorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #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)
- #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)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMMetadataEditor_Open_Proxy(
- IWMMetadataEditor * This,
- /* [in] */ 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__ */
- #ifndef __IWMMetadataEditor2_INTERFACE_DEFINED__
- #define __IWMMetadataEditor2_INTERFACE_DEFINED__
- /* interface IWMMetadataEditor2 */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMMetadataEditor2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("203CFFE3-2E18-4fdf-B59D-6E71530534CF")
- IWMMetadataEditor2 : public IWMMetadataEditor
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE OpenEx(
- /* [in] */ const WCHAR *pwszFilename,
- /* [in] */ DWORD dwDesiredAccess,
- /* [in] */ DWORD dwShareMode) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMMetadataEditor2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMMetadataEditor2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMMetadataEditor2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMMetadataEditor2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Open )(
- IWMMetadataEditor2 * This,
- /* [in] */ const WCHAR *pwszFilename);
-
- HRESULT ( STDMETHODCALLTYPE *Close )(
- IWMMetadataEditor2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *Flush )(
- IWMMetadataEditor2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *OpenEx )(
- IWMMetadataEditor2 * This,
- /* [in] */ const WCHAR *pwszFilename,
- /* [in] */ DWORD dwDesiredAccess,
- /* [in] */ DWORD dwShareMode);
-
- END_INTERFACE
- } IWMMetadataEditor2Vtbl;
- interface IWMMetadataEditor2
- {
- CONST_VTBL struct IWMMetadataEditor2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMMetadataEditor2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMMetadataEditor2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMMetadataEditor2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMMetadataEditor2_Open(This,pwszFilename)
- (This)->lpVtbl -> Open(This,pwszFilename)
- #define IWMMetadataEditor2_Close(This)
- (This)->lpVtbl -> Close(This)
- #define IWMMetadataEditor2_Flush(This)
- (This)->lpVtbl -> Flush(This)
- #define IWMMetadataEditor2_OpenEx(This,pwszFilename,dwDesiredAccess,dwShareMode)
- (This)->lpVtbl -> OpenEx(This,pwszFilename,dwDesiredAccess,dwShareMode)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMMetadataEditor2_OpenEx_Proxy(
- IWMMetadataEditor2 * This,
- /* [in] */ const WCHAR *pwszFilename,
- /* [in] */ DWORD dwDesiredAccess,
- /* [in] */ DWORD dwShareMode);
- void __RPC_STUB IWMMetadataEditor2_OpenEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMMetadataEditor2_INTERFACE_DEFINED__ */
- #ifndef __IWMDRMEditor_INTERFACE_DEFINED__
- #define __IWMDRMEditor_INTERFACE_DEFINED__
- /* interface IWMDRMEditor */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMDRMEditor;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("FF130EBC-A6C3-42A6-B401-C3382C3E08B3")
- IWMDRMEditor : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetDRMProperty(
- /* [in] */ LPCWSTR pwstrName,
- /* [out] */ WMT_ATTR_DATATYPE *pdwType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMDRMEditorVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMDRMEditor * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMDRMEditor * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMDRMEditor * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetDRMProperty )(
- IWMDRMEditor * This,
- /* [in] */ LPCWSTR pwstrName,
- /* [out] */ WMT_ATTR_DATATYPE *pdwType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- END_INTERFACE
- } IWMDRMEditorVtbl;
- interface IWMDRMEditor
- {
- CONST_VTBL struct IWMDRMEditorVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMDRMEditor_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMDRMEditor_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMDRMEditor_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMDRMEditor_GetDRMProperty(This,pwstrName,pdwType,pValue,pcbLength)
- (This)->lpVtbl -> GetDRMProperty(This,pwstrName,pdwType,pValue,pcbLength)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMDRMEditor_GetDRMProperty_Proxy(
- IWMDRMEditor * This,
- /* [in] */ LPCWSTR pwstrName,
- /* [out] */ WMT_ATTR_DATATYPE *pdwType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
- void __RPC_STUB IWMDRMEditor_GetDRMProperty_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMDRMEditor_INTERFACE_DEFINED__ */
- #ifndef __IWMHeaderInfo_INTERFACE_DEFINED__
- #define __IWMHeaderInfo_INTERFACE_DEFINED__
- /* interface IWMHeaderInfo */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMHeaderInfo;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("96406BDA-2B2B-11d3-B36B-00C04F6108FF")
- IWMHeaderInfo : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetAttributeCount(
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttributeByIndex(
- /* [in] */ WORD wIndex,
- /* [out][in] */ WORD *pwStreamNum,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttributeByName(
- /* [out][in] */ WORD *pwStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetAttribute(
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMarkerCount(
- /* [out] */ WORD *pcMarkers) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetMarker(
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszMarkerName,
- /* [out][in] */ WORD *pcchMarkerNameLen,
- /* [out] */ QWORD *pcnsMarkerTime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddMarker(
- /* [in] */ WCHAR *pwszMarkerName,
- /* [in] */ QWORD cnsMarkerTime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveMarker(
- /* [in] */ WORD wIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScriptCount(
- /* [out] */ WORD *pcScripts) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetScript(
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszType,
- /* [out][in] */ WORD *pcchTypeLen,
- /* [size_is][out] */ WCHAR *pwszCommand,
- /* [out][in] */ WORD *pcchCommandLen,
- /* [out] */ QWORD *pcnsScriptTime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddScript(
- /* [in] */ WCHAR *pwszType,
- /* [in] */ WCHAR *pwszCommand,
- /* [in] */ QWORD cnsScriptTime) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE RemoveScript(
- /* [in] */ WORD wIndex) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMHeaderInfoVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMHeaderInfo * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMHeaderInfo * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMHeaderInfo * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeCount )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByIndex )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [out][in] */ WORD *pwStreamNum,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByName )(
- IWMHeaderInfo * This,
- /* [out][in] */ WORD *pwStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *SetAttribute )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarkerCount )(
- IWMHeaderInfo * This,
- /* [out] */ WORD *pcMarkers);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarker )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszMarkerName,
- /* [out][in] */ WORD *pcchMarkerNameLen,
- /* [out] */ QWORD *pcnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddMarker )(
- IWMHeaderInfo * This,
- /* [in] */ WCHAR *pwszMarkerName,
- /* [in] */ QWORD cnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveMarker )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetScriptCount )(
- IWMHeaderInfo * This,
- /* [out] */ WORD *pcScripts);
-
- HRESULT ( STDMETHODCALLTYPE *GetScript )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszType,
- /* [out][in] */ WORD *pcchTypeLen,
- /* [size_is][out] */ WCHAR *pwszCommand,
- /* [out][in] */ WORD *pcchCommandLen,
- /* [out] */ QWORD *pcnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddScript )(
- IWMHeaderInfo * This,
- /* [in] */ WCHAR *pwszType,
- /* [in] */ WCHAR *pwszCommand,
- /* [in] */ QWORD cnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveScript )(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex);
-
- END_INTERFACE
- } IWMHeaderInfoVtbl;
- interface IWMHeaderInfo
- {
- CONST_VTBL struct IWMHeaderInfoVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMHeaderInfo_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMHeaderInfo_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMHeaderInfo_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMHeaderInfo_GetAttributeCount(This,wStreamNum,pcAttributes)
- (This)->lpVtbl -> GetAttributeCount(This,wStreamNum,pcAttributes)
- #define IWMHeaderInfo_GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- #define IWMHeaderInfo_GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- #define IWMHeaderInfo_SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- (This)->lpVtbl -> SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- #define IWMHeaderInfo_GetMarkerCount(This,pcMarkers)
- (This)->lpVtbl -> GetMarkerCount(This,pcMarkers)
- #define IWMHeaderInfo_GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- (This)->lpVtbl -> GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- #define IWMHeaderInfo_AddMarker(This,pwszMarkerName,cnsMarkerTime)
- (This)->lpVtbl -> AddMarker(This,pwszMarkerName,cnsMarkerTime)
- #define IWMHeaderInfo_RemoveMarker(This,wIndex)
- (This)->lpVtbl -> RemoveMarker(This,wIndex)
- #define IWMHeaderInfo_GetScriptCount(This,pcScripts)
- (This)->lpVtbl -> GetScriptCount(This,pcScripts)
- #define IWMHeaderInfo_GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- (This)->lpVtbl -> GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- #define IWMHeaderInfo_AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- (This)->lpVtbl -> AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- #define IWMHeaderInfo_RemoveScript(This,wIndex)
- (This)->lpVtbl -> RemoveScript(This,wIndex)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetAttributeCount_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
- void __RPC_STUB IWMHeaderInfo_GetAttributeCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetAttributeByIndex_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [out][in] */ WORD *pwStreamNum,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
- void __RPC_STUB IWMHeaderInfo_GetAttributeByIndex_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetAttributeByName_Proxy(
- IWMHeaderInfo * This,
- /* [out][in] */ WORD *pwStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
- void __RPC_STUB IWMHeaderInfo_GetAttributeByName_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_SetAttribute_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
- void __RPC_STUB IWMHeaderInfo_SetAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetMarkerCount_Proxy(
- IWMHeaderInfo * This,
- /* [out] */ WORD *pcMarkers);
- void __RPC_STUB IWMHeaderInfo_GetMarkerCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetMarker_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszMarkerName,
- /* [out][in] */ WORD *pcchMarkerNameLen,
- /* [out] */ QWORD *pcnsMarkerTime);
- void __RPC_STUB IWMHeaderInfo_GetMarker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_AddMarker_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WCHAR *pwszMarkerName,
- /* [in] */ QWORD cnsMarkerTime);
- void __RPC_STUB IWMHeaderInfo_AddMarker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_RemoveMarker_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex);
- void __RPC_STUB IWMHeaderInfo_RemoveMarker_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetScriptCount_Proxy(
- IWMHeaderInfo * This,
- /* [out] */ WORD *pcScripts);
- void __RPC_STUB IWMHeaderInfo_GetScriptCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_GetScript_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszType,
- /* [out][in] */ WORD *pcchTypeLen,
- /* [size_is][out] */ WCHAR *pwszCommand,
- /* [out][in] */ WORD *pcchCommandLen,
- /* [out] */ QWORD *pcnsScriptTime);
- void __RPC_STUB IWMHeaderInfo_GetScript_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_AddScript_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WCHAR *pwszType,
- /* [in] */ WCHAR *pwszCommand,
- /* [in] */ QWORD cnsScriptTime);
- void __RPC_STUB IWMHeaderInfo_AddScript_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo_RemoveScript_Proxy(
- IWMHeaderInfo * This,
- /* [in] */ WORD wIndex);
- void __RPC_STUB IWMHeaderInfo_RemoveScript_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMHeaderInfo_INTERFACE_DEFINED__ */
- #ifndef __IWMHeaderInfo2_INTERFACE_DEFINED__
- #define __IWMHeaderInfo2_INTERFACE_DEFINED__
- /* interface IWMHeaderInfo2 */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMHeaderInfo2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("15CF9781-454E-482e-B393-85FAE487A810")
- IWMHeaderInfo2 : public IWMHeaderInfo
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetCodecInfoCount(
- /* [out] */ DWORD *pcCodecInfos) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetCodecInfo(
- /* [in] */ DWORD wIndex,
- /* [out][in] */ WORD *pcchName,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchDescription,
- /* [size_is][out] */ WCHAR *pwszDescription,
- /* [out] */ DWORD *pCodecType,
- /* [out][in] */ WORD *pcbCodecInfo,
- /* [size_is][out] */ BYTE *pbCodecInfo) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMHeaderInfo2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMHeaderInfo2 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMHeaderInfo2 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMHeaderInfo2 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeCount )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByIndex )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wIndex,
- /* [out][in] */ WORD *pwStreamNum,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByName )(
- IWMHeaderInfo2 * This,
- /* [out][in] */ WORD *pwStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *SetAttribute )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarkerCount )(
- IWMHeaderInfo2 * This,
- /* [out] */ WORD *pcMarkers);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarker )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszMarkerName,
- /* [out][in] */ WORD *pcchMarkerNameLen,
- /* [out] */ QWORD *pcnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddMarker )(
- IWMHeaderInfo2 * This,
- /* [in] */ WCHAR *pwszMarkerName,
- /* [in] */ QWORD cnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveMarker )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetScriptCount )(
- IWMHeaderInfo2 * This,
- /* [out] */ WORD *pcScripts);
-
- HRESULT ( STDMETHODCALLTYPE *GetScript )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszType,
- /* [out][in] */ WORD *pcchTypeLen,
- /* [size_is][out] */ WCHAR *pwszCommand,
- /* [out][in] */ WORD *pcchCommandLen,
- /* [out] */ QWORD *pcnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddScript )(
- IWMHeaderInfo2 * This,
- /* [in] */ WCHAR *pwszType,
- /* [in] */ WCHAR *pwszCommand,
- /* [in] */ QWORD cnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveScript )(
- IWMHeaderInfo2 * This,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetCodecInfoCount )(
- IWMHeaderInfo2 * This,
- /* [out] */ DWORD *pcCodecInfos);
-
- HRESULT ( STDMETHODCALLTYPE *GetCodecInfo )(
- IWMHeaderInfo2 * This,
- /* [in] */ DWORD wIndex,
- /* [out][in] */ WORD *pcchName,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchDescription,
- /* [size_is][out] */ WCHAR *pwszDescription,
- /* [out] */ WMT_CODEC_INFO_TYPE *pCodecType,
- /* [out][in] */ WORD *pcbCodecInfo,
- /* [size_is][out] */ BYTE *pbCodecInfo);
-
- END_INTERFACE
- } IWMHeaderInfo2Vtbl;
- interface IWMHeaderInfo2
- {
- CONST_VTBL struct IWMHeaderInfo2Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMHeaderInfo2_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMHeaderInfo2_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMHeaderInfo2_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMHeaderInfo2_GetAttributeCount(This,wStreamNum,pcAttributes)
- (This)->lpVtbl -> GetAttributeCount(This,wStreamNum,pcAttributes)
- #define IWMHeaderInfo2_GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- #define IWMHeaderInfo2_GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- #define IWMHeaderInfo2_SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- (This)->lpVtbl -> SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- #define IWMHeaderInfo2_GetMarkerCount(This,pcMarkers)
- (This)->lpVtbl -> GetMarkerCount(This,pcMarkers)
- #define IWMHeaderInfo2_GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- (This)->lpVtbl -> GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- #define IWMHeaderInfo2_AddMarker(This,pwszMarkerName,cnsMarkerTime)
- (This)->lpVtbl -> AddMarker(This,pwszMarkerName,cnsMarkerTime)
- #define IWMHeaderInfo2_RemoveMarker(This,wIndex)
- (This)->lpVtbl -> RemoveMarker(This,wIndex)
- #define IWMHeaderInfo2_GetScriptCount(This,pcScripts)
- (This)->lpVtbl -> GetScriptCount(This,pcScripts)
- #define IWMHeaderInfo2_GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- (This)->lpVtbl -> GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- #define IWMHeaderInfo2_AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- (This)->lpVtbl -> AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- #define IWMHeaderInfo2_RemoveScript(This,wIndex)
- (This)->lpVtbl -> RemoveScript(This,wIndex)
- #define IWMHeaderInfo2_GetCodecInfoCount(This,pcCodecInfos)
- (This)->lpVtbl -> GetCodecInfoCount(This,pcCodecInfos)
- #define IWMHeaderInfo2_GetCodecInfo(This,wIndex,pcchName,pwszName,pcchDescription,pwszDescription,pCodecType,pcbCodecInfo,pbCodecInfo)
- (This)->lpVtbl -> GetCodecInfo(This,wIndex,pcchName,pwszName,pcchDescription,pwszDescription,pCodecType,pcbCodecInfo,pbCodecInfo)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo2_GetCodecInfoCount_Proxy(
- IWMHeaderInfo2 * This,
- /* [out] */ DWORD *pcCodecInfos);
- void __RPC_STUB IWMHeaderInfo2_GetCodecInfoCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo2_GetCodecInfo_Proxy(
- IWMHeaderInfo2 * This,
- /* [in] */ DWORD wIndex,
- /* [out][in] */ WORD *pcchName,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchDescription,
- /* [size_is][out] */ WCHAR *pwszDescription,
- /* [out] */ WMT_CODEC_INFO_TYPE *pCodecType,
- /* [out][in] */ WORD *pcbCodecInfo,
- /* [size_is][out] */ BYTE *pbCodecInfo);
- void __RPC_STUB IWMHeaderInfo2_GetCodecInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMHeaderInfo2_INTERFACE_DEFINED__ */
- #ifndef __IWMHeaderInfo3_INTERFACE_DEFINED__
- #define __IWMHeaderInfo3_INTERFACE_DEFINED__
- /* interface IWMHeaderInfo3 */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMHeaderInfo3;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("15CC68E3-27CC-4ecd-B222-3F5D02D80BD5")
- IWMHeaderInfo3 : public IWMHeaderInfo2
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetAttributeCountEx(
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttributeIndices(
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pwszName,
- /* [in] */ WORD *pwLangIndex,
- /* [size_is][out] */ WORD *pwIndices,
- /* [out][in] */ WORD *pwCount) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetAttributeByIndexEx(
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ LPWSTR pwszName,
- /* [out][in] */ WORD *pwNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [out] */ WORD *pwLangIndex,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ DWORD *pdwDataLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE ModifyAttribute(
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddAttribute(
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WORD *pwIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE DeleteAttribute(
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE AddCodecInfo(
- /* [in] */ WCHAR *pwszName,
- /* [in] */ WCHAR *pwszDescription,
- /* [in] */ WMT_CODEC_INFO_TYPE codecType,
- /* [in] */ WORD cbCodecInfo,
- /* [size_is][in] */ BYTE *pbCodecInfo) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMHeaderInfo3Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMHeaderInfo3 * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMHeaderInfo3 * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMHeaderInfo3 * This);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeCount )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByIndex )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wIndex,
- /* [out][in] */ WORD *pwStreamNum,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByName )(
- IWMHeaderInfo3 * This,
- /* [out][in] */ WORD *pwStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ WORD *pcbLength);
-
- HRESULT ( STDMETHODCALLTYPE *SetAttribute )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ WORD cbLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarkerCount )(
- IWMHeaderInfo3 * This,
- /* [out] */ WORD *pcMarkers);
-
- HRESULT ( STDMETHODCALLTYPE *GetMarker )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszMarkerName,
- /* [out][in] */ WORD *pcchMarkerNameLen,
- /* [out] */ QWORD *pcnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddMarker )(
- IWMHeaderInfo3 * This,
- /* [in] */ WCHAR *pwszMarkerName,
- /* [in] */ QWORD cnsMarkerTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveMarker )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetScriptCount )(
- IWMHeaderInfo3 * This,
- /* [out] */ WORD *pcScripts);
-
- HRESULT ( STDMETHODCALLTYPE *GetScript )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ WCHAR *pwszType,
- /* [out][in] */ WORD *pcchTypeLen,
- /* [size_is][out] */ WCHAR *pwszCommand,
- /* [out][in] */ WORD *pcchCommandLen,
- /* [out] */ QWORD *pcnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *AddScript )(
- IWMHeaderInfo3 * This,
- /* [in] */ WCHAR *pwszType,
- /* [in] */ WCHAR *pwszCommand,
- /* [in] */ QWORD cnsScriptTime);
-
- HRESULT ( STDMETHODCALLTYPE *RemoveScript )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *GetCodecInfoCount )(
- IWMHeaderInfo3 * This,
- /* [out] */ DWORD *pcCodecInfos);
-
- HRESULT ( STDMETHODCALLTYPE *GetCodecInfo )(
- IWMHeaderInfo3 * This,
- /* [in] */ DWORD wIndex,
- /* [out][in] */ WORD *pcchName,
- /* [size_is][out] */ WCHAR *pwszName,
- /* [out][in] */ WORD *pcchDescription,
- /* [size_is][out] */ WCHAR *pwszDescription,
- /* [out] */ WMT_CODEC_INFO_TYPE *pCodecType,
- /* [out][in] */ WORD *pcbCodecInfo,
- /* [size_is][out] */ BYTE *pbCodecInfo);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeCountEx )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeIndices )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pwszName,
- /* [in] */ WORD *pwLangIndex,
- /* [size_is][out] */ WORD *pwIndices,
- /* [out][in] */ WORD *pwCount);
-
- HRESULT ( STDMETHODCALLTYPE *GetAttributeByIndexEx )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ LPWSTR pwszName,
- /* [out][in] */ WORD *pwNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [out] */ WORD *pwLangIndex,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ DWORD *pdwDataLength);
-
- HRESULT ( STDMETHODCALLTYPE *ModifyAttribute )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength);
-
- HRESULT ( STDMETHODCALLTYPE *AddAttribute )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WORD *pwIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength);
-
- HRESULT ( STDMETHODCALLTYPE *DeleteAttribute )(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex);
-
- HRESULT ( STDMETHODCALLTYPE *AddCodecInfo )(
- IWMHeaderInfo3 * This,
- /* [in] */ WCHAR *pwszName,
- /* [in] */ WCHAR *pwszDescription,
- /* [in] */ WMT_CODEC_INFO_TYPE codecType,
- /* [in] */ WORD cbCodecInfo,
- /* [size_is][in] */ BYTE *pbCodecInfo);
-
- END_INTERFACE
- } IWMHeaderInfo3Vtbl;
- interface IWMHeaderInfo3
- {
- CONST_VTBL struct IWMHeaderInfo3Vtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #define IWMHeaderInfo3_QueryInterface(This,riid,ppvObject)
- (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
- #define IWMHeaderInfo3_AddRef(This)
- (This)->lpVtbl -> AddRef(This)
- #define IWMHeaderInfo3_Release(This)
- (This)->lpVtbl -> Release(This)
- #define IWMHeaderInfo3_GetAttributeCount(This,wStreamNum,pcAttributes)
- (This)->lpVtbl -> GetAttributeCount(This,wStreamNum,pcAttributes)
- #define IWMHeaderInfo3_GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByIndex(This,wIndex,pwStreamNum,pwszName,pcchNameLen,pType,pValue,pcbLength)
- #define IWMHeaderInfo3_GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- (This)->lpVtbl -> GetAttributeByName(This,pwStreamNum,pszName,pType,pValue,pcbLength)
- #define IWMHeaderInfo3_SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- (This)->lpVtbl -> SetAttribute(This,wStreamNum,pszName,Type,pValue,cbLength)
- #define IWMHeaderInfo3_GetMarkerCount(This,pcMarkers)
- (This)->lpVtbl -> GetMarkerCount(This,pcMarkers)
- #define IWMHeaderInfo3_GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- (This)->lpVtbl -> GetMarker(This,wIndex,pwszMarkerName,pcchMarkerNameLen,pcnsMarkerTime)
- #define IWMHeaderInfo3_AddMarker(This,pwszMarkerName,cnsMarkerTime)
- (This)->lpVtbl -> AddMarker(This,pwszMarkerName,cnsMarkerTime)
- #define IWMHeaderInfo3_RemoveMarker(This,wIndex)
- (This)->lpVtbl -> RemoveMarker(This,wIndex)
- #define IWMHeaderInfo3_GetScriptCount(This,pcScripts)
- (This)->lpVtbl -> GetScriptCount(This,pcScripts)
- #define IWMHeaderInfo3_GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- (This)->lpVtbl -> GetScript(This,wIndex,pwszType,pcchTypeLen,pwszCommand,pcchCommandLen,pcnsScriptTime)
- #define IWMHeaderInfo3_AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- (This)->lpVtbl -> AddScript(This,pwszType,pwszCommand,cnsScriptTime)
- #define IWMHeaderInfo3_RemoveScript(This,wIndex)
- (This)->lpVtbl -> RemoveScript(This,wIndex)
- #define IWMHeaderInfo3_GetCodecInfoCount(This,pcCodecInfos)
- (This)->lpVtbl -> GetCodecInfoCount(This,pcCodecInfos)
- #define IWMHeaderInfo3_GetCodecInfo(This,wIndex,pcchName,pwszName,pcchDescription,pwszDescription,pCodecType,pcbCodecInfo,pbCodecInfo)
- (This)->lpVtbl -> GetCodecInfo(This,wIndex,pcchName,pwszName,pcchDescription,pwszDescription,pCodecType,pcbCodecInfo,pbCodecInfo)
- #define IWMHeaderInfo3_GetAttributeCountEx(This,wStreamNum,pcAttributes)
- (This)->lpVtbl -> GetAttributeCountEx(This,wStreamNum,pcAttributes)
- #define IWMHeaderInfo3_GetAttributeIndices(This,wStreamNum,pwszName,pwLangIndex,pwIndices,pwCount)
- (This)->lpVtbl -> GetAttributeIndices(This,wStreamNum,pwszName,pwLangIndex,pwIndices,pwCount)
- #define IWMHeaderInfo3_GetAttributeByIndexEx(This,wStreamNum,wIndex,pwszName,pwNameLen,pType,pwLangIndex,pValue,pdwDataLength)
- (This)->lpVtbl -> GetAttributeByIndexEx(This,wStreamNum,wIndex,pwszName,pwNameLen,pType,pwLangIndex,pValue,pdwDataLength)
- #define IWMHeaderInfo3_ModifyAttribute(This,wStreamNum,wIndex,Type,wLangIndex,pValue,dwLength)
- (This)->lpVtbl -> ModifyAttribute(This,wStreamNum,wIndex,Type,wLangIndex,pValue,dwLength)
- #define IWMHeaderInfo3_AddAttribute(This,wStreamNum,pszName,pwIndex,Type,wLangIndex,pValue,dwLength)
- (This)->lpVtbl -> AddAttribute(This,wStreamNum,pszName,pwIndex,Type,wLangIndex,pValue,dwLength)
- #define IWMHeaderInfo3_DeleteAttribute(This,wStreamNum,wIndex)
- (This)->lpVtbl -> DeleteAttribute(This,wStreamNum,wIndex)
- #define IWMHeaderInfo3_AddCodecInfo(This,pwszName,pwszDescription,codecType,cbCodecInfo,pbCodecInfo)
- (This)->lpVtbl -> AddCodecInfo(This,pwszName,pwszDescription,codecType,cbCodecInfo,pbCodecInfo)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_GetAttributeCountEx_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [out] */ WORD *pcAttributes);
- void __RPC_STUB IWMHeaderInfo3_GetAttributeCountEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_GetAttributeIndices_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pwszName,
- /* [in] */ WORD *pwLangIndex,
- /* [size_is][out] */ WORD *pwIndices,
- /* [out][in] */ WORD *pwCount);
- void __RPC_STUB IWMHeaderInfo3_GetAttributeIndices_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_GetAttributeByIndexEx_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [size_is][out] */ LPWSTR pwszName,
- /* [out][in] */ WORD *pwNameLen,
- /* [out] */ WMT_ATTR_DATATYPE *pType,
- /* [out] */ WORD *pwLangIndex,
- /* [size_is][out] */ BYTE *pValue,
- /* [out][in] */ DWORD *pdwDataLength);
- void __RPC_STUB IWMHeaderInfo3_GetAttributeByIndexEx_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_ModifyAttribute_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength);
- void __RPC_STUB IWMHeaderInfo3_ModifyAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_AddAttribute_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ LPCWSTR pszName,
- /* [out] */ WORD *pwIndex,
- /* [in] */ WMT_ATTR_DATATYPE Type,
- /* [in] */ WORD wLangIndex,
- /* [size_is][in] */ const BYTE *pValue,
- /* [in] */ DWORD dwLength);
- void __RPC_STUB IWMHeaderInfo3_AddAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_DeleteAttribute_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WORD wStreamNum,
- /* [in] */ WORD wIndex);
- void __RPC_STUB IWMHeaderInfo3_DeleteAttribute_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMHeaderInfo3_AddCodecInfo_Proxy(
- IWMHeaderInfo3 * This,
- /* [in] */ WCHAR *pwszName,
- /* [in] */ WCHAR *pwszDescription,
- /* [in] */ WMT_CODEC_INFO_TYPE codecType,
- /* [in] */ WORD cbCodecInfo,
- /* [size_is][in] */ BYTE *pbCodecInfo);
- void __RPC_STUB IWMHeaderInfo3_AddCodecInfo_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMHeaderInfo3_INTERFACE_DEFINED__ */
- #ifndef __IWMProfileManager_INTERFACE_DEFINED__
- #define __IWMProfileManager_INTERFACE_DEFINED__
- /* interface IWMProfileManager */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMProfileManager;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("d16679f2-6ca0-472d-8d31-2f5d55aee155")
- IWMProfileManager : public IUnknown
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE CreateEmptyProfile(
- /* [in] */ WMT_VERSION dwVersion,
- /* [out] */ IWMProfile **ppProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LoadProfileByID(
- /* [in] */ REFGUID guidProfile,
- /* [out] */ IWMProfile **ppProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LoadProfileByData(
- /* [in] */ const WCHAR *pwszProfile,
- /* [out] */ IWMProfile **ppProfile) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SaveProfile(
- /* [in] */ IWMProfile *pIWMProfile,
- /* [in] */ WCHAR *pwszProfile,
- /* [out][in] */ DWORD *pdwLength) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE GetSystemProfileCount(
- /* [out] */ DWORD *pcProfiles) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE LoadSystemProfile(
- /* [in] */ DWORD dwProfileIndex,
- /* [out] */ IWMProfile **ppProfile) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMProfileManagerVtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMProfileManager * This,
- /* [in] */ REFIID riid,
- /* [iid_is][out] */ void **ppvObject);
-
- ULONG ( STDMETHODCALLTYPE *AddRef )(
- IWMProfileManager * This);
-
- ULONG ( STDMETHODCALLTYPE *Release )(
- IWMProfileManager * This);
-
- HRESULT ( STDMETHODCALLTYPE *CreateEmptyProfile )(
- IWMProfileManager * This,
- /* [in] */ WMT_VERSION dwVersion,
- /* [out] */ IWMProfile **ppProfile);
-
- HRESULT ( STDMETHODCALLTYPE *LoadProfileByID )(
- IWMProfileManager * This,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ IWMProfile **ppProfile);
-
- HRESULT ( STDMETHODCALLTYPE *LoadProfileByData )(
- IWMProfileManager * This,
- /* [in] */ const WCHAR *pwszProfile,
- /* [out] */ IWMProfile **ppProfile);
-
- HRESULT ( STDMETHODCALLTYPE *SaveProfile )(
- IWMProfileManager * This,
- /* [in] */ IWMProfile *pIWMProfile,
- /* [in] */ WCHAR *pwszProfile,
- /* [out][in] */ DWORD *pdwLength);
-
- HRESULT ( STDMETHODCALLTYPE *GetSystemProfileCount )(
- IWMProfileManager * This,
- /* [out] */ DWORD *pcProfiles);
-
- HRESULT ( STDMETHODCALLTYPE *LoadSystemProfile )(
- IWMProfileManager * This,
- /* [in] */ DWORD dwProfileIndex,
- /* [out] */ IWMProfile **ppProfile);
-
- END_INTERFACE
- } IWMProfileManagerVtbl;
- interface IWMProfileManager
- {
- CONST_VTBL struct IWMProfileManagerVtbl *lpVtbl;
- };
-
- #ifdef COBJMACROS
- #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)
- #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)
- #endif /* COBJMACROS */
- #endif /* C style interface */
- HRESULT STDMETHODCALLTYPE IWMProfileManager_CreateEmptyProfile_Proxy(
- IWMProfileManager * This,
- /* [in] */ WMT_VERSION dwVersion,
- /* [out] */ IWMProfile **ppProfile);
- void __RPC_STUB IWMProfileManager_CreateEmptyProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadProfileByID_Proxy(
- IWMProfileManager * This,
- /* [in] */ REFGUID guidProfile,
- /* [out] */ IWMProfile **ppProfile);
- void __RPC_STUB IWMProfileManager_LoadProfileByID_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadProfileByData_Proxy(
- IWMProfileManager * This,
- /* [in] */ const WCHAR *pwszProfile,
- /* [out] */ IWMProfile **ppProfile);
- void __RPC_STUB IWMProfileManager_LoadProfileByData_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMProfileManager_SaveProfile_Proxy(
- IWMProfileManager * This,
- /* [in] */ IWMProfile *pIWMProfile,
- /* [in] */ WCHAR *pwszProfile,
- /* [out][in] */ DWORD *pdwLength);
- void __RPC_STUB IWMProfileManager_SaveProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMProfileManager_GetSystemProfileCount_Proxy(
- IWMProfileManager * This,
- /* [out] */ DWORD *pcProfiles);
- void __RPC_STUB IWMProfileManager_GetSystemProfileCount_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- HRESULT STDMETHODCALLTYPE IWMProfileManager_LoadSystemProfile_Proxy(
- IWMProfileManager * This,
- /* [in] */ DWORD dwProfileIndex,
- /* [out] */ IWMProfile **ppProfile);
- void __RPC_STUB IWMProfileManager_LoadSystemProfile_Stub(
- IRpcStubBuffer *This,
- IRpcChannelBuffer *_pRpcChannelBuffer,
- PRPC_MESSAGE _pRpcMessage,
- DWORD *_pdwStubPhase);
- #endif /* __IWMProfileManager_INTERFACE_DEFINED__ */
- #ifndef __IWMProfileManager2_INTERFACE_DEFINED__
- #define __IWMProfileManager2_INTERFACE_DEFINED__
- /* interface IWMProfileManager2 */
- /* [local][unique][helpstring][uuid][object] */
- EXTERN_C const IID IID_IWMProfileManager2;
- #if defined(__cplusplus) && !defined(CINTERFACE)
-
- MIDL_INTERFACE("7A924E51-73C1-494d-8019-23D37ED9B89A")
- IWMProfileManager2 : public IWMProfileManager
- {
- public:
- virtual HRESULT STDMETHODCALLTYPE GetSystemProfileVersion(
- WMT_VERSION *pdwVersion) = 0;
-
- virtual HRESULT STDMETHODCALLTYPE SetSystemProfileVersion(
- WMT_VERSION dwVersion) = 0;
-
- };
-
- #else /* C style interface */
- typedef struct IWMProfileManager2Vtbl
- {
- BEGIN_INTERFACE
-
- HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
- IWMProfileManager2 * This,