Previous | Next |
The GetAllocateForStream method retrieves a flag indicating whether the reader is configured to use IWMReaderAdvancedCallback to allocate stream samples delivered by the IWMReaderCallback::OnStreamSample callback
Syntax
HRESULT GetAllocateForStream(
WORD wStreamNum,
BOOL* pfAllocate
);
Parameters
wStreamNum
[in] Word containing the stream number.
pfAllocate
[out] Pointer to a flag indicating that the reader will use IWMReaderAdvancedCallback to allocate samples. TRUE indicates that the reader will use the callback interface.
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 |