Searched refs:wndClass (Results 1 – 4 of 4) sorted by relevance
17 ATOM MyRegisterClass(CONST WNDCLASSW *wndClass) in MyRegisterClass() argument20 return RegisterClassW(wndClass); in MyRegisterClass()22 wndClassA.style = wndClass->style; in MyRegisterClass()23 wndClassA.lpfnWndProc = wndClass->lpfnWndProc; in MyRegisterClass()24 wndClassA.cbClsExtra = wndClass->cbClsExtra; in MyRegisterClass()25 wndClassA.cbWndExtra = wndClass->cbWndExtra; in MyRegisterClass()26 wndClassA.hInstance = wndClass->hInstance; in MyRegisterClass()27 wndClassA.hIcon = wndClass->hIcon; in MyRegisterClass()28 wndClassA.hCursor = wndClass->hCursor; in MyRegisterClass()29 wndClassA.hbrBackground = wndClass->hbrBackground; in MyRegisterClass()[all …]
31 inline ATOM MyRegisterClass(CONST WNDCLASS *wndClass) in MyRegisterClass() argument32 { return ::RegisterClass(wndClass); } in MyRegisterClass()35 ATOM MyRegisterClass(CONST WNDCLASSW *wndClass);
49 WNDCLASS wndClass; in Window() local50 memset(&wndClass, 0, sizeof(wndClass)); in Window()51 wndClass.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in Window()52 wndClass.lpfnWndProc = windowProcCallback; in Window()53 wndClass.cbClsExtra = 0; in Window()54 wndClass.cbWndExtra = 0; in Window()55 wndClass.hInstance = instance; in Window()56 wndClass.hIcon = LoadIcon(NULL, IDI_APPLICATION); in Window()57 wndClass.hCursor = LoadCursor(NULL, IDC_ARROW); in Window()58 wndClass.hbrBackground = CreateSolidBrush(RGB(0, 0, 0)); in Window()[all …]
18 ATOM MyRegisterClass(CONST WNDCLASSW *wndClass);