IMFVideoDisplayControl::GetFullscreen method (evr.h)

Queries whether the enhanced video renderer (EVR) is currently in full-screen mode.

Syntax

HRESULT GetFullscreen(
  BOOL *pfFullscreen
);

Parameters

pfFullscreen

Receives a Boolean value. If TRUE, the EVR is in full-screen mode. If FALSE, the EVR will display the video inside the application-provided clipping window.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.
MF_E_INVALIDREQUEST
The EVR is currently switching between full-screen and windowed mode.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evr.h
Library Strmiids.lib

See also

Enhanced Video Renderer

IMFVideoDisplayControl

Using the Video Display Controls