MFPMediaItem_HasVideo
Queries whether the media item contains a video stream.
MFPMediaItem_HasVideo PROTO pMediaItem:DWORD, pbHasVideo:DWORD, pbSelected:DWORD
Parameters
pMediaItem- A pointer to the Media Item (IMFPMediaItem) object.pbHasVideo- A pointer to a DWORD that contains TRUE or FALSE.pbSelected- A pointer to a DWORD that contains TRUE or FALSE.
Returns
TRUE if successful or FALSE otherwise.
Notes
To select or deselect streams before playback starts, call MFPMediaItem_SetStreamSelection.
See Also
MFPMediaItem_HasAudio, MFPMediaItem_IsProtected, MFPMediaItem_SetStreamSelection