Skip to main content
IMFMediaEngine::HasVideo method

Queries whether the current media resource contains a video stream.

Syntax


BOOL HasVideo();

Parameters

This method has no parameters.

Return value

Returns TRUE if the current media resource contains a video stream. Returns FALSE if there is no media resource or the media resource does not contain a video stream.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Mfmediaengine.h

See also

IMFMediaEngine