MFPMediaItem_GetStreamSelection
Queries whether a stream is selected to play.
MFPMediaItem_GetStreamSelection PROTO pMediaItem:DWORD, dwStreamIndex:DWORD, pbEnabled:DWORD
Parameters
pMediaItem- A pointer to the Media Item (IMFPMediaItem) object.dwStreamIndex- A zero based index of the stream.pbEnabled- A pointer to a DWORD that contains TRUE or FALSE.
Returns
TRUE if successful or FALSE otherwise.
Notes
To select or deselect a stream, call MFPMediaItem_SetStreamSelection.
See Also
MFPMediaItem_SetStreamSelection, MFPMediaItem_GetNumberOfStreams