Share via


IVideoWindow::get_FullScreenMode

 
Microsoft DirectShow 9.0

IVideoWindow::get_FullScreenMode

The get_FullScreenMode method queries whether the video renderer is in full-screen mode. 

Syntax

  HRESULT get_FullScreenMode(
    long *FullScreenMode
);

Parameters

FullScreenMode

[out] Pointer to a variable that receives the value OATRUE if the video renderer is in full-screen mode, or OAFALSE otherwise.

Return Values

Possible return values include the following:

Value Description
E_NOTIMPL This filter does not support full-screen mode.
E_POINTER NULL pointer.
S_OK Success.
VFW_E_NOT_CONNECTED The video renderer filter is not connected.

Remarks

When the Filter Graph Manager is switching to full-screen mode, it calls this method to determine whether the current video renderer supports this mode. If the renderer does not have inherent support for full-screen playback, it should return E_NOTIMPL. If if does, it should return S_OK, and also return the correct value in the FullScreenMode parameter.

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also