ReactOS  0.4.14-dev-998-g623dd26
IWMSyncReader Interface Reference

import"wmsdkidl.idl";

Inheritance diagram for IWMSyncReader:
Collaboration diagram for IWMSyncReader:

Public Member Functions

HRESULT Open ([in] const WCHAR *pwszFilename)
 
HRESULT Close ()
 
HRESULT SetRange ([in] QWORD cnsStartTime, [in] LONGLONG cnsDuration)
 
HRESULT SetRangeByFrame ([in] WORD wStreamNum, [in] QWORD qwFrameNumber, [in] LONGLONG cFramesToRead)
 
HRESULT GetNextSample ([in] WORD wStreamNum, [out] INSSBuffer **ppSample, [out] QWORD *pcnsSampleTime, [out] QWORD *pcnsDuration, [out] DWORD *pdwFlags, [out] DWORD *pdwOutputNum, [out] WORD *pwStreamNum)
 
HRESULT SetStreamsSelected ([in] WORD cStreamCount, [in] WORD *pwStreamNumbers, [in] WMT_STREAM_SELECTION *pSelections)
 
HRESULT GetStreamSelected ([in] WORD wStreamNum, [out] WMT_STREAM_SELECTION *pSelection)
 
HRESULT SetReadStreamSamples ([in] WORD wStreamNum, [in] BOOL fCompressed)
 
HRESULT GetReadStreamSamples ([in] WORD wStreamNum, [out] BOOL *pfCompressed)
 
HRESULT GetOutputSetting ([in] DWORD dwOutputNum, [in] LPCWSTR pszName, [out] WMT_ATTR_DATATYPE *pType, [out, size_is(*pcbLength)] BYTE *pValue, [in, out] WORD *pcbLength)
 
HRESULT SetOutputSetting ([in] DWORD dwOutputNum, [in] LPCWSTR pszName, [in] WMT_ATTR_DATATYPE Type, [in, size_is(cbLength)] const BYTE *pValue, [in] WORD cbLength)
 
HRESULT GetOutputCount ([out] DWORD *pcOutputs)
 
HRESULT GetOutputProps ([in] DWORD dwOutputNum, [out] IWMOutputMediaProps **ppOutput)
 
HRESULT SetOutputProps ([in] DWORD dwOutputNum, [in] IWMOutputMediaProps *pOutput)
 
HRESULT GetOutputFormatCount ([in] DWORD dwOutputNum, [out] DWORD *pcFormats)
 
HRESULT GetOutputFormat ([in] DWORD dwOutputNum, [in] DWORD dwFormatNum, [out] IWMOutputMediaProps **ppProps)
 
HRESULT GetOutputNumberForStream ([in] WORD wStreamNum, [out] DWORD *pdwOutputNum)
 
HRESULT GetStreamNumberForOutput ([in] DWORD dwOutputNum, [out] WORD *pwStreamNum)
 
HRESULT GetMaxOutputSampleSize ([in] DWORD dwOutput, [out] DWORD *pcbMax)
 
HRESULT GetMaxStreamSampleSize ([in] WORD wStream, [out] DWORD *pcbMax)
 
HRESULT OpenStream ([in] IStream *pStream)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Additional Inherited Members

- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Detailed Description

Definition at line 971 of file wmsdkidl.idl.

Member Function Documentation

◆ Close()

HRESULT IWMSyncReader::Close ( )

◆ GetMaxOutputSampleSize()

HRESULT IWMSyncReader::GetMaxOutputSampleSize ( [in] DWORD  dwOutput,
[out] DWORD pcbMax 
)

◆ GetMaxStreamSampleSize()

HRESULT IWMSyncReader::GetMaxStreamSampleSize ( [in] WORD  wStream,
[out] DWORD pcbMax 
)

◆ GetNextSample()

HRESULT IWMSyncReader::GetNextSample ( [in] WORD  wStreamNum,
[out] INSSBuffer **  ppSample,
[out] QWORD pcnsSampleTime,
[out] QWORD pcnsDuration,
[out] DWORD pdwFlags,
[out] DWORD pdwOutputNum,
[out] WORD pwStreamNum 
)

◆ GetOutputCount()

HRESULT IWMSyncReader::GetOutputCount ( [out] DWORD pcOutputs)

◆ GetOutputFormat()

HRESULT IWMSyncReader::GetOutputFormat ( [in] DWORD  dwOutputNum,
[in] DWORD  dwFormatNum,
[out] IWMOutputMediaProps **  ppProps 
)

◆ GetOutputFormatCount()

HRESULT IWMSyncReader::GetOutputFormatCount ( [in] DWORD  dwOutputNum,
[out] DWORD pcFormats 
)

◆ GetOutputNumberForStream()

HRESULT IWMSyncReader::GetOutputNumberForStream ( [in] WORD  wStreamNum,
[out] DWORD pdwOutputNum 
)

◆ GetOutputProps()

HRESULT IWMSyncReader::GetOutputProps ( [in] DWORD  dwOutputNum,
[out] IWMOutputMediaProps **  ppOutput 
)

◆ GetOutputSetting()

HRESULT IWMSyncReader::GetOutputSetting ( [in] DWORD  dwOutputNum,
[in] LPCWSTR  pszName,
[out] WMT_ATTR_DATATYPE pType,
[out, size_is(*pcbLength)] BYTE pValue,
[in, out] WORD pcbLength 
)

◆ GetReadStreamSamples()

HRESULT IWMSyncReader::GetReadStreamSamples ( [in] WORD  wStreamNum,
[out] BOOL pfCompressed 
)

◆ GetStreamNumberForOutput()

HRESULT IWMSyncReader::GetStreamNumberForOutput ( [in] DWORD  dwOutputNum,
[out] WORD pwStreamNum 
)

◆ GetStreamSelected()

HRESULT IWMSyncReader::GetStreamSelected ( [in] WORD  wStreamNum,
[out] WMT_STREAM_SELECTION pSelection 
)

◆ Open()

HRESULT IWMSyncReader::Open ( [in] const WCHAR pwszFilename)

◆ OpenStream()

HRESULT IWMSyncReader::OpenStream ( [in] IStream pStream)

◆ SetOutputProps()

HRESULT IWMSyncReader::SetOutputProps ( [in] DWORD  dwOutputNum,
[in] IWMOutputMediaProps pOutput 
)

◆ SetOutputSetting()

HRESULT IWMSyncReader::SetOutputSetting ( [in] DWORD  dwOutputNum,
[in] LPCWSTR  pszName,
[in] WMT_ATTR_DATATYPE  Type,
[in, size_is(cbLength)] const BYTE pValue,
[in] WORD  cbLength 
)

◆ SetRange()

HRESULT IWMSyncReader::SetRange ( [in] QWORD  cnsStartTime,
[in] LONGLONG  cnsDuration 
)

◆ SetRangeByFrame()

HRESULT IWMSyncReader::SetRangeByFrame ( [in] WORD  wStreamNum,
[in] QWORD  qwFrameNumber,
[in] LONGLONG  cFramesToRead 
)

◆ SetReadStreamSamples()

HRESULT IWMSyncReader::SetReadStreamSamples ( [in] WORD  wStreamNum,
[in] BOOL  fCompressed 
)

◆ SetStreamsSelected()

HRESULT IWMSyncReader::SetStreamsSelected ( [in] WORD  cStreamCount,
[in] WORD pwStreamNumbers,
[in] WMT_STREAM_SELECTION pSelections 
)

The documentation for this interface was generated from the following file: