Freigeben über


IMFVideoDisplayControl::GetFullscreen Method

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

Syntax

HRESULT GetFullscreen(
  [out]  BOOL *pfFullscreen
);

Parameter

  • 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.

Rückgabewert

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

Rückgabecode Beschreibung
S_OK

The method succeeded.

MF_E_INVALIDREQUEST

The EVR is currently switching between full-screen and windowed mode.

 

Anforderungen

Mindestens unterstützter Client

Windows Vista

Mindestens unterstützter Server

Windows Server 2008

Header

Evr.h

Bibliothek

Strmiids.lib

Siehe auch

IMFVideoDisplayControl

Enhanced Video Renderer

Using the Video Display Controls