Previous | Next |
The OnStreamSelection method notifies the application of stream changes made due to bandwidth restrictions. To have this method called, call IWMReaderAdvanced::SetReceiveSelectionCallbacks to have this method called.
Syntax
HRESULT OnStreamSelection(
WORD wStreamCount,
WORD* pStreamNumbers,
WMT_STREAM_SELECTION* pSelections,
void* pvContext
);
Parameters
wStreamCount
[in] Word containing the number of entries in the pStreamNumbers array.
pStreamNumbers
[in] Pointer to an array of stream numbers.
pSelections
[in] Pointer to one member of the WMT_STREAM_SELECTION enumeration type.
pvContext
[in] Universal pointer to the context. This context matches the context from IWMReader::Start.
Return Values
This method always returns S_OK.
Remarks
Stream numbers may only be in the range of 1-64.
The user can also get callbacks when stream changes due to bandwidth restrictions occur.
See Also
Previous | Next |