ReactOS 0.4.16-dev-197-g92996da
ATL::CWndProcThunk Class Reference

#include <atlwin.h>

Collaboration diagram for ATL::CWndProcThunk:

Public Member Functions

 CWndProcThunk ()
 
 ~CWndProcThunk ()
 
BOOL Init (WNDPROC proc, void *pThis)
 
WNDPROC GetWNDPROC ()
 

Public Attributes

thunkCode * m_pthunk
 
_AtlCreateWndData cd
 

Detailed Description

Definition at line 232 of file atlwin.h.

Constructor & Destructor Documentation

◆ CWndProcThunk()

ATL::CWndProcThunk::CWndProcThunk ( )
inline

Definition at line 239 of file atlwin.h.

240 {
241 m_pthunk = (thunkCode*)VirtualAlloc(NULL, sizeof(thunkCode), MEM_COMMIT, PAGE_EXECUTE_READWRITE);
242 }
thunkCode * m_pthunk
Definition: atlwin.h:235
#define NULL
Definition: types.h:112
#define MEM_COMMIT
Definition: nt_native.h:1313
#define PAGE_EXECUTE_READWRITE
Definition: nt_native.h:1308
LPVOID NTAPI VirtualAlloc(IN LPVOID lpAddress, IN SIZE_T dwSize, IN DWORD flAllocationType, IN DWORD flProtect)
Definition: virtmem.c:65

◆ ~CWndProcThunk()

ATL::CWndProcThunk::~CWndProcThunk ( )
inline

Definition at line 244 of file atlwin.h.

245 {
246 if (m_pthunk != NULL)
248 }
#define MEM_RELEASE
Definition: nt_native.h:1316
BOOL NTAPI VirtualFree(IN LPVOID lpAddress, IN SIZE_T dwSize, IN DWORD dwFreeType)
Definition: virtmem.c:119

Member Function Documentation

◆ GetWNDPROC()

◆ Init()

Member Data Documentation

◆ cd

◆ m_pthunk

thunkCode* ATL::CWndProcThunk::m_pthunk

Definition at line 235 of file atlwin.h.

Referenced by CWndProcThunk(), GetWNDPROC(), Init(), and ~CWndProcThunk().


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