Share via


CBaseControlWindow::DoGetWindowStyle

 
Microsoft DirectShow 9.0

CBaseControlWindow::DoGetWindowStyle

The DoGetWindowStyle method retrieves the current normal or extended window styles.

Syntax

  HRESULT DoGetWindowStyle(
    long *pStyle,
    long WindowLong
);

Parameters

pStyle

Pointer to a variable that receives the style information.

WindowLong

Value specifying which styles to retrieve. Must be one of the following:

GWL_STYLE Retrieve the window styles.
GWL_EXSTYLE Retrieve the extended window styles.

Return Value

Returns an HRESULT value.

Remarks

This member function calls the Win32 GetWindowLong function to retrieve the window style. It is called by the CBaseControlWindow::get_WindowStyle and CBaseControlWindow::get_WindowStyleEx member functions.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also