annotate loader/wine/winbase.h @ 24837:fdd2cf92f854

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