ReactOS 0.4.15-dev-6057-gd708c79
ATL::_ATL_WNDCLASSINFOW Struct Reference

#include <atlwin.h>

Collaboration diagram for ATL::_ATL_WNDCLASSINFOW:

Public Member Functions

ATOM Register (WNDPROC *p)
 

Public Attributes

WNDCLASSEX m_wc
 
LPCTSTR m_lpszOrigName
 
WNDPROC pWndProc
 
LPCTSTR m_lpszCursorID
 
BOOL m_bSystemCursor
 
ATOM m_atom
 
TCHAR m_szAutoName [sizeof("ATL:")+sizeof(void *) *2]
 

Detailed Description

Definition at line 2010 of file atlwin.h.

Member Function Documentation

◆ Register()

ATOM ATL::_ATL_WNDCLASSINFOW::Register ( WNDPROC p)
inline

Definition at line 2020 of file atlwin.h.

2021 {
2022 if (m_wc.hInstance == NULL)
2023 m_wc.hInstance = _AtlBaseModule.GetModuleInstance();
2024 if (m_atom == 0)
2025 {
2026 if (m_bSystemCursor)
2028 else
2029 m_wc.hCursor = ::LoadCursor(_AtlBaseModule.GetResourceInstance(), m_lpszCursorID);
2030
2032 }
2033
2034 return m_atom;
2035 }
#define NULL
Definition: types.h:112
HINSTANCE hInstance
Definition: winuser.h:3196
HCURSOR hCursor
Definition: winuser.h:3198
#define RegisterClassEx
Definition: winuser.h:5827
#define LoadCursor
Definition: winuser.h:5802

Member Data Documentation

◆ m_atom

ATOM ATL::_ATL_WNDCLASSINFOW::m_atom

Definition at line 2017 of file atlwin.h.

Referenced by Register().

◆ m_bSystemCursor

BOOL ATL::_ATL_WNDCLASSINFOW::m_bSystemCursor

Definition at line 2016 of file atlwin.h.

Referenced by Register().

◆ m_lpszCursorID

LPCTSTR ATL::_ATL_WNDCLASSINFOW::m_lpszCursorID

Definition at line 2015 of file atlwin.h.

Referenced by Register().

◆ m_lpszOrigName

LPCTSTR ATL::_ATL_WNDCLASSINFOW::m_lpszOrigName

Definition at line 2013 of file atlwin.h.

◆ m_szAutoName

TCHAR ATL::_ATL_WNDCLASSINFOW::m_szAutoName[sizeof("ATL:")+sizeof(void *) *2]

Definition at line 2018 of file atlwin.h.

◆ m_wc

WNDCLASSEX ATL::_ATL_WNDCLASSINFOW::m_wc

Definition at line 2012 of file atlwin.h.

Referenced by Register().

◆ pWndProc

WNDPROC ATL::_ATL_WNDCLASSINFOW::pWndProc

Definition at line 2014 of file atlwin.h.


The documentation for this struct was generated from the following file: