ReactOS 0.4.15-dev-8093-g3285f69
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 2016 of file atlwin.h.

Member Function Documentation

◆ Register()

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

Definition at line 2026 of file atlwin.h.

2027 {
2028 if (m_wc.hInstance == NULL)
2029 m_wc.hInstance = _AtlBaseModule.GetModuleInstance();
2030 if (m_atom == 0)
2031 {
2032 if (m_bSystemCursor)
2034 else
2035 m_wc.hCursor = ::LoadCursor(_AtlBaseModule.GetResourceInstance(), m_lpszCursorID);
2036
2038 }
2039
2040 return m_atom;
2041 }
#define NULL
Definition: types.h:112
HINSTANCE hInstance
Definition: winuser.h:3206
HCURSOR hCursor
Definition: winuser.h:3208
#define RegisterClassEx
Definition: winuser.h:5837
#define LoadCursor
Definition: winuser.h:5812

Member Data Documentation

◆ m_atom

ATOM ATL::_ATL_WNDCLASSINFOW::m_atom

Definition at line 2023 of file atlwin.h.

Referenced by Register().

◆ m_bSystemCursor

BOOL ATL::_ATL_WNDCLASSINFOW::m_bSystemCursor

Definition at line 2022 of file atlwin.h.

Referenced by Register().

◆ m_lpszCursorID

LPCTSTR ATL::_ATL_WNDCLASSINFOW::m_lpszCursorID

Definition at line 2021 of file atlwin.h.

Referenced by Register().

◆ m_lpszOrigName

LPCTSTR ATL::_ATL_WNDCLASSINFOW::m_lpszOrigName

Definition at line 2019 of file atlwin.h.

◆ m_szAutoName

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

Definition at line 2024 of file atlwin.h.

◆ m_wc

WNDCLASSEX ATL::_ATL_WNDCLASSINFOW::m_wc

Definition at line 2018 of file atlwin.h.

Referenced by Register().

◆ pWndProc

WNDPROC ATL::_ATL_WNDCLASSINFOW::pWndProc

Definition at line 2020 of file atlwin.h.


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