共用方式為


IVideoWindow::get_Visible

 
Microsoft DirectShow 9.0

IVideoWindow::get_Visible

The get_Visible method queries whether the video window is visible. 

Syntax

  HRESULT get_Visible(
    long *pVisible
);

Parameters

pVisible

[out] Pointer to a variable that receives the value OATRUE if the window is visible, or OAFALSE if the window is hidden.

Return Values

Possible return values include the following:

Value Description
E_POINTER NULL pointer.
S_OK Success.
VFW_E_NOT_CONNECTED The video renderer filter is not connected.

Remarks

This method checks for the WS_VISIBLE style bit, by calling the Windows IsWindowVisible method.

Requirements

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

Library: Use Strmiids.lib.

See Also