Home
last modified time | relevance | path

Searched refs:cls (Results 1 – 25 of 65) sorted by relevance

123

/reactos/modules/rostests/apitests/user32/
H A DWndProc.c78 WNDCLASSA cls; in test_wndproc() local
82 cls.style = CS_DBLCLKS; in test_wndproc()
83 cls.lpfnWndProc = redraw_window_procA; in test_wndproc()
84 cls.cbClsExtra = 0; in test_wndproc()
85 cls.cbWndExtra = 0; in test_wndproc()
86 cls.hInstance = GetModuleHandleA(NULL); in test_wndproc()
87 cls.hIcon = NULL; in test_wndproc()
90 cls.lpszMenuName = NULL; in test_wndproc()
93 clsAtom = RegisterClassA(&cls); in test_wndproc()
113 ok(UnregisterClassA(cls.lpszClassName, cls.hInstance) != 0, in test_wndproc()
[all …]
H A DRealGetWindowClass.c85 WNDCLASSW cls; in Test_ClassAtoms() local
88 atom = GetClassInfoW(NULL, ControlsList[0], &cls); in Test_ClassAtoms()
101 ATOM test_atom = GetClassInfoW(NULL, ControlsList[i], &cls); in Test_ClassAtoms()
106 … ok(!lstrcmpW(cls.lpszClassName,ControlsList[i]),"GetClassName returned incorrect name\n"); in Test_ClassAtoms()
125 WNDCLASSA cls; in Test_RealGetWindowClass() local
129 GetClassInfoA(0, "#32770", &cls); in Test_RealGetWindowClass()
131 cls.lpfnWndProc = DefWindowProcA; in Test_RealGetWindowClass()
132 cls.lpszClassName = RealClassTestData[testNo].ClassName; in Test_RealGetWindowClass()
133 cls.cbWndExtra &= ~RealClassTestData[testNo].WndExtra; in Test_RealGetWindowClass()
134 atom = RegisterClassA (&cls); in Test_RealGetWindowClass()
H A DSystemMenu.c521 WNDCLASSA cls; in RegisterWindowClasses() local
523 cls.style = 0; in RegisterWindowClasses()
525 cls.cbClsExtra = 0; in RegisterWindowClasses()
526 cls.cbWndExtra = 0; in RegisterWindowClasses()
528 cls.hIcon = 0; in RegisterWindowClasses()
683 WNDCLASSA cls; in test_menu_messages() local
687 cls.style = 0; in test_menu_messages()
689 cls.cbClsExtra = 0; in test_menu_messages()
690 cls.cbWndExtra = 0; in test_menu_messages()
692 cls.hIcon = 0; in test_menu_messages()
[all …]
H A DGetDCEx.c36 WNDCLASSA cls; in RegisterClassHelper() local
38 cls.style = style; in RegisterClassHelper()
39 cls.lpfnWndProc = pfnWndProc; in RegisterClassHelper()
40 cls.cbClsExtra = 0; in RegisterClassHelper()
41 cls.cbWndExtra = 0; in RegisterClassHelper()
42 cls.hInstance = GetModuleHandleA(0); in RegisterClassHelper()
43 cls.hIcon = 0; in RegisterClassHelper()
44 cls.hCursor = LoadCursorA(0, IDC_ARROW); in RegisterClassHelper()
46 cls.lpszMenuName = NULL; in RegisterClassHelper()
47 cls.lpszClassName = pszClassName; in RegisterClassHelper()
[all …]
/reactos/modules/rostests/winetests/user32/
H A Dclass.c90 WNDCLASSW cls, wc; in ClassTest() local
351 WNDCLASSA cls, wc; in test_instances() local
362 memset( &cls, 0, sizeof(cls) ); in test_instances()
483 cls.style = 3; in test_instances()
512 cls.hInstance = 0; in test_instances()
676 ZeroMemory(&cls, sizeof(cls)); in test_builtinproc()
677 cls.cbSize = sizeof(cls); in test_builtinproc()
716 ZeroMemory(&cls, sizeof(cls)); in test_builtinproc()
717 cls.cbSize = sizeof(cls); in test_builtinproc()
753 ZeroMemory(&cls, sizeof(cls)); in test_builtinproc()
[all …]
H A Dbroadcast.c55 WNDCLASSA cls; in init_procs() local
59 cls.style = CS_DBLCLKS; in init_procs()
60 cls.lpfnWndProc = main_window_procA; in init_procs()
61 cls.cbClsExtra = 0; in init_procs()
62 cls.cbWndExtra = 0; in init_procs()
63 cls.hInstance = GetModuleHandleA(0); in init_procs()
64 cls.hIcon = 0; in init_procs()
65 cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW); in init_procs()
67 cls.lpszMenuName = NULL; in init_procs()
68 cls.lpszClassName = "MainWindowClass"; in init_procs()
[all …]
H A Ddce.c715 WNDCLASSA cls; in START_TEST() local
717 cls.style = CS_DBLCLKS; in START_TEST()
719 cls.cbClsExtra = 0; in START_TEST()
720 cls.cbWndExtra = 0; in START_TEST()
722 cls.hIcon = 0; in START_TEST()
725 cls.lpszMenuName = NULL; in START_TEST()
727 RegisterClassA(&cls); in START_TEST()
730 RegisterClassA(&cls); in START_TEST()
733 RegisterClassA(&cls); in START_TEST()
734 cls.style = CS_PARENTDC; in START_TEST()
[all …]
H A Dwin.c900 WNDCLASSA cls; in RegisterWindowClasses() local
907 cls.hIcon = 0; in RegisterWindowClasses()
928 cls.style = 0; in RegisterWindowClasses()
933 cls.hIcon = 0; in RegisterWindowClasses()
2077 WNDCLASSA cls; in mdi_RegisterWindowClasses() local
2369 cls.cbSize = sizeof(cls); in test_icons()
5397 WNDCLASSA cls; in test_redrawnow() local
5405 cls.hIcon = 0; in test_redrawnow()
5590 cls.hIcon = 0; in test_csparentdc()
6405 memset(&cls, 0, sizeof(cls)); in test_set_window_style()
[all …]
H A Ddialog.c573 WNDCLASSA cls; in RegisterWindowClasses() local
575 cls.style = 0; in RegisterWindowClasses()
576 cls.lpfnWndProc = DefWindowProcA; in RegisterWindowClasses()
577 cls.cbClsExtra = 0; in RegisterWindowClasses()
578 cls.cbWndExtra = 0; in RegisterWindowClasses()
579 cls.hInstance = g_hinst; in RegisterWindowClasses()
580 cls.hIcon = NULL; in RegisterWindowClasses()
583 cls.lpszMenuName = NULL; in RegisterWindowClasses()
593 cls.lpszClassName = "TESTCONTROL"; in RegisterWindowClasses()
596 GetClassInfoA(0, "#32770", &cls); in RegisterWindowClasses()
[all …]
H A Dwinstation.c51 WNDCLASSA cls; in register_class() local
53 cls.style = CS_DBLCLKS; in register_class()
54 cls.lpfnWndProc = DefWindowProcA; in register_class()
55 cls.cbClsExtra = 0; in register_class()
56 cls.cbWndExtra = 0; in register_class()
57 cls.hInstance = GetModuleHandleA(0); in register_class()
58 cls.hIcon = 0; in register_class()
59 cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW); in register_class()
61 cls.lpszMenuName = NULL; in register_class()
62 cls.lpszClassName = "WinStationClass"; in register_class()
[all …]
/reactos/dll/win32/msi/
H A Dclasses.c200 MSICLASS *cls; in load_class() local
207 if (!cls) in load_class()
219 cls->ProgID = load_given_progid(package, cls->ProgIDText); in load_class()
282 return cls; in load_class()
293 MSICLASS *cls; in load_given_class() local
315 return cls; in load_given_class()
484 MSICLASS *cls; in iterate_all_classes() local
695 MSICLASS *cls; in ACTION_RegisterClassInfo() local
785 if (cls->ProgID || cls->ProgIDText) in ACTION_RegisterClassInfo()
796 if (cls->ProgID && cls->ProgID->VersionInd) in ACTION_RegisterClassInfo()
[all …]
/reactos/modules/rostests/apitests/win32nt/ntuser/
H A DNtUserCreateWindowEx.c56 UNICODE_STRING cls = {14, 32, L"MyClass"}; in START_TEST() local
66 LARGE_STRING l_cls = {cls.Length, 32, 0, cls.Buffer}; in START_TEST()
89 wclex.lpszClassName = cls.Buffer; in START_TEST()
96 &cls, /* ClassName */ in START_TEST()
97 &cls, /* Version */ in START_TEST()
122 &cls, /* ClassName */ in START_TEST()
130 &cls, /* ClassName */ in START_TEST()
155 TEST(wcscmp(capture.Buffer, cls.Buffer) == 0); in START_TEST()
179 TEST(wcscmp(capture.Buffer, cls.Buffer) == 0); in START_TEST()
200 TEST(NtUserGetClassInfo(hinst, &cls, &res, &pwstr, 0) != 0); in START_TEST()
[all …]
/reactos/sdk/lib/scrnsave/
H A Dscrnsave.c150 WNDCLASS cls; in RegisterScreenSaverClass() local
152 cls.hCursor = NULL; in RegisterScreenSaverClass()
153 cls.hIcon = LoadIcon(hMainInstance, MAKEINTATOM(ID_APP)); in RegisterScreenSaverClass()
154 cls.lpszMenuName = NULL; in RegisterScreenSaverClass()
155 cls.lpszClassName = CLASS_SCRNSAVE; in RegisterScreenSaverClass()
156 cls.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); in RegisterScreenSaverClass()
157 cls.hInstance = hMainInstance; in RegisterScreenSaverClass()
159 cls.lpfnWndProc = SysScreenSaverProc; in RegisterScreenSaverClass()
160 cls.cbWndExtra = 0; in RegisterScreenSaverClass()
161 cls.cbClsExtra = 0; in RegisterScreenSaverClass()
[all …]
/reactos/sdk/lib/3rdparty/libwine/
H A Ddebug.c303 int wine_dbg_log( enum __wine_debug_class cls, struct __wine_debug_channel *channel, in wine_dbg_log() argument
309 if (!(__wine_dbg_get_channel_flags( channel ) & (1 << cls))) return -1; in wine_dbg_log()
312 ret = funcs.dbg_vlog( cls, channel, NULL, func, 0, format, valist ); in wine_dbg_log()
319 int ros_dbg_log( enum __wine_debug_class cls, struct __wine_debug_channel *channel, in ros_dbg_log() argument
325 if (!(__wine_dbg_get_channel_flags( channel ) & (1 << cls))) return -1; in ros_dbg_log()
328 ret = funcs.dbg_vlog( cls, channel, file, func, line, format, valist ); in ros_dbg_log()
486 if (cls < sizeof(debug_classes)/sizeof(debug_classes[0])) in winefmt_default_dbg_vlog()
501 if (cls < sizeof(debug_classes)/sizeof(debug_classes[0])) in rosfmt_default_dbg_vlog()
502 ret += wine_dbg_printf( "%s:", debug_classes[cls] ); in rosfmt_default_dbg_vlog()
526 if (cls < sizeof(debug_classes)/sizeof(debug_classes[0])) in extfmt_default_dbg_vlog()
[all …]
/reactos/modules/rostests/winetests/comctl32/
H A Dsyslink.c113 WNDCLASSW cls; in register_parent_wnd_class() local
115 cls.style = 0; in register_parent_wnd_class()
116 cls.lpfnWndProc = parent_wnd_proc; in register_parent_wnd_class()
117 cls.cbClsExtra = 0; in register_parent_wnd_class()
118 cls.cbWndExtra = 0; in register_parent_wnd_class()
119 cls.hInstance = GetModuleHandleW(NULL); in register_parent_wnd_class()
120 cls.hIcon = 0; in register_parent_wnd_class()
122 cls.hbrBackground = GetStockObject(WHITE_BRUSH); in register_parent_wnd_class()
123 cls.lpszMenuName = NULL; in register_parent_wnd_class()
124 cls.lpszClassName = parentClassW; in register_parent_wnd_class()
[all …]
H A Dsubclass.c284 WNDCLASSA cls; in register_window_classes() local
287 cls.style = 0; in register_window_classes()
288 cls.lpfnWndProc = wnd_proc_1; in register_window_classes()
289 cls.cbClsExtra = 0; in register_window_classes()
290 cls.cbWndExtra = 0; in register_window_classes()
292 cls.hIcon = 0; in register_window_classes()
293 cls.hCursor = NULL; in register_window_classes()
294 cls.hbrBackground = NULL; in register_window_classes()
295 cls.lpszMenuName = NULL; in register_window_classes()
296 cls.lpszClassName = "TestSubclass"; in register_window_classes()
[all …]
H A Dpager.c334 WNDCLASSA cls; in register_parent_wnd_class() local
336 cls.style = 0; in register_parent_wnd_class()
338 cls.cbClsExtra = 0; in register_parent_wnd_class()
339 cls.cbWndExtra = 0; in register_parent_wnd_class()
341 cls.hIcon = 0; in register_parent_wnd_class()
417 WNDCLASSA cls; in register_child_wnd_class() local
419 cls.style = 0; in register_child_wnd_class()
421 cls.cbClsExtra = 0; in register_child_wnd_class()
422 cls.cbWndExtra = 0; in register_child_wnd_class()
424 cls.hIcon = 0; in register_child_wnd_class()
[all …]
/reactos/dll/win32/uxtheme/
H A Dmsstyles.c648 PTHEME_CLASS cls; in MSSTYLES_ParseThemeIni() local
716 cls = tf->classes; in MSSTYLES_ParseThemeIni()
717 while(cls) in MSSTYLES_ParseThemeIni()
721 cls->overrides = MSSTYLES_FindClass(tf, NULL, cls->szClassName); in MSSTYLES_ParseThemeIni()
737 cls = cls->next; in MSSTYLES_ParseThemeIni()
777 if(cls) break; in MSSTYLES_OpenThemeClass()
791 if(cls) { in MSSTYLES_OpenThemeClass()
793 cls->tf = tf; in MSSTYLES_OpenThemeClass()
794 cls->tf->dwRefCount++; in MSSTYLES_OpenThemeClass()
802 cls->tf = tf; in MSSTYLES_OpenThemeClass()
[all …]
/reactos/modules/rostests/winetests/shell32/
H A Dappbar.c183 WNDCLASSEXA cls; in register_testwindow_class() local
185 ZeroMemory(&cls, sizeof(cls)); in register_testwindow_class()
186 cls.cbSize = sizeof(cls); in register_testwindow_class()
187 cls.style = 0; in register_testwindow_class()
188 cls.lpfnWndProc = testwindow_wndproc; in register_testwindow_class()
189 cls.hInstance = NULL; in register_testwindow_class()
190 cls.hCursor = LoadCursorA(0, (LPSTR)IDC_ARROW); in register_testwindow_class()
191 cls.hbrBackground = (HBRUSH) COLOR_WINDOW; in register_testwindow_class()
192 cls.lpszClassName = testwindow_class; in register_testwindow_class()
194 RegisterClassExA(&cls); in register_testwindow_class()
/reactos/dll/win32/inetcomm/
H A Dinternettransport.c369 WNDCLASSW cls; in InternetTransport_RegisterClass() local
375 memset(&cls, 0, sizeof(cls)); in InternetTransport_RegisterClass()
376 cls.hInstance = hInstance; in InternetTransport_RegisterClass()
377 cls.lpfnWndProc = InternetTransport_WndProc; in InternetTransport_RegisterClass()
378 cls.lpszClassName = wszClassName; in InternetTransport_RegisterClass()
380 return RegisterClassW(&cls); in InternetTransport_RegisterClass()
/reactos/sdk/lib/rtl/
H A Dwine_debug.c159 static int winefmt_default_dbg_vlog( enum __wine_debug_class cls, struct __wine_debug_channel *chan… in winefmt_default_dbg_vlog() argument
175 int ros_dbg_log( enum __wine_debug_class cls, struct __wine_debug_channel *channel, in ros_dbg_log() argument
181 if (!(__wine_dbg_get_channel_flags(channel) & (1 << cls))) return -1; in ros_dbg_log()
184 ret = winefmt_default_dbg_vlog(cls, channel, file, func, line, format, valist); in ros_dbg_log()
/reactos/drivers/network/tcpip/lwip/src/apps/netbiosns/
H A Dnetbiosns.c123 PACK_STRUCT_FIELD(u16_t cls);
139 PACK_STRUCT_FIELD(u16_t cls);
176 PACK_STRUCT_FIELD(u16_t cls);
398 resp->resp_name.cls = netbios_question_hdr->cls; in netbiosns_recv()
444 resp->cls = PP_HTONS(1); in netbiosns_recv()
/reactos/modules/rostests/winetests/gdi32/
H A Ddc.c714 WNDCLASSEXA cls; in test_DeleteDC() local
765 memset(&cls, 0, sizeof(cls)); in test_DeleteDC()
766 cls.cbSize = sizeof(cls); in test_DeleteDC()
767 cls.style = CS_CLASSDC; in test_DeleteDC()
770 cls.lpfnWndProc = DefWindowProcA; in test_DeleteDC()
771 ret = RegisterClassExA(&cls); in test_DeleteDC()
814 memset(&cls, 0, sizeof(cls)); in test_DeleteDC()
815 cls.cbSize = sizeof(cls); in test_DeleteDC()
816 cls.style = CS_OWNDC; in test_DeleteDC()
819 cls.lpfnWndProc = DefWindowProcA; in test_DeleteDC()
[all …]
/reactos/modules/rosapps/templates/mdi/
H A Dmain.c201 TCHAR cls[128]; in EnumWndProc() local
203 GetClassName(hWnd, cls, 128); in EnumWndProc()
204 if (!lstrcmp(cls, (LPCTSTR)lParam)) { in EnumWndProc()
/reactos/modules/rostests/winetests/twain_32/
H A Ddsm.c35 WNDCLASSA cls; in dsm_RegisterWindowClasses() local
38 cls.style = 0; in dsm_RegisterWindowClasses()
39 cls.lpfnWndProc = DefWindowProcA; in dsm_RegisterWindowClasses()
40 cls.cbClsExtra = 0; in dsm_RegisterWindowClasses()
41 cls.cbWndExtra = 0; in dsm_RegisterWindowClasses()
42 cls.hInstance = GetModuleHandleA(0); in dsm_RegisterWindowClasses()
43 cls.hIcon = 0; in dsm_RegisterWindowClasses()
44 cls.hCursor = LoadCursorA(0, (LPCSTR)IDC_ARROW); in dsm_RegisterWindowClasses()
46 cls.lpszMenuName = NULL; in dsm_RegisterWindowClasses()
47 cls.lpszClassName = "TWAIN_dsm_class"; in dsm_RegisterWindowClasses()
[all …]

123