Compartilhar via


CBaseControlWindow::DoGetWindowStyle (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class