Previous | Next |
The SetAllocateForStream method sets a flag indicating whether the reader will use IWMReaderCallbackAdvanced::AllocateForStream to allocate buffers for stream samples.
Syntax
HRESULT SetAllocateForStream(
WORD wStreamNum,
BOOL fAllocate
);
Parameters
wStreamNum
[in] Word containing the stream number.
fAllocate
[in] Flag indicating allocated buffer. Specify TRUE if the reader will use IWMReaderAdvancedCallback to allocate streams.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Remarks
Stream numbers may only be in the range of 1-64.
See Also
Previous | Next |