annotate loader/wine/winbase.h @ 31992:4229b325910e

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