IMFVideoDisplayControl::GetVideoWindow method

Gets the clipping window for the video.

Syntax


HRESULT GetVideoWindow(
  [out]  HWND *phwndVideo
);

Parameters

phwndVideo [out]

Receives a handle to the window where the enhanced video renderer (EVR) will draw the video.

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_SHUTDOWN

The video renderer has been shut down.

 

Remarks

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

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:
© 2014 Microsoft