Partager via


IVideoWindow::get_WindowStyle

 
Microsoft DirectShow 9.0

IVideoWindow::get_WindowStyle

The get_WindowStyle method retrieves the window styles on the video window.

Syntax

  HRESULT get_WindowStyle(
    long *pWindowStyle
);

Parameters

pWindowStyle

[out] Pointer to a variable that receives the window style flags.

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 calls the Windows GetWindowLong function with the value GWL_STYLE.

Requirements

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

Library: Use Strmiids.lib.

See Also