Share via


CBaseControlWindow::DoGetWindowStyle

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Retrieves the current normal or extended window styles.

Syntax

HRESULT DoGetWindowStyle(
  long* pStyle,
  long WindowLong
);

Parameters

  • pStyle
    Contains the appropriate styles.
  • WindowLong
    Either GWL_STYLE or GWL_EXSTYLE.

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

Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment