IMFVideoDisplayControl::GetFullscreen method

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

Syntax


HRESULT GetFullscreen(
  [out]  BOOL *pfFullscreen
);

Parameters

pfFullscreen [out]

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 codeDescription
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]

Header

Evr.h

Library

Strmiids.lib

See also

IMFVideoDisplayControl
Enhanced Video Renderer
Using the Video Display Controls

 

 

Community Additions

ADD
Show:
© 2015 Microsoft