annotate loader/wine/winbase.h @ 22315:0a0191bc366d

10l, avoid crash on invalid subtitle id
author reimar
date Sat, 24 Feb 2007 10:19:41 +0000
parents 07f2cd9ef85e
children 251338cf2f58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 #ifndef __WINE_WINBASE_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 #define __WINE_WINBASE_H
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 #include "basetsd.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 #include "winnt.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 #include "winestring.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 #include "pshpack1.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 typedef struct tagCOORD {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 INT16 x;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 INT16 y;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 } COORD, *LPCOORD;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 /* Windows Exit Procedure flag values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 #define WEP_FREE_DLL 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 #define WEP_SYSTEM_EXIT 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 typedef DWORD CALLBACK (*LPTHREAD_START_ROUTINE)(LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 #define EXCEPTION_DEBUG_EVENT 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 #define CREATE_THREAD_DEBUG_EVENT 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 #define CREATE_PROCESS_DEBUG_EVENT 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 #define EXIT_THREAD_DEBUG_EVENT 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 #define EXIT_PROCESS_DEBUG_EVENT 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 #define LOAD_DLL_DEBUG_EVENT 6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 #define UNLOAD_DLL_DEBUG_EVENT 7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 #define OUTPUT_DEBUG_STRING_EVENT 8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 #define RIP_EVENT 9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 typedef struct _EXCEPTION_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 EXCEPTION_RECORD ExceptionRecord;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 DWORD dwFirstChance;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 } EXCEPTION_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 typedef struct _CREATE_THREAD_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 HANDLE hThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 LPVOID lpThreadLocalBase;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 LPTHREAD_START_ROUTINE lpStartAddress;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 } CREATE_THREAD_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 typedef struct _CREATE_PROCESS_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 HANDLE hFile;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 HANDLE hProcess;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 HANDLE hThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 LPVOID lpBaseOfImage;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 DWORD dwDebugInfoFileOffset;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 DWORD nDebugInfoSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 LPVOID lpThreadLocalBase;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 LPTHREAD_START_ROUTINE lpStartAddress;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 LPVOID lpImageName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 WORD fUnicode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 } CREATE_PROCESS_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 typedef struct _EXIT_THREAD_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 DWORD dwExitCode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 } EXIT_THREAD_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 typedef struct _EXIT_PROCESS_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 DWORD dwExitCode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66 } EXIT_PROCESS_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 typedef struct _LOAD_DLL_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69 HANDLE hFile;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 LPVOID lpBaseOfDll;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 DWORD dwDebugInfoFileOffset;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 DWORD nDebugInfoSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 LPVOID lpImageName;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74 WORD fUnicode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75 } LOAD_DLL_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 typedef struct _UNLOAD_DLL_DEBUG_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 LPVOID lpBaseOfDll;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 } UNLOAD_DLL_DEBUG_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81 typedef struct _OUTPUT_DEBUG_STRING_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 LPSTR lpDebugStringData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 WORD fUnicode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 WORD nDebugStringLength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 } OUTPUT_DEBUG_STRING_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 typedef struct _RIP_INFO {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 DWORD dwError;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 DWORD dwType;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90 } RIP_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92 typedef struct _DEBUG_EVENT {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93 DWORD dwDebugEventCode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 DWORD dwProcessId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 DWORD dwThreadId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96 union {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 EXCEPTION_DEBUG_INFO Exception;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98 CREATE_THREAD_DEBUG_INFO CreateThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 CREATE_PROCESS_DEBUG_INFO CreateProcessInfo;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 EXIT_THREAD_DEBUG_INFO ExitThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 EXIT_PROCESS_DEBUG_INFO ExitProcess;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 LOAD_DLL_DEBUG_INFO LoadDll;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103 UNLOAD_DLL_DEBUG_INFO UnloadDll;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 OUTPUT_DEBUG_STRING_INFO DebugString;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105 RIP_INFO RipInfo;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 } u;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 } DEBUG_EVENT, *LPDEBUG_EVENT;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109 #define OFS_MAXPATHNAME 128
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 BYTE cBytes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113 BYTE fFixedDisk;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 WORD nErrCode;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 BYTE reserved[4];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 BYTE szPathName[OFS_MAXPATHNAME];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117 } OFSTRUCT, *LPOFSTRUCT;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119 #define OF_READ 0x0000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 #define OF_WRITE 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 #define OF_READWRITE 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 #define OF_SHARE_COMPAT 0x0000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 #define OF_SHARE_EXCLUSIVE 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124 #define OF_SHARE_DENY_WRITE 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125 #define OF_SHARE_DENY_READ 0x0030
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 #define OF_SHARE_DENY_NONE 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 #define OF_PARSE 0x0100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 #define OF_DELETE 0x0200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 #define OF_VERIFY 0x0400 /* Used with OF_REOPEN */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130 #define OF_SEARCH 0x0400 /* Used without OF_REOPEN */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131 #define OF_CANCEL 0x0800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
132 #define OF_CREATE 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
133 #define OF_PROMPT 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
134 #define OF_EXIST 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
135 #define OF_REOPEN 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
136
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
137 /* SetErrorMode values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
138 #define SEM_FAILCRITICALERRORS 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
139 #define SEM_NOGPFAULTERRORBOX 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
140 #define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
141 #define SEM_NOOPENFILEERRORBOX 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
142
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
143 /* CopyFileEx flags */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
144 #define COPY_FILE_FAIL_IF_EXISTS 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
145 #define COPY_FILE_RESTARTABLE 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
146 #define COPY_FILE_OPEN_SOURCE_FOR_WRITE 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
147
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
148 /* GetTempFileName() Flags */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
149 #define TF_FORCEDRIVE 0x80
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
150
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
151 #define DRIVE_CANNOTDETERMINE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
152 #define DRIVE_DOESNOTEXIST 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
153 #define DRIVE_REMOVABLE 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154 #define DRIVE_FIXED 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155 #define DRIVE_REMOTE 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156 /* Win32 additions */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
157 #define DRIVE_CDROM 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
158 #define DRIVE_RAMDISK 6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
159
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
160 /* The security attributes structure */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
161 typedef struct _SECURITY_ATTRIBUTES
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
162 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
163 DWORD nLength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
164 LPVOID lpSecurityDescriptor;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
165 WIN_BOOL bInheritHandle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
166 } SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
167
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
168 #ifndef _FILETIME_
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
169 #define _FILETIME_
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
170 /* 64 bit number of 100 nanoseconds intervals since January 1, 1601 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
171 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
172 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
173 DWORD dwLowDateTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
174 DWORD dwHighDateTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
175 } FILETIME, *LPFILETIME;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
176 #endif /* _FILETIME_ */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
177
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
178 /* Find* structures */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
179 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
180 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
181 DWORD dwFileAttributes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
182 FILETIME ftCreationTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
183 FILETIME ftLastAccessTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
184 FILETIME ftLastWriteTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
185 DWORD nFileSizeHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
186 DWORD nFileSizeLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
187 DWORD dwReserved0;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
188 DWORD dwReserved1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
189 CHAR cFileName[260];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
190 CHAR cAlternateFileName[14];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
191 } WIN32_FIND_DATAA, *LPWIN32_FIND_DATAA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
192
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
193 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
194 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
195 DWORD dwFileAttributes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
196 FILETIME ftCreationTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
197 FILETIME ftLastAccessTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
198 FILETIME ftLastWriteTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
199 DWORD nFileSizeHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
200 DWORD nFileSizeLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
201 DWORD dwReserved0;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
202 DWORD dwReserved1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
203 WCHAR cFileName[260];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
204 WCHAR cAlternateFileName[14];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
205 } WIN32_FIND_DATAW, *LPWIN32_FIND_DATAW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
206
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
207 DECL_WINELIB_TYPE_AW(WIN32_FIND_DATA)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
208 DECL_WINELIB_TYPE_AW(LPWIN32_FIND_DATA)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
209
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
210 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
211 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
212 LPVOID lpData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
213 DWORD cbData;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
214 BYTE cbOverhead;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
215 BYTE iRegionIndex;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
216 WORD wFlags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
217 union {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
218 struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
219 HANDLE hMem;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
220 DWORD dwReserved[3];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
221 } Block;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
222 struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
223 DWORD dwCommittedSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
224 DWORD dwUnCommittedSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
225 LPVOID lpFirstBlock;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
226 LPVOID lpLastBlock;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
227 } Region;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
228 } Foo;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
229 } PROCESS_HEAP_ENTRY, *LPPROCESS_HEAP_ENTRY;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
230
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
231 #define PROCESS_HEAP_REGION 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
232 #define PROCESS_HEAP_UNCOMMITTED_RANGE 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
233 #define PROCESS_HEAP_ENTRY_BUSY 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
234 #define PROCESS_HEAP_ENTRY_MOVEABLE 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
235 #define PROCESS_HEAP_ENTRY_DDESHARE 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
236
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
237 #define INVALID_HANDLE_VALUE16 ((HANDLE16) -1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
238 #define INVALID_HANDLE_VALUE ((HANDLE) -1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
239
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
240 #define TLS_OUT_OF_INDEXES ((DWORD)0xFFFFFFFF)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
241
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
242 /* comm */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
243
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
244 #define CBR_110 0xFF10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
245 #define CBR_300 0xFF11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
246 #define CBR_600 0xFF12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
247 #define CBR_1200 0xFF13
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
248 #define CBR_2400 0xFF14
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
249 #define CBR_4800 0xFF15
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
250 #define CBR_9600 0xFF16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
251 #define CBR_14400 0xFF17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
252 #define CBR_19200 0xFF18
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
253 #define CBR_38400 0xFF1B
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
254 #define CBR_56000 0xFF1F
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
255 #define CBR_128000 0xFF23
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
256 #define CBR_256000 0xFF27
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
257
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
258 #define NOPARITY 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
259 #define ODDPARITY 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
260 #define EVENPARITY 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
261 #define MARKPARITY 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
262 #define SPACEPARITY 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
263 #define ONESTOPBIT 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
264 #define ONE5STOPBITS 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
265 #define TWOSTOPBITS 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
266
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
267 #define IGNORE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
268 #define INFINITE16 0xFFFF
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
269 #define INFINITE 0xFFFFFFFF
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
270
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
271 #define CE_RXOVER 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
272 #define CE_OVERRUN 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
273 #define CE_RXPARITY 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
274 #define CE_FRAME 0x0008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
275 #define CE_BREAK 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
276 #define CE_CTSTO 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
277 #define CE_DSRTO 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
278 #define CE_RLSDTO 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
279 #define CE_TXFULL 0x0100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
280 #define CE_PTO 0x0200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
281 #define CE_IOE 0x0400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
282 #define CE_DNS 0x0800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
283 #define CE_OOP 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
284 #define CE_MODE 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
285
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
286 #define IE_BADID -1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
287 #define IE_OPEN -2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
288 #define IE_NOPEN -3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
289 #define IE_MEMORY -4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
290 #define IE_DEFAULT -5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
291 #define IE_HARDWARE -10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
292 #define IE_BYTESIZE -11
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
293 #define IE_BAUDRATE -12
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
294
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
295 #define EV_RXCHAR 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
296 #define EV_RXFLAG 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
297 #define EV_TXEMPTY 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
298 #define EV_CTS 0x0008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
299 #define EV_DSR 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
300 #define EV_RLSD 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
301 #define EV_BREAK 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
302 #define EV_ERR 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
303 #define EV_RING 0x0100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
304 #define EV_PERR 0x0200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
305 #define EV_CTSS 0x0400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
306 #define EV_DSRS 0x0800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
307 #define EV_RLSDS 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
308 #define EV_RINGTE 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
309 #define EV_RingTe EV_RINGTE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
310
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
311 #define SETXOFF 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
312 #define SETXON 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
313 #define SETRTS 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
314 #define CLRRTS 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
315 #define SETDTR 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
316 #define CLRDTR 6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
317 #define RESETDEV 7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
318 #define SETBREAK 8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
319 #define CLRBREAK 9
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
320
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
321 #define GETBASEIRQ 10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
322
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
323 /* Purge functions for Comm Port */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
324 #define PURGE_TXABORT 0x0001 /* Kill the pending/current writes to the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
325 comm port */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
326 #define PURGE_RXABORT 0x0002 /*Kill the pending/current reads to
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
327 the comm port */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
328 #define PURGE_TXCLEAR 0x0004 /* Kill the transmit queue if there*/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
329 #define PURGE_RXCLEAR 0x0008 /* Kill the typeahead buffer if there*/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
330
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
331
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
332 /* Modem Status Flags */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
333 #define MS_CTS_ON ((DWORD)0x0010)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
334 #define MS_DSR_ON ((DWORD)0x0020)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
335 #define MS_RING_ON ((DWORD)0x0040)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
336 #define MS_RLSD_ON ((DWORD)0x0080)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
337
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
338 #define RTS_CONTROL_DISABLE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
339 #define RTS_CONTROL_ENABLE 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
340 #define RTS_CONTROL_HANDSHAKE 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
341 #define RTS_CONTROL_TOGGLE 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
342
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
343 #define DTR_CONTROL_DISABLE 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
344 #define DTR_CONTROL_ENABLE 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
345 #define DTR_CONTROL_HANDSHAKE 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
346
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
347 #define CSTF_CTSHOLD 0x01
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
348 #define CSTF_DSRHOLD 0x02
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
349 #define CSTF_RLSDHOLD 0x04
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
350 #define CSTF_XOFFHOLD 0x08
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
351 #define CSTF_XOFFSENT 0x10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
352 #define CSTF_EOF 0x20
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
353 #define CSTF_TXIM 0x40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
354
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
355 #define MAKEINTRESOURCEA(i) (LPSTR)((DWORD)((WORD)(i)))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
356 #define MAKEINTRESOURCEW(i) (LPWSTR)((DWORD)((WORD)(i)))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
357 #define MAKEINTRESOURCE WINELIB_NAME_AW(MAKEINTRESOURCE)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
358
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
359 /* Predefined resource types */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
360 #define RT_CURSORA MAKEINTRESOURCEA(1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
361 #define RT_CURSORW MAKEINTRESOURCEW(1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
362 #define RT_CURSOR WINELIB_NAME_AW(RT_CURSOR)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
363 #define RT_BITMAPA MAKEINTRESOURCEA(2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
364 #define RT_BITMAPW MAKEINTRESOURCEW(2)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
365 #define RT_BITMAP WINELIB_NAME_AW(RT_BITMAP)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
366 #define RT_ICONA MAKEINTRESOURCEA(3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
367 #define RT_ICONW MAKEINTRESOURCEW(3)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
368 #define RT_ICON WINELIB_NAME_AW(RT_ICON)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
369 #define RT_MENUA MAKEINTRESOURCEA(4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
370 #define RT_MENUW MAKEINTRESOURCEW(4)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
371 #define RT_MENU WINELIB_NAME_AW(RT_MENU)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
372 #define RT_DIALOGA MAKEINTRESOURCEA(5)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
373 #define RT_DIALOGW MAKEINTRESOURCEW(5)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
374 #define RT_DIALOG WINELIB_NAME_AW(RT_DIALOG)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
375 #define RT_STRINGA MAKEINTRESOURCEA(6)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
376 #define RT_STRINGW MAKEINTRESOURCEW(6)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
377 #define RT_STRING WINELIB_NAME_AW(RT_STRING)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
378 #define RT_FONTDIRA MAKEINTRESOURCEA(7)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
379 #define RT_FONTDIRW MAKEINTRESOURCEW(7)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
380 #define RT_FONTDIR WINELIB_NAME_AW(RT_FONTDIR)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
381 #define RT_FONTA MAKEINTRESOURCEA(8)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
382 #define RT_FONTW MAKEINTRESOURCEW(8)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
383 #define RT_FONT WINELIB_NAME_AW(RT_FONT)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
384 #define RT_ACCELERATORA MAKEINTRESOURCEA(9)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
385 #define RT_ACCELERATORW MAKEINTRESOURCEW(9)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
386 #define RT_ACCELERATOR WINELIB_NAME_AW(RT_ACCELERATOR)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
387 #define RT_RCDATAA MAKEINTRESOURCEA(10)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
388 #define RT_RCDATAW MAKEINTRESOURCEW(10)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
389 #define RT_RCDATA WINELIB_NAME_AW(RT_RCDATA)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
390 #define RT_MESSAGELISTA MAKEINTRESOURCEA(11)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
391 #define RT_MESSAGELISTW MAKEINTRESOURCEW(11)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
392 #define RT_MESSAGELIST WINELIB_NAME_AW(RT_MESSAGELIST)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
393 #define RT_GROUP_CURSORA MAKEINTRESOURCEA(12)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
394 #define RT_GROUP_CURSORW MAKEINTRESOURCEW(12)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
395 #define RT_GROUP_CURSOR WINELIB_NAME_AW(RT_GROUP_CURSOR)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
396 #define RT_GROUP_ICONA MAKEINTRESOURCEA(14)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
397 #define RT_GROUP_ICONW MAKEINTRESOURCEW(14)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
398 #define RT_GROUP_ICON WINELIB_NAME_AW(RT_GROUP_ICON)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
399
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
401 #define LMEM_FIXED 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
402 #define LMEM_MOVEABLE 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
403 #define LMEM_NOCOMPACT 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
404 #define LMEM_NODISCARD 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
405 #define LMEM_ZEROINIT 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
406 #define LMEM_MODIFY 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
407 #define LMEM_DISCARDABLE 0x0F00
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
408 #define LMEM_DISCARDED 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
409 #define LMEM_LOCKCOUNT 0x00FF
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
410
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
411 #define LPTR (LMEM_FIXED | LMEM_ZEROINIT)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
412
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
413 #define GMEM_FIXED 0x0000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
414 #define GMEM_MOVEABLE 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
415 #define GMEM_NOCOMPACT 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
416 #define GMEM_NODISCARD 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
417 #define GMEM_ZEROINIT 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
418 #define GMEM_MODIFY 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
419 #define GMEM_DISCARDABLE 0x0100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
420 #define GMEM_NOT_BANKED 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
421 #define GMEM_SHARE 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
422 #define GMEM_DDESHARE 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
423 #define GMEM_NOTIFY 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
424 #define GMEM_LOWER GMEM_NOT_BANKED
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
425 #define GMEM_DISCARDED 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
426 #define GMEM_LOCKCOUNT 0x00ff
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
427 #define GMEM_INVALID_HANDLE 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
428
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
429 #define GHND (GMEM_MOVEABLE | GMEM_ZEROINIT)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
430 #define GPTR (GMEM_FIXED | GMEM_ZEROINIT)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
431
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
432
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
433 typedef struct tagMEMORYSTATUS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
434 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
435 DWORD dwLength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
436 DWORD dwMemoryLoad;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
437 DWORD dwTotalPhys;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
438 DWORD dwAvailPhys;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
439 DWORD dwTotalPageFile;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
440 DWORD dwAvailPageFile;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
441 DWORD dwTotalVirtual;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
442 DWORD dwAvailVirtual;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
443 } MEMORYSTATUS, *LPMEMORYSTATUS;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
444
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
445
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
446 #ifndef NOLOGERROR
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
447
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
448 /* LogParamError and LogError values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
449
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
450 /* Error modifier bits */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
451 #define ERR_WARNING 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
452 #define ERR_PARAM 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
453
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
454 #define ERR_SIZE_MASK 0x3000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
455 #define ERR_BYTE 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
456 #define ERR_WORD 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
457 #define ERR_DWORD 0x3000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
458
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
459 /* LogParamError() values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
460
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
461 /* Generic parameter values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
462 #define ERR_BAD_VALUE 0x6001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
463 #define ERR_BAD_FLAGS 0x6002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
464 #define ERR_BAD_INDEX 0x6003
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
465 #define ERR_BAD_DVALUE 0x7004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
466 #define ERR_BAD_DFLAGS 0x7005
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
467 #define ERR_BAD_DINDEX 0x7006
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
468 #define ERR_BAD_PTR 0x7007
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
469 #define ERR_BAD_FUNC_PTR 0x7008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
470 #define ERR_BAD_SELECTOR 0x6009
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
471 #define ERR_BAD_STRING_PTR 0x700a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
472 #define ERR_BAD_HANDLE 0x600b
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
473
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
474 /* KERNEL parameter errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
475 #define ERR_BAD_HINSTANCE 0x6020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
476 #define ERR_BAD_HMODULE 0x6021
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
477 #define ERR_BAD_GLOBAL_HANDLE 0x6022
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
478 #define ERR_BAD_LOCAL_HANDLE 0x6023
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
479 #define ERR_BAD_ATOM 0x6024
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
480 #define ERR_BAD_HFILE 0x6025
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
481
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
482 /* USER parameter errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
483 #define ERR_BAD_HWND 0x6040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
484 #define ERR_BAD_HMENU 0x6041
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
485 #define ERR_BAD_HCURSOR 0x6042
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
486 #define ERR_BAD_HICON 0x6043
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
487 #define ERR_BAD_HDWP 0x6044
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
488 #define ERR_BAD_CID 0x6045
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
489 #define ERR_BAD_HDRVR 0x6046
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
490
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
491 /* GDI parameter errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
492 #define ERR_BAD_COORDS 0x7060
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
493 #define ERR_BAD_GDI_OBJECT 0x6061
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
494 #define ERR_BAD_HDC 0x6062
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
495 #define ERR_BAD_HPEN 0x6063
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
496 #define ERR_BAD_HFONT 0x6064
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
497 #define ERR_BAD_HBRUSH 0x6065
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
498 #define ERR_BAD_HBITMAP 0x6066
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
499 #define ERR_BAD_HRGN 0x6067
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
500 #define ERR_BAD_HPALETTE 0x6068
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
501 #define ERR_BAD_HMETAFILE 0x6069
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
502
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
503
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
504 /* LogError() values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
505
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
506 /* KERNEL errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
507 #define ERR_GALLOC 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
508 #define ERR_GREALLOC 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
509 #define ERR_GLOCK 0x0003
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
510 #define ERR_LALLOC 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
511 #define ERR_LREALLOC 0x0005
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
512 #define ERR_LLOCK 0x0006
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
513 #define ERR_ALLOCRES 0x0007
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
514 #define ERR_LOCKRES 0x0008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
515 #define ERR_LOADMODULE 0x0009
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
516
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
517 /* USER errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
518 #define ERR_CREATEDLG 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
519 #define ERR_CREATEDLG2 0x0041
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
520 #define ERR_REGISTERCLASS 0x0042
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
521 #define ERR_DCBUSY 0x0043
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
522 #define ERR_CREATEWND 0x0044
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
523 #define ERR_STRUCEXTRA 0x0045
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
524 #define ERR_LOADSTR 0x0046
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
525 #define ERR_LOADMENU 0x0047
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
526 #define ERR_NESTEDBEGINPAINT 0x0048
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
527 #define ERR_BADINDEX 0x0049
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
528 #define ERR_CREATEMENU 0x004a
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
529
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
530 /* GDI errors */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
531 #define ERR_CREATEDC 0x0080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
532 #define ERR_CREATEMETA 0x0081
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
533 #define ERR_DELOBJSELECTED 0x0082
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
534 #define ERR_SELBITMAP 0x0083
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
535
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
536
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
537
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
538 /* Debugging support (DEBUG SYSTEM ONLY) */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
539 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
540 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
541 UINT16 flags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
542 DWORD dwOptions WINE_PACKED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
543 DWORD dwFilter WINE_PACKED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
544 CHAR achAllocModule[8] WINE_PACKED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
545 DWORD dwAllocBreak WINE_PACKED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
546 DWORD dwAllocCount WINE_PACKED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
547 } WINDEBUGINFO, *LPWINDEBUGINFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
548
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
549 /* WINDEBUGINFO flags values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
550 #define WDI_OPTIONS 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
551 #define WDI_FILTER 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
552 #define WDI_ALLOCBREAK 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
553
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
554 /* dwOptions values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
555 #define DBO_CHECKHEAP 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
556 #define DBO_BUFFERFILL 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
557 #define DBO_DISABLEGPTRAPPING 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
558 #define DBO_CHECKFREE 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
559
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
560 #define DBO_SILENT 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
561
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
562 #define DBO_TRACEBREAK 0x2000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
563 #define DBO_WARNINGBREAK 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
564 #define DBO_NOERRORBREAK 0x0800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
565 #define DBO_NOFATALBREAK 0x0400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
566 #define DBO_INT3BREAK 0x0100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
567
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
568 /* DebugOutput flags values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
569 #define DBF_TRACE 0x0000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
570 #define DBF_WARNING 0x4000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
571 #define DBF_ERROR 0x8000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
572 #define DBF_FATAL 0xc000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
573
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
574 /* dwFilter values */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
575 #define DBF_KERNEL 0x1000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
576 #define DBF_KRN_MEMMAN 0x0001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
577 #define DBF_KRN_LOADMODULE 0x0002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
578 #define DBF_KRN_SEGMENTLOAD 0x0004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
579 #define DBF_USER 0x0800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
580 #define DBF_GDI 0x0400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
581 #define DBF_MMSYSTEM 0x0040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
582 #define DBF_PENWIN 0x0020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
583 #define DBF_APPLICATION 0x0008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
584 #define DBF_DRIVER 0x0010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
585
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
586 #endif /* NOLOGERROR */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
587
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
588 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
589 WORD wYear;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
590 WORD wMonth;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
591 WORD wDayOfWeek;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
592 WORD wDay;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
593 WORD wHour;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
594 WORD wMinute;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
595 WORD wSecond;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
596 WORD wMilliseconds;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
597 } SYSTEMTIME, *LPSYSTEMTIME;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
598
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
599 /* The 'overlapped' data structure used by async I/O functions.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
600 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
601 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
602 DWORD Internal;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
603 DWORD InternalHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
604 DWORD Offset;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
605 DWORD OffsetHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
606 HANDLE hEvent;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
607 } OVERLAPPED, *LPOVERLAPPED;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
608
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
609 /* Process startup information.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
610 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
611
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
612 /* STARTUPINFO.dwFlags */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
613 #define STARTF_USESHOWWINDOW 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
614 #define STARTF_USESIZE 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
615 #define STARTF_USEPOSITION 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
616 #define STARTF_USECOUNTCHARS 0x00000008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
617 #define STARTF_USEFILLATTRIBUTE 0x00000010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
618 #define STARTF_RUNFULLSCREEN 0x00000020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
619 #define STARTF_FORCEONFEEDBACK 0x00000040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
620 #define STARTF_FORCEOFFFEEDBACK 0x00000080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
621 #define STARTF_USESTDHANDLES 0x00000100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
622 #define STARTF_USEHOTKEY 0x00000200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
623
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
624 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
625 DWORD cb; /* 00: size of struct */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
626 LPSTR lpReserved; /* 04: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
627 LPSTR lpDesktop; /* 08: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
628 LPSTR lpTitle; /* 0c: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
629 DWORD dwX; /* 10: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
630 DWORD dwY; /* 14: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
631 DWORD dwXSize; /* 18: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
632 DWORD dwYSize; /* 1c: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
633 DWORD dwXCountChars; /* 20: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
634 DWORD dwYCountChars; /* 24: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
635 DWORD dwFillAttribute; /* 28: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
636 DWORD dwFlags; /* 2c: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
637 WORD wShowWindow; /* 30: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
638 WORD cbReserved2; /* 32: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
639 BYTE *lpReserved2; /* 34: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
640 HANDLE hStdInput; /* 38: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
641 HANDLE hStdOutput; /* 3c: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
642 HANDLE hStdError; /* 40: */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
643 } STARTUPINFOA, *LPSTARTUPINFOA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
644
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
645 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
646 DWORD cb;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
647 LPWSTR lpReserved;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
648 LPWSTR lpDesktop;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
649 LPWSTR lpTitle;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
650 DWORD dwX;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
651 DWORD dwY;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
652 DWORD dwXSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
653 DWORD dwYSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
654 DWORD dwXCountChars;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
655 DWORD dwYCountChars;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
656 DWORD dwFillAttribute;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
657 DWORD dwFlags;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
658 WORD wShowWindow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
659 WORD cbReserved2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
660 BYTE *lpReserved2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
661 HANDLE hStdInput;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
662 HANDLE hStdOutput;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
663 HANDLE hStdError;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
664 } STARTUPINFOW, *LPSTARTUPINFOW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
665
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
666 DECL_WINELIB_TYPE_AW(STARTUPINFO)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
667 DECL_WINELIB_TYPE_AW(LPSTARTUPINFO)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
668
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
669 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
670 HANDLE hProcess;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
671 HANDLE hThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
672 DWORD dwProcessId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
673 DWORD dwThreadId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
674 } PROCESS_INFORMATION,*LPPROCESS_INFORMATION;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
675
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
676 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
677 LONG Bias;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
678 WCHAR StandardName[32];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
679 SYSTEMTIME StandardDate;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
680 LONG StandardBias;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
681 WCHAR DaylightName[32];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
682 SYSTEMTIME DaylightDate;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
683 LONG DaylightBias;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
684 } TIME_ZONE_INFORMATION, *LPTIME_ZONE_INFORMATION;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
685
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
686 #define TIME_ZONE_ID_UNKNOWN 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
687 #define TIME_ZONE_ID_STANDARD 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
688 #define TIME_ZONE_ID_DAYLIGHT 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
689
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
690 /* CreateProcess: dwCreationFlag values
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
691 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
692 #define DEBUG_PROCESS 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
693 #define DEBUG_ONLY_THIS_PROCESS 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
694 #define CREATE_SUSPENDED 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
695 #define DETACHED_PROCESS 0x00000008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
696 #define CREATE_NEW_CONSOLE 0x00000010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
697 #define NORMAL_PRIORITY_CLASS 0x00000020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
698 #define IDLE_PRIORITY_CLASS 0x00000040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
699 #define HIGH_PRIORITY_CLASS 0x00000080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
700 #define REALTIME_PRIORITY_CLASS 0x00000100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
701 #define CREATE_NEW_PROCESS_GROUP 0x00000200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
702 #define CREATE_UNICODE_ENVIRONMENT 0x00000400
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
703 #define CREATE_SEPARATE_WOW_VDM 0x00000800
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
704 #define CREATE_SHARED_WOW_VDM 0x00001000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
705 #define CREATE_DEFAULT_ERROR_MODE 0x04000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
706 #define CREATE_NO_WINDOW 0x08000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
707 #define PROFILE_USER 0x10000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
708 #define PROFILE_KERNEL 0x20000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
709 #define PROFILE_SERVER 0x40000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
710
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
711
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
712 /* File object type definitions
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
713 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
714 #define FILE_TYPE_UNKNOWN 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
715 #define FILE_TYPE_DISK 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
716 #define FILE_TYPE_CHAR 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
717 #define FILE_TYPE_PIPE 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
718 #define FILE_TYPE_REMOTE 32768
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
719
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
720 /* File creation flags
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
721 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
722 #define FILE_FLAG_WRITE_THROUGH 0x80000000UL
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
723 #define FILE_FLAG_OVERLAPPED 0x40000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
724 #define FILE_FLAG_NO_BUFFERING 0x20000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
725 #define FILE_FLAG_RANDOM_ACCESS 0x10000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
726 #define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
727 #define FILE_FLAG_DELETE_ON_CLOSE 0x04000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
728 #define FILE_FLAG_BACKUP_SEMANTICS 0x02000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
729 #define FILE_FLAG_POSIX_SEMANTICS 0x01000000L
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
730 #define CREATE_NEW 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
731 #define CREATE_ALWAYS 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
732 #define OPEN_EXISTING 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
733 #define OPEN_ALWAYS 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
734 #define TRUNCATE_EXISTING 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
735
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
736 /* Standard handle identifiers
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
737 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
738 #define STD_INPUT_HANDLE ((DWORD) -10)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
739 #define STD_OUTPUT_HANDLE ((DWORD) -11)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
740 #define STD_ERROR_HANDLE ((DWORD) -12)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
741
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
742 typedef struct
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
743 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
744 int dwFileAttributes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
745 FILETIME ftCreationTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
746 FILETIME ftLastAccessTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
747 FILETIME ftLastWriteTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
748 int dwVolumeSerialNumber;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
749 int nFileSizeHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
750 int nFileSizeLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
751 int nNumberOfLinks;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
752 int nFileIndexHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
753 int nFileIndexLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
754 } BY_HANDLE_FILE_INFORMATION ;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
755
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
756
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
757 typedef struct _SYSTEM_POWER_STATUS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
758 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
759 WIN_BOOL16 ACLineStatus;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
760 BYTE BatteryFlag;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
761 BYTE BatteryLifePercent;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
762 BYTE reserved;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
763 DWORD BatteryLifeTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
764 DWORD BatteryFullLifeTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
765 } SYSTEM_POWER_STATUS, *LPSYSTEM_POWER_STATUS;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
766
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
767 typedef struct _MEMORY_BASIC_INFORMATION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
768 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
769 LPVOID BaseAddress;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
770 LPVOID AllocationBase;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
771 DWORD AllocationProtect;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
772 DWORD RegionSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
773 DWORD State;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
774 DWORD Protect;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
775 DWORD Type;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
776 } MEMORY_BASIC_INFORMATION,*LPMEMORY_BASIC_INFORMATION;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
777
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
778
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
779 typedef WIN_BOOL CALLBACK (*CODEPAGE_ENUMPROCA)(LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
780 typedef WIN_BOOL CALLBACK (*CODEPAGE_ENUMPROCW)(LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
781 DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
782 typedef WIN_BOOL CALLBACK (*LOCALE_ENUMPROCA)(LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
783 typedef WIN_BOOL CALLBACK (*LOCALE_ENUMPROCW)(LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
784 DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
785
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
786 typedef struct tagSYSTEM_INFO
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
787 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
788 union {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
789 DWORD dwOemId; /* Obsolete field - do not use */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
790 struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
791 WORD wProcessorArchitecture;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
792 WORD wReserved;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
793 } DUMMYSTRUCTNAME;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
794 } DUMMYUNIONNAME;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
795 DWORD dwPageSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
796 LPVOID lpMinimumApplicationAddress;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
797 LPVOID lpMaximumApplicationAddress;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
798 DWORD dwActiveProcessorMask;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
799 DWORD dwNumberOfProcessors;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
800 DWORD dwProcessorType;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
801 DWORD dwAllocationGranularity;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
802 WORD wProcessorLevel;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
803 WORD wProcessorRevision;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
804 } SYSTEM_INFO, *LPSYSTEM_INFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
805
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
806 /* {G,S}etPriorityClass */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
807 #define NORMAL_PRIORITY_CLASS 0x00000020
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
808 #define IDLE_PRIORITY_CLASS 0x00000040
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
809 #define HIGH_PRIORITY_CLASS 0x00000080
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
810 #define REALTIME_PRIORITY_CLASS 0x00000100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
811
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
812 typedef WIN_BOOL CALLBACK (*ENUMRESTYPEPROCA)(HMODULE,LPSTR,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
813 typedef WIN_BOOL CALLBACK (*ENUMRESTYPEPROCW)(HMODULE,LPWSTR,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
814 typedef WIN_BOOL CALLBACK (*ENUMRESNAMEPROCA)(HMODULE,LPCSTR,LPSTR,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
815 typedef WIN_BOOL CALLBACK (*ENUMRESNAMEPROCW)(HMODULE,LPCWSTR,LPWSTR,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
816 typedef WIN_BOOL CALLBACK (*ENUMRESLANGPROCA)(HMODULE,LPCSTR,LPCSTR,WORD,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
817 typedef WIN_BOOL CALLBACK (*ENUMRESLANGPROCW)(HMODULE,LPCWSTR,LPCWSTR,WORD,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
818
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
819 DECL_WINELIB_TYPE_AW(ENUMRESTYPEPROC)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
820 DECL_WINELIB_TYPE_AW(ENUMRESNAMEPROC)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
821 DECL_WINELIB_TYPE_AW(ENUMRESLANGPROC)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
822
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
823 /* flags that can be passed to LoadLibraryEx */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
824 #define DONT_RESOLVE_DLL_REFERENCES 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
825 #define LOAD_LIBRARY_AS_DATAFILE 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
826 #define LOAD_WITH_ALTERED_SEARCH_PATH 0x00000008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
827
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
828 /* ifdef _x86_ ... */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
829 typedef struct _LDT_ENTRY {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
830 WORD LimitLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
831 WORD BaseLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
832 union {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
833 struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
834 BYTE BaseMid;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
835 BYTE Flags1;/*Declare as bytes to avoid alignment problems */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
836 BYTE Flags2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
837 BYTE BaseHi;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
838 } Bytes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
839 struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
840 unsigned BaseMid : 8;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
841 unsigned Type : 5;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
842 unsigned Dpl : 2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
843 unsigned Pres : 1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
844 unsigned LimitHi : 4;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
845 unsigned Sys : 1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
846 unsigned Reserved_0 : 1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
847 unsigned Default_Big : 1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
848 unsigned Granularity : 1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
849 unsigned BaseHi : 8;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
850 } Bits;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
851 } HighWord;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
852 } LDT_ENTRY, *LPLDT_ENTRY;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
853
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
854
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
855 typedef enum _GET_FILEEX_INFO_LEVELS {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
856 GetFileExInfoStandard
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
857 } GET_FILEEX_INFO_LEVELS;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
858
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
859 typedef struct _WIN32_FILE_ATTRIBUTES_DATA {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
860 DWORD dwFileAttributes;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
861 FILETIME ftCreationTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
862 FILETIME ftLastAccessTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
863 FILETIME ftLastWriteTime;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
864 DWORD nFileSizeHigh;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
865 DWORD nFileSizeLow;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
866 } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
867
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
868 typedef struct _DllVersionInfo {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
869 DWORD cbSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
870 DWORD dwMajorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
871 DWORD dwMinorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
872 DWORD dwBuildNumber;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
873 DWORD dwPlatformID;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
874 } DLLVERSIONINFO;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
875
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
876 /*
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
877 * This one seems to be a Win32 only definition. It also is defined with
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
878 * WINAPI instead of CALLBACK in the windows headers.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
879 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
880 typedef DWORD WINAPI (*LPPROGRESS_ROUTINE)(LARGE_INTEGER, LARGE_INTEGER, LARGE_INTEGER,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
881 LARGE_INTEGER, DWORD, DWORD, HANDLE,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
882 HANDLE, LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
883
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
884
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
885 #define WAIT_FAILED 0xffffffff
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
886 #define WAIT_OBJECT_0 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
887 #define WAIT_ABANDONED STATUS_ABANDONED_WAIT_0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
888 #define WAIT_ABANDONED_0 STATUS_ABANDONED_WAIT_0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
889 #define WAIT_IO_COMPLETION STATUS_USER_APC
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
890 #define WAIT_TIMEOUT STATUS_TIMEOUT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
891 #define STILL_ACTIVE STATUS_PENDING
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
892
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
893 #define PAGE_NOACCESS 0x01
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
894 #define PAGE_READONLY 0x02
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
895 #define PAGE_READWRITE 0x04
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
896 #define PAGE_WRITECOPY 0x08
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
897 #define PAGE_EXECUTE 0x10
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
898 #define PAGE_EXECUTE_READ 0x20
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
899 #define PAGE_EXECUTE_READWRITE 0x40
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
900 #define PAGE_EXECUTE_WRITECOPY 0x80
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
901 #define PAGE_GUARD 0x100
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
902 #define PAGE_NOCACHE 0x200
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
903
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
904 #define MEM_COMMIT 0x00001000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
905 #define MEM_RESERVE 0x00002000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
906 #define MEM_DECOMMIT 0x00004000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
907 #define MEM_RELEASE 0x00008000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
908 #define MEM_FREE 0x00010000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
909 #define MEM_PRIVATE 0x00020000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
910 #define MEM_MAPPED 0x00040000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
911 #define MEM_TOP_DOWN 0x00100000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
912 #ifdef __WINE__
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
913 #define MEM_SYSTEM 0x80000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
914 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
915
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
916 #define SEC_FILE 0x00800000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
917 #define SEC_IMAGE 0x01000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
918 #define SEC_RESERVE 0x04000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
919 #define SEC_COMMIT 0x08000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
920 #define SEC_NOCACHE 0x10000000
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
921
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
922 #define FILE_BEGIN 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
923 #define FILE_CURRENT 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
924 #define FILE_END 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
925
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
926 #define FILE_CASE_SENSITIVE_SEARCH 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
927 #define FILE_CASE_PRESERVED_NAMES 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
928 #define FILE_UNICODE_ON_DISK 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
929 #define FILE_PERSISTENT_ACLS 0x00000008
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
930
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
931 #define FILE_MAP_COPY 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
932 #define FILE_MAP_WRITE 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
933 #define FILE_MAP_READ 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
934 #define FILE_MAP_ALL_ACCESS 0x000f001f
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
935
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
936 #define MOVEFILE_REPLACE_EXISTING 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
937 #define MOVEFILE_COPY_ALLOWED 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
938 #define MOVEFILE_DELAY_UNTIL_REBOOT 0x00000004
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
939
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
940 #define FS_CASE_SENSITIVE FILE_CASE_SENSITIVE_SEARCH
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
941 #define FS_CASE_IS_PRESERVED FILE_CASE_PRESERVED_NAMES
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
942 #define FS_UNICODE_STORED_ON_DISK FILE_UNICODE_ON_DISK
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
943
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
944 #define EXCEPTION_ACCESS_VIOLATION STATUS_ACCESS_VIOLATION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
945 #define EXCEPTION_DATATYPE_MISALIGNMENT STATUS_DATATYPE_MISALIGNMENT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
946 #define EXCEPTION_BREAKPOINT STATUS_BREAKPOINT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
947 #define EXCEPTION_SINGLE_STEP STATUS_SINGLE_STEP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
948 #define EXCEPTION_ARRAY_BOUNDS_EXCEEDED STATUS_ARRAY_BOUNDS_EXCEEDED
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
949 #define EXCEPTION_FLT_DENORMAL_OPERAND STATUS_FLOAT_DENORMAL_OPERAND
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
950 #define EXCEPTION_FLT_DIVIDE_BY_ZERO STATUS_FLOAT_DIVIDE_BY_ZERO
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
951 #define EXCEPTION_FLT_INEXACT_RESULT STATUS_FLOAT_INEXACT_RESULT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
952 #define EXCEPTION_FLT_INVALID_OPERATION STATUS_FLOAT_INVALID_OPERATION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
953 #define EXCEPTION_FLT_OVERFLOW STATUS_FLOAT_OVERFLOW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
954 #define EXCEPTION_FLT_STACK_CHECK STATUS_FLOAT_STACK_CHECK
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
955 #define EXCEPTION_FLT_UNDERFLOW STATUS_FLOAT_UNDERFLOW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
956 #define EXCEPTION_INT_DIVIDE_BY_ZERO STATUS_INTEGER_DIVIDE_BY_ZERO
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
957 #define EXCEPTION_INT_OVERFLOW STATUS_INTEGER_OVERFLOW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
958 #define EXCEPTION_PRIV_INSTRUCTION STATUS_PRIVILEGED_INSTRUCTION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
959 #define EXCEPTION_IN_PAGE_ERROR STATUS_IN_PAGE_ERROR
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
960 #define EXCEPTION_ILLEGAL_INSTRUCTION STATUS_ILLEGAL_INSTRUCTION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
961 #define EXCEPTION_NONCONTINUABLE_EXCEPTION STATUS_NONCONTINUABLE_EXCEPTION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
962 #define EXCEPTION_STACK_OVERFLOW STATUS_STACK_OVERFLOW
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
963 #define EXCEPTION_INVALID_DISPOSITION STATUS_INVALID_DISPOSITION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
964 #define EXCEPTION_GUARD_PAGE STATUS_GUARD_PAGE_VIOLATION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
965 #define EXCEPTION_INVALID_HANDLE STATUS_INVALID_HANDLE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
966 #define CONTROL_C_EXIT STATUS_CONTROL_C_EXIT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
967
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
968 /* Wine extension; Windows doesn't have a name for this code */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
969 #define EXCEPTION_CRITICAL_SECTION_WAIT 0xc0000194
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
970
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
971 #define DUPLICATE_CLOSE_SOURCE 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
972 #define DUPLICATE_SAME_ACCESS 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
973
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
974 #define HANDLE_FLAG_INHERIT 0x00000001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
975 #define HANDLE_FLAG_PROTECT_FROM_CLOSE 0x00000002
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
976
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
977 #define HINSTANCE_ERROR 32
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
978
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
979 #define THREAD_PRIORITY_LOWEST THREAD_BASE_PRIORITY_MIN
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
980 #define THREAD_PRIORITY_BELOW_NORMAL (THREAD_PRIORITY_LOWEST+1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
981 #define THREAD_PRIORITY_NORMAL 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
982 #define THREAD_PRIORITY_HIGHEST THREAD_BASE_PRIORITY_MAX
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
983 #define THREAD_PRIORITY_ABOVE_NORMAL (THREAD_PRIORITY_HIGHEST-1)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
984 #define THREAD_PRIORITY_ERROR_RETURN (0x7fffffff)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
985 #define THREAD_PRIORITY_TIME_CRITICAL THREAD_BASE_PRIORITY_LOWRT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
986 #define THREAD_PRIORITY_IDLE THREAD_BASE_PRIORITY_IDLE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
987
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
988 /* Could this type be considered opaque? */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
989 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
990 LPVOID DebugInfo;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
991 LONG LockCount;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
992 LONG RecursionCount;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
993 HANDLE OwningThread;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
994 HANDLE LockSemaphore;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
995 DWORD Reserved;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
996 }CRITICAL_SECTION;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
997
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
998 #ifdef __WINE__
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
999 #define CRITICAL_SECTION_INIT { 0, -1, 0, 0, 0, 0 }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1000 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1001
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1002 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1003 DWORD dwOSVersionInfoSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1004 DWORD dwMajorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1005 DWORD dwMinorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1006 DWORD dwBuildNumber;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1007 DWORD dwPlatformId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1008 CHAR szCSDVersion[128];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1009 } OSVERSIONINFO16;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1010
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1011 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1012 DWORD dwOSVersionInfoSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1013 DWORD dwMajorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1014 DWORD dwMinorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1015 DWORD dwBuildNumber;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1016 DWORD dwPlatformId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1017 CHAR szCSDVersion[128];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1018 } OSVERSIONINFOA;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1019
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1020 typedef struct {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1021 DWORD dwOSVersionInfoSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1022 DWORD dwMajorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1023 DWORD dwMinorVersion;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1024 DWORD dwBuildNumber;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1025 DWORD dwPlatformId;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1026 WCHAR szCSDVersion[128];
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1027 } OSVERSIONINFOW;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1028
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1029 DECL_WINELIB_TYPE_AW(OSVERSIONINFO)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1030
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1031 #define VER_PLATFORM_WIN32s 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1032 #define VER_PLATFORM_WIN32_WINDOWS 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1033 #define VER_PLATFORM_WIN32_NT 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1034
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1035 typedef struct tagCOMSTAT
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1036 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1037 DWORD status;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1038 DWORD cbInQue;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1039 DWORD cbOutQue;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1040 } COMSTAT,*LPCOMSTAT;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1041
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1042 typedef struct tagDCB
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1043 {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1044 DWORD DCBlength;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1045 DWORD BaudRate;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1046 unsigned fBinary :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1047 unsigned fParity :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1048 unsigned fOutxCtsFlow :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1049 unsigned fOutxDsrFlow :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1050 unsigned fDtrControl :2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1051 unsigned fDsrSensitivity :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1052 unsigned fTXContinueOnXoff :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1053 unsigned fOutX :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1054 unsigned fInX :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1055 unsigned fErrorChar :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1056 unsigned fNull :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1057 unsigned fRtsControl :2;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1058 unsigned fAbortOnError :1;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1059 unsigned fDummy2 :17;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1060 WORD wReserved;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1061 WORD XonLim;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1062 WORD XoffLim;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1063 BYTE ByteSize;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1064 BYTE Parity;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1065 BYTE StopBits;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1066 char XonChar;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1067 char XoffChar;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1068 char ErrorChar;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1069 char EofChar;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1070 char EvtChar;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1071 } DCB, *LPDCB;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1072
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1073
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1074
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1075 typedef struct tagCOMMTIMEOUTS {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1076 DWORD ReadIntervalTimeout;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1077 DWORD ReadTotalTimeoutMultiplier;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1078 DWORD ReadTotalTimeoutConstant;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1079 DWORD WriteTotalTimeoutMultiplier;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1080 DWORD WriteTotalTimeoutConstant;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1081 } COMMTIMEOUTS,*LPCOMMTIMEOUTS;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1082
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1083 #include "poppack.h"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1084
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1085 typedef void CALLBACK (*PAPCFUNC)(ULONG_PTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1086 typedef void CALLBACK (*PTIMERAPCROUTINE)(LPVOID,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1087
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1088 WIN_BOOL WINAPI ClearCommError(INT,LPDWORD,LPCOMSTAT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1089 WIN_BOOL WINAPI BuildCommDCBA(LPCSTR,LPDCB);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1090 WIN_BOOL WINAPI BuildCommDCBW(LPCWSTR,LPDCB);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1091 #define BuildCommDCB WINELIB_NAME_AW(BuildCommDCB)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1092 WIN_BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR,LPDCB,LPCOMMTIMEOUTS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1093 WIN_BOOL WINAPI BuildCommDCBAndTimeoutsW(LPCWSTR,LPDCB,LPCOMMTIMEOUTS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1094 #define BuildCommDCBAndTimeouts WINELIB_NAME_AW(BuildCommDCBAndTimeouts)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1095 WIN_BOOL WINAPI GetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1096 WIN_BOOL WINAPI SetCommTimeouts(HANDLE,LPCOMMTIMEOUTS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1097 WIN_BOOL WINAPI GetCommState(INT,LPDCB);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1098 WIN_BOOL WINAPI SetCommState(INT,LPDCB);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1099 WIN_BOOL WINAPI TransmitCommChar(INT,CHAR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1100 WIN_BOOL WINAPI SetupComm(HANDLE, DWORD, DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1101 WIN_BOOL WINAPI GetCommProperties(HANDLE, LPDCB *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1102
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1103 /*DWORD WINAPI GetVersion( void );*/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1104 WIN_BOOL16 WINAPI GetVersionEx16(OSVERSIONINFO16*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1105 WIN_BOOL WINAPI GetVersionExA(OSVERSIONINFOA*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1106 WIN_BOOL WINAPI GetVersionExW(OSVERSIONINFOW*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1107 #define GetVersionEx WINELIB_NAME_AW(GetVersionEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1108
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1109 /*int WinMain(HINSTANCE, HINSTANCE prev, char *cmd, int show);*/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1110
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1111 void WINAPI DeleteCriticalSection(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1112 void WINAPI EnterCriticalSection(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1113 WIN_BOOL WINAPI TryEnterCriticalSection(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1114 void WINAPI InitializeCriticalSection(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1115 void WINAPI LeaveCriticalSection(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1116 void WINAPI MakeCriticalSectionGlobal(CRITICAL_SECTION *lpCrit);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1117 WIN_BOOL WINAPI GetProcessWorkingSetSize(HANDLE,LPDWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1118 DWORD WINAPI QueueUserAPC(PAPCFUNC,HANDLE,ULONG_PTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1119 void WINAPI RaiseException(DWORD,DWORD,DWORD,const LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1120 WIN_BOOL WINAPI SetProcessWorkingSetSize(HANDLE,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1121 WIN_BOOL WINAPI TerminateProcess(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1122 WIN_BOOL WINAPI TerminateThread(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1123 WIN_BOOL WINAPI GetExitCodeThread(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1124
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1125 /* GetBinaryType return values.
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1126 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1127
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1128 #define SCS_32BIT_BINARY 0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1129 #define SCS_DOS_BINARY 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1130 #define SCS_WOW_BINARY 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1131 #define SCS_PIF_BINARY 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1132 #define SCS_POSIX_BINARY 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1133 #define SCS_OS216_BINARY 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1134
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1135 WIN_BOOL WINAPI GetBinaryTypeA( LPCSTR lpApplicationName, LPDWORD lpBinaryType );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1136 WIN_BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType );
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1137 #define GetBinaryType WINELIB_NAME_AW(GetBinaryType)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1138
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1139 WIN_BOOL16 WINAPI GetWinDebugInfo16(LPWINDEBUGINFO,UINT16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1140 WIN_BOOL16 WINAPI SetWinDebugInfo16(LPWINDEBUGINFO);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1141 /* Declarations for functions that exist only in Win32 */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1142
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1143
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1144 WIN_BOOL WINAPI AttachThreadInput(DWORD,DWORD,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1145 WIN_BOOL WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPWIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1146 WIN_BOOL WINAPI AdjustTokenPrivileges(HANDLE,WIN_BOOL,LPVOID,DWORD,LPVOID,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1147 WIN_BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1148 WIN_BOOL WINAPI AllocateLocallyUniqueId(PLUID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1149 WIN_BOOL WINAPI AllocConsole(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1150 WIN_BOOL WINAPI AreFileApisANSI(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1151 WIN_BOOL WINAPI BackupEventLogA(HANDLE,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1152 WIN_BOOL WINAPI BackupEventLogW(HANDLE,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1153 #define BackupEventLog WINELIB_NAME_AW(BackupEventLog)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1154 WIN_BOOL WINAPI Beep(DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1155 WIN_BOOL WINAPI CancelWaitableTimer(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1156 WIN_BOOL WINAPI ClearEventLogA(HANDLE,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1157 WIN_BOOL WINAPI ClearEventLogW(HANDLE,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1158 #define ClearEventLog WINELIB_NAME_AW(ClearEventLog)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1159 WIN_BOOL WINAPI CloseEventLog(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1160 WIN_BOOL WINAPI CloseHandle(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1161 WIN_BOOL WINAPI ContinueDebugEvent(DWORD,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1162 HANDLE WINAPI ConvertToGlobalHandle(HANDLE hSrc);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1163 WIN_BOOL WINAPI CopyFileA(LPCSTR,LPCSTR,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1164 WIN_BOOL WINAPI CopyFileW(LPCWSTR,LPCWSTR,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1165 #define CopyFile WINELIB_NAME_AW(CopyFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1166 WIN_BOOL WINAPI CopyFileExA(LPCSTR, LPCSTR, LPPROGRESS_ROUTINE, LPVOID, LPWIN_BOOL, DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1167 WIN_BOOL WINAPI CopyFileExW(LPCWSTR, LPCWSTR, LPPROGRESS_ROUTINE, LPVOID, LPWIN_BOOL, DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1168 #define CopyFileEx WINELIB_NAME_AW(CopyFileEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1169 WIN_BOOL WINAPI CopySid(DWORD,PSID,PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1170 INT WINAPI CompareFileTime(LPFILETIME,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1171 HANDLE WINAPI CreateEventA(LPSECURITY_ATTRIBUTES,WIN_BOOL,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1172 HANDLE WINAPI CreateEventW(LPSECURITY_ATTRIBUTES,WIN_BOOL,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1173 #define CreateEvent WINELIB_NAME_AW(CreateEvent)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1174 HANDLE WINAPI CreateFileA(LPCSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1175 DWORD,DWORD,HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1176 HANDLE WINAPI CreateFileW(LPCWSTR,DWORD,DWORD,LPSECURITY_ATTRIBUTES,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1177 DWORD,DWORD,HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1178 #define CreateFile WINELIB_NAME_AW(CreateFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1179 HANDLE WINAPI CreateFileMappingA(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1180 DWORD,DWORD,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1181 HANDLE WINAPI CreateFileMappingW(HANDLE,LPSECURITY_ATTRIBUTES,DWORD,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1182 DWORD,DWORD,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1183 #define CreateFileMapping WINELIB_NAME_AW(CreateFileMapping)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1184 HANDLE WINAPI CreateMutexA(LPSECURITY_ATTRIBUTES,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1185 HANDLE WINAPI CreateMutexW(LPSECURITY_ATTRIBUTES,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1186 #define CreateMutex WINELIB_NAME_AW(CreateMutex)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1187 WIN_BOOL WINAPI CreatePipe(PHANDLE,PHANDLE,LPSECURITY_ATTRIBUTES,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1188 WIN_BOOL WINAPI CreateProcessA(LPCSTR,LPSTR,LPSECURITY_ATTRIBUTES,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1189 LPSECURITY_ATTRIBUTES,WIN_BOOL,DWORD,LPVOID,LPCSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1190 LPSTARTUPINFOA,LPPROCESS_INFORMATION);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1191 WIN_BOOL WINAPI CreateProcessW(LPCWSTR,LPWSTR,LPSECURITY_ATTRIBUTES,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1192 LPSECURITY_ATTRIBUTES,WIN_BOOL,DWORD,LPVOID,LPCWSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1193 LPSTARTUPINFOW,LPPROCESS_INFORMATION);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1194 #define CreateProcess WINELIB_NAME_AW(CreateProcess)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1195 HANDLE WINAPI CreateSemaphoreA(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1196 HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1197 #define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1198 HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,DWORD,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1199 HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1200 HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1201 #define CreateWaitableTimer WINELIB_NAME_AW(CreateWaitableTimer)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1202 WIN_BOOL WINAPI DebugActiveProcess(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1203 void WINAPI DebugBreak(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1204 WIN_BOOL WINAPI DeregisterEventSource(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1205 WIN_BOOL WINAPI DisableThreadLibraryCalls(HMODULE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1206 WIN_BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1207 WIN_BOOL WINAPI DuplicateHandle(HANDLE,HANDLE,HANDLE,HANDLE*,DWORD,WIN_BOOL,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1208 WIN_BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1209 WIN_BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW lpDateFmtEnumProc, LCID Locale, DWORD dwFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1210 #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1211 WIN_BOOL WINAPI EnumResourceLanguagesA(HMODULE,LPCSTR,LPCSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1212 ENUMRESLANGPROCA,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1213 WIN_BOOL WINAPI EnumResourceLanguagesW(HMODULE,LPCWSTR,LPCWSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1214 ENUMRESLANGPROCW,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1215 #define EnumResourceLanguages WINELIB_NAME_AW(EnumResourceLanguages)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1216 WIN_BOOL WINAPI EnumResourceNamesA(HMODULE,LPCSTR,ENUMRESNAMEPROCA,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1217 LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1218 WIN_BOOL WINAPI EnumResourceNamesW(HMODULE,LPCWSTR,ENUMRESNAMEPROCW,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1219 LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1220 #define EnumResourceNames WINELIB_NAME_AW(EnumResourceNames)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1221 WIN_BOOL WINAPI EnumResourceTypesA(HMODULE,ENUMRESTYPEPROCA,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1222 WIN_BOOL WINAPI EnumResourceTypesW(HMODULE,ENUMRESTYPEPROCW,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1223 #define EnumResourceTypes WINELIB_NAME_AW(EnumResourceTypes)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1224 WIN_BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1225 WIN_BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1226 #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1227 WIN_BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1228 WIN_BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1229 #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1230 WIN_BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1231 WIN_BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW lpTimeFmtEnumProc, LCID Locale, DWORD dwFlags);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1232 #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1233 WIN_BOOL WINAPI EqualSid(PSID, PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1234 WIN_BOOL WINAPI EqualPrefixSid(PSID,PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1235 VOID WINAPI ExitProcess(DWORD) WINE_NORETURN;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1236 VOID WINAPI ExitThread(DWORD) WINE_NORETURN;
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1237 DWORD WINAPI ExpandEnvironmentStringsA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1238 DWORD WINAPI ExpandEnvironmentStringsW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1239 #define ExpandEnvironmentStrings WINELIB_NAME_AW(ExpandEnvironmentStrings)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1240 WIN_BOOL WINAPI FileTimeToDosDateTime(const FILETIME*,LPWORD,LPWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1241 WIN_BOOL WINAPI FileTimeToLocalFileTime(const FILETIME*,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1242 WIN_BOOL WINAPI FileTimeToSystemTime(const FILETIME*,LPSYSTEMTIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1243 HANDLE WINAPI FindFirstChangeNotificationA(LPCSTR,WIN_BOOL,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1244 HANDLE WINAPI FindFirstChangeNotificationW(LPCWSTR,WIN_BOOL,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1245 #define FindFirstChangeNotification WINELIB_NAME_AW(FindFirstChangeNotification)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1246 WIN_BOOL WINAPI FindNextChangeNotification(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1247 WIN_BOOL WINAPI FindCloseChangeNotification(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1248 HRSRC WINAPI FindResourceExA(HMODULE,LPCSTR,LPCSTR,WORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1249 HRSRC WINAPI FindResourceExW(HMODULE,LPCWSTR,LPCWSTR,WORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1250 #define FindResourceEx WINELIB_NAME_AW(FindResourceEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1251 WIN_BOOL WINAPI FlushConsoleInputBuffer(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1252 WIN_BOOL WINAPI FlushFileBuffers(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1253 WIN_BOOL WINAPI FlushViewOfFile(LPCVOID, DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1254 DWORD WINAPI FormatMessageA(DWORD,LPCVOID,DWORD,DWORD,LPSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1255 DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1256 DWORD WINAPI FormatMessageW(DWORD,LPCVOID,DWORD,DWORD,LPWSTR,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1257 DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1258 #define FormatMessage WINELIB_NAME_AW(FormatMessage)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1259 WIN_BOOL WINAPI FreeConsole(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1260 WIN_BOOL WINAPI FreeEnvironmentStringsA(LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1261 WIN_BOOL WINAPI FreeEnvironmentStringsW(LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1262 #define FreeEnvironmentStrings WINELIB_NAME_AW(FreeEnvironmentStrings)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1263 PVOID WINAPI FreeSid(PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1264 UINT WINAPI GetACP(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1265 LPCSTR WINAPI GetCommandLineA(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1266 LPCWSTR WINAPI GetCommandLineW(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1267 #define GetCommandLine WINELIB_NAME_AW(GetCommandLine)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1268 WIN_BOOL WINAPI GetComputerNameA(LPSTR,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1269 WIN_BOOL WINAPI GetComputerNameW(LPWSTR,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1270 #define GetComputerName WINELIB_NAME_AW(GetComputerName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1271 UINT WINAPI GetConsoleCP(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1272 WIN_BOOL WINAPI GetConsoleMode(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1273 UINT WINAPI GetConsoleOutputCP(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1274 DWORD WINAPI GetConsoleTitleA(LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1275 DWORD WINAPI GetConsoleTitleW(LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1276 #define GetConsoleTitle WINELIB_NAME_AW(GetConsoleTitle)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1277 WIN_BOOL WINAPI GetCommMask(HANDLE, LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1278 WIN_BOOL WINAPI GetCommModemStatus(HANDLE, LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1279 HANDLE WINAPI GetCurrentProcess(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1280 HANDLE WINAPI GetCurrentThread(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1281 INT WINAPI GetDateFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1282 INT WINAPI GetDateFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1283 #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1284 LPSTR WINAPI GetEnvironmentStringsA(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1285 LPWSTR WINAPI GetEnvironmentStringsW(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1286 #define GetEnvironmentStrings WINELIB_NAME_AW(GetEnvironmentStrings)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1287 DWORD WINAPI GetEnvironmentVariableA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1288 DWORD WINAPI GetEnvironmentVariableW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1289 #define GetEnvironmentVariable WINELIB_NAME_AW(GetEnvironmentVariable)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1290 WIN_BOOL WINAPI GetFileAttributesExA(LPCSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1291 WIN_BOOL WINAPI GetFileAttributesExW(LPCWSTR,GET_FILEEX_INFO_LEVELS,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1292 #define GetFileattributesEx WINELIB_NAME_AW(GetFileAttributesEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1293 DWORD WINAPI GetFileInformationByHandle(HANDLE,BY_HANDLE_FILE_INFORMATION*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1294 WIN_BOOL WINAPI GetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1295 WIN_BOOL WINAPI GetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1296 #define GetFileSecurity WINELIB_NAME_AW(GetFileSecurity)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1297 DWORD WINAPI GetFileSize(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1298 WIN_BOOL WINAPI GetFileTime(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1299 DWORD WINAPI GetFileType(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1300 DWORD WINAPI GetFullPathNameA(LPCSTR,DWORD,LPSTR,LPSTR*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1301 DWORD WINAPI GetFullPathNameW(LPCWSTR,DWORD,LPWSTR,LPWSTR*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1302 #define GetFullPathName WINELIB_NAME_AW(GetFullPathName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1303 WIN_BOOL WINAPI GetHandleInformation(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1304 COORD WINAPI GetLargestConsoleWindowSize(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1305 DWORD WINAPI GetLengthSid(PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1306 VOID WINAPI GetLocalTime(LPSYSTEMTIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1307 DWORD WINAPI GetLogicalDrives(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1308 DWORD WINAPI GetLongPathNameA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1309 DWORD WINAPI GetLongPathNameW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1310 #define GetLongPathName WINELIB_NAME_AW(GetLongPathName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1311 WIN_BOOL WINAPI GetNumberOfConsoleInputEvents(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1312 WIN_BOOL WINAPI GetNumberOfConsoleMouseButtons(LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1313 WIN_BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1314 UINT WINAPI GetOEMCP(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1315 WIN_BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1316 DWORD WINAPI GetPriorityClass(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1317 DWORD WINAPI GetProcessVersion(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1318 WIN_BOOL WINAPI GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR_CONTROL,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1319 WIN_BOOL WINAPI GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,LPWIN_BOOL,PACL *,LPWIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1320 WIN_BOOL WINAPI GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID *,LPWIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1321 DWORD WINAPI GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1322 WIN_BOOL WINAPI GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID *,LPWIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1323 WIN_BOOL WINAPI GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,LPWIN_BOOL,PACL *,LPWIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1324 PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1325 DWORD WINAPI GetSidLengthRequired(BYTE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1326 PDWORD WINAPI GetSidSubAuthority(PSID,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1327 PUCHAR WINAPI GetSidSubAuthorityCount(PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1328 DWORD WINAPI GetShortPathNameA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1329 DWORD WINAPI GetShortPathNameW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1330 #define GetShortPathName WINELIB_NAME_AW(GetShortPathName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1331 HFILE WINAPI GetStdHandle(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1332 WIN_BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1333 WIN_BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1334 #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1335 VOID WINAPI GetSystemInfo(LPSYSTEM_INFO);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1336 WIN_BOOL WINAPI GetSystemPowerStatus(LPSYSTEM_POWER_STATUS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1337 VOID WINAPI GetSystemTime(LPSYSTEMTIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1338 VOID WINAPI GetSystemTimeAsFileTime(LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1339 INT WINAPI GetTimeFormatA(LCID,DWORD,LPSYSTEMTIME,LPCSTR,LPSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1340 INT WINAPI GetTimeFormatW(LCID,DWORD,LPSYSTEMTIME,LPCWSTR,LPWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1341 #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1342 WIN_BOOL WINAPI GetThreadContext(HANDLE,CONTEXT *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1343 LCID WINAPI GetThreadLocale(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1344 INT WINAPI GetThreadPriority(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1345 WIN_BOOL WINAPI GetThreadSelectorEntry(HANDLE,DWORD,LPLDT_ENTRY);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1346 WIN_BOOL WINAPI GetThreadTimes(HANDLE,LPFILETIME,LPFILETIME,LPFILETIME,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1347 WIN_BOOL WINAPI GetTokenInformation(HANDLE,TOKEN_INFORMATION_CLASS,LPVOID,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1348 WIN_BOOL WINAPI GetUserNameA(LPSTR,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1349 WIN_BOOL WINAPI GetUserNameW(LPWSTR,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1350 #define GetUserName WINELIB_NAME_AW(GetUserName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1351 VOID WINAPI GlobalMemoryStatus(LPMEMORYSTATUS);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1352 LPVOID WINAPI HeapAlloc(HANDLE,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1353 DWORD WINAPI HeapCompact(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1354 HANDLE WINAPI HeapCreate(DWORD,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1355 WIN_BOOL WINAPI HeapDestroy(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1356 WIN_BOOL WINAPI HeapFree(HANDLE,DWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1357 WIN_BOOL WINAPI HeapLock(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1358 LPVOID WINAPI HeapReAlloc(HANDLE,DWORD,LPVOID,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1359 DWORD WINAPI HeapSize(HANDLE,DWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1360 WIN_BOOL WINAPI HeapUnlock(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1361 WIN_BOOL WINAPI HeapValidate(HANDLE,DWORD,LPCVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1362 WIN_BOOL WINAPI HeapWalk(HANDLE,LPPROCESS_HEAP_ENTRY);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1363 WIN_BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1364 WIN_BOOL WINAPI IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1365 WIN_BOOL WINAPI IsValidSid(PSID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1366 WIN_BOOL WINAPI ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1367 WIN_BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1368 WIN_BOOL WINAPI IsProcessorFeaturePresent(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1369 WIN_BOOL WINAPI IsValidLocale(DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1370 WIN_BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPSTR,LPDWORD,LPSTR,LPDWORD,PSID_NAME_USE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1371 WIN_BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPWSTR,LPDWORD,LPWSTR,LPDWORD,PSID_NAME_USE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1372 #define LookupAccountSid WINELIB_NAME_AW(LookupAccountSidW)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1373 WIN_BOOL WINAPI LocalFileTimeToFileTime(const FILETIME*,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1374 WIN_BOOL WINAPI LockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1375 WIN_BOOL WINAPI LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1376 WIN_BOOL WINAPI LookupPrivilegeValueA(LPCSTR,LPCSTR,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1377 WIN_BOOL WINAPI LookupPrivilegeValueW(LPCWSTR,LPCWSTR,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1378 #define LookupPrivilegeValue WINELIB_NAME_AW(LookupPrivilegeValue)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1379 WIN_BOOL WINAPI MakeSelfRelativeSD(PSECURITY_DESCRIPTOR,PSECURITY_DESCRIPTOR,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1380 HMODULE WINAPI MapHModuleSL(HMODULE16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1381 HMODULE16 WINAPI MapHModuleLS(HMODULE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1382 SEGPTR WINAPI MapLS(LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1383 LPVOID WINAPI MapSL(SEGPTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1384 LPVOID WINAPI MapViewOfFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1385 LPVOID WINAPI MapViewOfFileEx(HANDLE,DWORD,DWORD,DWORD,DWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1386 WIN_BOOL WINAPI MoveFileA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1387 WIN_BOOL WINAPI MoveFileW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1388 #define MoveFile WINELIB_NAME_AW(MoveFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1389 WIN_BOOL WINAPI MoveFileExA(LPCSTR,LPCSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1390 WIN_BOOL WINAPI MoveFileExW(LPCWSTR,LPCWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1391 #define MoveFileEx WINELIB_NAME_AW(MoveFileEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1392 INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1393 WIN_BOOL WINAPI NotifyChangeEventLog(HANDLE,HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1394 INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,WIN_BOOL*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1395 HANDLE WINAPI OpenBackupEventLogA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1396 HANDLE WINAPI OpenBackupEventLogW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1397 #define OpenBackupEventLog WINELIB_NAME_AW(OpenBackupEventLog)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1398 HANDLE WINAPI OpenEventA(DWORD,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1399 HANDLE WINAPI OpenEventW(DWORD,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1400 #define OpenEvent WINELIB_NAME_AW(OpenEvent)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1401 HANDLE WINAPI OpenEventLogA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1402 HANDLE WINAPI OpenEventLogW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1403 #define OpenEventLog WINELIB_NAME_AW(OpenEventLog)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1404 HANDLE WINAPI OpenFileMappingA(DWORD,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1405 HANDLE WINAPI OpenFileMappingW(DWORD,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1406 #define OpenFileMapping WINELIB_NAME_AW(OpenFileMapping)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1407 HANDLE WINAPI OpenMutexA(DWORD,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1408 HANDLE WINAPI OpenMutexW(DWORD,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1409 #define OpenMutex WINELIB_NAME_AW(OpenMutex)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1410 HANDLE WINAPI OpenProcess(DWORD,WIN_BOOL,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1411 WIN_BOOL WINAPI OpenProcessToken(HANDLE,DWORD,PHANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1412 HANDLE WINAPI OpenSemaphoreA(DWORD,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1413 HANDLE WINAPI OpenSemaphoreW(DWORD,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1414 #define OpenSemaphore WINELIB_NAME_AW(OpenSemaphore)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1415 WIN_BOOL WINAPI OpenThreadToken(HANDLE,DWORD,WIN_BOOL,PHANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1416 HANDLE WINAPI OpenWaitableTimerA(DWORD,WIN_BOOL,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1417 HANDLE WINAPI OpenWaitableTimerW(DWORD,WIN_BOOL,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1418 #define OpenWaitableTimer WINELIB_NAME_AW(OpenWaitableTimer)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1419 WIN_BOOL WINAPI PulseEvent(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1420 WIN_BOOL WINAPI PurgeComm(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1421 DWORD WINAPI QueryDosDeviceA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1422 DWORD WINAPI QueryDosDeviceW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1423 #define QueryDosDevice WINELIB_NAME_AW(QueryDosDevice)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1424 WIN_BOOL WINAPI QueryPerformanceCounter(PLARGE_INTEGER);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1425 WIN_BOOL WINAPI ReadConsoleA(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1426 WIN_BOOL WINAPI ReadConsoleW(HANDLE,LPVOID,DWORD,LPDWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1427 #define ReadConsole WINELIB_NAME_AW(ReadConsole)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1428 WIN_BOOL WINAPI ReadConsoleOutputCharacterA(HANDLE,LPSTR,DWORD,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1429 COORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1430 #define ReadConsoleOutputCharacter WINELIB_NAME_AW(ReadConsoleOutputCharacter)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1431 WIN_BOOL WINAPI ReadEventLogA(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1432 WIN_BOOL WINAPI ReadEventLogW(HANDLE,DWORD,DWORD,LPVOID,DWORD,DWORD *,DWORD *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1433 #define ReadEventLog WINELIB_NAME_AW(ReadEventLog)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1434 WIN_BOOL WINAPI ReadFile(HANDLE,LPVOID,DWORD,LPDWORD,LPOVERLAPPED);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1435 HANDLE WINAPI RegisterEventSourceA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1436 HANDLE WINAPI RegisterEventSourceW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1437 #define RegisterEventSource WINELIB_NAME_AW(RegisterEventSource)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1438 WIN_BOOL WINAPI ReleaseMutex(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1439 WIN_BOOL WINAPI ReleaseSemaphore(HANDLE,LONG,LPLONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1440 WIN_BOOL WINAPI ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1441 WIN_BOOL WINAPI ReportEventW(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCWSTR *,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1442 #define ReportEvent WINELIB_NAME_AW(ReportEvent)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1443 WIN_BOOL WINAPI ResetEvent(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1444 DWORD WINAPI ResumeThread(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1445 WIN_BOOL WINAPI RevertToSelf(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1446 DWORD WINAPI SearchPathA(LPCSTR,LPCSTR,LPCSTR,DWORD,LPSTR,LPSTR*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1447 DWORD WINAPI SearchPathW(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,LPWSTR,LPWSTR*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1448 #define SearchPath WINELIB_NAME_AW(SearchPath)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1449 WIN_BOOL WINAPI SetCommMask(INT,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1450 WIN_BOOL WINAPI SetComputerNameA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1451 WIN_BOOL WINAPI SetComputerNameW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1452 #define SetComputerName WINELIB_NAME_AW(SetComputerName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1453 WIN_BOOL WINAPI SetConsoleCursorPosition(HANDLE,COORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1454 WIN_BOOL WINAPI SetConsoleMode(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1455 WIN_BOOL WINAPI SetConsoleTitleA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1456 WIN_BOOL WINAPI SetConsoleTitleW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1457 #define SetConsoleTitle WINELIB_NAME_AW(SetConsoleTitle)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1458 WIN_BOOL WINAPI SetEndOfFile(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1459 WIN_BOOL WINAPI SetEnvironmentVariableA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1460 WIN_BOOL WINAPI SetEnvironmentVariableW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1461 #define SetEnvironmentVariable WINELIB_NAME_AW(SetEnvironmentVariable)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1462 WIN_BOOL WINAPI SetEvent(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1463 VOID WINAPI SetFileApisToANSI(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1464 VOID WINAPI SetFileApisToOEM(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1465 DWORD WINAPI SetFilePointer(HANDLE,LONG,LPLONG,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1466 WIN_BOOL WINAPI SetFileSecurityA(LPCSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1467 WIN_BOOL WINAPI SetFileSecurityW(LPCWSTR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1468 #define SetFileSecurity WINELIB_NAME_AW(SetFileSecurity)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1469 WIN_BOOL WINAPI SetFileTime(HANDLE,const FILETIME*,const FILETIME*,const FILETIME*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1470 WIN_BOOL WINAPI SetHandleInformation(HANDLE,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1471 WIN_BOOL WINAPI SetPriorityClass(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1472 WIN_BOOL WINAPI SetLocalTime(const SYSTEMTIME*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1473 WIN_BOOL WINAPI SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR,WIN_BOOL,PACL,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1474 WIN_BOOL WINAPI SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR,PSID,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1475 WIN_BOOL WINAPI SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR,PSID,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1476 WIN_BOOL WINAPI SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR,WIN_BOOL,PACL,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1477 WIN_BOOL WINAPI SetStdHandle(DWORD,HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1478 WIN_BOOL WINAPI SetSystemPowerState(WIN_BOOL,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1479 WIN_BOOL WINAPI SetSystemTime(const SYSTEMTIME*);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1480 DWORD WINAPI SetThreadAffinityMask(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1481 WIN_BOOL WINAPI SetThreadContext(HANDLE,const CONTEXT *);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1482 WIN_BOOL WINAPI SetThreadLocale(LCID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1483 WIN_BOOL WINAPI SetThreadPriority(HANDLE,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1484 WIN_BOOL WINAPI SetTimeZoneInformation(const LPTIME_ZONE_INFORMATION);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1485 WIN_BOOL WINAPI SetWaitableTimer(HANDLE,const LARGE_INTEGER*,LONG,PTIMERAPCROUTINE,LPVOID,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1486 VOID WINAPI Sleep(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1487 DWORD WINAPI SleepEx(DWORD,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1488 DWORD WINAPI SuspendThread(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1489 WIN_BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1490 DWORD WINAPI TlsAlloc(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1491 WIN_BOOL WINAPI TlsFree(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1492 LPVOID WINAPI TlsGetValue(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1493 WIN_BOOL WINAPI TlsSetValue(DWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1494 VOID WINAPI UnMapLS(SEGPTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1495 WIN_BOOL WINAPI UnlockFile(HANDLE,DWORD,DWORD,DWORD,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1496 WIN_BOOL WINAPI UnmapViewOfFile(LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1497 LPVOID WINAPI VirtualAlloc(LPVOID,DWORD,DWORD,DWORD);
3133
07f2cd9ef85e decl. of VirtualFree changed (avifile sync)
arpi
parents: 1
diff changeset
1498 WIN_BOOL WINAPI VirtualFree(LPVOID,SIZE_T,DWORD);
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1499 WIN_BOOL WINAPI VirtualLock(LPVOID,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1500 WIN_BOOL WINAPI VirtualProtect(LPVOID,DWORD,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1501 WIN_BOOL WINAPI VirtualProtectEx(HANDLE,LPVOID,DWORD,DWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1502 DWORD WINAPI VirtualQuery(LPCVOID,LPMEMORY_BASIC_INFORMATION,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1503 DWORD WINAPI VirtualQueryEx(HANDLE,LPCVOID,LPMEMORY_BASIC_INFORMATION,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1504 WIN_BOOL WINAPI VirtualUnlock(LPVOID,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1505 WIN_BOOL WINAPI WaitCommEvent(HANDLE,LPDWORD,LPOVERLAPPED);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1506 WIN_BOOL WINAPI WaitForDebugEvent(LPDEBUG_EVENT,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1507 DWORD WINAPI WaitForMultipleObjects(DWORD,const HANDLE*,WIN_BOOL,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1508 DWORD WINAPI WaitForMultipleObjectsEx(DWORD,const HANDLE*,WIN_BOOL,DWORD,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1509 DWORD WINAPI WaitForSingleObject(HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1510 DWORD WINAPI WaitForSingleObjectEx(HANDLE,DWORD,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1511 WIN_BOOL WINAPI WriteConsoleA(HANDLE,LPCVOID,DWORD,LPDWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1512 WIN_BOOL WINAPI WriteConsoleW(HANDLE,LPCVOID,DWORD,LPDWORD,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1513 #define WriteConsole WINELIB_NAME_AW(WriteConsole)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1514 WIN_BOOL WINAPI WriteFile(HANDLE,LPCVOID,DWORD,LPDWORD,LPOVERLAPPED);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1515 LANGID WINAPI GetSystemDefaultLangID(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1516 LCID WINAPI GetSystemDefaultLCID(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1517 LANGID WINAPI GetUserDefaultLangID(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1518 LCID WINAPI GetUserDefaultLCID(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1519 ATOM WINAPI AddAtomA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1520 ATOM WINAPI AddAtomW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1521 #define AddAtom WINELIB_NAME_AW(AddAtom)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1522 UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1523 UINT WINAPI CompareStringW(DWORD,DWORD,LPCWSTR,DWORD,LPCWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1524 #define CompareString WINELIB_NAME_AW(CompareString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1525 WIN_BOOL WINAPI CreateDirectoryA(LPCSTR,LPSECURITY_ATTRIBUTES);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1526 WIN_BOOL WINAPI CreateDirectoryW(LPCWSTR,LPSECURITY_ATTRIBUTES);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1527 #define CreateDirectory WINELIB_NAME_AW(CreateDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1528 WIN_BOOL WINAPI CreateDirectoryExA(LPCSTR,LPCSTR,LPSECURITY_ATTRIBUTES);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1529 WIN_BOOL WINAPI CreateDirectoryExW(LPCWSTR,LPCWSTR,LPSECURITY_ATTRIBUTES);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1530 #define CreateDirectoryEx WINELIB_NAME_AW(CreateDirectoryEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1531 WIN_BOOL WINAPI DefineDosDeviceA(DWORD,LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1532 #define DefineHandleTable(w) ((w),TRUE)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1533 ATOM WINAPI DeleteAtom(ATOM);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1534 WIN_BOOL WINAPI DeleteFileA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1535 WIN_BOOL WINAPI DeleteFileW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1536 #define DeleteFile WINELIB_NAME_AW(DeleteFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1537 void WINAPI FatalAppExitA(UINT,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1538 void WINAPI FatalAppExitW(UINT,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1539 #define FatalAppExit WINELIB_NAME_AW(FatalAppExit)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1540 ATOM WINAPI FindAtomA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1541 ATOM WINAPI FindAtomW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1542 #define FindAtom WINELIB_NAME_AW(FindAtom)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1543 WIN_BOOL WINAPI FindClose(HANDLE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1544 HANDLE16 WINAPI FindFirstFile16(LPCSTR,LPWIN32_FIND_DATAA);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1545 HANDLE WINAPI FindFirstFileA(LPCSTR,LPWIN32_FIND_DATAA);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1546 HANDLE WINAPI FindFirstFileW(LPCWSTR,LPWIN32_FIND_DATAW);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1547 #define FindFirstFile WINELIB_NAME_AW(FindFirstFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1548 WIN_BOOL16 WINAPI FindNextFile16(HANDLE16,LPWIN32_FIND_DATAA);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1549 WIN_BOOL WINAPI FindNextFileA(HANDLE,LPWIN32_FIND_DATAA);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1550 WIN_BOOL WINAPI FindNextFileW(HANDLE,LPWIN32_FIND_DATAW);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1551 #define FindNextFile WINELIB_NAME_AW(FindNextFile)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1552 HRSRC WINAPI FindResourceA(HMODULE,LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1553 HRSRC WINAPI FindResourceW(HMODULE,LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1554 #define FindResource WINELIB_NAME_AW(FindResource)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1555 VOID WINAPI FreeLibrary16(HINSTANCE16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1556 WIN_BOOL WINAPI FreeLibrary(HMODULE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1557 #define FreeModule(handle) FreeLibrary(handle)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1558 #define FreeProcInstance(proc) /*nothing*/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1559 WIN_BOOL WINAPI FreeResource(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1560 UINT WINAPI GetAtomNameA(ATOM,LPSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1561 UINT WINAPI GetAtomNameW(ATOM,LPWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1562 #define GetAtomName WINELIB_NAME_AW(GetAtomName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1563 UINT WINAPI GetCurrentDirectoryA(UINT,LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1564 UINT WINAPI GetCurrentDirectoryW(UINT,LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1565 #define GetCurrentDirectory WINELIB_NAME_AW(GetCurrentDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1566 WIN_BOOL WINAPI GetDiskFreeSpaceA(LPCSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1567 WIN_BOOL WINAPI GetDiskFreeSpaceW(LPCWSTR,LPDWORD,LPDWORD,LPDWORD,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1568 #define GetDiskFreeSpace WINELIB_NAME_AW(GetDiskFreeSpace)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1569 WIN_BOOL WINAPI GetDiskFreeSpaceExA(LPCSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1570 WIN_BOOL WINAPI GetDiskFreeSpaceExW(LPCWSTR,PULARGE_INTEGER,PULARGE_INTEGER,PULARGE_INTEGER);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1571 #define GetDiskFreeSpaceEx WINELIB_NAME_AW(GetDiskFreeSpaceEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1572 UINT WINAPI GetDriveTypeA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1573 UINT WINAPI GetDriveTypeW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1574 #define GetDriveType WINELIB_NAME_AW(GetDriveType)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1575 DWORD WINAPI GetFileAttributesA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1576 DWORD WINAPI GetFileAttributesW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1577 #define GetFileAttributes WINELIB_NAME_AW(GetFileAttributes)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1578 #define GetFreeSpace(w) (0x100000L)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1579 UINT WINAPI GetLogicalDriveStringsA(UINT,LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1580 UINT WINAPI GetLogicalDriveStringsW(UINT,LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1581 #define GetLogicalDriveStrings WINELIB_NAME_AW(GetLogicalDriveStrings)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1582 INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1583 INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1584 #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1585 DWORD WINAPI GetModuleFileNameA(HMODULE,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1586 DWORD WINAPI GetModuleFileNameW(HMODULE,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1587 #define GetModuleFileName WINELIB_NAME_AW(GetModuleFileName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1588 HMODULE WINAPI GetModuleHandleA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1589 HMODULE WINAPI GetModuleHandleW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1590 #define GetModuleHandle WINELIB_NAME_AW(GetModuleHandle)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1591 WIN_BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,LPDWORD,WIN_BOOL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1592 UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1593 UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1594 #define GetPrivateProfileInt WINELIB_NAME_AW(GetPrivateProfileInt)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1595 INT WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1596 INT WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1597 #define GetPrivateProfileSection WINELIB_NAME_AW(GetPrivateProfileSection)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1598 DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1599 DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1600 #define GetPrivateProfileSectionNames WINELIB_NAME_AW(GetPrivateProfileSectionNames)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1601 INT WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1602 INT WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1603 #define GetPrivateProfileString WINELIB_NAME_AW(GetPrivateProfileString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1604 WIN_BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1605 WIN_BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1606 #define GetPrivateProfileStruct WINELIB_NAME_AW(GetPrivateProfileStruct)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1607 FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1608 UINT WINAPI GetProfileIntA(LPCSTR,LPCSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1609 UINT WINAPI GetProfileIntW(LPCWSTR,LPCWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1610 #define GetProfileInt WINELIB_NAME_AW(GetProfileInt)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1611 INT WINAPI GetProfileSectionA(LPCSTR,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1612 INT WINAPI GetProfileSectionW(LPCWSTR,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1613 #define GetProfileSection WINELIB_NAME_AW(GetProfileSection)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1614 INT WINAPI GetProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1615 INT WINAPI GetProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1616 #define GetProfileString WINELIB_NAME_AW(GetProfileString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1617 VOID WINAPI GetStartupInfoA(LPSTARTUPINFOA);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1618 VOID WINAPI GetStartupInfoW(LPSTARTUPINFOW);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1619 #define GetStartupInfo WINELIB_NAME_AW(GetStartupInfo)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1620 WIN_BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1621 WIN_BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1622 #define GetStringType WINELIB_NAME_AW(GetStringType)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1623 UINT WINAPI GetSystemDirectoryA(LPSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1624 UINT WINAPI GetSystemDirectoryW(LPWSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1625 #define GetSystemDirectory WINELIB_NAME_AW(GetSystemDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1626 UINT WINAPI GetTempFileNameA(LPCSTR,LPCSTR,UINT,LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1627 UINT WINAPI GetTempFileNameW(LPCWSTR,LPCWSTR,UINT,LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1628 #define GetTempFileName WINELIB_NAME_AW(GetTempFileName)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1629 UINT WINAPI GetTempPathA(UINT,LPSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1630 UINT WINAPI GetTempPathW(UINT,LPWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1631 #define GetTempPath WINELIB_NAME_AW(GetTempPath)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1632 LONG WINAPI GetVersion(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1633 WIN_BOOL WINAPI GetExitCodeProcess(HANDLE,LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1634 WIN_BOOL WINAPI GetVolumeInformationA(LPCSTR,LPSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1635 WIN_BOOL WINAPI GetVolumeInformationW(LPCWSTR,LPWSTR,DWORD,LPDWORD,LPDWORD,LPDWORD,LPWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1636 #define GetVolumeInformation WINELIB_NAME_AW(GetVolumeInformation)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1637 UINT WINAPI GetWindowsDirectoryA(LPSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1638 UINT WINAPI GetWindowsDirectoryW(LPWSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1639 #define GetWindowsDirectory WINELIB_NAME_AW(GetWindowsDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1640 HGLOBAL16 WINAPI GlobalAlloc16(UINT16,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1641 HGLOBAL WINAPI GlobalAlloc(UINT,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1642 DWORD WINAPI GlobalCompact(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1643 UINT WINAPI GlobalFlags(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1644 HGLOBAL16 WINAPI GlobalFree16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1645 HGLOBAL WINAPI GlobalFree(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1646 HGLOBAL WINAPI GlobalHandle(LPCVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1647 WORD WINAPI GlobalFix16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1648 VOID WINAPI GlobalFix(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1649 LPVOID WINAPI GlobalLock16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1650 LPVOID WINAPI GlobalLock(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1651 HGLOBAL WINAPI GlobalReAlloc(HGLOBAL,DWORD,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1652 DWORD WINAPI GlobalSize16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1653 DWORD WINAPI GlobalSize(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1654 VOID WINAPI GlobalUnfix16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1655 VOID WINAPI GlobalUnfix(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1656 WIN_BOOL16 WINAPI GlobalUnlock16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1657 WIN_BOOL WINAPI GlobalUnlock(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1658 WIN_BOOL16 WINAPI GlobalUnWire16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1659 WIN_BOOL WINAPI GlobalUnWire(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1660 SEGPTR WINAPI GlobalWire16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1661 LPVOID WINAPI GlobalWire(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1662 WIN_BOOL WINAPI InitAtomTable(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1663 WIN_BOOL WINAPI IsBadCodePtr(FARPROC);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1664 WIN_BOOL WINAPI IsBadHugeReadPtr(LPCVOID,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1665 WIN_BOOL WINAPI IsBadHugeWritePtr(LPVOID,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1666 WIN_BOOL WINAPI IsBadReadPtr(LPCVOID,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1667 WIN_BOOL WINAPI IsBadStringPtrA(LPCSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1668 WIN_BOOL WINAPI IsBadStringPtrW(LPCWSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1669 #define IsBadStringPtr WINELIB_NAME_AW(IsBadStringPtr)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1670 WIN_BOOL WINAPI IsBadWritePtr(LPVOID,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1671 WIN_BOOL WINAPI IsDBCSLeadByte(BYTE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1672 WIN_BOOL WINAPI IsDebuggerPresent(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1673 HINSTANCE16 WINAPI LoadLibrary16(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1674 HMODULE WINAPI LoadLibraryA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1675 HMODULE WINAPI LoadLibraryW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1676 #define LoadLibrary WINELIB_NAME_AW(LoadLibrary)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1677 HMODULE WINAPI LoadLibraryExA(LPCSTR,HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1678 HMODULE WINAPI LoadLibraryExW(LPCWSTR,HANDLE,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1679 #define LoadLibraryEx WINELIB_NAME_AW(LoadLibraryEx)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1680 HINSTANCE16 WINAPI LoadModule16(LPCSTR,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1681 HINSTANCE WINAPI LoadModule(LPCSTR,LPVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1682 HGLOBAL WINAPI LoadResource(HMODULE,HRSRC);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1683 HLOCAL WINAPI LocalAlloc(UINT,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1684 UINT WINAPI LocalCompact(UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1685 UINT WINAPI LocalFlags(HLOCAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1686 HLOCAL WINAPI LocalFree(HLOCAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1687 HLOCAL WINAPI LocalHandle(LPCVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1688 LPVOID WINAPI LocalLock(HLOCAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1689 HLOCAL WINAPI LocalReAlloc(HLOCAL,DWORD,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1690 UINT WINAPI LocalShrink(HGLOBAL,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1691 UINT WINAPI LocalSize(HLOCAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1692 WIN_BOOL WINAPI LocalUnlock(HLOCAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1693 LPVOID WINAPI LockResource(HGLOBAL);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1694 #define LockSegment(handle) GlobalFix((HANDLE)(handle))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1695 #define MakeProcInstance(proc,inst) (proc)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1696 HFILE16 WINAPI OpenFile16(LPCSTR,OFSTRUCT*,UINT16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1697 HFILE WINAPI OpenFile(LPCSTR,OFSTRUCT*,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1698 VOID WINAPI OutputDebugStringA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1699 VOID WINAPI OutputDebugStringW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1700 #define OutputDebugString WINELIB_NAME_AW(OutputDebugString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1701 WIN_BOOL WINAPI ReadProcessMemory(HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1702 WIN_BOOL WINAPI RemoveDirectoryA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1703 WIN_BOOL WINAPI RemoveDirectoryW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1704 #define RemoveDirectory WINELIB_NAME_AW(RemoveDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1705 WIN_BOOL WINAPI SetCurrentDirectoryA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1706 WIN_BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1707 #define SetCurrentDirectory WINELIB_NAME_AW(SetCurrentDirectory)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1708 UINT WINAPI SetErrorMode(UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1709 WIN_BOOL WINAPI SetFileAttributesA(LPCSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1710 WIN_BOOL WINAPI SetFileAttributesW(LPCWSTR,DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1711 #define SetFileAttributes WINELIB_NAME_AW(SetFileAttributes)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1712 UINT WINAPI SetHandleCount(UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1713 #define SetSwapAreaSize(w) (w)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1714 WIN_BOOL WINAPI SetVolumeLabelA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1715 WIN_BOOL WINAPI SetVolumeLabelW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1716 #define SetVolumeLabel WINELIB_NAME_AW(SetVolumeLabel)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1717 DWORD WINAPI SizeofResource(HMODULE,HRSRC);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1718 #define UnlockSegment(handle) GlobalUnfix((HANDLE)(handle))
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1719 WIN_BOOL WINAPI WritePrivateProfileSectionA(LPCSTR,LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1720 WIN_BOOL WINAPI WritePrivateProfileSectionW(LPCWSTR,LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1721 #define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1722 WIN_BOOL WINAPI WritePrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1723 WIN_BOOL WINAPI WritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1724 #define WritePrivateProfileString WINELIB_NAME_AW(WritePrivateProfileString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1725 WIN_BOOL WINAPI WriteProfileSectionA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1726 WIN_BOOL WINAPI WriteProfileSectionW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1727 #define WritePrivateProfileSection WINELIB_NAME_AW(WritePrivateProfileSection)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1728 WIN_BOOL WINAPI WritePrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1729 WIN_BOOL WINAPI WritePrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1730 #define WritePrivateProfileStruct WINELIB_NAME_AW(WritePrivateProfileStruct)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1731 WIN_BOOL WINAPI WriteProcessMemory(HANDLE, LPVOID, LPVOID, DWORD, LPDWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1732 WIN_BOOL WINAPI WriteProfileStringA(LPCSTR,LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1733 WIN_BOOL WINAPI WriteProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1734 #define WriteProfileString WINELIB_NAME_AW(WriteProfileString)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1735 #define Yield32()
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1736 LPSTR WINAPI lstrcatA(LPSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1737 LPWSTR WINAPI lstrcatW(LPWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1738 #define lstrcat WINELIB_NAME_AW(lstrcat)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1739 LPSTR WINAPI lstrcpyA(LPSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1740 LPWSTR WINAPI lstrcpyW(LPWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1741 #define lstrcpy WINELIB_NAME_AW(lstrcpy)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1742 LPSTR WINAPI lstrcpynA(LPSTR,LPCSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1743 LPWSTR WINAPI lstrcpynW(LPWSTR,LPCWSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1744 #define lstrcpyn WINELIB_NAME_AW(lstrcpyn)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1745 INT WINAPI lstrlenA(LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1746 INT WINAPI lstrlenW(LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1747 #define lstrlen WINELIB_NAME_AW(lstrlen)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1748 HINSTANCE WINAPI WinExec(LPCSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1749 LONG WINAPI _hread(HFILE,LPVOID,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1750 LONG WINAPI _hwrite(HFILE,LPCSTR,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1751 HFILE WINAPI _lcreat(LPCSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1752 HFILE WINAPI _lclose(HFILE);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1753 LONG WINAPI _llseek(HFILE,LONG,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1754 HFILE WINAPI _lopen(LPCSTR,INT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1755 UINT WINAPI _lread(HFILE,LPVOID,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1756 UINT WINAPI _lwrite(HFILE,LPCSTR,UINT);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1757 SEGPTR WINAPI WIN16_GlobalLock16(HGLOBAL16);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1758 INT WINAPI lstrcmpA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1759 INT WINAPI lstrcmpW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1760 #define lstrcmp WINELIB_NAME_AW(lstrcmp)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1761 INT WINAPI lstrcmpiA(LPCSTR,LPCSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1762 INT WINAPI lstrcmpiW(LPCWSTR,LPCWSTR);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1763 #define lstrcmpi WINELIB_NAME_AW(lstrcmpi)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1764
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1765 /* compatibility macros */
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1766 #define FillMemory RtlFillMemory
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1767 #define MoveMemory RtlMoveMemory
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1768 #define ZeroMemory RtlZeroMemory
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1769 #define CopyMemory RtlCopyMemory
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1770
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1771 DWORD WINAPI GetCurrentProcessId(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1772 DWORD WINAPI GetCurrentThreadId(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1773 DWORD WINAPI GetLastError(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1774 HANDLE WINAPI GetProcessHeap(void);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1775 PVOID WINAPI InterlockedCompareExchange(PVOID*,PVOID,PVOID);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1776 LONG WINAPI InterlockedDecrement(PLONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1777 LONG WINAPI InterlockedExchange(PLONG,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1778 LONG WINAPI InterlockedExchangeAdd(PLONG,LONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1779 LONG WINAPI InterlockedIncrement(PLONG);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1780 VOID WINAPI SetLastError(DWORD);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1781
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1782 #ifdef __WINE__
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1783 #define GetCurrentProcess() ((HANDLE)0xffffffff)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1784 #define GetCurrentThread() ((HANDLE)0xfffffffe)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1785 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1786
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1787 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1788 }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1789 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1790
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1791 #endif /* __WINE_WINBASE_H */