Partager via


CBaseWindow::GetClassWindowStyles (Compact 2013)

3/26/2014

Retrieves class and window information.

Syntax

virtual LPTSTR GetClassWindowStyles(
  DWORD* pClassStyles,
  DWORD* pWindowStyles,
  DWORD* pWindowStylesEx
) PURE;

Parameters

  • pClassStyles
    Class styles.
  • pWindowStyles
    Window styles.
  • pWindowStylesEx
    Extended window styles.

Return Value

Returns a class name that is a static text string.

Remarks

A derived class must override this pure virtual member function to provide the default class and window styles for the window.

The information the derived class returns is used in CBaseWindow::PrepareWindow when the window is created.

The class and window styles take the same parameters as their counterparts in the Win32 CreateWindowEx function.

The string returned should be allocated as a static string and should still be valid after the member function returns.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseWindow Class