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