source: trunk/include/winconst.h@ 7204

Last change on this file since 7204 was 7204, checked in by sandervl, 24 years ago

header updates

File size: 71.8 KB
RevLine 
[7194]1#ifndef __WINCONST_H__
2#define __WINCONST_H__
3
[602]4/*
5 * Win32 constants
6 *
7 * Copyright (C) 1999 Sander van Leeuwen
8 *
9 */
10
11/* Predefined resources */
12#define IDI_APPLICATION_W 32512
13#define IDI_HAND_W 32513
14#define IDI_QUESTION_W 32514
15#define IDI_EXCLAMATION_W 32515
16#define IDI_ASTERISK_W 32516
17#define IDI_WINLOGO_W 32517
18
19#define IDC_ARROW_W 32512
20#define IDC_IBEAM_W 32513
21#define IDC_WAIT_W 32514
22#define IDC_CROSS_W 32515
23#define IDC_UPARROW_W 32516
24#define IDC_SIZE_W 32640
25#define IDC_ICON_W 32641
26#define IDC_SIZENWSE_W 32642
27#define IDC_SIZENESW_W 32643
28#define IDC_SIZEWE_W 32644
29#define IDC_SIZENS_W 32645
30#define IDC_SIZEALL_W 32646
31#define IDC_NO_W 32648
32#define IDC_APPSTARTING_W 32650
33#define IDC_HELP_W 32651
34
35
36#define OBM_CLOSE_W 32754
37#define OBM_UPARROW_W 32753
38#define OBM_DNARROW_W 32752
39#define OBM_RGARROW_W 32751
40#define OBM_LFARROW_W 32750
41#define OBM_REDUCE_W 32749
42#define OBM_ZOOM_W 32748
43#define OBM_RESTORE_W 32747
44#define OBM_REDUCED_W 32746
45#define OBM_ZOOMD_W 32745
46#define OBM_RESTORED_W 32744
47#define OBM_UPARROWD_W 32743
48#define OBM_DNARROWD_W 32742
49#define OBM_RGARROWD_W 32741
50#define OBM_LFARROWD_W 32740
51#define OBM_MNARROW_W 32739
52#define OBM_COMBO_W 32738
53#define OBM_UPARROWI_W 32737
54#define OBM_DNARROWI_W 32736
55#define OBM_RGARROWI_W 32735
56#define OBM_LFARROWI_W 32734
57
58#define OBM_OLD_CLOSE_W 32767
59#define OBM_SIZE_W 32766
60#define OBM_OLD_UPARROW_W 32765
61#define OBM_OLD_DNARROW_W 32764
62#define OBM_OLD_RGARROW_W 32763
63#define OBM_OLD_LFARROW_W 32762
64#define OBM_BTSIZE_W 32761
65#define OBM_CHECK_W 32760
66#define OBM_CHECKBOXES_W 32759
67#define OBM_BTNCORNERS_W 32758
68#define OBM_OLD_REDUCE_W 32757
69#define OBM_OLD_ZOOM_W 32756
70#define OBM_OLD_RESTORE_W 32755
71
72/* Window Styles */
73#define WS_OVERLAPPED_W 0x00000000L
74#define WS_POPUP_W 0x80000000L
75#define WS_CHILD_W 0x40000000L
76#define WS_MINIMIZE_W 0x20000000L
77#define WS_VISIBLE_W 0x10000000L
78#define WS_DISABLED_W 0x08000000L
79#define WS_CLIPSIBLINGS_W 0x04000000L
80#define WS_CLIPCHILDREN_W 0x02000000L
81#define WS_MAXIMIZE_W 0x01000000L
82#define WS_CAPTION_W 0x00C00000L
83#define WS_BORDER_W 0x00800000L
84#define WS_DLGFRAME_W 0x00400000L
85#define WS_VSCROLL_W 0x00200000L
86#define WS_HSCROLL_W 0x00100000L
87#define WS_SYSMENU_W 0x00080000L
88#define WS_THICKFRAME_W 0x00040000L
89#define WS_GROUP_W 0x00020000L
90#define WS_TABSTOP_W 0x00010000L
91#define WS_MINIMIZEBOX_W 0x00020000L
92#define WS_MAXIMIZEBOX_W 0x00010000L
[1344]93#define WS_TILED_W WS_OVERLAPPED_W
94#define WS_ICONIC_W WS_MINIMIZE_W
95#define WS_SIZEBOX_W WS_THICKFRAME_W
96#define WS_OVERLAPPEDWINDOW_W (WS_OVERLAPPED_W | WS_CAPTION_W | WS_SYSMENU_W | WS_THICKFRAME_W| WS_MINIMIZEBOX_W | WS_MAXIMIZEBOX_W)
97#define WS_POPUPWINDOW_W (WS_POPUP_W | WS_BORDER_W | WS_SYSMENU_W)
98#define WS_CHILDWINDOW_W (WS_CHILD_W)
99#define WS_TILEDWINDOW_W (WS_OVERLAPPEDWINDOW_W)
[602]100
101/* Window extended styles */
102#define WS_EX_DLGMODALFRAME_W 0x00000001L
103#define WS_EX_DRAGDETECT_W 0x00000002L
104#define WS_EX_NOPARENTNOTIFY_W 0x00000004L
105#define WS_EX_TOPMOST_W 0x00000008L
106#define WS_EX_ACCEPTFILES_W 0x00000010L
107#define WS_EX_TRANSPARENT_W 0x00000020L
[1045]108#define WS_EX_MDICHILD_W 0x00000040L
109#define WS_EX_TOOLWINDOW_W 0x00000080L
110#define WS_EX_WINDOWEDGE_W 0x00000100L
111#define WS_EX_CLIENTEDGE_W 0x00000200L
112#define WS_EX_CONTEXTHELP_W 0x00000400L
113#define WS_EX_RIGHT_W 0x00001000L
114#define WS_EX_LEFT_W 0x00000000L
115#define WS_EX_RTLREADING_W 0x00002000L
116#define WS_EX_LTRREADING_W 0x00000000L
117#define WS_EX_LEFTSCROLLBAR_W 0x00004000L
118#define WS_EX_RIGHTSCROLLBAR_W 0x00000000L
119#define WS_EX_CONTROLPARENT_W 0x00010000L
120#define WS_EX_STATICEDGE_W 0x00020000L
121#define WS_EX_APPWINDOW_W 0x00040000L
[689]122
[1045]123#define WS_EX_OVERLAPPEDWINDOW_W (WS_EX_WINDOWEDGE_W|WS_EX_CLIENTEDGE_W)
124#define WS_EX_PALETTEWINDOW_W (WS_EX_WINDOWEDGE_W|WS_EX_TOOLWINDOW_W|WS_EX_TOPMOST_W)
125
[727]126/* Class Styles
127 */
128 #define CS_VREDRAW_W 0x0001
129 #define CS_HREDRAW_W 0x0002
130 #define CS_KEYCVTWINDOW_W 0x0004
131 #define CS_DBLCLKS_W 0x0008
132 #define CS_OWNDC_W 0x0020
133 #define CS_CLASSDC_W 0x0040
134 #define CS_PARENTDC_W 0x0080
135 #define CS_NOKEYCVT_W 0x0100
136 #define CS_NOCLOSE_W 0x0200
137 #define CS_SAVEBITS_W 0x0800
138 #define CS_BYTEALIGNCLIENT_W 0x1000
139 #define CS_BYTEALIGNWINDOW_W 0x2000
140 #define CS_GLOBALCLASS_W 0x4000
[689]141
[698]142#define DUPLICATE_CLOSE_SOURCE 0x00000001
143#define DUPLICATE_SAME_ACCESS 0x00000002
[689]144
145#define HANDLE_FLAG_INHERIT 0x00000001
146#define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002
[698]147
148/* SetWindowPos() and WINDOWPOS flags */
149#define SWP_NOSIZE_W 0x0001
150#define SWP_NOMOVE_W 0x0002
151#define SWP_NOZORDER_W 0x0004
152#define SWP_NOREDRAW_W 0x0008
153#define SWP_NOACTIVATE_W 0x0010
154#define SWP_FRAMECHANGED_W 0x0020 /* The frame changed: send WM_NCCALCSIZE */
155#define SWP_SHOWWINDOW_W 0x0040
156#define SWP_HIDEWINDOW_W 0x0080
157#define SWP_NOCOPYBITS_W 0x0100
158#define SWP_NOOWNERZORDER_W 0x0200 /* Don't do owner Z ordering */
159
160#define SWP_DRAWFRAME_W SWP_FRAMECHANGED_W
161#define SWP_NOREPOSITION_W SWP_NOOWNERZORDER_W
162
163#define SWP_NOSENDCHANGING_W 0x0400
164#define SWP_DEFERERASE_W 0x2000
165
166/* undocumented SWP flags - from SDK 3.1 */
167#define SWP_NOCLIENTSIZE_W 0x0800
168#define SWP_NOCLIENTMOVE_W 0x1000
169
170#define HWND_DESKTOP_W ((HWND)0)
171#define HWND_BROADCAST_W ((HWND)0xffff)
172
173/* SetWindowPos() hwndInsertAfter field values */
174#define HWND_TOP_W ((HWND)0)
175#define HWND_BOTTOM_W ((HWND)1)
176#define HWND_TOPMOST_W ((HWND)-1)
177#define HWND_NOTOPMOST_W ((HWND)-2)
178
[738]179
180/* Argument 1 passed to the DllEntryProc. */
[902]181#define DLL_PROCESS_DETACH 0 /* detach process (unload library) */
182#define DLL_PROCESS_ATTACH 1 /* attach process (load library) */
183#define DLL_THREAD_ATTACH 2 /* attach new thread */
184#define DLL_THREAD_DETACH 3 /* detach thread */
185
[953]186/* ShowWindow() codes */
187#define SW_HIDE_W 0
188#define SW_SHOWNORMAL_W 1
189#define SW_NORMAL_W 1
190#define SW_SHOWMINIMIZED_W 2
191#define SW_SHOWMAXIMIZED_W 3
192#define SW_MAXIMIZE_W 3
193#define SW_SHOWNOACTIVATE_W 4
194#define SW_SHOW_W 5
195#define SW_MINIMIZE_W 6
196#define SW_SHOWMINNOACTIVE_W 7
197#define SW_SHOWNA_W 8
198#define SW_RESTORE_W 9
199#define SW_SHOWDEFAULT_W 10
200#define SW_MAX_W 10
201#define SW_NORMALNA_W 0xCC /* undoc. flag in MinMaximize */
[1056]202
203
204/* scroll messages */
205#define WM_HSCROLL_W 0x0114
206#define WM_VSCROLL_W 0x0115
207
208/* WM_H/VSCROLL commands */
209#define SB_LINEUP_W 0
210#define SB_LINELEFT_W 0
211#define SB_LINEDOWN_W 1
212#define SB_LINERIGHT_W 1
213#define SB_PAGEUP_W 2
214#define SB_PAGELEFT_W 2
215#define SB_PAGEDOWN_W 3
216#define SB_PAGERIGHT_W 3
217#define SB_THUMBPOSITION_W 4
218#define SB_THUMBTRACK_W 5
219#define SB_TOP_W 6
220#define SB_LEFT_W 6
221#define SB_BOTTOM_W 7
222#define SB_RIGHT_W 7
223#define SB_ENDSCROLL_W 8
[1067]224
225/* WM_SYSCOMMAND parameters */
226#define SC_SIZE_W 0xf000
227#define SC_MOVE_W 0xf010
228#define SC_MINIMIZE_W 0xf020
229#define SC_MAXIMIZE_W 0xf030
230#define SC_NEXTWINDOW_W 0xf040
231#define SC_PREVWINDOW_W 0xf050
232#define SC_CLOSE_W 0xf060
233#define SC_VSCROLL_W 0xf070
234#define SC_HSCROLL_W 0xf080
235#define SC_MOUSEMENU_W 0xf090
236#define SC_KEYMENU_W 0xf100
237#define SC_ARRANGE_W 0xf110
238#define SC_RESTORE_W 0xf120
239#define SC_TASKLIST_W 0xf130
240#define SC_SCREENSAVE_W 0xf140
241#define SC_HOTKEY_W 0xf150
[1631]242
243/* Key status flags for mouse events */
244#define MK_LBUTTON_W 0x0001
245#define MK_RBUTTON_W 0x0002
246#define MK_SHIFT_W 0x0004
247#define MK_CONTROL_W 0x0008
248#define MK_MBUTTON_W 0x0010
[1854]249
250
251/* Queue status flags */
252#define QS_KEY_W 0x0001
253#define QS_MOUSEMOVE_W 0x0002
254#define QS_MOUSEBUTTON_W 0x0004
255#define QS_MOUSE_W (QS_MOUSEMOVE_W | QS_MOUSEBUTTON_W)
256#define QS_POSTMESSAGE_W 0x0008
257#define QS_TIMER_W 0x0010
258#define QS_PAINT_W 0x0020
259#define QS_SENDMESSAGE_W 0x0040
260#define QS_HOTKEY_W 0x0080
261#define QS_INPUT_W (QS_MOUSE_W | QS_KEY_W)
262#define QS_ALLEVENTS_W (QS_INPUT_W | QS_POSTMESSAGE_W | QS_TIMER_W | QS_PAINT_W | QS_HOTKEY_W)
263#define QS_ALLINPUT_W (QS_ALLEVENTS_W | QS_SENDMESSAGE_W)
[2078]264
265
[2081]266 /* Hook values */
267#define WH_MIN_W (-1)
268#define WH_MSGFILTER_W (-1)
269#define WH_JOURNALRECORD_W 0
270#define WH_JOURNALPLAYBACK_W 1
271#define WH_KEYBOARD_W 2
272#define WH_GETMESSAGE_W 3
273#define WH_CALLWNDPROC_W 4
274#define WH_CBT_W 5
275#define WH_SYSMSGFILTER_W 6
276#define WH_MOUSE_W 7
277#define WH_HARDWARE_W 8
278#define WH_DEBUG_W 9
279#define WH_SHELL_W 10
280#define WH_FOREGROUNDIDLE_W 11
281#define WH_CALLWNDPROCRET_W 12
[6898]282#define WH_KEYBOARD_LL 13
283#define WH_MOUSE_LL 14
284#define WH_MAX_W 14
[2081]285
286#define WH_MINHOOK_W WH_MIN_W
287#define WH_MAXHOOK_W WH_MAX_W
288#ifndef WH_NB_HOOKS
289#define WH_NB_HOOKS (WH_MAXHOOK_W-WH_MINHOOK_W+1)
290#endif
[2094]291
292#define EXCEPTION_DEBUG_EVENT 1
293#define CREATE_THREAD_DEBUG_EVENT 2
294#define CREATE_PROCESS_DEBUG_EVENT 3
295#define EXIT_THREAD_DEBUG_EVENT 4
296#define EXIT_PROCESS_DEBUG_EVENT 5
297#define LOAD_DLL_DEBUG_EVENT 6
298#define UNLOAD_DLL_DEBUG_EVENT 7
299#define OUTPUT_DEBUG_STRING_EVENT 8
300#define RIP_EVENT 9
[2196]301
302/* WM_ACTIVATE wParam values */
303#define WA_INACTIVE_W 0
304#define WA_ACTIVE_W 1
305#define WA_CLICKACTIVE_W 2
306
307
308/* WM_NCHITTEST return codes */
309#define HTERROR_W (-2)
310#define HTTRANSPARENT_W (-1)
311#define HTNOWHERE_W 0
312#define HTCLIENT_W 1
313#define HTCAPTION_W 2
314#define HTSYSMENU_W 3
315#define HTSIZE_W 4
316#define HTMENU_W 5
317#define HTHSCROLL_W 6
318#define HTVSCROLL_W 7
319#define HTMINBUTTON_W 8
320#define HTMAXBUTTON_W 9
321#define HTLEFT_W 10
322#define HTRIGHT_W 11
323#define HTTOP_W 12
324#define HTTOPLEFT_W 13
325#define HTTOPRIGHT_W 14
326#define HTBOTTOM_W 15
327#define HTBOTTOMLEFT_W 16
328#define HTBOTTOMRIGHT_W 17
329#define HTBORDER_W 18
330#define HTGROWBOX_W HTSIZE_W
331#define HTREDUCE_W HTMINBUTTON_W
332#define HTZOOM_W HTMAXBUTTON_W
333#define HTOBJECT_W 19
334#define HTCLOSE_W 20
335#define HTHELP_W 21
336#define HTSIZEFIRST_W HTLEFT_W
337#define HTSIZELAST_W HTBOTTOMRIGHT_W
338
339
340//class styles
341#define CS_VREDRAW_W 0x0001
342#define CS_HREDRAW_W 0x0002
343#define CS_KEYCVTWINDOW_W 0x0004
344#define CS_DBLCLKS_W 0x0008
345#define CS_OWNDC_W 0x0020
346#define CS_CLASSDC_W 0x0040
347#define CS_PARENTDC_W 0x0080
348#define CS_NOKEYCVT_W 0x0100
349#define CS_NOCLOSE_W 0x0200
350#define CS_SAVEBITS_W 0x0800
351#define CS_BYTEALIGNCLIENT_W 0x1000
352#define CS_BYTEALIGNWINDOW_W 0x2000
353#define CS_GLOBALCLASS_W 0x4000
354
355
356/* Offsets for GetClassLong() and GetClassWord() */
357#define GCL_MENUNAME_W (-8)
358#define GCW_HBRBACKGROUND_W (-10)
359#define GCL_HBRBACKGROUND_W GCW_HBRBACKGROUND_W
360#define GCW_HCURSOR_W (-12)
361#define GCL_HCURSOR_W GCW_HCURSOR_W
362#define GCW_HICON_W (-14)
363#define GCL_HICON_W GCW_HICON_W
364#define GCW_HMODULE_W (-16)
365#define GCL_HMODULE_W GCW_HMODULE_W
366#define GCW_CBWNDEXTRA_W (-18)
367#define GCL_CBWNDEXTRA_W GCW_CBWNDEXTRA_W
368#define GCW_CBCLSEXTRA_W (-20)
369#define GCL_CBCLSEXTRA_W GCW_CBCLSEXTRA_W
370#define GCL_WNDPROC_W (-24)
371#define GCW_STYLE_W (-26)
372#define GCL_STYLE_W GCW_STYLE_W
373#define GCW_ATOM_W (-32)
374#define GCW_HICONSM_W (-34)
375#define GCL_HICONSM_W GCW_HICONSM_W
376
377/* PeekMessage() options */
378#define PM_NOREMOVE_W 0x0000
379#define PM_REMOVE_W 0x0001
380#define PM_NOYIELD_W 0x0002
[2281]381
382#define EXCEPTION_DEBUG_EVENT_W 1
383#define CREATE_THREAD_DEBUG_EVENT_W 2
384#define CREATE_PROCESS_DEBUG_EVENT_W 3
385#define EXIT_THREAD_DEBUG_EVENT_W 4
386#define EXIT_PROCESS_DEBUG_EVENT_W 5
387#define LOAD_DLL_DEBUG_EVENT_W 6
388#define UNLOAD_DLL_DEBUG_EVENT_W 7
389#define OUTPUT_DEBUG_STRING_EVENT_W 8
390#define RIP_EVENT_W 9
[2299]391
392//Parameters for CombineRgn
393#define RGN_AND_W 1
394#define RGN_OR_W 2
395#define RGN_XOR_W 3
396#define RGN_DIFF_W 4
397#define RGN_COPY_W 5
[2302]398
399
400#define PIPE_ACCESS_INBOUND_W 0x00000001
401#define PIPE_ACCESS_OUTBOUND_W 0x00000002
402#define PIPE_ACCESS_DUPLEX_W 0x00000003
403
404#define PIPE_WAIT_W 0x00000000
405#define PIPE_NOWAIT_W 0x00000001
406#define PIPE_READMODE_BYTE_W 0x00000000
407#define PIPE_READMODE_MESSAGE_W 0x00000002
408#define PIPE_TYPE_BYTE_W 0x00000000
409#define PIPE_TYPE_MESSAGE_W 0x00000004
410
411
412#define GENERIC_READ_W 0x80000000
413#define GENERIC_WRITE_W 0x40000000
414
415#define FILE_SHARE_READ_W 0x00000001L
416#define FILE_SHARE_WRITE_W 0x00000002L
417
418#define CREATE_NEW_W 1
419#define CREATE_ALWAYS_W 2
420#define OPEN_EXISTING_W 3
421#define OPEN_ALWAYS_W 4
422#define TRUNCATE_EXISTING_W 5
423
424#define FILE_ATTRIBUTE_READONLY_W 0x00000001L
425#define FILE_ATTRIBUTE_HIDDEN_W 0x00000002L
426#define FILE_ATTRIBUTE_SYSTEM_W 0x00000004L
427#define FILE_ATTRIBUTE_DIRECTORY_W 0x00000010L
428#define FILE_ATTRIBUTE_ARCHIVE_W 0x00000020L
429#define FILE_ATTRIBUTE_NORMAL_W 0x00000080L
430#define FILE_ATTRIBUTE_TEMPORARY_W 0x00000100L
431
432#define FILE_FLAG_WRITE_THROUGH_W 0x80000000UL
433#define FILE_FLAG_OVERLAPPED_W 0x40000000L
434#define FILE_FLAG_NO_BUFFERING_W 0x20000000L
435#define FILE_FLAG_RANDOM_ACCESS_W 0x10000000L
436#define FILE_FLAG_SEQUENTIAL_SCAN_W 0x08000000L
437#define FILE_FLAG_DELETE_ON_CLOSE_W 0x04000000L
438#define FILE_FLAG_BACKUP_SEMANTICS_W 0x02000000L
439#define FILE_FLAG_POSIX_SEMANTICS_W 0x01000000L
440
441
442#define NO_ERROR_W 0
443#define ERROR_SUCCESS_W 0
444#define ERROR_INVALID_FUNCTION_W 1
445#define ERROR_FILE_NOT_FOUND_W 2
446#define ERROR_PATH_NOT_FOUND_W 3
447#define ERROR_TOO_MANY_OPEN_FILES_W 4
448#define ERROR_ACCESS_DENIED_W 5
449#define ERROR_INVALID_HANDLE_W 6
450#define ERROR_ARENA_TRASHED_W 7
451#define ERROR_NOT_ENOUGH_MEMORY_W 8
452#define ERROR_INVALID_BLOCK_W 9
453#define ERROR_BAD_ENVIRONMENT_W 10
454#define ERROR_BAD_FORMAT_W 11
455#define ERROR_INVALID_ACCESS_W 12
456#define ERROR_INVALID_DATA_W 13
457#define ERROR_OUTOFMEMORY_W 14
458#define ERROR_INVALID_DRIVE_W 15
459#define ERROR_CURRENT_DIRECTORY_W 16
460#define ERROR_NOT_SAME_DEVICE_W 17
461#define ERROR_NO_MORE_FILES_W 18
462#define ERROR_WRITE_PROTECT_W 19
463#define ERROR_BAD_UNIT_W 20
464#define ERROR_NOT_READY_W 21
465#define ERROR_BAD_COMMAND_W 22
466#define ERROR_CRC_W 23
467#define ERROR_BAD_LENGTH_W 24
468#define ERROR_SEEK_W 25
469#define ERROR_NOT_DOS_DISK_W 26
470#define ERROR_SECTOR_NOT_FOUND_W 27
471#define ERROR_WRITE_FAULT_W 29
472#define ERROR_READ_FAULT_W 30
473#define ERROR_GEN_FAILURE_W 31
474#define ERROR_SHARING_VIOLATION_W 32
475#define ERROR_LOCK_VIOLATION_W 33
476#define ERROR_WRONG_DISK_W 34
477#define ERROR_SHARING_BUFFER_EXCEEDED_W 36
478#define ERROR_HANDLE_EOF_W 38
479#define ERROR_HANDLE_DISK_FULL_W 39
480#define ERROR_NOT_SUPPORTED_W 50
481#define ERROR_REM_NOT_LIST_W 51
482#define ERROR_DUP_NAME_W 52
483#define ERROR_BAD_NETPATH_W 53
484#define ERROR_NETWORK_BUSY_W 54
485#define ERROR_DEV_NOT_EXIST_W 55
486#define ERROR_ADAP_HDW_ERR_W 57
487#define ERROR_BAD_NET_RESP_W 58
488#define ERROR_UNEXP_NET_ERR_W 59
489#define ERROR_BAD_REM_ADAP_W 60
490#define ERROR_PRINTQ_FULL_W 61
491#define ERROR_NO_SPOOL_SPACE_W 62
492#define ERROR_PRINT_CANCELLED_W 63
493#define ERROR_NETNAME_DELETED_W 64
494#define ERROR_NETWORK_ACCESS_DENIED_W 65
495#define ERROR_BAD_DEV_TYPE_W 66
496#define ERROR_BAD_NET_NAME_W 67
497#define ERROR_TOO_MANY_NAMES_W 68
498#define ERROR_TOO_MANY_SESS_W 69
499#define ERROR_SHARING_PAUSED_W 70
500#define ERROR_REQ_NOT_ACCEP_W 71
501#define ERROR_REDIR_PAUSED_W 72
502#define ERROR_FILE_EXISTS_W 80
503#define ERROR_CANNOT_MAKE_W 82
504#define ERROR_FAIL_I24_W 83
505#define ERROR_OUT_OF_STRUCTURES_W 84
506#define ERROR_ALREADY_ASSIGNED_W 85
507#define ERROR_INVALID_PASSWORD_W 86
508#define ERROR_INVALID_PARAMETER_W 87
509#define ERROR_NET_WRITE_FAULT_W 88
510#define ERROR_NO_PROC_SLOTS_W 89
511#define ERROR_TOO_MANY_SEMAPHORES_W 100
512#define ERROR_EXCL_SEM_ALREADY_OWNED_W 101
513#define ERROR_SEM_IS_SET_W 102
514#define ERROR_TOO_MANY_SEM_REQUESTS_W 103
515#define ERROR_INVALID_AT_INTERRUPT_TIME_W 104
516#define ERROR_SEM_OWNER_DIED_W 105
517#define ERROR_SEM_USER_LIMIT_W 106
518#define ERROR_DISK_CHANGE_W 107
519#define ERROR_DRIVE_LOCKED_W 108
520#define ERROR_BROKEN_PIPE_W 109
521#define ERROR_OPEN_FAILED_W 110
522#define ERROR_BUFFER_OVERFLOW_W 111
523#define ERROR_DISK_FULL_W 112
524#define ERROR_NO_MORE_SEARCH_HANDLES_W 113
525#define ERROR_INVALID_TARGET_HANDLE_W 114
526#define ERROR_INVALID_CATEGORY_W 117
527#define ERROR_INVALID_VERIFY_SWITCH_W 118
528#define ERROR_BAD_DRIVER_LEVEL_W 119
529#define ERROR_CALL_NOT_IMPLEMENTED_W 120
530#define ERROR_SEM_TIMEOUT_W 121
531#define ERROR_INSUFFICIENT_BUFFER_W 122
532#define ERROR_INVALID_NAME_W 123
533#define ERROR_INVALID_LEVEL_W 124
534#define ERROR_NO_VOLUME_LABEL_W 125
535#define ERROR_MOD_NOT_FOUND_W 126
536#define ERROR_PROC_NOT_FOUND_W 127
537#define ERROR_WAIT_NO_CHILDREN_W 128
538#define ERROR_CHILD_NOT_COMPLETE_W 129
539#define ERROR_DIRECT_ACCESS_HANDLE_W 130
540#define ERROR_NEGATIVE_SEEK_W 131
541#define ERROR_SEEK_ON_DEVICE_W 132
542#define ERROR_IS_JOIN_TARGET_W 133
543#define ERROR_IS_JOINED_W 134
544#define ERROR_IS_SUBSTED_W 135
545#define ERROR_NOT_JOINED_W 136
546#define ERROR_NOT_SUBSTED_W 137
547#define ERROR_JOIN_TO_JOIN_W 138
548#define ERROR_SUBST_TO_SUBST_W 139
549#define ERROR_JOIN_TO_SUBST_W 140
550#define ERROR_SUBST_TO_JOIN_W 141
551#define ERROR_BUSY_DRIVE_W 142
552#define ERROR_SAME_DRIVE_W 143
553#define ERROR_DIR_NOT_ROOT_W 144
554#define ERROR_DIR_NOT_EMPTY_W 145
555#define ERROR_IS_SUBST_PATH_W 146
556#define ERROR_IS_JOIN_PATH_W 147
557#define ERROR_PATH_BUSY_W 148
558#define ERROR_IS_SUBST_TARGET_W 149
559#define ERROR_SYSTEM_TRACE_W 150
560#define ERROR_INVALID_EVENT_COUNT_W 151
561#define ERROR_TOO_MANY_MUXWAITERS_W 152
562#define ERROR_INVALID_LIST_FORMAT_W 153
563#define ERROR_LABEL_TOO_LONG_W 154
564#define ERROR_TOO_MANY_TCBS_W 155
565#define ERROR_SIGNAL_REFUSED_W 156
566#define ERROR_DISCARDED_W 157
567#define ERROR_NOT_LOCKED_W 158
568#define ERROR_BAD_THREADID_ADDR_W 159
569#define ERROR_BAD_ARGUMENTS_W 160
570#define ERROR_BAD_PATHNAME_W 161
571#define ERROR_SIGNAL_PENDING_W 162
572#define ERROR_MAX_THRDS_REACHED_W 164
573#define ERROR_LOCK_FAILED_W 167
574#define ERROR_BUSY_W 170
575#define ERROR_CANCEL_VIOLATION_W 173
576#define ERROR_ATOMIC_LOCKS_NOT_SUPPORTED_W 174
577#define ERROR_INVALID_SEGMENT_NUMBER_W 180
578#define ERROR_INVALID_ORDINAL_W 182
579#define ERROR_ALREADY_EXISTS_W 183
580#define ERROR_INVALID_FLAG_NUMBER_W 186
581#define ERROR_SEM_NOT_FOUND_W 187
582#define ERROR_INVALID_STARTING_CODESEG_W 188
583#define ERROR_INVALID_STACKSEG_W 189
584#define ERROR_INVALID_MODULETYPE_W 190
585#define ERROR_INVALID_EXE_SIGNATURE_W 191
586#define ERROR_EXE_MARKED_INVALID_W 192
587#define ERROR_BAD_EXE_FORMAT_W 193
588#define ERROR_ITERATED_DATA_EXCEEDS_64k_W 194
589#define ERROR_INVALID_MINALLOCSIZE_W 195
590#define ERROR_DYNLINK_FROM_INVALID_RING_W 196
591#define ERROR_IOPL_NOT_ENABLED_W 197
592#define ERROR_INVALID_SEGDPL_W 198
593#define ERROR_AUTODATASEG_EXCEEDS_64k_W 199
594#define ERROR_RING2SEG_MUST_BE_MOVABLE_W 200
595#define ERROR_RELOC_CHAIN_XEEDS_SEGLIM_W 201
596#define ERROR_INFLOOP_IN_RELOC_CHAIN_W 202
597#define ERROR_ENVVAR_NOT_FOUND_W 203
598#define ERROR_NO_SIGNAL_SENT_W 205
599#define ERROR_FILENAME_EXCED_RANGE_W 206
600#define ERROR_RING2_STACK_IN_USE_W 207
601#define ERROR_META_EXPANSION_TOO_LONG_W 208
602#define ERROR_INVALID_SIGNAL_NUMBER_W 209
603#define ERROR_THREAD_1_INACTIVE_W 210
604#define ERROR_LOCKED_W 212
605#define ERROR_TOO_MANY_MODULES_W 214
606#define ERROR_NESTING_NOT_ALLOWED_W 215
607#define ERROR_EXE_MACHINE_TYPE_MISMATCH_W 216
608#define ERROR_BAD_PIPE_W 230
609#define ERROR_PIPE_BUSY_W 231
610#define ERROR_NO_DATA_W 232
611#define ERROR_PIPE_NOT_CONNECTED_W 233
612#define ERROR_MORE_DATA_W 234
613#define ERROR_VC_DISCONNECTED_W 240
614#define ERROR_INVALID_EA_NAME_W 254
615#define ERROR_EA_LIST_INCONSISTENT_W 255
616#define ERROR_NO_MORE_ITEMS_W 259
617#define ERROR_CANNOT_COPY_W 266
618#define ERROR_DIRECTORY_W 267
619#define ERROR_EAS_DIDNT_FIT_W 275
620#define ERROR_EA_FILE_CORRUPT_W 276
621#define ERROR_EA_TABLE_FULL_W 277
622#define ERROR_INVALID_EA_HANDLE_W 278
623#define ERROR_EAS_NOT_SUPPORTED_W 282
624#define ERROR_NOT_OWNER_W 288
625#define ERROR_TOO_MANY_POSTS_W 298
626#define ERROR_PARTIAL_COPY_W 299
627#define ERROR_OPLOCK_NOT_GRANTED_W 300
628#define ERROR_INVALID_OPLOCK_PROTOCOL_W 301
629#define ERROR_MR_MID_NOT_FOUND_W 317
630#define ERROR_INVALID_ADDRESS_W 487
631#define ERROR_ARITHMETIC_OVERFLOW_W 534
632#define ERROR_PIPE_CONNECTED_W 535
633#define ERROR_PIPE_LISTENING_W 536
634#define ERROR_EA_ACCESS_DENIED_W 994
635#define ERROR_OPERATION_ABORTED_W 995
636#define ERROR_IO_INCOMPLETE_W 996
637#define ERROR_IO_PENDING_W 997
638#define ERROR_NOACCESS_W 998
639#define ERROR_SWAPERROR_W 999
640#define ERROR_STACK_OVERFLOW_W 1001L
641#define ERROR_INVALID_MESSAGE_W 1002L
642#define ERROR_CAN_NOT_COMPLETE_W 1003L
643#define ERROR_INVALID_FLAGS_W 1004L
644#define ERROR_UNRECOGNIZED_VOLUME_W 1005L
645#define ERROR_FILE_INVALID_W 1006L
646#define ERROR_FULLSCREEN_MODE_W 1007L
647#define ERROR_NO_TOKEN_W 1008L
648#define ERROR_BADDB_W 1009L
649#define ERROR_BADKEY_W 1010L
650#define ERROR_CANTOPEN_W 1011L
651#define ERROR_CANTREAD_W 1012L
652#define ERROR_CANTWRITE_W 1013L
653#define ERROR_REGISTRY_RECOVERED_W 1014L
654#define ERROR_REGISTRY_CORRUPT_W 1015L
655#define ERROR_REGISTRY_IO_FAILED_W 1016L
656#define ERROR_NOT_REGISTRY_FILE_W 1017L
657#define ERROR_KEY_DELETED_W 1018L
658#define ERROR_NO_LOG_SPACE_W 1019L
659#define ERROR_KEY_HAS_CHILDREN_W 1020L
660#define ERROR_CHILD_MUST_BE_VOLATILE_W 1021L
661#define ERROR_NOTIFY_ENUM_DIR_W 1022L
662#define ERROR_DEPENDENT_SERVICES_RUNNING_W 1051L
663#define ERROR_INVALID_SERVICE_CONTROL_W 1052L
664#define ERROR_SERVICE_REQUEST_TIMEOUT_W 1053L
665#define ERROR_SERVICE_NO_THREAD_W 1054L
666#define ERROR_SERVICE_DATABASE_LOCKED_W 1055L
667#define ERROR_SERVICE_ALREADY_RUNNING_W 1056L
668#define ERROR_INVALID_SERVICE_ACCOUNT_W 1057L
669#define ERROR_SERVICE_DISABLED_W 1058L
670#define ERROR_CIRCULAR_DEPENDENCY_W 1059L
671#define ERROR_SERVICE_DOES_NOT_EXIST_W 1060L
672#define ERROR_SERVICE_CANNOT_ACCEPT_CTRL_W 1061L
673#define ERROR_SERVICE_NOT_ACTIVE_W 1062L
674#define ERROR_FAILED_SERVICE_CONTROLLER_CONNECT_W 1063L
675#define ERROR_EXCEPTION_IN_SERVICE_W 1064L
676#define ERROR_DATABASE_DOES_NOT_EXIST_W 1065L
677#define ERROR_SERVICE_SPECIFIC_ERROR_W 1066L
678#define ERROR_PROCESS_ABORTED_W 1067L
679#define ERROR_SERVICE_DEPENDENCY_FAIL_W 1068L
680#define ERROR_SERVICE_LOGON_FAILED_W 1069L
681#define ERROR_SERVICE_START_HANG_W 1070L
682#define ERROR_INVALID_SERVICE_LOCK_W 1071L
683#define ERROR_SERVICE_MARKED_FOR_DELETE_W 1072L
684#define ERROR_SERVICE_EXISTS_W 1073L
685#define ERROR_ALREADY_RUNNING_LKG_W 1074L
686#define ERROR_SERVICE_DEPENDENCY_DELETED_W 1075L
687#define ERROR_BOOT_ALREADY_ACCEPTED_W 1076L
688#define ERROR_SERVICE_NEVER_STARTED_W 1077L
689#define ERROR_DUPLICATE_SERVICE_NAME_W 1078L
690#define ERROR_END_OF_MEDIA_W 1100L
691#define ERROR_FILEMARK_DETECTED_W 1101L
692#define ERROR_BEGINNING_OF_MEDIA_W 1102L
693#define ERROR_SETMARK_DETECTED_W 1103L
694#define ERROR_NO_DATA_DETECTED_W 1104L
695#define ERROR_PARTITION_FAILURE_W 1105L
696#define ERROR_INVALID_BLOCK_LENGTH_W 1106L
697#define ERROR_DEVICE_NOT_PARTITIONED_W 1107L
698#define ERROR_UNABLE_TO_LOCK_MEDIA_W 1108L
699#define ERROR_UNABLE_TO_UNLOAD_MEDIA_W 1109L
700#define ERROR_MEDIA_CHANGED_W 1110L
701#define ERROR_BUS_RESET_W 1111L
702#define ERROR_NO_MEDIA_IN_DRIVE_W 1112L
703#define ERROR_NO_UNICODE_TRANSLATION_W 1113L
704#define ERROR_DLL_INIT_FAILED_W 1114L
705#define ERROR_SHUTDOWN_IN_PROGRESS_W 1115L
706#define ERROR_NO_SHUTDOWN_IN_PROGRESS_W 1116L
707#define ERROR_IO_DEVICE_W 1117L
708#define ERROR_SERIAL_NO_DEVICE_W 1118L
709#define ERROR_IRQ_BUSY_W 1119L
710#define ERROR_MORE_WRITES_W 1120L
711#define ERROR_COUNTER_TIMEOUT_W 1121L
712#define ERROR_FLOPPY_ID_MARK_NOT_FOUND_W 1122L
713#define ERROR_FLOPPY_WRONG_CYLINDER_W 1123L
714#define ERROR_FLOPPY_UNKNOWN_ERROR_W 1124L
715#define ERROR_FLOPPY_BAD_REGISTERS_W 1125L
716#define ERROR_DISK_RECALIBRATE_FAILED_W 1126L
717#define ERROR_DISK_OPERATION_FAILED_W 1127L
718#define ERROR_DISK_RESET_FAILED_W 1128L
719#define ERROR_EOM_OVERFLOW_W 1129L
720#define ERROR_NOT_ENOUGH_SERVER_MEMORY_W 1130L
721#define ERROR_POSSIBLE_DEADLOCK_W 1131L
722#define ERROR_MAPPED_ALIGNMENT_W 1132L
723#define ERROR_BAD_DEVICE_W 1200L
724#define ERROR_CONNECTION_UNAVAIL_W 1201L
725#define ERROR_DEVICE_ALREADY_REMEMBERED_W 1202L
726#define ERROR_NO_NET_OR_BAD_PATH_W 1203L
727#define ERROR_BAD_PROVIDER_W 1204L
728#define ERROR_CANNOT_OPEN_PROFILE_W 1205L
729#define ERROR_BAD_PROFILE_W 1206L
730#define ERROR_NOT_CONTAINER_W 1207L
731#define ERROR_EXTENDED_ERROR_W 1208L
732#define ERROR_INVALID_GROUPNAME_W 1209L
733#define ERROR_INVALID_COMPUTERNAME_W 1210L
734#define ERROR_INVALID_EVENTNAME_W 1211L
735#define ERROR_INVALID_DOMAINNAME_W 1212L
736#define ERROR_INVALID_SERVICENAME_W 1213L
737#define ERROR_INVALID_NETNAME_W 1214L
738#define ERROR_INVALID_SHARENAME_W 1215L
739#define ERROR_INVALID_PASSWORDNAME_W 1216L
740#define ERROR_INVALID_MESSAGENAME_W 1217L
741#define ERROR_INVALID_MESSAGEDEST_W 1218L
742#define ERROR_SESSION_CREDENTIAL_CONFLICT_W 1219L
743#define ERROR_REMOTE_SESSION_LIMIT_EXCEEDED_W 1220L
744#define ERROR_DUP_DOMAINNAME_W 1221L
745#define ERROR_NO_NETWORK_W 1222L
746#define ERROR_CANCELLED_W 1223L
747#define ERROR_USER_MAPPED_FILE_W 1224L
748#define ERROR_CONNECTION_REFUSED_W 1225L
749#define ERROR_GRACEFUL_DISCONNECT_W 1226L
750#define ERROR_ADDRESS_ALREADY_ASSOCIATED_W 1227L
751#define ERROR_ADDRESS_NOT_ASSOCIATED_W 1228L
752#define ERROR_CONNECTION_INVALID_W 1229L
753#define ERROR_CONNECTION_ACTIVE_W 1230L
754#define ERROR_NETWORK_UNREACHABLE_W 1231L
755#define ERROR_HOST_UNREACHABLE_W 1232L
756#define ERROR_PROTOCOL_UNREACHABLE_W 1233L
757#define ERROR_PORT_UNREACHABLE_W 1234L
758#define ERROR_REQUEST_ABORTED_W 1235L
759#define ERROR_CONNECTION_ABORTED_W 1236L
760#define ERROR_RETRY_W 1237L
761#define ERROR_CONNECTION_COUNT_LIMIT_W 1238L
762#define ERROR_LOGIN_TIME_RESTRICTION_W 1239L
763#define ERROR_LOGIN_WKSTA_RESTRICTION_W 1240L
764#define ERROR_INCORRECT_ADDRESS_W 1241L
765#define ERROR_ALREADY_REGISTERED_W 1242L
766#define ERROR_SERVICE_NOT_FOUND_W 1243L
[3268]767#define ERROR_NOT_AUTHENTICATED_W 1244L
[2302]768#define ERROR_NOT_LOGGED_ON_W 1245L
769#define ERROR_CONTINUE_W 1246L
770#define ERROR_ALREADY_INITIALIZED_W 1247L
771#define ERROR_NO_MORE_DEVICES_W 1248L
772#define ERROR_NOT_ALL_ASSIGNED_W 1300L
773#define ERROR_SOME_NOT_MAPPED_W 1301L
774#define ERROR_NO_QUOTAS_FOR_ACCOUNT_W 1302L
775#define ERROR_LOCAL_USER_SESSION_KEY_W 1303L
776#define ERROR_NULL_LM_PASSWORD_W 1304L
777#define ERROR_UNKNOWN_REVISION_W 1305L
778#define ERROR_REVISION_MISMATCH_W 1306L
779#define ERROR_INVALID_OWNER_W 1307L
780#define ERROR_INVALID_PRIMARY_GROUP_W 1308L
781#define ERROR_NO_IMPERSONATION_TOKEN_W 1309L
782#define ERROR_CANT_DISABLE_MANDATORY_W 1310L
783#define ERROR_NO_LOGON_SERVERS_W 1311L
784#define ERROR_NO_SUCH_LOGON_SESSION_W 1312L
785#define ERROR_NO_SUCH_PRIVILEGE_W 1313L
786#define ERROR_PRIVILEGE_NOT_HELD_W 1314L
787#define ERROR_INVALID_ACCOUNT_NAME_W 1315L
788#define ERROR_USER_EXISTS_W 1316L
789#define ERROR_NO_SUCH_USER_W 1317L
790#define ERROR_GROUP_EXISTS_W 1318L
791#define ERROR_NO_SUCH_GROUP_W 1319L
792#define ERROR_MEMBER_IN_GROUP_W 1320L
793#define ERROR_MEMBER_NOT_IN_GROUP_W 1321L
794#define ERROR_LAST_ADMIN_W 1322L
795#define ERROR_WRONG_PASSWORD_W 1323L
796#define ERROR_ILL_FORMED_PASSWORD_W 1324L
797#define ERROR_PASSWORD_RESTRICTION_W 1325L
798#define ERROR_LOGON_FAILURE_W 1326L
799#define ERROR_ACCOUNT_RESTRICTION_W 1327L
800#define ERROR_INVALID_LOGON_HOURS_W 1328L
801#define ERROR_INVALID_WORKSTATION_W 1329L
802#define ERROR_PASSWORD_EXPIRED_W 1330L
803#define ERROR_ACCOUNT_DISABLED_W 1331L
804#define ERROR_NONE_MAPPED_W 1332L
805#define ERROR_TOO_MANY_LUIDS_REQUESTED_W 1333L
806#define ERROR_LUIDS_EXHAUSTED_W 1334L
807#define ERROR_INVALID_SUB_AUTHORITY_W 1335L
808#define ERROR_INVALID_ACL_W 1336L
809#define ERROR_INVALID_SID_W 1337L
810#define ERROR_INVALID_SECURITY_DESCR_W 1338L
811#define ERROR_BAD_INHERITANCE_ACL_W 1340L
812#define ERROR_SERVER_DISABLED_W 1341L
813#define ERROR_SERVER_NOT_DISABLED_W 1342L
814#define ERROR_INVALID_ID_AUTHORITY_W 1343L
815#define ERROR_ALLOTTED_SPACE_EXCEEDED_W 1344L
816#define ERROR_INVALID_GROUP_ATTRIBUTES_W 1345L
817#define ERROR_BAD_IMPERSONATION_LEVEL_W 1346L
818#define ERROR_CANT_OPEN_ANONYMOUS_W 1347L
819#define ERROR_BAD_VALIDATION_CLASS_W 1348L
820#define ERROR_BAD_TOKEN_TYPE_W 1349L
821#define ERROR_NO_SECURITY_ON_OBJECT_W 1350L
822#define ERROR_CANT_ACCESS_DOMAIN_INFO_W 1351L
823#define ERROR_INVALID_SERVER_STATE_W 1352L
824#define ERROR_INVALID_DOMAIN_STATE_W 1353L
825#define ERROR_INVALID_DOMAIN_ROLE_W 1354L
826#define ERROR_NO_SUCH_DOMAIN_W 1355L
827#define ERROR_DOMAIN_EXISTS_W 1356L
828#define ERROR_DOMAIN_LIMIT_EXCEEDED_W 1357L
829#define ERROR_INTERNAL_DB_CORRUPTION_W 1358L
830#define ERROR_INTERNAL_ERROR_W 1359L
831#define ERROR_GENERIC_NOT_MAPPED_W 1360L
832#define ERROR_BAD_DESCRIPTOR_FORMAT_W 1361L
833#define ERROR_NOT_LOGON_PROCESS_W 1362L
834#define ERROR_LOGON_SESSION_EXISTS_W 1363L
835#define ERROR_NO_SUCH_PACKAGE_W 1364L
836#define ERROR_BAD_LOGON_SESSION_STATE_W 1365L
837#define ERROR_LOGON_SESSION_COLLISION_W 1366L
838#define ERROR_INVALID_LOGON_TYPE_W 1367L
839#define ERROR_CANNOT_IMPERSONATE_W 1368L
840#define ERROR_RXACT_INVALID_STATE_W 1369L
841#define ERROR_RXACT_COMMIT_FAILURE_W 1370L
842#define ERROR_SPECIAL_ACCOUNT_W 1371L
843#define ERROR_SPECIAL_GROUP_W 1372L
844#define ERROR_SPECIAL_USER_W 1373L
845#define ERROR_MEMBERS_PRIMARY_GROUP_W 1374L
846#define ERROR_TOKEN_ALREADY_IN_USE_W 1375L
847#define ERROR_NO_SUCH_ALIAS_W 1376L
848#define ERROR_MEMBER_NOT_IN_ALIAS_W 1377L
849#define ERROR_MEMBER_IN_ALIAS_W 1378L
850#define ERROR_ALIAS_EXISTS_W 1379L
851#define ERROR_LOGON_NOT_GRANTED_W 1380L
852#define ERROR_TOO_MANY_SECRETS_W 1381L
853#define ERROR_SECRET_TOO_LONG_W 1382L
854#define ERROR_INTERNAL_DB_ERROR_W 1383L
855#define ERROR_TOO_MANY_CONTEXT_IDS_W 1384L
856#define ERROR_LOGON_TYPE_NOT_GRANTED_W 1385L
857#define ERROR_NT_CROSS_ENCRYPTION_REQUIRED_W 1386L
858#define ERROR_NO_SUCH_MEMBER_W 1387L
859#define ERROR_INVALID_MEMBER_W 1388L
860#define ERROR_TOO_MANY_SIDS_W 1389L
861#define ERROR_LM_CROSS_ENCRYPTION_REQUIRED_W 1390L
862#define ERROR_NO_INHERITANCE_W 1391L
863#define ERROR_FILE_CORRUPT_W 1392L
864#define ERROR_DISK_CORRUPT_W 1393L
865#define ERROR_NO_USER_SESSION_KEY_W 1394L
866#define ERROR_INVALID_WINDOW_HANDLE_W 1400L
867#define ERROR_INVALID_MENU_HANDLE_W 1401L
868#define ERROR_INVALID_CURSOR_HANDLE_W 1402L
869#define ERROR_INVALID_ACCEL_HANDLE_W 1403L
870#define ERROR_INVALID_HOOK_HANDLE_W 1404L
871#define ERROR_INVALID_DWP_HANDLE_W 1405L
872#define ERROR_TLW_WITH_WSCHILD_W 1406L
873#define ERROR_CANNOT_FIND_WND_CLASS_W 1407L
874#define ERROR_WINDOW_OF_OTHER_THREAD_W 1408L
875#define ERROR_HOTKEY_ALREADY_REGISTERED_W 1409L
876#define ERROR_CLASS_ALREADY_EXISTS_W 1410L
877#define ERROR_CLASS_DOES_NOT_EXIST_W 1411L
878#define ERROR_CLASS_HAS_WINDOWS_W 1412L
879#define ERROR_INVALID_INDEX_W 1413L
880#define ERROR_INVALID_ICON_HANDLE_W 1414L
881#define ERROR_PRIVATE_DIALOG_INDEX_W 1415L
882#define ERROR_LISTBOX_ID_NOT_FOUND_W 1416L
883#define ERROR_NO_WILDCARD_CHARACTERS_W 1417L
884#define ERROR_CLIPBOARD_NOT_OPEN_W 1418L
885#define ERROR_HOTKEY_NOT_REGISTERED_W 1419L
886#define ERROR_WINDOW_NOT_DIALOG_W 1420L
887#define ERROR_CONTROL_ID_NOT_FOUND_W 1421L
888#define ERROR_INVALID_COMBOBOX_MESSAGE_W 1422L
889#define ERROR_WINDOW_NOT_COMBOBOX_W 1423L
890#define ERROR_INVALID_EDIT_HEIGHT_W 1424L
891#define ERROR_DC_NOT_FOUND_W 1425L
892#define ERROR_INVALID_HOOK_FILTER_W 1426L
893#define ERROR_INVALID_FILTER_PROC_W 1427L
894#define ERROR_HOOK_NEEDS_HMOD_W 1428L
895#define ERROR_GLOBAL_ONLY_HOOK_W 1429L
896#define ERROR_JOURNAL_HOOK_SET_W 1430L
897#define ERROR_HOOK_NOT_INSTALLED_W 1431L
898#define ERROR_INVALID_LB_MESSAGE_W 1432L
899#define ERROR_SETCOUNT_ON_BAD_LB_W 1433L
900#define ERROR_LB_WITHOUT_TABSTOPS_W 1434L
901#define ERROR_DESTROY_OBJECT_OF_OTHER_THREAD_W 1435L
902#define ERROR_CHILD_WINDOW_MENU_W 1436L
903#define ERROR_NO_SYSTEM_MENU_W 1437L
904#define ERROR_INVALID_MSGBOX_STYLE_W 1438L
905#define ERROR_INVALID_SPI_VALUE_W 1439L
906#define ERROR_SCREEN_ALREADY_LOCKED_W 1440L
907#define ERROR_HWNDS_HAVE_DIFF_PARENT_W 1441L
908#define ERROR_NOT_CHILD_WINDOW_W 1442L
909#define ERROR_INVALID_GW_COMMAND_W 1443L
910#define ERROR_INVALID_THREAD_ID_W 1444L
911#define ERROR_NON_MDICHILD_WINDOW_W 1445L
912#define ERROR_POPUP_ALREADY_ACTIVE_W 1446L
913#define ERROR_NO_SCROLLBARS_W 1447L
914#define ERROR_INVALID_SCROLLBAR_RANGE_W 1448L
915#define ERROR_INVALID_SHOWWIN_COMMAND_W 1449L
916#define ERROR_COMMITMENT_LIMIT_W 1455L
917#define ERROR_EVENTLOG_FILE_CORRUPT_W 1500L
918#define ERROR_EVENTLOG_CANT_START_W 1501L
919#define ERROR_LOG_FILE_FULL_W 1502L
920#define ERROR_EVENTLOG_FILE_CHANGED_W 1503L
921#define ERROR_INVALID_USER_BUFFER_W 1784L
922#define ERROR_UNRECOGNIZED_MEDIA_W 1785L
923#define ERROR_NO_TRUST_LSA_SECRET_W 1786L
924#define ERROR_NO_TRUST_SAM_ACCOUNT_W 1787L
925#define ERROR_TRUSTED_DOMAIN_FAILURE_W 1788L
926#define ERROR_TRUSTED_RELATIONSHIP_FAILURE_W 1789L
927#define ERROR_TRUST_FAILURE_W 1790L
928#define ERROR_NETLOGON_NOT_STARTED_W 1792L
929#define ERROR_ACCOUNT_EXPIRED_W 1793L
930#define ERROR_REDIRECTOR_HAS_OPEN_HANDLES_W 1794L
931#define ERROR_PRINTER_DRIVER_ALREADY_INSTALLED_W 1795L
932#define ERROR_UNKNOWN_PORT_W 1796L
933#define ERROR_UNKNOWN_PRINTER_DRIVER_W 1797L
934#define ERROR_UNKNOWN_PRINTPROCESSOR_W 1798L
935#define ERROR_INVALID_SEPARATOR_FILE_W 1799L
936#define ERROR_INVALID_PRIORITY_W 1800L
937#define ERROR_INVALID_PRINTER_NAME_W 1801L
938#define ERROR_PRINTER_ALREADY_EXISTS_W 1802L
939#define ERROR_INVALID_PRINTER_COMMAND_W 1803L
940#define ERROR_INVALID_DATATYPE_W 1804L
941#define ERROR_INVALID_ENVIRONMENT_W 1805L
942#define ERROR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT_W 1807L
943#define ERROR_NOLOGON_WORKSTATION_TRUST_ACCOUNT_W 1808L
944#define ERROR_NOLOGON_SERVER_TRUST_ACCOUNT_W 1809L
945#define ERROR_DOMAIN_TRUST_INCONSISTENT_W 1810L
946#define ERROR_SERVER_HAS_OPEN_HANDLES_W 1811L
947#define ERROR_RESOURCE_DATA_NOT_FOUND_W 1812L
948#define ERROR_RESOURCE_TYPE_NOT_FOUND_W 1813L
949#define ERROR_RESOURCE_NAME_NOT_FOUND_W 1814L
950#define ERROR_RESOURCE_LANG_NOT_FOUND_W 1815L
951#define ERROR_NOT_ENOUGH_QUOTA_W 1816L
952#define ERROR_INVALID_TIME_W 1901L
953#define ERROR_INVALID_FORM_NAME_W 1902L
954#define ERROR_INVALID_FORM_SIZE_W 1903L
955#define ERROR_ALREADY_WAITING_W 1904L
956#define ERROR_PRINTER_DELETED_W 1905L
957#define ERROR_INVALID_PRINTER_STATE_W 1906L
958#define ERROR_PASSWORD_MUST_CHANGE_W 1907L
959#define ERROR_DOMAIN_CONTROLLER_NOT_FOUND_W 1908L
960#define ERROR_ACCOUNT_LOCKED_OUT_W 1909L
961#define ERROR_INVALID_PIXEL_FORMAT_W 2000L
962#define ERROR_BAD_DRIVER_W 2001L
963#define ERROR_INVALID_WINDOW_STYLE_W 2002L
964#define ERROR_METAFILE_NOT_SUPPORTED_W 2003L
965#define ERROR_TRANSFORM_NOT_SUPPORTED_W 2004L
966#define ERROR_CLIPPING_NOT_SUPPORTED_W 2005L
967#define ERROR_BAD_USERNAME_W 2202L
968#define ERROR_NOT_CONNECTED_W 2250L
969#define ERROR_OPEN_FILES_W 2401L
970#define ERROR_ACTIVE_CONNECTIONS_W 2402L
971#define ERROR_DEVICE_IN_USE_W 2404L
972#define ERROR_UNKNOWN_PRINT_MONITOR_W 3000L
973#define ERROR_PRINTER_DRIVER_IN_USE_W 3001L
974#define ERROR_SPOOL_FILE_NOT_FOUND_W 3002L
975#define ERROR_SPL_NO_STARTDOC_W 3003L
976#define ERROR_SPL_NO_ADDJOB_W 3004L
977#define ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED_W 3005L
978#define ERROR_PRINT_MONITOR_ALREADY_INSTALLED_W 3006L
979#define ERROR_WINS_INTERNAL_W 4000L
980#define ERROR_CAN_NOT_DEL_LOCAL_WINS_W 4001L
981#define ERROR_STATIC_INIT_W 4002L
982#define ERROR_INC_BACKUP_W 4003L
983#define ERROR_FULL_BACKUP_W 4004L
984#define ERROR_REC_NON_EXISTENT_W 4005L
985#define ERROR_RPL_NOT_ALLOWED_W 4006L
986
[3098]987/* Access rights */
[2427]988
[6048]989#define DELETE_W 0x00010000
990#define READ_CONTROL_W 0x00020000
991#define WRITE_DAC_W 0x00040000
992#define WRITE_OWNER_W 0x00080000
993#define SYNCHRONIZE_W 0x00100000
994#define STANDARD_RIGHTS_REQUIRED_W 0x000f0000
[3098]995
[6048]996#define STANDARD_RIGHTS_READ_W READ_CONTROL_W
997#define STANDARD_RIGHTS_WRITE_W READ_CONTROL_W
998#define STANDARD_RIGHTS_EXECUTE_W READ_CONTROL_W
[3098]999
[6048]1000#define STANDARD_RIGHTS_ALL_W 0x001f0000
[3098]1001
[6048]1002#define SPECIFIC_RIGHTS_ALL_W 0x0000ffff
[3098]1003
[6048]1004#define EVENT_MODIFY_STATE_W 0x0002
1005#define EVENT_ALL_ACCESS_W (STANDARD_RIGHTS_REQUIRED_W|SYNCHRONIZE_W|0x3)
[3098]1006
[6048]1007#define SEMAPHORE_MODIFY_STATE_W 0x0002
1008#define SEMAPHORE_ALL_ACCESS_W (STANDARD_RIGHTS_REQUIRED_W|SYNCHRONIZE_W|0x3)
[3098]1009
[6048]1010#define MUTEX_MODIFY_STATE_W 0x0001
1011#define MUTEX_ALL_ACCESS_W (STANDARD_RIGHTS_REQUIRED_W|SYNCHRONIZE_W|0x1)
1012
1013#define MAXIMUM_ALLOWED_W 0x02000000
1014#define ACCESS_SYSTEM_SECURITY_W 0x01000000
1015
[2488]1016#ifndef LOWORD
[2427]1017#define LOWORD(l) ((WORD)(DWORD)(l))
[2488]1018#endif
1019#ifndef HIWORD
[2427]1020#define HIWORD(l) ((WORD)((DWORD)(l) >> 16))
[2488]1021#endif
[2605]1022
1023 /* biCompression */
[3622]1024#define BI_RGB_W 0
1025#define BI_RLE8_W 1
1026#define BI_RLE4_W 2
1027#define BI_BITFIELDS_W 3
[2674]1028
1029 /* Polygon modes */
1030#define ALTERNATE_W 1
1031#define WINDING_W 2
1032
1033/* Regions */
1034#define ERROR_W 0
1035#define NULLREGION_W 1
1036#define SIMPLEREGION_W 2
1037#define COMPLEXREGION_W 3
1038
1039#define RGN_AND_W 1
1040#define RGN_OR_W 2
1041#define RGN_XOR_W 3
1042#define RGN_DIFF_W 4
1043#define RGN_COPY_W 5
[2720]1044
1045
[3268]1046#define PAGE_NOACCESS_W 0x01
1047#define PAGE_READONLY_W 0x02
1048#define PAGE_READWRITE_W 0x04
1049#define PAGE_WRITECOPY_W 0x08
1050#define PAGE_EXECUTE_W 0x10
1051#define PAGE_EXECUTE_READ_W 0x20
1052#define PAGE_EXECUTE_READWRITE_W 0x40
1053#define PAGE_EXECUTE_WRITECOPY_W 0x80
1054#define PAGE_GUARD_W 0x100
1055#define PAGE_NOCACHE_W 0x200
[2720]1056
[3268]1057#define MEM_COMMIT_W 0x00001000
1058#define MEM_RESERVE_W 0x00002000
1059#define MEM_DECOMMIT_W 0x00004000
1060#define MEM_RELEASE_W 0x00008000
1061#define MEM_FREE_W 0x00010000
1062#define MEM_PRIVATE_W 0x00020000
1063#define MEM_MAPPED_W 0x00040000
1064#define MEM_TOP_DOWN_W 0x00100000
[2720]1065
[3268]1066#define SEC_FILE_W 0x00800000
1067#define SEC_IMAGE_W 0x01000000
1068#define SEC_RESERVE_W 0x04000000
1069#define SEC_COMMIT_W 0x08000000
1070#define SEC_NOCACHE_W 0x10000000
[2720]1071
1072#define FILE_MAP_COPY_W 0x00000001
1073#define FILE_MAP_WRITE_W 0x00000002
1074#define FILE_MAP_READ_W 0x00000004
1075#define FILE_MAP_ALL_ACCESS_W 0x000f001f
[2793]1076
[3268]1077#define SND_SYNC_W 0x0000 /* play synchronously (default) */
1078#define SND_ASYNC_W 0x0001 /* play asynchronously */
1079#define SND_NODEFAULT_W 0x0002 /* don't use default sound */
1080#define SND_MEMORY_W 0x0004 /* lpszSoundName points to a memory file */
1081#define SND_LOOP_W 0x0008 /* loop the sound until next sndPlaySound */
1082#define SND_NOSTOP_W 0x0010 /* don't stop any currently playing sound */
[2793]1083
[3268]1084#define SND_NOWAIT_W 0x00002000L /* don't wait if the driver is busy */
1085#define SND_ALIAS_W 0x00010000L /* name is a registry alias */
1086#define SND_ALIAS_ID_W 0x00110000L /* alias is a predefined ID */
1087#define SND_FILENAME_W 0x00020000L /* name is file name */
1088#define SND_RESOURCE_W 0x00040004L /* name is resource name or atom */
1089#define SND_PURGE_W 0x00000040L /* purge all sounds */
1090#define SND_APPLICATION_W 0x00000080L /* look for application specific association */
[2982]1091
1092
1093#define REG_NONE 0 /* no type */
1094#define REG_SZ 1 /* string type (ASCII) */
1095#define REG_EXPAND_SZ 2 /* string, includes %ENVVAR% (expanded by caller) (ASCII) */
1096#define REG_BINARY 3 /* binary format, callerspecific */
1097 /* YES, REG_DWORD == REG_DWORD_LITTLE_ENDIAN */
1098#define REG_DWORD 4 /* DWORD in little endian format */
1099#define REG_DWORD_LITTLE_ENDIAN 4 /* DWORD in little endian format */
1100#define REG_DWORD_BIG_ENDIAN 5 /* DWORD in big endian format */
1101#define REG_LINK 6 /* symbolic link (UNICODE) */
1102#define REG_MULTI_SZ 7 /* multiple strings, delimited by \0, terminated by \0\0 (ASCII) */
1103#define REG_RESOURCE_LIST 8 /* resource list? huh? */
1104#define REG_FULL_RESOURCE_DESCRIPTOR 9 /* full resource descriptor? huh? */
1105
[3098]1106#define KEY_QUERY_VALUE 0x00000001
1107#define KEY_SET_VALUE 0x00000002
1108#define KEY_CREATE_SUB_KEY 0x00000004
1109#define KEY_ENUMERATE_SUB_KEYS 0x00000008
1110#define KEY_NOTIFY 0x00000010
1111#define KEY_CREATE_LINK 0x00000020
[2982]1112
[6048]1113#define KEY_READ (STANDARD_RIGHTS_READ_W| \
[3268]1114 KEY_QUERY_VALUE| \
1115 KEY_ENUMERATE_SUB_KEYS|\
1116 KEY_NOTIFY \
1117 )
[6048]1118#define KEY_WRITE (STANDARD_RIGHTS_WRITE_W| \
[3268]1119 KEY_SET_VALUE| \
1120 KEY_CREATE_SUB_KEY \
1121 )
[3098]1122#define KEY_EXECUTE KEY_READ
[6048]1123#define KEY_ALL_ACCESS (STANDARD_RIGHTS_ALL_W| \
[3268]1124 KEY_READ|KEY_WRITE| \
1125 KEY_CREATE_LINK \
1126 )
[3098]1127
[2982]1128#define HKEY_CLASSES_ROOT ((HKEY) 0x80000000)
1129#define HKEY_CURRENT_USER ((HKEY) 0x80000001)
1130#define HKEY_LOCAL_MACHINE ((HKEY) 0x80000002)
1131#define HKEY_USERS ((HKEY) 0x80000003)
1132#define HKEY_PERFORMANCE_DATA ((HKEY) 0x80000004)
1133#define HKEY_CURRENT_CONFIG ((HKEY) 0x80000005)
1134#define HKEY_DYN_DATA ((HKEY) 0x80000006)
[3124]1135
1136/* Virtual key codes */
1137#define VK_LBUTTON_W 0x01
1138#define VK_RBUTTON_W 0x02
1139#define VK_CANCEL_W 0x03
1140#define VK_MBUTTON_W 0x04
1141/* 0x05-0x07 Undefined */
1142#define VK_BACK_W 0x08
1143#define VK_TAB_W 0x09
1144/* 0x0A-0x0B Undefined */
1145#define VK_CLEAR_W 0x0C
1146#define VK_RETURN_W 0x0D
1147/* 0x0E-0x0F Undefined */
1148#define VK_SHIFT_W 0x10
1149#define VK_CONTROL_W 0x11
1150#define VK_MENU_W 0x12
1151#define VK_PAUSE_W 0x13
1152#define VK_CAPITAL_W 0x14
1153/* 0x15-0x19 Reserved for Kanji systems */
1154/* 0x1A Undefined */
1155#define VK_ESCAPE_W 0x1B
1156/* 0x1C-0x1F Reserved for Kanji systems */
1157#define VK_SPACE_W 0x20
1158#define VK_PRIOR_W 0x21
1159#define VK_NEXT_W 0x22
1160#define VK_END_W 0x23
1161#define VK_HOME_W 0x24
1162#define VK_LEFT_W 0x25
1163#define VK_UP_W 0x26
1164#define VK_RIGHT_W 0x27
1165#define VK_DOWN_W 0x28
1166#define VK_SELECT_W 0x29
1167#define VK_PRINT_W 0x2A /* OEM specific in Windows 3.1 SDK */
1168#define VK_EXECUTE_W 0x2B
1169#define VK_SNAPSHOT_W 0x2C
1170#define VK_INSERT_W 0x2D
1171#define VK_DELETE_W 0x2E
1172#define VK_HELP_W 0x2F
1173#define VK_0_W 0x30
1174#define VK_1_W 0x31
1175#define VK_2_W 0x32
1176#define VK_3_W 0x33
1177#define VK_4_W 0x34
1178#define VK_5_W 0x35
1179#define VK_6_W 0x36
1180#define VK_7_W 0x37
1181#define VK_8_W 0x38
1182#define VK_9_W 0x39
1183/* 0x3A-0x40 Undefined */
1184#define VK_A_W 0x41
1185#define VK_B_W 0x42
1186#define VK_C_W 0x43
1187#define VK_D_W 0x44
1188#define VK_E_W 0x45
1189#define VK_F_W 0x46
1190#define VK_G_W 0x47
1191#define VK_H_W 0x48
1192#define VK_I_W 0x49
1193#define VK_J_W 0x4A
1194#define VK_K_W 0x4B
1195#define VK_L_W 0x4C
1196#define VK_M_W 0x4D
1197#define VK_N_W 0x4E
1198#define VK_O_W 0x4F
1199#define VK_P_W 0x50
1200#define VK_Q_W 0x51
1201#define VK_R_W 0x52
1202#define VK_S_W 0x53
1203#define VK_T_W 0x54
1204#define VK_U_W 0x55
1205#define VK_V_W 0x56
1206#define VK_W_W 0x57
1207#define VK_X_W 0x58
1208#define VK_Y_W 0x59
1209#define VK_Z_W 0x5A
1210
1211#define VK_LWIN_W 0x5B
1212#define VK_RWIN_W 0x5C
1213#define VK_APPS_W 0x5D
1214/* 0x5E-0x5F Unassigned */
1215#define VK_NUMPAD0_W 0x60
1216#define VK_NUMPAD1_W 0x61
1217#define VK_NUMPAD2_W 0x62
1218#define VK_NUMPAD3_W 0x63
1219#define VK_NUMPAD4_W 0x64
1220#define VK_NUMPAD5_W 0x65
1221#define VK_NUMPAD6_W 0x66
1222#define VK_NUMPAD7_W 0x67
1223#define VK_NUMPAD8_W 0x68
1224#define VK_NUMPAD9_W 0x69
1225#define VK_MULTIPLY_W 0x6A
1226#define VK_ADD_W 0x6B
1227#define VK_SEPARATOR_W 0x6C
1228#define VK_SUBTRACT_W 0x6D
1229#define VK_DECIMAL_W 0x6E
1230#define VK_DIVIDE_W 0x6F
1231#define VK_F1_W 0x70
1232#define VK_F2_W 0x71
1233#define VK_F3_W 0x72
1234#define VK_F4_W 0x73
1235#define VK_F5_W 0x74
1236#define VK_F6_W 0x75
1237#define VK_F7_W 0x76
1238#define VK_F8_W 0x77
1239#define VK_F9_W 0x78
1240#define VK_F10_W 0x79
1241#define VK_F11_W 0x7A
1242#define VK_F12_W 0x7B
1243#define VK_F13_W 0x7C
1244#define VK_F14_W 0x7D
1245#define VK_F15_W 0x7E
1246#define VK_F16_W 0x7F
1247#define VK_F17_W 0x80
1248#define VK_F18_W 0x81
1249#define VK_F19_W 0x82
1250#define VK_F20_W 0x83
1251#define VK_F21_W 0x84
1252#define VK_F22_W 0x85
1253#define VK_F23_W 0x86
1254#define VK_F24_W 0x87
1255/* 0x88-0x8F Unassigned */
1256#define VK_NUMLOCK_W 0x90
1257#define VK_SCROLL_W 0x91
1258/* 0x92-0x9F Unassigned */
1259/*
1260 * differencing between right and left shift/control/alt key.
1261 * Used only by GetAsyncKeyState() and GetKeyState().
1262 */
1263#define VK_LSHIFT_W 0xA0
1264#define VK_RSHIFT_W 0xA1
1265#define VK_LCONTROL_W 0xA2
1266#define VK_RCONTROL_W 0xA3
1267#define VK_LMENU_W 0xA4
1268#define VK_RMENU_W 0xA5
1269/* 0xA6-0xB9 Unassigned */
1270#define VK_OEM_1_W 0xBA
1271#define VK_OEM_PLUS_W 0xBB
1272#define VK_OEM_COMMA_W 0xBC
1273#define VK_OEM_MINUS_W 0xBD
1274#define VK_OEM_PERIOD_W 0xBE
1275#define VK_OEM_2_W 0xBF
1276#define VK_OEM_3_W 0xC0
1277/* 0xC1-0xDA Unassigned */
1278#define VK_OEM_4_W 0xDB
1279#define VK_OEM_5_W 0xDC
1280#define VK_OEM_6_W 0xDD
1281#define VK_OEM_7_W 0xDE
1282/* 0xDF-0xE4 OEM specific */
1283
1284#define VK_PROCESSKEY_W 0xE5
1285
1286/* 0xE6 OEM specific */
1287/* 0xE7-0xE8 Unassigned */
1288/* 0xE9-0xF5 OEM specific */
1289
1290#define VK_ATTN_W 0xF6
1291#define VK_CRSEL_W 0xF7
1292#define VK_EXSEL_W 0xF8
1293#define VK_EREOF_W 0xF9
1294#define VK_PLAY_W 0xFA
1295#define VK_ZOOM_W 0xFB
1296#define VK_NONAME_W 0xFC
1297#define VK_PA1_W 0xFD
1298#define VK_OEM_CLEAR_W 0xFE
1299
1300/**************************************************************/
1301/* The following vkey definitions are undocumented in Windows */
1302/**************************************************************/
1303#define VK_SEMICOLON_W 0xBA
1304#define VK_EQUAL_W 0xBB
1305#define VK_COMMA_W 0xBC
1306#define VK_HYPHEN_W 0xBD
1307#define VK_PERIOD_W 0xBE
1308#define VK_SLASH_W 0xBF
1309#define VK_GRAVE_W 0xC0
1310#define VK_BRACKETLEFT_W 0xDB
1311#define VK_BACKSLASH_W 0xDC
1312#define VK_BRACKETRIGHT_W 0xDD
1313#define VK_QUOTESINGLE_W 0xDE
1314#define VK_EXTRA_W 0xE2
[3196]1315
1316/* Heap flags */
1317
1318#define HEAP_NO_SERIALIZE 0x00000001
1319#define HEAP_GROWABLE 0x00000002
1320#define HEAP_GENERATE_EXCEPTIONS 0x00000004
1321#define HEAP_ZERO_MEMORY 0x00000008
1322#define HEAP_REALLOC_IN_PLACE_ONLY 0x00000010
1323#define HEAP_TAIL_CHECKING_ENABLED 0x00000020
1324#define HEAP_FREE_CHECKING_ENABLED 0x00000040
1325#define HEAP_DISABLE_COALESCE_ON_FREE 0x00000080
1326#define HEAP_CREATE_ALIGN_16 0x00010000
1327#define HEAP_CREATE_ENABLE_TRACING 0x00020000
[3268]1328
1329/* FindFirstFile */
1330
1331#define INVALID_HANDLE_VALUE_W ((HANDLE) -1)
[3416]1332
1333 /* StretchBlt() modes */
1334#define BLACKONWHITE_W 1
1335#define WHITEONBLACK_W 2
1336#define COLORONCOLOR_W 3
1337#define HALFTONE_W 4
1338#define MAXSTRETCHBLTMODE_W 4
[3622]1339
1340 #define NTRT_NEWRESOURCE 0x2000
1341 #define NTRT_ERROR 0x7fff
1342 #define NTRT_CURSOR 1
1343 #define NTRT_BITMAP 2
1344 #define NTRT_ICON 3
1345 #define NTRT_MENU 4
1346 #define NTRT_DIALOG 5
1347 #define NTRT_STRING 6
1348 #define NTRT_FONTDIR 7
1349 #define NTRT_FONT 8
1350 #define NTRT_ACCELERATORS 9
1351 #define NTRT_RCDATA 10
1352 #define NTRT_MESSAGETABLE 11
1353 #define NTRT_GROUP_CURSOR 12
1354 #define NTRT_GROUP_ICON 14
1355 #define NTRT_VERSION 16
1356 #define NTRT_NEWBITMAP (NTRT_BITMAP|NTRT_NEWRESOURCE)
1357 #define NTRT_NEWMENU (NTRT_MENU|NTRT_NEWRESOURCE)
1358 #define NTRT_NEWDIALOG (NTRT_DIALOG|NTRT_NEWRESOURCE)
[3640]1359
1360
1361/* Device parameters for GetDeviceCaps() */
1362#define DRIVERVERSION_W 0
1363#define TECHNOLOGY_W 2
1364#define HORZSIZE_W 4
1365#define VERTSIZE_W 6
1366#define HORZRES_W 8
1367#define VERTRES_W 10
1368#define BITSPIXEL_W 12
1369#define PLANES_W 14
1370#define NUMBRUSHES_W 16
1371#define NUMPENS_W 18
1372#define NUMMARKERS_W 20
1373#define NUMFONTS_W 22
1374#define NUMCOLORS_W 24
1375#define PDEVICESIZE_W 26
1376#define CURVECAPS_W 28
1377#define LINECAPS_W 30
1378#define POLYGONALCAPS_W 32
1379#define TEXTCAPS_W 34
1380#define CLIPCAPS_W 36
1381#define RASTERCAPS_W 38
1382#define ASPECTX_W 40
1383#define ASPECTY_W 42
1384#define ASPECTXY_W 44
1385#define LOGPIXELSX_W 88
1386#define LOGPIXELSY_W 90
1387#define SIZEPALETTE_W 104
1388#define NUMRESERVED_W 106
1389#define COLORRES_W 108
1390#define PHYSICALWIDTH_W 110
1391#define PHYSICALHEIGHT_W 111
1392#define PHYSICALOFFSETX_W 112
1393#define PHYSICALOFFSETY_W 113
1394#define SCALINGFACTORX_W 114
1395#define SCALINGFACTORY_W 115
1396
1397#define OF_READ_W 0x0000
1398#define OF_WRITE_W 0x0001
1399#define OF_READWRITE_W 0x0002
1400#define OF_SHARE_COMPAT_W 0x0000
1401#define OF_SHARE_EXCLUSIVE_W 0x0010
1402#define OF_SHARE_DENY_WRITE_W 0x0020
1403#define OF_SHARE_DENY_READ_W 0x0030
1404#define OF_SHARE_DENY_NONE_W 0x0040
1405#define OF_PARSE_W 0x0100
1406#define OF_DELETE_W 0x0200
1407#define OF_VERIFY_W 0x0400 /* Used with OF_REOPEN */
1408#define OF_SEARCH_W 0x0400 /* Used without OF_REOPEN */
1409#define OF_CANCEL_W 0x0800
1410#define OF_CREATE_W 0x1000
1411#define OF_PROMPT_W 0x2000
1412#define OF_EXIST_W 0x4000
1413#define OF_REOPEN_W 0x8000
1414
1415#define HFILE_ERROR_W ((HFILE)-1)
1416
1417// LockFileEx flags
1418
1419#define LOCKFILE_FAIL_IMMEDIATELY_W 0x00000001
1420#define LOCKFILE_EXCLUSIVE_LOCK_W 0x00000002
1421
1422#define FILE_BEGIN_W 0
1423#define FILE_CURRENT_W 1
1424#define FILE_END_W 2
[3707]1425
1426/* Graphics Modes */
1427#define GM_COMPATIBLE_W 1
1428#define GM_ADVANCED_W 2
1429#define GM_LAST_W 2
1430
1431#define RDH_RECTANGLES_W 1
[4022]1432
1433//nls
1434#define MAKELANGID(p, s) ((((WORD)(s))<<10) | (WORD)(p))
1435
1436#define LANG_NEUTRAL 0x00
1437
1438/* Sublanguage definitions */
1439#define SUBLANG_NEUTRAL 0x00 /* language neutral */
1440#define SUBLANG_DEFAULT 0x01 /* user default */
1441#define SUBLANG_SYS_DEFAULT 0x02 /* system default */
[4556]1442
1443
1444/* Flags for ModifyWorldTransform */
1445#define MWT_IDENTITY_W 1
1446#define MWT_LEFTMULTIPLY_W 2
1447#define MWT_RIGHTMULTIPLY_W 3
1448
1449 /* Map modes */
1450#define MM_TEXT_W 1
1451#define MM_LOMETRIC_W 2
1452#define MM_HIMETRIC_W 3
1453#define MM_LOENGLISH_W 4
1454#define MM_HIENGLISH_W 5
1455#define MM_TWIPS_W 6
1456#define MM_ISOTROPIC_W 7
1457#define MM_ANISOTROPIC_W 8
[4761]1458
1459
1460#define DRIVE_UNKNOWN_W 0
1461#define DRIVE_NO_ROOT_DIR_W 1
1462#define DRIVE_CANNOTDETERMINE_W 0
1463#define DRIVE_DOESNOTEXIST_W 1
1464#define DRIVE_REMOVABLE_W 2
1465#define DRIVE_FIXED_W 3
1466#define DRIVE_REMOTE_W 4
1467/* Win32 additions */
1468#define DRIVE_CDROM_W 5
1469#define DRIVE_RAMDISK_W 6
[5156]1470
1471
1472/* GetWindow() constants */
1473#define GW_HWNDFIRST_W 0
1474#define GW_HWNDLAST_W 1
1475#define GW_HWNDNEXT_W 2
1476#define GW_HWNDPREV_W 3
1477#define GW_OWNER_W 4
1478#define GW_CHILD_W 5
[5244]1479
1480/* WM_NCCALCSIZE return flags */
1481#define WVR_ALIGNTOP_W 0x0010
1482#define WVR_ALIGNLEFT_W 0x0020
1483#define WVR_ALIGNBOTTOM_W 0x0040
1484#define WVR_ALIGNRIGHT_W 0x0080
1485#define WVR_HREDRAW_W 0x0100
1486#define WVR_VREDRAW_W 0x0200
1487#define WVR_REDRAW_W (WVR_HREDRAW_W | WVR_VREDRAW_W)
1488#define WVR_VALIDRECTS_W 0x0400
[6058]1489
1490
1491#define STATUS_WAIT_0_W 0x00000000
1492#define STATUS_ABANDONED_WAIT_0_W 0x00000080
1493#define STATUS_USER_APC_W 0x000000C0
1494#define STATUS_TIMEOUT_W 0x00000102
1495
1496#define WAIT_FAILED_W 0xffffffff
1497#define WAIT_OBJECT_0_W 0
1498#define WAIT_ABANDONED_W STATUS_ABANDONED_WAIT_0_W
1499#define WAIT_ABANDONED_0_W STATUS_ABANDONED_WAIT_0_W
1500#define WAIT_IO_COMPLETION_W STATUS_USER_APC_W
1501#define WAIT_TIMEOUT_W STATUS_TIMEOUT_W
[6930]1502
1503#define WM_NULL_W 0x0000
1504#define WM_CREATE_W 0x0001
1505#define WM_DESTROY_W 0x0002
1506#define WM_MOVE_W 0x0003
1507#define WM_SIZEWAIT_W 0x0004
1508#define WM_SIZE_W 0x0005
1509#define WM_ACTIVATE_W 0x0006
1510#define WM_SETFOCUS_W 0x0007
1511#define WM_KILLFOCUS_W 0x0008
1512#define WM_SETVISIBLE_W 0x0009
1513#define WM_ENABLE_W 0x000a
1514#define WM_SETREDRAW_W 0x000b
1515#define WM_SETTEXT_W 0x000c
1516#define WM_GETTEXT_W 0x000d
1517#define WM_GETTEXTLENGTH_W 0x000e
1518#define WM_PAINT_W 0x000f
1519#define WM_CLOSE_W 0x0010
1520#define WM_QUERYENDSESSION_W 0x0011
1521#define WM_QUIT_W 0x0012
1522#define WM_QUERYOPEN_W 0x0013
1523#define WM_ERASEBKGND_W 0x0014
1524#define WM_SYSCOLORCHANGE_W 0x0015
1525#define WM_ENDSESSION_W 0x0016
1526#define WM_SYSTEMERROR_W 0x0017
1527#define WM_SHOWWINDOW_W 0x0018
1528#define WM_CTLCOLOR_W 0x0019
1529#define WM_WININICHANGE_W 0x001a
1530#define WM_SETTINGCHANGE_W WM_WININICHANGE_W
1531#define WM_DEVMODECHANGE_W 0x001b
1532#define WM_ACTIVATEAPP_W 0x001c
1533#define WM_FONTCHANGE_W 0x001d
1534#define WM_TIMECHANGE_W 0x001e
1535#define WM_CANCELMODE_W 0x001f
1536#define WM_SETCURSOR_W 0x0020
1537#define WM_MOUSEACTIVATE_W 0x0021
1538#define WM_CHILDACTIVATE_W 0x0022
1539#define WM_QUEUESYNC_W 0x0023
1540#define WM_GETMINMAXINFO_W 0x0024
1541
1542#define WM_PAINTICON_W 0x0026
1543#define WM_ICONERASEBKGND_W 0x0027
1544#define WM_NEXTDLGCTL_W 0x0028
1545#define WM_ALTTABACTIVE_W 0x0029
1546#define WM_SPOOLERSTATUS_W 0x002a
1547#define WM_DRAWITEM_W 0x002b
1548#define WM_MEASUREITEM_W 0x002c
1549#define WM_DELETEITEM_W 0x002d
1550#define WM_VKEYTOITEM_W 0x002e
1551#define WM_CHARTOITEM_W 0x002f
1552#define WM_SETFONT_W 0x0030
1553#define WM_GETFONT_W 0x0031
1554#define WM_SETHOTKEY_W 0x0032
1555#define WM_GETHOTKEY_W 0x0033
1556#define WM_FILESYSCHANGE_W 0x0034
1557#define WM_ISACTIVEICON_W 0x0035
1558#define WM_QUERYPARKICON_W 0x0036
1559#define WM_QUERYDRAGICON_W 0x0037
1560#define WM_QUERYSAVESTATE_W 0x0038
1561#define WM_COMPAREITEM_W 0x0039
1562#define WM_TESTING_W 0x003a
1563#define WM_GETOBJECT_W 0x003D
1564
1565#define WM_OTHERWINDOWCREATED_W 0x003c
1566#define WM_OTHERWINDOWDESTROYED_W 0x003d
1567#define WM_ACTIVATESHELLWINDOW_W 0x003e
1568
1569#define WM_COMPACTING_W 0x0041
1570
1571#define WM_COMMNOTIFY_W 0x0044
1572#define WM_WINDOWPOSCHANGING_W 0x0046
1573#define WM_WINDOWPOSCHANGED_W 0x0047
1574#define WM_POWER_W 0x0048
1575
1576 /* Win32 4.0 messages */
1577#define WM_COPYDATA_W 0x004a
1578#define WM_CANCELJOURNAL_W 0x004b
1579#define WM_NOTIFY_W 0x004e
1580#define WM_INPUTLANGCHANGEREQUEST_W 0x0050
1581#define WM_INPUTLANGCHANGE_W 0x0051
1582#define WM_TCARD_W 0x0052
1583#define WM_HELP_W 0x0053
1584#define WM_USERCHANGED_W 0x0054
1585#define WM_HELP_W 0x0053
1586#define WM_NOTIFYFORMAT_W 0x0055
1587
1588#define WM_CONTEXTMENU_W 0x007b
1589#define WM_STYLECHANGING_W 0x007c
1590#define WM_STYLECHANGED_W 0x007d
1591#define WM_DISPLAYCHANGE_W 0x007e
1592#define WM_GETICON_W 0x007f
1593#define WM_SETICON_W 0x0080
1594
1595 /* Non-client system messages */
1596#define WM_NCCREATE_W 0x0081
1597#define WM_NCDESTROY_W 0x0082
1598#define WM_NCCALCSIZE_W 0x0083
1599#define WM_NCHITTEST_W 0x0084
1600#define WM_NCPAINT_W 0x0085
1601#define WM_NCACTIVATE_W 0x0086
1602
1603#define WM_GETDLGCODE_W 0x0087
1604#define WM_SYNCPAINT_W 0x0088
1605#define WM_SYNCTASK_W 0x0089
1606
1607 /* Non-client mouse messages */
1608#define WM_NCMOUSEMOVE_W 0x00a0
1609#define WM_NCLBUTTONDOWN_W 0x00a1
1610#define WM_NCLBUTTONUP_W 0x00a2
1611#define WM_NCLBUTTONDBLCLK_W 0x00a3
1612#define WM_NCRBUTTONDOWN_W 0x00a4
1613#define WM_NCRBUTTONUP_W 0x00a5
1614#define WM_NCRBUTTONDBLCLK_W 0x00a6
1615#define WM_NCMBUTTONDOWN_W 0x00a7
1616#define WM_NCMBUTTONUP_W 0x00a8
1617#define WM_NCMBUTTONDBLCLK_W 0x00a9
1618
1619 /* Keyboard messages */
1620#define WM_KEYDOWN_W 0x0100
1621#define WM_KEYUP_W 0x0101
1622#define WM_CHAR_W 0x0102
1623#define WM_DEADCHAR_W 0x0103
1624#define WM_SYSKEYDOWN_W 0x0104
1625#define WM_SYSKEYUP_W 0x0105
1626#define WM_SYSCHAR_W 0x0106
1627#define WM_SYSDEADCHAR_W 0x0107
1628#define WM_KEYFIRST_W WM_KEYDOWN_W
1629#define WM_KEYLAST_W 0x0108
1630
1631#define WM_IME_STARTCOMPOSITION_W 0x010D
1632#define WM_IME_ENDCOMPOSITION_W 0x010E
1633#define WM_IME_COMPOSITION_W 0x010F
1634#define WM_IME_KEYLAST_W 0x010F
1635
1636#define WM_INITDIALOG_W 0x0110
1637#define WM_COMMAND_W 0x0111
1638#define WM_SYSCOMMAND_W 0x0112
1639#define WM_TIMER_W 0x0113
1640#define WM_SYSTIMER_W 0x0118
1641
1642 /* scroll messages */
1643#define WM_HSCROLL_W 0x0114
1644#define WM_VSCROLL_W 0x0115
1645
1646/* Menu messages */
1647#define WM_INITMENU_W 0x0116
1648#define WM_INITMENUPOPUP_W 0x0117
1649
1650#define WM_MENUSELECT_W 0x011F
1651#define WM_MENUCHAR_W 0x0120
1652#define WM_ENTERIDLE_W 0x0121
1653#define WM_MENURBUTTONUP_W 0x0122
1654#define WM_MENUDRAG_W 0x0123
1655#define WM_MENUGETOBJECT_W 0x0124
1656#define WM_UNINITMENUPOPUP_W 0x0125
1657#define WM_MENUCOMMAND_W 0x0126
1658
1659#define WM_KEYBOARDCUES_W 0x0127
1660
1661#define WM_LBTRACKPOINT_W 0x0131
1662
1663 /* Win32 CTLCOLOR messages */
1664#define WM_CTLCOLORMSGBOX_W 0x0132
1665#define WM_CTLCOLOREDIT_W 0x0133
1666#define WM_CTLCOLORLISTBOX_W 0x0134
1667#define WM_CTLCOLORBTN_W 0x0135
1668#define WM_CTLCOLORDLG_W 0x0136
1669#define WM_CTLCOLORSCROLLBAR_W 0x0137
1670#define WM_CTLCOLORSTATIC_W 0x0138
1671
1672 /* Mouse messages */
1673#define WM_MOUSEMOVE_W 0x0200
1674#define WM_LBUTTONDOWN_W 0x0201
1675#define WM_LBUTTONUP_W 0x0202
1676#define WM_LBUTTONDBLCLK_W 0x0203
1677#define WM_RBUTTONDOWN_W 0x0204
1678#define WM_RBUTTONUP_W 0x0205
1679#define WM_RBUTTONDBLCLK_W 0x0206
1680#define WM_MBUTTONDOWN_W 0x0207
1681#define WM_MBUTTONUP_W 0x0208
1682#define WM_MBUTTONDBLCLK_W 0x0209
1683#define WM_MOUSEWHEEL_W 0x020A
1684#define WM_MOUSEFIRST_W WM_MOUSEMOVE_W
1685#define WM_MOUSELAST_W WM_MOUSEWHEEL_W
1686
1687#define WM_PARENTNOTIFY_W 0x0210
1688#define WM_ENTERMENULOOP_W 0x0211
1689#define WM_EXITMENULOOP_W 0x0212
1690#define WM_NEXTMENU_W 0x0213
1691
1692 /* Win32 4.0 messages */
1693#define WM_SIZING_W 0x0214
1694#define WM_CAPTURECHANGED_W 0x0215
1695#define WM_MOVING_W 0x0216
1696
1697#define WM_POWERBROADCAST_W 0x0218
1698#define WM_DEVICECHANGE_W 0x0219
1699
1700/* wParam for WM_SIZING message */
1701#define WMSZ_LEFT_W 1
1702#define WMSZ_RIGHT_W 2
1703#define WMSZ_TOP_W 3
1704#define WMSZ_TOPLEFT_W 4
1705#define WMSZ_TOPRIGHT_W 5
1706#define WMSZ_BOTTOM_W 6
1707#define WMSZ_BOTTOMLEFT_W 7
1708#define WMSZ_BOTTOMRIGHT_W 8
1709
1710 /* MDI messages */
1711#define WM_MDICREATE_W 0x0220
1712#define WM_MDIDESTROY_W 0x0221
1713#define WM_MDIACTIVATE_W 0x0222
1714#define WM_MDIRESTORE_W 0x0223
1715#define WM_MDINEXT_W 0x0224
1716#define WM_MDIMAXIMIZE_W 0x0225
1717#define WM_MDITILE_W 0x0226
1718#define WM_MDICASCADE_W 0x0227
1719#define WM_MDIICONARRANGE_W 0x0228
1720#define WM_MDIGETACTIVE_W 0x0229
1721#define WM_MDIREFRESHMENU_W 0x0234
1722
1723 /* D&D messages */
1724#define WM_DROPOBJECT_W 0x022A
1725#define WM_QUERYDROPOBJECT_W 0x022B
1726#define WM_BEGINDRAG_W 0x022C
1727#define WM_DRAGLOOP_W 0x022D
1728#define WM_DRAGSELECT_W 0x022E
1729#define WM_DRAGMOVE_W 0x022F
1730#define WM_MDISETMENU_W 0x0230
1731
1732#define WM_ENTERSIZEMOVE_W 0x0231
1733#define WM_EXITSIZEMOVE_W 0x0232
1734#define WM_DROPFILES_W 0x0233
1735
1736#define WM_IME_SETCONTEXT_W 0x0281
1737#define WM_IME_NOTIFY_W 0x0282
1738#define WM_IME_CONTROL_W 0x0283
1739#define WM_IME_COMPOSITIONFULL_W 0x0284
1740#define WM_IME_SELECT_W 0x0285
1741#define WM_IME_CHAR_W 0x0286
1742#define WM_IME_REQUEST_W 0x0288
1743#define WM_IME_KEYDOWN_W 0x0290
1744#define WM_IME_KEYUP_W 0x0291
1745
1746#define WM_MOUSEHOVER_W 0x02A1
1747#define WM_MOUSELEAVE_W 0x02A3
1748#define WM_NCMOUSEHOVER_W 0x02A0
1749#define WM_NCMOUSELEAVE_W 0x02A2
1750
1751#define WM_CUT_W 0x0300
1752#define WM_COPY_W 0x0301
1753#define WM_PASTE_W 0x0302
1754#define WM_CLEAR_W 0x0303
1755#define WM_UNDO_W 0x0304
1756#define WM_RENDERFORMAT_W 0x0305
1757#define WM_RENDERALLFORMATS_W 0x0306
1758#define WM_DESTROYCLIPBOARD_W 0x0307
1759#define WM_DRAWCLIPBOARD_W 0x0308
1760#define WM_PAINTCLIPBOARD_W 0x0309
1761#define WM_VSCROLLCLIPBOARD_W 0x030A
1762#define WM_SIZECLIPBOARD_W 0x030B
1763#define WM_ASKCBFORMATNAME_W 0x030C
1764#define WM_CHANGECBCHAIN_W 0x030D
1765#define WM_HSCROLLCLIPBOARD_W 0x030E
1766#define WM_QUERYNEWPALETTE_W 0x030F
1767#define WM_PALETTEISCHANGING_W 0x0310
1768#define WM_PALETTECHANGED_W 0x0311
1769#define WM_HOTKEY_W 0x0312
1770
1771#define WM_PRINT_W 0x0317
1772#define WM_PRINTCLIENT_W 0x0318
1773
1774#define WM_HANDHELDFIRST_W 0x0358
1775#define WM_HANDHELDLAST_W 0x035F
1776
1777#define WM_AFXFIRST_W 0x0360
1778#define WM_FORWARDMSG_W 0x037F
1779#define WM_AFXLAST_W 0x037F
1780
1781#define WM_PENWINFIRST_W 0x0380
1782#define WM_PENWINLAST_W 0x038F
1783
1784#define WM_APP_W 0x8000
[7194]1785
1786 /* GetSystemMetrics() codes */
1787#define SM_CXSCREEN_W 0
1788#define SM_CYSCREEN_W 1
1789#define SM_CXVSCROLL_W 2
1790#define SM_CYHSCROLL_W 3
1791#define SM_CYCAPTION_W 4
1792#define SM_CXBORDER_W 5
1793#define SM_CYBORDER_W 6
1794#define SM_CXDLGFRAME_W 7
1795#define SM_CYDLGFRAME_W 8
1796#define SM_CYVTHUMB_W 9
1797#define SM_CXHTHUMB_W 10
1798#define SM_CXICON_W 11
1799#define SM_CYICON_W 12
1800#define SM_CXCURSOR_W 13
1801#define SM_CYCURSOR_W 14
1802#define SM_CYMENU_W 15
1803#define SM_CXFULLSCREEN_W 16
1804#define SM_CYFULLSCREEN_W 17
1805#define SM_CYKANJIWINDOW_W 18
1806#define SM_MOUSEPRESENT_W 19
1807#define SM_CYVSCROLL_W 20
1808#define SM_CXHSCROLL_W 21
1809#define SM_DEBUG_W 22
1810#define SM_SWAPBUTTON_W 23
1811#define SM_RESERVED1_W 24
1812#define SM_RESERVED2_W 25
1813#define SM_RESERVED3_W 26
1814#define SM_RESERVED4_W 27
1815#define SM_CXMIN_W 28
1816#define SM_CYMIN_W 29
1817#define SM_CXSIZE_W 30
1818#define SM_CYSIZE_W 31
1819#define SM_CXFRAME_W 32
1820#define SM_CYFRAME_W 33
1821#define SM_CXMINTRACK_W 34
1822#define SM_CYMINTRACK_W 35
1823#define SM_CXDOUBLECLK_W 36
1824#define SM_CYDOUBLECLK_W 37
1825#define SM_CXICONSPACING_W 38
1826#define SM_CYICONSPACING_W 39
1827#define SM_MENUDROPALIGNMENT_W 40
1828#define SM_PENWINDOWS_W 41
1829#define SM_DBCSENABLED_W 42
1830#define SM_CMOUSEBUTTONS_W 43
1831#define SM_CXFIXEDFRAME_W SM_CXDLGFRAME_W
1832#define SM_CYFIXEDFRAME_W SM_CYDLGFRAME_W
1833#define SM_CXSIZEFRAME_W SM_CXFRAME_W
1834#define SM_CYSIZEFRAME_W SM_CYFRAME_W
1835#define SM_SECURE_W 44
1836#define SM_CXEDGE_W 45
1837#define SM_CYEDGE_W 46
1838#define SM_CXMINSPACING_W 47
1839#define SM_CYMINSPACING_W 48
1840#define SM_CXSMICON_W 49
1841#define SM_CYSMICON_W 50
1842#define SM_CYSMCAPTION_W 51
1843#define SM_CXSMSIZE_W 52
1844#define SM_CYSMSIZE_W 53
1845#define SM_CXMENUSIZE_W 54
1846#define SM_CYMENUSIZE_W 55
1847#define SM_ARRANGE_W 56
1848#define SM_CXMINIMIZED_W 57
1849#define SM_CYMINIMIZED_W 58
1850#define SM_CXMAXTRACK_W 59
1851#define SM_CYMAXTRACK_W 60
1852#define SM_CXMAXIMIZED_W 61
1853#define SM_CYMAXIMIZED_W 62
1854#define SM_NETWORK_W 63
1855#define SM_CLEANBOOT_W 67
1856#define SM_CXDRAG_W 68
1857#define SM_CYDRAG_W 69
1858#define SM_SHOWSOUNDS_W 70
1859#define SM_CXMENUCHECK_W 71
1860#define SM_CYMENUCHECK_W 72
1861#define SM_SLOWMACHINE_W 73
1862#define SM_MIDEASTENABLED_W 74
1863#define SM_MOUSEWHEELPRESENT_W 75
1864#define SM_XVIRTUALSCREEN_W 76
1865#define SM_YVIRTUALSCREEN_W 77
1866#define SM_CXVIRTUALSCREEN_W 78
1867#define SM_CYVIRTUALSCREEN_W 79
1868#define SM_CMONITORS_W 80
1869#define SM_SAMEDISPLAYFORMAT_W 81
1870#define SM_CMETRICS_W 83
1871
[7204]1872#define SEM_FAILCRITICALERRORS_W 0x0001
1873#define SEM_NOGPFAULTERRORBOX_W 0x0002
1874#define SEM_NOALIGNMENTFAULTEXCEPT_W 0x0004
1875#define SEM_NOOPENFILEERRORBOX_W 0x8000
1876
[7194]1877#endif //__WINCONST_H__
Note: See TracBrowser for help on using the repository browser.