Freigeben über


IMFVideoDisplayControl::GetVideoWindow Method

Gets the clipping window for the video.

Syntax

HRESULT GetVideoWindow(
  [out]  HWND *phwndVideo
);

Parameter

  • phwndVideo [out]
    Receives a handle to the window where the enhanced video renderer (EVR) will draw the video.

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_SHUTDOWN

The video renderer has been shut down.

 

Hinweise

There is no default clipping window. The application must set the clipping window.

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