ReactOS 0.4.15-dev-8419-g7f0e8a3
WindowCreatorInfo< WND_CLASS, INFO_CLASS > Struct Template Reference

template class used in macro WINDOW_CREATOR_INFO to the define creater functions for Window objects with additional creation information More...

#include <window.h>

Static Public Member Functions

static WND_CLASS * window_creator (HWND hwnd, const void *info)
 

Detailed Description

template<typename WND_CLASS, typename INFO_CLASS>
struct WindowCreatorInfo< WND_CLASS, INFO_CLASS >

template class used in macro WINDOW_CREATOR_INFO to the define creater functions for Window objects with additional creation information

Definition at line 207 of file window.h.

Member Function Documentation

◆ window_creator()

template<typename WND_CLASS , typename INFO_CLASS >
static WND_CLASS * WindowCreatorInfo< WND_CLASS, INFO_CLASS >::window_creator ( HWND  hwnd,
const void info 
)
inlinestatic

Definition at line 209 of file window.h.

210 {
211 return new WND_CLASS(hwnd, *static_cast<const INFO_CLASS*>(info));
212 }
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023

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