1 module tango.sys.win32.UserGdi;
2 
3 /*
4 Module: Windows Functions
5 Author: Trevor Parscal
6 */
7 
8 /+ Imports +/
9 public
10 {
11 import tango.sys.win32.Types;
12 }
13 
14 /+ Functions +/
15 extern(Windows)
16 {
17 BOOL GetWindowInfo(HWND, PWINDOWINFO);
18 BOOL EnumDisplayMonitors(HDC, RECT*, MONITORENUMPROC, LPARAM);
19 BOOL GetMonitorInfoA(HMONITOR, LPMONITORINFO);
20 WINBOOL GetBinaryTypeA(LPCSTR, LPDWORD);
21 DWORD GetShortPathNameA(LPCSTR, LPSTR, DWORD);
22 LPSTR GetEnvironmentStringsA();
23 WINBOOL FreeEnvironmentStringsA(LPSTR);
24 DWORD FormatMessageA(DWORD, LPCVOID, DWORD, DWORD, LPSTR, DWORD, VA_LIST*);
25 HANDLE CreateMailslotA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
26 int lstrcmpA(LPCSTR, LPCSTR);
27 int lstrcmpiA(LPCSTR, LPCSTR);
28 LPSTR lstrcpynA(LPSTR, LPCSTR, int);
29 LPSTR lstrcpyA(LPSTR, LPCSTR);
30 LPSTR lstrcatA(LPSTR, LPCSTR);
31 int lstrlenA(LPCSTR);
32 HANDLE CreateMutexA(LPSECURITY_ATTRIBUTES, WINBOOL, LPCSTR);
33 HANDLE OpenMutexA(DWORD, WINBOOL, LPCSTR);
34 HANDLE CreateEventA(LPSECURITY_ATTRIBUTES, WINBOOL, WINBOOL, LPCSTR);
35 HANDLE OpenEventA(DWORD, WINBOOL, LPCSTR);
36 HANDLE CreateSemaphoreA(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCSTR);
37 HANDLE OpenSemaphoreA(DWORD, WINBOOL, LPCSTR);
38 HANDLE CreateFileMappingA(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCSTR);
39 HANDLE OpenFileMappingA(DWORD, WINBOOL, LPCSTR);
40 DWORD GetLogicalDriveStringsA(DWORD, LPSTR);
41 HINST LoadLibraryA(LPCSTR);
42 HINST LoadLibraryExA(LPCSTR, HANDLE, DWORD);
43 DWORD GetModuleFileNameA(HINST, LPSTR, DWORD);
44 HMODULE GetModuleHandleA(LPCSTR);
45 void FatalAppExitA(UINT, LPCTSTR);
46 LPSTR GetCommandLineA();
47 LPWSTR *CommandLineToArgvW(LPCWSTR, int*); 
48 DWORD GetEnvironmentVariableA(LPCSTR, LPSTR, DWORD);
49 WINBOOL SetEnvironmentVariableA(LPCSTR, LPCSTR);
50 DWORD ExpandEnvironmentStringsA(LPCSTR, LPSTR, DWORD);
51 void OutputDebugStringA(LPCSTR);
52 HRSRC FindResourceA(HINST, LPCSTR, LPCSTR);
53 HRSRC FindResourceExA(HINST, LPCSTR, LPCSTR, ushort);
54 WINBOOL EnumResourceTypesA(HINST, ENUMRESTYPEPROC, LONG);
55 WINBOOL EnumResourceNamesA(HINST, LPCSTR, ENUMRESNAMEPROC, LONG);
56 WINBOOL EnumResourceLanguagesA(HINST, LPCSTR, LPCSTR, ENUMRESLANGPROC, LONG);
57 HANDLE BeginUpdateResourceA(LPCSTR, WINBOOL);
58 WINBOOL UpdateResourceA(HANDLE, LPCSTR, LPCSTR, ushort, LPVOID, DWORD);
59 WINBOOL EndUpdateResourceA(HANDLE, WINBOOL);
60 ATOM GlobalAddAtomA(LPCSTR);
61 ATOM GlobalFindAtomA(LPCSTR);
62 UINT GlobalGetAtomNameA(ATOM, LPSTR, int);
63 ATOM AddAtomA(LPCSTR);
64 ATOM FindAtomA(LPCSTR);
65 UINT GetAtomNameA(ATOM, LPSTR, int);
66 UINT GetProfileIntA(LPCSTR, LPCSTR, INT);
67 DWORD GetProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD);
68 WINBOOL WriteProfileStringA(LPCSTR, LPCSTR, LPCSTR);
69 DWORD GetProfileSectionA(LPCSTR, LPSTR, DWORD);
70 WINBOOL WriteProfileSectionA(LPCSTR, LPCSTR);
71 UINT GetPrivateProfileIntA(LPCSTR, LPCSTR, INT, LPCSTR);
72 DWORD GetPrivateProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPSTR, DWORD, LPCSTR);
73 WINBOOL WritePrivateProfileStringA(LPCSTR, LPCSTR, LPCSTR, LPCSTR);
74 DWORD GetPrivateProfileSectionA(LPCSTR, LPSTR, DWORD, LPCSTR);
75 WINBOOL WritePrivateProfileSectionA(LPCSTR, LPCSTR, LPCSTR);
76 UINT GetDriveTypeA(LPCSTR);
77 UINT GetSystemDirectoryA(LPSTR, UINT);
78 DWORD GetTempPathA(DWORD, LPSTR);
79 UINT GetTempFileNameA(LPCSTR, LPCSTR, UINT, LPSTR);
80 UINT GetWindowsDirectoryA(LPSTR, UINT);
81 WINBOOL SetCurrentDirectoryA(LPCSTR);
82 DWORD GetCurrentDirectoryA(DWORD, LPSTR);
83 WINBOOL GetDiskFreeSpaceA(LPCSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
84 WINBOOL CreateDirectoryA(LPCSTR, LPSECURITY_ATTRIBUTES);
85 WINBOOL CreateDirectoryExA(LPCSTR, LPCSTR, LPSECURITY_ATTRIBUTES);
86 WINBOOL RemoveDirectoryA(LPCSTR);
87 DWORD GetFullPathNameA(LPCSTR, DWORD, LPSTR, LPSTR*);
88 WINBOOL DefineDosDeviceA(DWORD, LPCSTR, LPCSTR);
89 DWORD QueryDosDeviceA(LPCSTR, LPSTR, DWORD);
90 HANDLE CreateFileA(LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
91 WINBOOL SetFileAttributesA(LPCSTR, DWORD);
92 DWORD GetFileAttributesA(LPCSTR);
93 BOOL GetFileAttributesExA(LPCSTR, DWORD, WIN32_FILE_ATTRIBUTE_DATA*);
94 DWORD GetCompressedFileSizeA(LPCSTR, LPDWORD);
95 WINBOOL DeleteFileA(LPCSTR);
96 DWORD SearchPathA(LPCSTR, LPCSTR, LPCSTR, DWORD, LPSTR, LPSTR);
97 WINBOOL CopyFileA(LPCSTR, LPCSTR, WINBOOL);
98 WINBOOL MoveFileA(LPCSTR, LPCSTR);
99 WINBOOL MoveFileExA(LPCSTR, LPCSTR, DWORD);
100 HANDLE CreateNamedPipeA(LPCSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
101 WINBOOL GetNamedPipeHandleStateA(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPSTR, DWORD);
102 WINBOOL CallNamedPipeA(LPCSTR, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, DWORD);
103 WINBOOL WaitNamedPipeA(LPCSTR, DWORD);
104 WINBOOL SetVolumeLabelA(LPCSTR, LPCSTR);
105 WINBOOL GetVolumePathNameA(LPCSTR, LPSTR, DWORD);
106 WINBOOL GetVolumeInformationA(LPCSTR, LPSTR, DWORD, LPDWORD, LPDWORD, LPDWORD, LPSTR, DWORD);
107 WINBOOL ClearEventLogA(HANDLE, LPCSTR);
108 WINBOOL BackupEventLogA(HANDLE, LPCSTR);
109 HANDLE OpenEventLogA(LPCSTR, LPCSTR);
110 HANDLE RegisterEventSourceA(LPCSTR, LPCSTR);
111 HANDLE OpenBackupEventLogA(LPCSTR, LPCSTR);
112 WINBOOL ReadEventLogA(HANDLE, DWORD, DWORD, LPVOID, DWORD, LPDWORD, LPDWORD);
113 WINBOOL ReportEventA(HANDLE, ushort, ushort, DWORD, PSID, ushort, DWORD, LPCSTR*, LPVOID);
114 WINBOOL AccessCheckAndAuditAlarmA(LPCSTR, LPVOID, LPSTR, LPSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, WINBOOL, LPDWORD, LPBOOL, LPBOOL);
115 WINBOOL ObjectOpenAuditAlarmA(LPCSTR, LPVOID, LPSTR, LPSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, WINBOOL, WINBOOL, LPBOOL);
116 WINBOOL ObjectPrivilegeAuditAlarmA(LPCSTR, LPVOID, HANDLE, DWORD, PPRIVILEGE_SET, WINBOOL);
117 WINBOOL ObjectCloseAuditAlarmA(LPCSTR, LPVOID, WINBOOL);
118 WINBOOL PrivilegedServiceAuditAlarmA(LPCSTR, LPCSTR, HANDLE, PPRIVILEGE_SET, WINBOOL);
119 WINBOOL SetFileSecurityA(LPCSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
120 WINBOOL GetFileSecurityA(LPCSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);
121 HANDLE FindFirstChangeNotificationA(LPCSTR, WINBOOL, DWORD);
122 WINBOOL IsBadStringPtrA(LPCSTR, UINT);
123 WINBOOL LookupAccountSidA(LPCSTR, PSID, LPSTR, LPDWORD, LPSTR, LPDWORD, PSID_NAME_USE);
124 WINBOOL LookupAccountNameA(LPCSTR, LPCSTR, PSID, LPDWORD, LPSTR, LPDWORD, PSID_NAME_USE);
125 WINBOOL LookupPrivilegeValueA(LPCSTR, LPCSTR, PLUID);
126 WINBOOL LookupPrivilegeNameA(LPCSTR, PLUID, LPSTR, LPDWORD);
127 WINBOOL LookupPrivilegeDisplayNameA(LPCSTR, LPCSTR, LPSTR, LPDWORD, LPDWORD);
128 WINBOOL BuildCommDCBA(LPCSTR, LPDCB);
129 WINBOOL BuildCommDCBAndTimeoutsA(LPCSTR, LPDCB, LPCOMMTIMEOUTS);
130 WINBOOL CommConfigDialogA(LPCSTR, HWND, LPCOMMCONFIG);
131 WINBOOL GetDefaultCommConfigA(LPCSTR, LPCOMMCONFIG, LPDWORD);
132 WINBOOL SetDefaultCommConfigA(LPCSTR, LPCOMMCONFIG, DWORD);
133 WINBOOL GetComputerNameA(LPSTR, LPDWORD);
134 WINBOOL SetComputerNameA(LPCSTR);
135 WINBOOL GetUserNameA(LPSTR, LPDWORD);
136 int wvsprintfA(LPSTR, LPCSTR, VA_LIST*);
137 HKL LoadKeyboardLayoutA(LPCSTR, UINT);
138 WINBOOL GetKeyboardLayoutNameA(LPSTR);
139 HDESK CreateDesktopA(LPSTR, LPSTR, LPDEVMODE, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
140 HDESK OpenDesktopA(LPSTR, DWORD, WINBOOL, DWORD);
141 WINBOOL EnumDesktopsA(HWINSTA, DESKTOPENUMPROC, LPARAM);
142 HWINSTA CreateWindowStationA(LPSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
143 HWINSTA OpenWindowStationA(LPSTR, WINBOOL, DWORD);
144 WINBOOL EnumWindowStationsA(ENUMWINDOWSTATIONPROC, LPARAM);
145 WINBOOL GetUserObjectInformationA(HANDLE, int, PVOID, DWORD, LPDWORD);
146 WINBOOL SetUserObjectInformationA(HANDLE, int, PVOID, DWORD);
147 UINT RegisterWindowMessageA(LPCSTR);
148 WINBOOL GetMessageA(LPMSG, HWND, UINT, UINT);
149 LONG DispatchMessageA(LPMSG);
150 WINBOOL PeekMessageA(LPMSG, HWND, UINT, UINT, UINT);
151 LRESULT SendMessageA(HWND, UINT, WPARAM, LPARAM);
152 LRESULT SendMessageA(HWND, UINT, void*, LPARAM);
153 LRESULT SendMessageA(HWND, UINT, WPARAM, void*);
154 LRESULT SendMessageA(HWND, UINT, void*, void*);
155 LRESULT SendMessageTimeoutA(HWND, UINT, WPARAM, LPARAM, UINT, UINT, LPDWORD);
156 WINBOOL SendNotifyMessageA(HWND, UINT, WPARAM, LPARAM);
157 WINBOOL SendMessageCallbackA(HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, DWORD);
158 WINBOOL PostMessageA(HWND, UINT, WPARAM, LPARAM);
159 WINBOOL PostThreadMessageA(DWORD, UINT, WPARAM, LPARAM);
160 LRESULT DefWindowProcA(HWND, UINT, WPARAM, LPARAM);
161 LRESULT CallWindowProcA(WNDPROC, HWND, UINT, WPARAM, LPARAM);
162 ATOM RegisterClassA(LPWNDCLASSA);
163 WINBOOL UnregisterClassA(LPCSTR, HINST);
164 WINBOOL GetClassInfoA(HINST, LPCSTR, LPWNDCLASS);
165 ATOM RegisterClassExA(LPWNDCLASSEX);
166 WINBOOL GetClassInfoExA(HINST, LPCSTR, LPWNDCLASSEX);
167 HWND CreateWindowExA(DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINST, LPVOID);
168 HWND CreateDialogParamA(HINST, LPCSTR, HWND, DLGPROC, LPARAM);
169 HWND CreateDialogIndirectParamA(HINST, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
170 int DialogBoxParamA(HINST, LPCSTR, HWND, DLGPROC, LPARAM);
171 int DialogBoxIndirectParamA(HINST, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
172 WINBOOL SetDlgItemTextA(HWND, int, LPCSTR);
173 UINT GetDlgItemTextA(HWND, int, LPSTR, int);
174 LONG SendDlgItemMessageA(HWND, int, UINT, WPARAM, LPARAM);
175 LRESULT DefDlgProcA(HWND, UINT, WPARAM, LPARAM);
176 WINBOOL CallMsgFilterA(LPMSG, int);
177 UINT RegisterClipboardFormatA(LPCSTR);
178 int GetClipboardFormatNameA(UINT, LPSTR, int);
179 WINBOOL CharToOemA(LPCSTR, LPSTR);
180 WINBOOL OemToCharA(LPCSTR, LPSTR);
181 WINBOOL CharToOemBuffA(LPCSTR, LPSTR, DWORD);
182 WINBOOL OemToCharBuffA(LPCSTR, LPSTR, DWORD);
183 LPSTR CharUpperA(LPSTR);
184 DWORD CharUpperBuffA(LPSTR, DWORD);
185 LPSTR CharLowerA(LPSTR);
186 DWORD CharLowerBuffA(LPSTR, DWORD);
187 LPSTR CharNextA(LPCSTR);
188 LPSTR CharPrevA(LPCSTR, LPCSTR);
189 WINBOOL IsCharAlphaA(char);
190 WINBOOL IsCharAlphaNumericA(char);
191 WINBOOL IsCharUpperA(char);
192 WINBOOL IsCharLowerA(char);
193 int GetKeyNameTextA(LONG, LPSTR, int);
194 SHORT VkKeyScanA(char);
195 SHORT VkKeyScanExA(char, HKL);
196 UINT MapVirtualKeyA(UINT, UINT);
197 UINT MapVirtualKeyExA(UINT, UINT, HKL);
198 HACCEL LoadAcceleratorsA(HINST, LPCSTR);
199 HACCEL CreateAcceleratorTableA(LPACCEL, int);
200 int CopyAcceleratorTableA(HACCEL, LPACCEL, int);
201 int TranslateAcceleratorA(HWND, HACCEL, LPMSG);
202 HMENU LoadMenuA(HINST, LPCSTR);
203 HMENU LoadMenuIndirectA(LPMENUTEMPLATE);
204 WINBOOL ChangeMenuA(HMENU, UINT, LPCSTR, UINT, UINT);
205 int GetMenuStringA(HMENU, UINT, LPSTR, int, UINT);
206 WINBOOL InsertMenuA(HMENU, UINT, UINT, UINT, LPCSTR);
207 WINBOOL AppendMenuA(HMENU, UINT, UINT, LPCSTR);
208 WINBOOL ModifyMenuA(HMENU, UINT, UINT, UINT, LPCSTR);
209 WINBOOL InsertMenuItemA(HMENU, UINT, WINBOOL, LPCMENUITEMINFO);
210 WINBOOL GetMenuItemInfoA(HMENU, UINT, WINBOOL, LPMENUITEMINFO);
211 WINBOOL SetMenuItemInfoA(HMENU, UINT, WINBOOL, LPCMENUITEMINFO);
212 int DrawTextA(HDC, LPCSTR, int, LPRECT, UINT);
213 int DrawTextExA(HDC, LPSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
214 WINBOOL GrayStringA(HDC, HBRUSH, GRAYSTRINGPROC, LPARAM, int, int, int, int, int);
215 WINBOOL DrawStateA(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
216 LONG TabbedTextOutA(HDC, int, int, LPCSTR, int, int, LPINT, int);
217 DWORD GetTabbedTextExtentA(HDC, LPCSTR, int, int, LPINT);
218 WINBOOL SetPropA(HWND, LPCSTR, HANDLE);
219 HANDLE GetPropA(HWND, LPCSTR);
220 HANDLE RemovePropA(HWND, LPCSTR);
221 int EnumPropsExA(HWND, PROPENUMPROCEX, LPARAM);
222 int EnumPropsA(HWND, PROPENUMPROC);
223 WINBOOL SetWindowTextA(HWND, LPCSTR);
224 int GetWindowTextA(HWND, LPSTR, int);
225 int GetWindowTextLengthA(HWND);
226 int MessageBoxA(HWND, LPCSTR, LPCSTR, UINT);
227 int MessageBoxExA(HWND, LPCSTR, LPCSTR, UINT, ushort);
228 int MessageBoxIndirectA(LPMSGBOXPARAMS);
229 LONG GetWindowLongA(HWND, int);
230 LONG SetWindowLongA(HWND, int, LONG);
231 DWORD GetClassLongA(HWND, int);
232 DWORD SetClassLongA(HWND, int, LONG);
233 HWND FindWindowA(LPCSTR, LPCSTR);
234 HWND FindWindowExA(HWND, HWND, LPCSTR, LPCSTR);
235 int GetClassNameA(HWND, LPSTR, int);
236 HHOOK SetWindowsHookExA(int, HOOKPROC, HINST, DWORD);
237 HBITMAP LoadBitmapA(HINST, LPCSTR);
238 HCURSOR LoadCursorA(HINST, LPCSTR);
239 HCURSOR LoadCursorFromFileA(LPCSTR);
240 HICON LoadIconA(HINST, LPCSTR);
241 HANDLE LoadImageA(HINST, LPCSTR, UINT, int, int, UINT);
242 int LoadStringA(HINST, UINT, LPSTR, int);
243 WINBOOL IsDialogMessageA(HWND, LPMSG);
244 int DlgDirListA(HWND, LPSTR, int, int, UINT);
245 WINBOOL DlgDirSelectExA(HWND, LPSTR, int, int);
246 int DlgDirListComboBoxA(HWND, LPSTR, int, int, UINT);
247 WINBOOL DlgDirSelectComboBoxExA(HWND, LPSTR, int, int);
248 LRESULT DefFrameProcA(HWND, HWND, UINT, WPARAM, LPARAM);
249 LRESULT DefMDIChildProcA(HWND, UINT, WPARAM, LPARAM);
250 HWND CreateMDIWindowA(LPSTR, LPSTR, DWORD, int, int, int, int, HWND, HINST, LPARAM);
251 WINBOOL WinHelpA(HWND, LPCSTR, UINT, DWORD);
252 LONG ChangeDisplaySettingsA(LPDEVMODE, DWORD);
253 WINBOOL EnumDisplaySettingsA(LPCSTR, DWORD, LPDEVMODE);
254 WINBOOL SystemParametersInfoA(UINT, UINT, PVOID, UINT);
255 int AddFontResourceA(LPCSTR);
256 HMETAFILE CopyMetaFileA(HMETAFILE, LPCSTR);
257 HFONT CreateFontIndirectA(LPLOGFONT);
258 HDC CreateICA(LPCSTR, LPCSTR, LPCSTR, LPDEVMODE);
259 HDC CreateMetaFileA(LPCSTR);
260 WINBOOL CreateScalableFontResourceA(DWORD, LPCSTR, LPCSTR, LPCSTR);
261 int EnumFontFamiliesExA(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
262 int EnumFontFamiliesA(HDC, LPCSTR, FONTENUMPROC, LPARAM);
263 int EnumFontsA(HDC, LPCSTR, ENUMFONTSPROC, LPARAM);
264 WINBOOL GetCharWidthA(HDC, UINT, UINT, LPINT);
265 WINBOOL GetCharWidth32A(HDC, UINT, UINT, LPINT);
266 WINBOOL GetCharWidthFloatA(HDC, UINT, UINT, PFLOAT);
267 WINBOOL GetCharABCWidthsA(HDC, UINT, UINT, LPABC);
268 WINBOOL GetCharABCWidthsFloatA(HDC, UINT, UINT, LPABCFLOAT);
269 DWORD GetGlyphOutlineA(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, PMAT2);
270 HMETAFILE GetMetaFileA(LPCSTR);
271 UINT GetOutlineTextMetricsA(HDC, UINT, LPOUTLINETEXTMETRIC);
272 WINBOOL GetTextExtentPointA(HDC, LPCSTR, int, LPSIZE);
273 WINBOOL GetTextExtentPoint32A(HDC, LPCSTR, int, LPSIZE);
274 WINBOOL GetTextExtentExPointA(HDC, LPCSTR, int, int, LPINT, LPINT, LPSIZE);
275 DWORD GetCharacterPlacementA(HDC, LPCSTR, int, int, LPGCP_RESULTS, DWORD);
276 HDC ResetDCA(HDC, LPDEVMODE);
277 WINBOOL RemoveFontResourceA(LPCSTR);
278 HENHMETAFILE CopyEnhMetaFileA(HENHMETAFILE, LPCSTR);
279 HDC CreateEnhMetaFileA(HDC, LPCSTR, LPRECT, LPCSTR);
280 HENHMETAFILE GetEnhMetaFileA(LPCSTR);
281 UINT GetEnhMetaFileDescriptionA(HENHMETAFILE, UINT, LPSTR);
282 WINBOOL GetTextMetricsA(HDC, LPTEXTMETRIC);
283 int StartDocA(HDC, PDOCINFO);
284 int GetObjectA(HGDIOBJ, int, LPVOID);
285 WINBOOL TextOutA(HDC, int, int, LPCSTR, int);
286 WINBOOL ExtTextOutA(HDC, int, int, UINT, LPRECT, LPCSTR, UINT, LPINT);
287 WINBOOL PolyTextOutA(HDC, PPOLYTEXT, int);
288 int GetTextFaceA(HDC, int, LPSTR);
289 DWORD GetKerningPairsA(HDC, DWORD, LPKERNINGPAIR);
290 HCOLORSPACE CreateColorSpaceA(LPLOGCOLORSPACE);
291 WINBOOL GetLogColorSpaceA(HCOLORSPACE, LPLOGCOLORSPACE, DWORD);
292 WINBOOL GetICMProfileA(HDC, DWORD, LPSTR);
293 WINBOOL SetICMProfileA(HDC, LPSTR);
294 WINBOOL UpdateICMRegKeyA(DWORD, DWORD, LPSTR, UINT);
295 int EnumICMProfilesA(HDC, ICMENUMPROC, LPARAM);
296 int PropertySheetA(LPCPROPSHEETHEADER);
297 HIMAGELIST ImageList_LoadImageA(HINST, LPCSTR, int, int, COLORREF, UINT, UINT);
298 HWND CreateStatusWindowA(LONG, LPCSTR, HWND, UINT);
299 void DrawStatusTextA(HDC, LPRECT, LPCSTR, UINT);
300 WINBOOL GetOpenFileNameA(LPOPENFILENAME);
301 WINBOOL GetSaveFileNameA(LPOPENFILENAME);
302 int GetFileTitleA(LPCSTR, LPSTR, ushort);
303 WINBOOL ChooseColorA(LPCHOOSECOLOR);
304 HWND FindTextA(LPFINDREPLACE);
305 HWND ReplaceTextA(LPFINDREPLACE);
306 WINBOOL ChooseFontA(LPCHOOSEFONTA);
307 WINBOOL PrintDlgA(LPPRINTDLGA);
308 WINBOOL PageSetupDlgA(LPPAGESETUPDLG);
309 WINBOOL CreateProcessA(LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, WINBOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
310 void GetStartupInfoA(LPSTARTUPINFO);
311 HANDLE FindFirstFileA(LPCSTR, LPWIN32_FIND_DATA);
312 WINBOOL FindNextFileA(HANDLE, LPWIN32_FIND_DATA);
313 WINBOOL GetVersionExA(LPOSVERSIONINFO);
314 HDC CreateDCA(LPCSTR, LPCSTR, LPCSTR, PDEVMODE);
315 DWORD VerInstallFileA(DWORD, LPSTR, LPSTR, LPSTR, LPSTR, LPSTR, LPSTR, PUINT);
316 DWORD GetFileVersionInfoSizeA(LPSTR, LPDWORD);
317 WINBOOL GetFileVersionInfoA(LPSTR, DWORD, DWORD, LPVOID);
318 DWORD VerLanguageNameA(DWORD, LPSTR, DWORD);
319 WINBOOL VerQueryValueA(LPVOID, LPSTR, LPVOID, PUINT);
320 DWORD VerFindFileA(DWORD, LPSTR, LPSTR, LPSTR, LPSTR, PUINT, LPSTR, PUINT);
321 LONG RegConnectRegistryA(LPSTR, HKEY, PHKEY);
322 LONG RegCreateKeyA(HKEY, LPCSTR, PHKEY);
323 LONG RegCreateKeyExA(HKEY, LPCSTR, DWORD, LPSTR, DWORD, REGSAM, LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD);
324 LONG RegDeleteKeyA(HKEY, LPCSTR);
325 LONG RegDeleteValueA(HKEY, LPCSTR);
326 LONG RegEnumKeyA(HKEY, DWORD, LPSTR, DWORD);
327 LONG RegEnumKeyExA(HKEY, DWORD, LPSTR, LPDWORD, LPDWORD, LPSTR, LPDWORD, PFILETIME);
328 LONG RegEnumValueA(HKEY, DWORD, LPSTR, LPDWORD, LPDWORD, LPDWORD, LPBYTE, LPDWORD);
329 LONG RegLoadKeyA(HKEY, LPCSTR, LPCSTR);
330 LONG RegOpenKeyA(HKEY, LPCSTR, PHKEY);
331 LONG RegOpenKeyExA(HKEY, LPCSTR, DWORD, REGSAM, PHKEY);
332 LONG RegQueryInfoKeyA(HKEY, LPSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME);
333 LONG RegQueryValueA(HKEY, LPCSTR, LPSTR, PLONG);
334 LONG RegQueryMultipleValuesA(HKEY, PVALENT, DWORD, LPSTR, LPDWORD);
335 LONG RegQueryValueExA(HKEY, LPCSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD);
336 LONG RegReplaceKeyA(HKEY, LPCSTR, LPCSTR, LPCSTR);
337 LONG RegRestoreKeyA(HKEY, LPCSTR, DWORD);
338 LONG RegSaveKeyA(HKEY, LPCSTR, LPSECURITY_ATTRIBUTES);
339 LONG RegSetValueA(HKEY, LPCSTR, DWORD, LPCSTR, DWORD);
340 LONG RegSetValueExA(HKEY, LPCSTR, DWORD, DWORD, LPBYTE, DWORD);
341 LONG RegUnLoadKeyA(HKEY, LPCSTR);
342 WINBOOL InitiateSystemShutdownA(LPSTR, LPSTR, DWORD, WINBOOL, WINBOOL);
343 WINBOOL AbortSystemShutdownA(LPSTR);
344 int CompareStringA(LCID, DWORD, LPCSTR, int, LPCSTR, int);
345 int LCMapStringA(LCID, DWORD, LPCSTR, int, LPSTR, int);
346 int GetLocaleInfoA(LCID, LCTYPE, LPSTR, int);
347 WINBOOL SetLocaleInfoA(LCID, LCTYPE, LPCSTR);
348 int GetTimeFormatA(LCID, DWORD, LPSYSTEMTIME, LPCSTR, LPSTR, int);
349 int GetDateFormatA(LCID, DWORD, LPSYSTEMTIME, LPCSTR, LPSTR, int);
350 int GetNumberFormatA(LCID, DWORD, LPCSTR, PNUMBERFMT, LPSTR, int);
351 int GetCurrencyFormatA(LCID, DWORD, LPCSTR, PCURRENCYFMT, LPSTR, int);
352 WINBOOL EnumCalendarInfoA(CALINFO_ENUMPROC, LCID, CALID, CALTYPE);
353 WINBOOL EnumTimeFormatsA(TIMEFMT_ENUMPROC, LCID, DWORD);
354 WINBOOL EnumDateFormatsA(DATEFMT_ENUMPROC, LCID, DWORD);
355 WINBOOL GetStringTypeExA(LCID, DWORD, LPCSTR, int, LPWORD);
356 WINBOOL GetStringTypeA(LCID, DWORD, LPCSTR, int, LPWORD);
357 int FoldStringA(DWORD, LPCSTR, int, LPSTR, int);
358 WINBOOL EnumSystemLocalesA(LOCALE_ENUMPROC, DWORD);
359 WINBOOL EnumSystemCodePagesA(CODEPAGE_ENUMPROC, DWORD);
360 WINBOOL PeekConsoleInputA(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
361 WINBOOL ReadConsoleInputA(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
362 WINBOOL WriteConsoleInputA(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
363 WINBOOL ReadConsoleOutputA(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT);
364 WINBOOL WriteConsoleOutputA(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT);
365 WINBOOL ReadConsoleOutputCharacterA(HANDLE, LPSTR, DWORD, COORD, LPDWORD);
366 WINBOOL WriteConsoleOutputCharacterA(HANDLE, LPCSTR, DWORD, COORD, LPDWORD);
367 WINBOOL FillConsoleOutputCharacterA(HANDLE, char, DWORD, COORD, LPDWORD);
368 WINBOOL ScrollConsoleScreenBufferA(HANDLE, PSMALL_RECT, PSMALL_RECT, COORD, PCHAR_INFO);
369 DWORD GetConsoleTitleA(LPSTR, DWORD);
370 WINBOOL SetConsoleTitleA(LPCSTR);
371 WINBOOL ReadConsoleA(HANDLE, LPVOID, DWORD, LPDWORD, LPVOID);
372 WINBOOL WriteConsoleA(HANDLE, POINTER, DWORD, LPDWORD, LPVOID);
373 DWORD WNetAddConnectionA(LPCSTR, LPCSTR, LPCSTR);
374 DWORD WNetAddConnection2A(LPNETRESOURCE, LPCSTR, LPCSTR, DWORD);
375 DWORD WNetAddConnection3A(HWND, LPNETRESOURCE, LPCSTR, LPCSTR, DWORD);
376 DWORD WNetCancelConnectionA(LPCSTR, WINBOOL);
377 DWORD WNetCancelConnection2A(LPCSTR, DWORD, WINBOOL);
378 DWORD WNetGetConnectionA(LPCSTR, LPSTR, LPDWORD);
379 DWORD WNetUseConnectionA(HWND, LPNETRESOURCE, LPCSTR, LPCSTR, DWORD, LPSTR, LPDWORD, LPDWORD);
380 DWORD WNetSetConnectionA(LPCSTR, DWORD, LPVOID);
381 DWORD WNetConnectionDialog1A(LPCONNECTDLGSTRUCT);
382 DWORD WNetDisconnectDialog1A(LPDISCDLGSTRUCT);
383 DWORD WNetOpenEnumA(DWORD, DWORD, DWORD, LPNETRESOURCE, LPHANDLE);
384 DWORD WNetEnumResourceA(HANDLE, LPDWORD, LPVOID, LPDWORD);
385 DWORD WNetGetUniversalNameA(LPCSTR, DWORD, LPVOID, LPDWORD);
386 DWORD WNetGetUserA(LPCSTR, LPSTR, LPDWORD);
387 DWORD WNetGetProviderNameA(DWORD, LPSTR, LPDWORD);
388 DWORD WNetGetNetworkInformationA(LPCSTR, LPNETINFOSTRUCT);
389 DWORD WNetGetLastErrorA(LPDWORD, LPSTR, DWORD, LPSTR, DWORD);
390 DWORD MultinetGetConnectionPerformanceA(LPNETRESOURCE, LPNETCONNECTINFOSTRUCT);
391 WINBOOL ChangeServiceConfigA(SC_HANDLE, DWORD, DWORD, DWORD, LPCSTR, LPCSTR, LPDWORD, LPCSTR, LPCSTR, LPCSTR, LPCSTR);
392 SC_HANDLE CreateServiceA(SC_HANDLE, LPCSTR, LPCSTR, DWORD, DWORD, DWORD, DWORD, LPCSTR, LPCSTR, LPDWORD, LPCSTR, LPCSTR, LPCSTR);
393 WINBOOL EnumDependentServicesA(SC_HANDLE, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD);
394 WINBOOL EnumServicesStatusA(SC_HANDLE, DWORD, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD, LPDWORD);
395 WINBOOL GetServiceKeyNameA(SC_HANDLE, LPCSTR, LPSTR, LPDWORD);
396 WINBOOL GetServiceDisplayNameA(SC_HANDLE, LPCSTR, LPSTR, LPDWORD);
397 SC_HANDLE OpenSCManagerA(LPCSTR, LPCSTR, DWORD);
398 SC_HANDLE OpenServiceA(SC_HANDLE, LPCSTR, DWORD);
399 WINBOOL QueryServiceConfigA(SC_HANDLE, LPQUERY_SERVICE_CONFIG, DWORD, LPDWORD);
400 WINBOOL QueryServiceLockStatusA(SC_HANDLE, LPQUERY_SERVICE_LOCK_STATUS, DWORD, LPDWORD);
401 SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerA(LPCSTR, LPHANDLER_FUNCTION);
402 WINBOOL StartServiceCtrlDispatcherA(LPSERVICE_TABLE_ENTRY);
403 WINBOOL StartServiceA(SC_HANDLE, DWORD, LPCSTR);
404 uint DragQueryFileA(HDROP, uint, PCHAR, uint);
405 HICON ExtractAssociatedIconA(HINST, PCHAR, LPWORD);
406 HICON ExtractIconA(HINST, PCHAR, uint);
407 HINST FindExecutableA(PCHAR, PCHAR, PCHAR);
408 int ShellAboutA(HWND, PCHAR, PCHAR, HICON);
409 HINST ShellExecuteA(HWND, PCHAR, PCHAR, PCHAR, PCHAR, int);
410 HSZ DdeCreateStringHandleA(DWORD, PCHAR, int);
411 UINT DdeInitializeA(LPDWORD, PFNCALLBACK, DWORD, DWORD);
412 DWORD DdeQueryStringA(DWORD, HSZ, PCHAR, DWORD, int);
413 WINBOOL LogonUserA(LPSTR, LPSTR, LPSTR, DWORD, DWORD, PHANDLE);
414 WINBOOL CreateProcessAsUserA(HANDLE, LPCSTR, LPSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, WINBOOL, DWORD, LPVOID, LPCSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
415 WINBOOL GetBinaryTypeW(LPCWSTR, LPDWORD);
416 DWORD GetShortPathNameW(LPCWSTR, LPWSTR, DWORD);
417 LPWSTR GetEnvironmentStringsW();
418 WINBOOL FreeEnvironmentStringsW(LPWSTR);
419 DWORD FormatMessageW(DWORD, LPCVOID, DWORD, DWORD, LPWSTR, DWORD, VA_LIST*);
420 HANDLE CreateMailslotW(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
421 int lstrcmpW(LPCWSTR, LPCWSTR);
422 int lstrcmpiW(LPCWSTR, LPCWSTR);
423 LPWSTR lstrcpynW(LPWSTR, LPCWSTR, int);
424 LPWSTR lstrcpyW(LPWSTR, LPCWSTR);
425 LPWSTR lstrcatW(LPWSTR, LPCWSTR);
426 int lstrlenW(LPCWSTR);
427 HANDLE CreateMutexW(LPSECURITY_ATTRIBUTES, WINBOOL, LPCWSTR);
428 HANDLE OpenMutexW(DWORD, WINBOOL, LPCWSTR);
429 HANDLE CreateEventW(LPSECURITY_ATTRIBUTES, WINBOOL, WINBOOL, LPCWSTR);
430 HANDLE OpenEventW(DWORD, WINBOOL, LPCWSTR);
431 HANDLE CreateSemaphoreW(LPSECURITY_ATTRIBUTES, LONG, LONG, LPCWSTR);
432 HANDLE OpenSemaphoreW(DWORD, WINBOOL, LPCWSTR);
433 HANDLE CreateFileMappingW(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, DWORD, DWORD, LPCWSTR);
434 HANDLE OpenFileMappingW(DWORD, WINBOOL, LPCWSTR);
435 DWORD GetLogicalDriveStringsW(DWORD, LPWSTR);
436 HINST LoadLibraryW(LPCWSTR);
437 HINST LoadLibraryExW(LPCWSTR, HANDLE, DWORD);
438 DWORD GetModuleFileNameW(HINST, LPWSTR, DWORD);
439 HMODULE GetModuleHandleW(LPCWSTR);
440 void FatalAppExitW(UINT, LPCTSTR);
441 LPWSTR GetCommandLineW();
442 DWORD GetEnvironmentVariableW(LPCWSTR, LPWSTR, DWORD);
443 WINBOOL SetEnvironmentVariableW(LPCWSTR, LPCWSTR);
444 DWORD ExpandEnvironmentStringsW(LPCWSTR, LPWSTR, DWORD);
445 void OutputDebugStringW(LPCWSTR);
446 HRSRC FindResourceW(HINST, LPCWSTR, LPCWSTR);
447 HRSRC FindResourceExW(HINST, LPCWSTR, LPCWSTR, ushort);
448 WINBOOL EnumResourceTypesW(HINST, ENUMRESTYPEPROC, LONG);
449 WINBOOL EnumResourceNamesW(HINST, LPCWSTR, ENUMRESNAMEPROC, LONG);
450 WINBOOL EnumResourceLanguagesW(HINST, LPCWSTR, LPCWSTR, ENUMRESLANGPROC, LONG);
451 HANDLE BeginUpdateResourceW(LPCWSTR, WINBOOL);
452 WINBOOL UpdateResourceW(HANDLE, LPCWSTR, LPCWSTR, ushort, LPVOID, DWORD);
453 WINBOOL EndUpdateResourceW(HANDLE, WINBOOL);
454 ATOM GlobalAddAtomW(LPCWSTR);
455 ATOM GlobalFindAtomW(LPCWSTR);
456 UINT GlobalGetAtomNameW(ATOM, LPWSTR, int);
457 ATOM AddAtomW(LPCWSTR);
458 ATOM FindAtomW(LPCWSTR);
459 UINT GetAtomNameW(ATOM, LPWSTR, int);
460 UINT GetProfileIntW(LPCWSTR, LPCWSTR, INT);
461 DWORD GetProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, DWORD);
462 WINBOOL WriteProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR);
463 DWORD GetProfileSectionW(LPCWSTR, LPWSTR, DWORD);
464 WINBOOL WriteProfileSectionW(LPCWSTR, LPCWSTR);
465 UINT GetPrivateProfileIntW(LPCWSTR, LPCWSTR, INT, LPCWSTR);
466 DWORD GetPrivateProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPWSTR, DWORD, LPCWSTR);
467 WINBOOL WritePrivateProfileStringW(LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
468 DWORD GetPrivateProfileSectionW(LPCWSTR, LPWSTR, DWORD, LPCWSTR);
469 WINBOOL WritePrivateProfileSectionW(LPCWSTR, LPCWSTR, LPCWSTR);
470 UINT GetDriveTypeW(LPCWSTR);
471 UINT GetSystemDirectoryW(LPWSTR, UINT);
472 DWORD GetTempPathW(DWORD, LPWSTR);
473 UINT GetTempFileNameW(LPCWSTR, LPCWSTR, UINT, LPWSTR);
474 UINT GetWindowsDirectoryW(LPWSTR, UINT);
475 WINBOOL SetCurrentDirectoryW(LPCWSTR);
476 DWORD GetCurrentDirectoryW(DWORD, LPWSTR);
477 WINBOOL GetDiskFreeSpaceW(LPCWSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
478 WINBOOL CreateDirectoryW(LPCWSTR, LPSECURITY_ATTRIBUTES);
479 WINBOOL CreateDirectoryExW(LPCWSTR, LPCWSTR, LPSECURITY_ATTRIBUTES);
480 WINBOOL RemoveDirectoryW(LPCWSTR);
481 DWORD GetFullPathNameW(LPCWSTR, DWORD, LPWSTR, LPWSTR*);
482 WINBOOL DefineDosDeviceW(DWORD, LPCWSTR, LPCWSTR);
483 DWORD QueryDosDeviceW(LPCWSTR, LPWSTR, DWORD);
484 HANDLE CreateFileW(LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES, DWORD, DWORD, HANDLE);
485 WINBOOL SetFileAttributesW(LPCWSTR, DWORD);
486 DWORD GetFileAttributesW(LPCWSTR);
487 BOOL GetFileAttributesExW(LPCWSTR, DWORD, WIN32_FILE_ATTRIBUTE_DATA*);
488 DWORD GetCompressedFileSizeW(LPCWSTR, LPDWORD);
489 WINBOOL DeleteFileW(LPCWSTR);
490 DWORD SearchPathW(LPCWSTR, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPWSTR);
491 WINBOOL CopyFileW(LPCWSTR, LPCWSTR, WINBOOL);
492 WINBOOL MoveFileW(LPCWSTR, LPCWSTR);
493 WINBOOL MoveFileExW(LPCWSTR, LPCWSTR, DWORD);
494 HANDLE CreateNamedPipeW(LPCWSTR, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
495 WINBOOL GetNamedPipeHandleStateW(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPWSTR, DWORD);
496 WINBOOL CallNamedPipeW(LPCWSTR, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, DWORD);
497 WINBOOL WaitNamedPipeW(LPCWSTR, DWORD);
498 WINBOOL SetVolumeLabelW(LPCWSTR, LPCWSTR);
499 WINBOOL GetVolumePathNameW(LPCWSTR, LPWSTR, DWORD);
500 WINBOOL GetVolumeInformationW(LPCWSTR, LPWSTR, DWORD, LPDWORD, LPDWORD, LPDWORD, LPWSTR, DWORD);
501 WINBOOL ClearEventLogW(HANDLE, LPCWSTR);
502 WINBOOL BackupEventLogW(HANDLE, LPCWSTR);
503 HANDLE OpenEventLogW(LPCWSTR, LPCWSTR);
504 HANDLE RegisterEventSourceW(LPCWSTR, LPCWSTR);
505 HANDLE OpenBackupEventLogW(LPCWSTR, LPCWSTR);
506 WINBOOL ReadEventLogW(HANDLE, DWORD, DWORD, LPVOID, DWORD, LPDWORD, LPDWORD);
507 WINBOOL ReportEventW(HANDLE, ushort, ushort, DWORD, PSID, ushort, DWORD, LPCWSTR*, LPVOID);
508 WINBOOL AccessCheckAndAuditAlarmW(LPCWSTR, LPVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, DWORD, PGENERIC_MAPPING, WINBOOL, LPDWORD, LPBOOL, LPBOOL);
509 WINBOOL ObjectOpenAuditAlarmW(LPCWSTR, LPVOID, LPWSTR, LPWSTR, PSECURITY_DESCRIPTOR, HANDLE, DWORD, DWORD, PPRIVILEGE_SET, WINBOOL, WINBOOL, LPBOOL);
510 WINBOOL ObjectPrivilegeAuditAlarmW(LPCWSTR, LPVOID, HANDLE, DWORD, PPRIVILEGE_SET, WINBOOL);
511 WINBOOL ObjectCloseAuditAlarmW(LPCWSTR, LPVOID, WINBOOL);
512 WINBOOL PrivilegedServiceAuditAlarmW(LPCWSTR, LPCWSTR, HANDLE, PPRIVILEGE_SET, WINBOOL);
513 WINBOOL SetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
514 WINBOOL GetFileSecurityW(LPCWSTR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);
515 HANDLE FindFirstChangeNotificationW(LPCWSTR, WINBOOL, DWORD);
516 WINBOOL IsBadStringPtrW(LPCWSTR, UINT);
517 WINBOOL LookupAccountSidW(LPCWSTR, PSID, LPWSTR, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE);
518 WINBOOL LookupAccountNameW(LPCWSTR, LPCWSTR, PSID, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE);
519 WINBOOL LookupPrivilegeValueW(LPCWSTR, LPCWSTR, PLUID);
520 WINBOOL LookupPrivilegeNameW(LPCWSTR, PLUID, LPWSTR, LPDWORD);
521 WINBOOL LookupPrivilegeDisplayNameW(LPCWSTR, LPCWSTR, LPWSTR, LPDWORD, LPDWORD);
522 WINBOOL BuildCommDCBW(LPCWSTR, LPDCB);
523 WINBOOL BuildCommDCBAndTimeoutsW(LPCWSTR, LPDCB, LPCOMMTIMEOUTS);
524 WINBOOL CommConfigDialogW(LPCWSTR, HWND, LPCOMMCONFIG);
525 WINBOOL GetDefaultCommConfigW(LPCWSTR, LPCOMMCONFIG, LPDWORD);
526 WINBOOL SetDefaultCommConfigW(LPCWSTR, LPCOMMCONFIG, DWORD);
527 WINBOOL GetComputerNameW(LPWSTR, LPDWORD);
528 WINBOOL SetComputerNameW(LPCWSTR);
529 WINBOOL GetUserNameW(LPWSTR, LPDWORD);
530 int wvsprintfW(LPWSTR, LPCWSTR, VA_LIST*);
531 HKL LoadKeyboardLayoutW(LPCWSTR, UINT);
532 WINBOOL GetKeyboardLayoutNameW(LPWSTR);
533 HDESK CreateDesktopW(LPWSTR, LPWSTR, LPDEVMODE, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
534 HDESK OpenDesktopW(LPWSTR, DWORD, WINBOOL, DWORD);
535 WINBOOL EnumDesktopsW(HWINSTA, DESKTOPENUMPROC, LPARAM);
536 HWINSTA CreateWindowStationW(LPWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
537 HWINSTA OpenWindowStationW(LPWSTR, WINBOOL, DWORD);
538 WINBOOL EnumWindowStationsW(ENUMWINDOWSTATIONPROC, LPARAM);
539 WINBOOL GetUserObjectInformationW(HANDLE, int, PVOID, DWORD, LPDWORD);
540 WINBOOL SetUserObjectInformationW(HANDLE, int, PVOID, DWORD);
541 UINT RegisterWindowMessageW(LPCWSTR);
542 WINBOOL GetMessageW(LPMSG, HWND, UINT, UINT);
543 LONG DispatchMessageW(LPMSG);
544 WINBOOL PeekMessageW(LPMSG, HWND, UINT, UINT, UINT);
545 LRESULT SendMessageW(HWND, UINT, WPARAM, LPARAM);
546 LRESULT SendMessageW(HWND, UINT, WPARAM, void*);
547 LRESULT SendMessageW(HWND, UINT, void*, LPARAM);
548 LRESULT SendMessageW(HWND, UINT, void*, void*);
549 LRESULT SendMessageTimeoutW(HWND, UINT, WPARAM, LPARAM, UINT, UINT, LPDWORD);
550 WINBOOL SendNotifyMessageW(HWND, UINT, WPARAM, LPARAM);
551 WINBOOL SendMessageCallbackW(HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, DWORD);
552 WINBOOL PostMessageW(HWND, UINT, WPARAM, LPARAM);
553 WINBOOL PostThreadMessageW(DWORD, UINT, WPARAM, LPARAM);
554 LRESULT DefWindowProcW(HWND, UINT, WPARAM, LPARAM);
555 LRESULT CallWindowProcW(WNDPROC, HWND, UINT, WPARAM, LPARAM);
556 ATOM RegisterClassW(LPWNDCLASSW);
557 WINBOOL UnregisterClassW(LPCWSTR, HINST);
558 WINBOOL GetClassInfoW(HINST, LPCWSTR, LPWNDCLASS);
559 ATOM RegisterClassExW(LPWNDCLASSEX);
560 WINBOOL GetClassInfoExW(HINST, LPCWSTR, LPWNDCLASSEX);
561 HWND CreateWindowExW(DWORD, LPCWSTR, LPCWSTR, DWORD, int, int, int, int, HWND, HMENU, HINST, LPVOID);
562 HWND CreateDialogParamW(HINST, LPCWSTR, HWND, DLGPROC, LPARAM);
563 HWND CreateDialogIndirectParamW(HINST, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
564 int DialogBoxParamW(HINST, LPCWSTR, HWND, DLGPROC, LPARAM);
565 int DialogBoxIndirectParamW(HINST, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
566 WINBOOL SetDlgItemTextW(HWND, int, LPCWSTR);
567 UINT GetDlgItemTextW(HWND, int, LPWSTR, int);
568 LONG SendDlgItemMessageW(HWND, int, UINT, WPARAM, LPARAM);
569 LRESULT DefDlgProcW(HWND, UINT, WPARAM, LPARAM);
570 WINBOOL CallMsgFilterW(LPMSG, int);
571 UINT RegisterClipboardFormatW(LPCWSTR);
572 int GetClipboardFormatNameW(UINT, LPWSTR, int);
573 WINBOOL CharToOemW(LPCWSTR, LPSTR);
574 WINBOOL OemToCharW(LPCSTR, LPWSTR);
575 WINBOOL CharToOemBuffW(LPCWSTR, LPSTR, DWORD);
576 WINBOOL OemToCharBuffW(LPCSTR, LPWSTR, DWORD);
577 LPWSTR CharUpperW(LPWSTR);
578 DWORD CharUpperBuffW(LPWSTR, DWORD);
579 LPWSTR CharLowerW(LPWSTR);
580 DWORD CharLowerBuffW(LPWSTR, DWORD);
581 LPWSTR CharNextW(LPCWSTR);
582 LPWSTR CharPrevW(LPCWSTR, LPCWSTR);
583 WINBOOL IsCharAlphaW(WCHAR);
584 WINBOOL IsCharAlphaNumericW(WCHAR);
585 WINBOOL IsCharUpperW(WCHAR);
586 WINBOOL IsCharLowerW(WCHAR);
587 int GetKeyNameTextW(LONG, LPWSTR, int);
588 SHORT VkKeyScanW(WCHAR);
589 SHORT VkKeyScanExW(WCHAR, HKL);
590 UINT MapVirtualKeyW(UINT, UINT);
591 UINT MapVirtualKeyExW(UINT, UINT, HKL);
592 HACCEL LoadAcceleratorsW(HINST, LPCWSTR);
593 HACCEL CreateAcceleratorTableW(LPACCEL, int);
594 int CopyAcceleratorTableW(HACCEL, LPACCEL, int);
595 int TranslateAcceleratorW(HWND, HACCEL, LPMSG);
596 HMENU LoadMenuW(HINST, LPCWSTR);
597 HMENU LoadMenuIndirectW(LPMENUTEMPLATE);
598 WINBOOL ChangeMenuW(HMENU, UINT, LPCWSTR, UINT, UINT);
599 int GetMenuStringW(HMENU, UINT, LPWSTR, int, UINT);
600 WINBOOL InsertMenuW(HMENU, UINT, UINT, UINT, LPCWSTR);
601 WINBOOL AppendMenuW(HMENU, UINT, UINT, LPCWSTR);
602 WINBOOL ModifyMenuW(HMENU, UINT, UINT, UINT, LPCWSTR);
603 WINBOOL InsertMenuItemW(HMENU, UINT, WINBOOL, LPCMENUITEMINFO);
604 WINBOOL GetMenuItemInfoW(HMENU, UINT, WINBOOL, LPMENUITEMINFO);
605 WINBOOL SetMenuItemInfoW(HMENU, UINT, WINBOOL, LPCMENUITEMINFO);
606 int DrawTextW(HDC, LPCWSTR, int, LPRECT, UINT);
607 int DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
608 WINBOOL GrayStringW(HDC, HBRUSH, GRAYSTRINGPROC, LPARAM, int, int, int, int, int);
609 WINBOOL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
610 LONG TabbedTextOutW(HDC, int, int, LPCWSTR, int, int, LPINT, int);
611 DWORD GetTabbedTextExtentW(HDC, LPCWSTR, int, int, LPINT);
612 WINBOOL SetPropW(HWND, LPCWSTR, HANDLE);
613 HANDLE GetPropW(HWND, LPCWSTR);
614 HANDLE RemovePropW(HWND, LPCWSTR);
615 int EnumPropsExW(HWND, PROPENUMPROCEX, LPARAM);
616 int EnumPropsW(HWND, PROPENUMPROC);
617 WINBOOL SetWindowTextW(HWND, LPCWSTR);
618 int GetWindowTextW(HWND, LPWSTR, int);
619 int GetWindowTextLengthW(HWND);
620 int MessageBoxW(HWND, LPCWSTR, LPCWSTR, UINT);
621 int MessageBoxExW(HWND, LPCWSTR, LPCWSTR, UINT, ushort);
622 int MessageBoxIndirectW(LPMSGBOXPARAMS);
623 LONG GetWindowLongW(HWND, int);
624 LONG SetWindowLongW(HWND, int, LONG);
625 DWORD GetClassLongW(HWND, int);
626 DWORD SetClassLongW(HWND, int, LONG);
627 HWND FindWindowW(LPCWSTR, LPCWSTR);
628 HWND FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
629 int GetClassNameW(HWND, LPWSTR, int);
630 HHOOK SetWindowsHookExW(int, HOOKPROC, HINST, DWORD);
631 HBITMAP LoadBitmapW(HINST, LPCWSTR);
632 HCURSOR LoadCursorW(HINST, LPCWSTR);
633 HCURSOR LoadCursorFromFileW(LPCWSTR);
634 HICON LoadIconW(HINST, LPCWSTR);
635 HANDLE LoadImageW(HINST, LPCWSTR, UINT, int, int, UINT);
636 int LoadStringW(HINST, UINT, LPWSTR, int);
637 WINBOOL IsDialogMessageW(HWND, LPMSG);
638 int DlgDirListW(HWND, LPWSTR, int, int, UINT);
639 WINBOOL DlgDirSelectExW(HWND, LPWSTR, int, int);
640 int DlgDirListComboBoxW(HWND, LPWSTR, int, int, UINT);
641 WINBOOL DlgDirSelectComboBoxExW(HWND, LPWSTR, int, int);
642 LRESULT DefFrameProcW(HWND, HWND, UINT, WPARAM, LPARAM);
643 LRESULT DefMDIChildProcW(HWND, UINT, WPARAM, LPARAM);
644 HWND CreateMDIWindowW(LPWSTR, LPWSTR, DWORD, int, int, int, int, HWND, HINST, LPARAM);
645 WINBOOL WinHelpW(HWND, LPCWSTR, UINT, DWORD);
646 LONG ChangeDisplaySettingsW(LPDEVMODE, DWORD);
647 WINBOOL EnumDisplaySettingsW(LPCWSTR, DWORD, LPDEVMODE);
648 WINBOOL SystemParametersInfoW(UINT, UINT, PVOID, UINT);
649 int AddFontResourceW(LPCWSTR);
650 HMETAFILE CopyMetaFileW(HMETAFILE, LPCWSTR);
651 HFONT CreateFontIndirectW(PLOGFONT);
652 HFONT CreateFontW(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPCWSTR);
653 HDC CreateICW(LPCWSTR, LPCWSTR, LPCWSTR, LPDEVMODE);
654 HDC CreateMetaFileW(LPCWSTR);
655 WINBOOL CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
656 int EnumFontFamiliesExW(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
657 int EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
658 int EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
659 WINBOOL GetCharWidthW(HDC, UINT, UINT, LPINT);
660 WINBOOL GetCharWidth32W(HDC, UINT, UINT, LPINT);
661 WINBOOL GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
662 WINBOOL GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
663 WINBOOL GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
664 DWORD GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, PMAT2);
665 HMETAFILE GetMetaFileW(LPCWSTR);
666 UINT GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRIC);
667 WINBOOL GetTextExtentPointW(HDC, LPCWSTR, int, LPSIZE);
668 WINBOOL GetTextExtentPoint32W(HDC, LPCWSTR, int, LPSIZE);
669 WINBOOL GetTextExtentExPointW(HDC, LPCWSTR, int, int, LPINT, LPINT, LPSIZE);
670 DWORD GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
671 HDC ResetDCW(HDC, LPDEVMODE);
672 WINBOOL RemoveFontResourceW(LPCWSTR);
673 HENHMETAFILE CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
674 HDC CreateEnhMetaFileW(HDC, LPCWSTR, LPRECT, LPCWSTR);
675 HENHMETAFILE GetEnhMetaFileW(LPCWSTR);
676 UINT GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR);
677 WINBOOL GetTextMetricsW(HDC, LPTEXTMETRIC);
678 int StartDocW(HDC, PDOCINFO);
679 int GetObjectW(HGDIOBJ, int, LPVOID);
680 WINBOOL TextOutW(HDC, int, int, LPCWSTR, int);
681 WINBOOL ExtTextOutW(HDC, int, int, UINT, LPRECT, LPCWSTR, UINT, LPINT);
682 WINBOOL PolyTextOutW(HDC, PPOLYTEXT, int);
683 int GetTextFaceW(HDC, int, LPWSTR);
684 DWORD GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
685 WINBOOL GetLogColorSpaceW(HCOLORSPACE, LPLOGCOLORSPACE, DWORD);
686 HCOLORSPACE CreateColorSpaceW(LPLOGCOLORSPACE);
687 WINBOOL GetICMProfileW(HDC, DWORD, LPWSTR);
688 WINBOOL SetICMProfileW(HDC, LPWSTR);
689 WINBOOL UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
690 int EnumICMProfilesW(HDC, ICMENUMPROC, LPARAM);
691 HPROPSHEETPAGE CreatePropertySheetPageW(LPCPROPSHEETPAGE);
692 int PropertySheetW(LPCPROPSHEETHEADER);
693 HIMAGELIST ImageList_LoadImageW(HINST, LPCWSTR, int, int, COLORREF, UINT, UINT);
694 HWND CreateStatusWindowW(LONG, LPCWSTR, HWND, UINT);
695 void DrawStatusTextW(HDC hdc, LPCRECT lprc, LPCTSTR pszText, UINT uFlags);
696 WINBOOL GetOpenFileNameW(LPOPENFILENAME);
697 WINBOOL GetSaveFileNameW(LPOPENFILENAME);
698 int GetFileTitleW(LPCWSTR, LPWSTR, ushort);
699 WINBOOL ChooseColorW(LPCHOOSECOLOR);
700 HWND ReplaceTextW(LPFINDREPLACE);
701 WINBOOL ChooseFontW(LPCHOOSEFONTW);
702 HWND FindTextW(LPFINDREPLACE);
703 WINBOOL PrintDlgW(LPPRINTDLGW);
704 WINBOOL PageSetupDlgW(LPPAGESETUPDLG);
705 WINBOOL CreateProcessW(LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, WINBOOL, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
706 void GetStartupInfoW(LPSTARTUPINFO);
707 HANDLE FindFirstFileW(LPCWSTR, LPWIN32_FIND_DATAW);
708 WINBOOL FindNextFileW(HANDLE, LPWIN32_FIND_DATAW);
709 WINBOOL GetVersionExW(LPOSVERSIONINFO);
710 HDC CreateDCW(LPCWSTR, LPCWSTR, LPCWSTR, PDEVMODE);
711 HFONT CreateFontA(int, int, int, int, int, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, LPCSTR);
712 DWORD VerInstallFileW(DWORD, LPWSTR, LPWSTR, LPWSTR, LPWSTR, LPWSTR, LPWSTR, PUINT);
713 DWORD GetFileVersionInfoSizeW(LPWSTR, LPDWORD);
714 WINBOOL GetFileVersionInfoW(LPWSTR, DWORD, DWORD, LPVOID);
715 DWORD VerLanguageNameW(DWORD, LPWSTR, DWORD);
716 WINBOOL VerQueryValueW(LPVOID, LPWSTR, LPVOID, PUINT);
717 DWORD VerFindFileW(DWORD, LPWSTR, LPWSTR, LPWSTR, LPWSTR, PUINT, LPWSTR, PUINT);
718 LONG RegSetValueExW(HKEY, LPCWSTR, DWORD, DWORD, LPBYTE, DWORD);
719 LONG RegUnLoadKeyW(HKEY, LPCWSTR);
720 WINBOOL InitiateSystemShutdownW(LPWSTR, LPWSTR, DWORD, WINBOOL, WINBOOL);
721 WINBOOL AbortSystemShutdownW(LPWSTR);
722 LONG RegRestoreKeyW(HKEY, LPCWSTR, DWORD);
723 LONG RegSaveKeyW(HKEY, LPCWSTR, LPSECURITY_ATTRIBUTES);
724 LONG RegSetValueW(HKEY, LPCWSTR, DWORD, LPCWSTR, DWORD);
725 LONG RegQueryValueW(HKEY, LPCWSTR, LPWSTR, PLONG);
726 LONG RegQueryMultipleValuesW(HKEY, PVALENT, DWORD, LPWSTR, LPDWORD);
727 LONG RegQueryValueExW(HKEY, LPCWSTR, LPDWORD, LPDWORD, LPBYTE, LPDWORD);
728 LONG RegReplaceKeyW(HKEY, LPCWSTR, LPCWSTR, LPCWSTR);
729 LONG RegConnectRegistryW(LPWSTR, HKEY, PHKEY);
730 LONG RegCreateKeyW(HKEY, LPCWSTR, PHKEY);
731 LONG RegCreateKeyExW(HKEY, LPCWSTR, DWORD, LPWSTR, DWORD, REGSAM, LPSECURITY_ATTRIBUTES, PHKEY, LPDWORD);
732 LONG RegDeleteKeyW(HKEY, LPCWSTR);
733 LONG RegDeleteValueW(HKEY, LPCWSTR);
734 LONG RegEnumKeyW(HKEY, DWORD, LPWSTR, DWORD);
735 LONG RegEnumKeyExW(HKEY, DWORD, LPWSTR, LPDWORD, LPDWORD, LPWSTR, LPDWORD, PFILETIME);
736 LONG RegEnumValueW(HKEY, DWORD, LPWSTR, LPDWORD, LPDWORD, LPDWORD, LPBYTE, LPDWORD);
737 LONG RegLoadKeyW(HKEY, LPCWSTR, LPCWSTR);
738 LONG RegOpenKeyW(HKEY, LPCWSTR, PHKEY);
739 LONG RegOpenKeyExW(HKEY, LPCWSTR, DWORD, REGSAM, PHKEY);
740 LONG RegQueryInfoKeyW(HKEY, LPWSTR, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, LPDWORD, PFILETIME);
741 int CompareStringW(LCID, DWORD, LPCWSTR, int, LPCWSTR, int);
742 int LCMapStringW(LCID, DWORD, LPCWSTR, int, LPWSTR, int);
743 int GetLocaleInfoW(LCID, LCTYPE, LPWSTR, int);
744 WINBOOL SetLocaleInfoW(LCID, LCTYPE, LPCWSTR);
745 int GetTimeFormatW(LCID, DWORD, LPSYSTEMTIME, LPCWSTR, LPWSTR, int);
746 int GetDateFormatW(LCID, DWORD, LPSYSTEMTIME, LPCWSTR, LPWSTR, int);
747 int GetNumberFormatW(LCID, DWORD, LPCWSTR, PNUMBERFMT, LPWSTR, int);
748 int GetCurrencyFormatW(LCID, DWORD, LPCWSTR, PCURRENCYFMT, LPWSTR, int);
749 WINBOOL EnumCalendarInfoW(CALINFO_ENUMPROC, LCID, CALID, CALTYPE);
750 WINBOOL EnumTimeFormatsW(TIMEFMT_ENUMPROC, LCID, DWORD);
751 WINBOOL EnumDateFormatsW(DATEFMT_ENUMPROC, LCID, DWORD);
752 WINBOOL GetStringTypeExW(LCID, DWORD, LPCWSTR, int, LPWORD);
753 WINBOOL GetStringTypeW(DWORD, LPCWSTR, int, LPWORD);
754 int FoldStringW(DWORD, LPCWSTR, int, LPWSTR, int);
755 WINBOOL EnumSystemLocalesW(LOCALE_ENUMPROC, DWORD);
756 WINBOOL EnumSystemCodePagesW(CODEPAGE_ENUMPROC, DWORD);
757 WINBOOL PeekConsoleInputW(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
758 WINBOOL ReadConsoleInputW(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
759 WINBOOL WriteConsoleInputW(HANDLE, PINPUTRECORD, DWORD, LPDWORD);
760 WINBOOL ReadConsoleOutputW(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT);
761 WINBOOL WriteConsoleOutputW(HANDLE, PCHAR_INFO, COORD, COORD, PSMALL_RECT);
762 WINBOOL ReadConsoleOutputCharacterW(HANDLE, LPWSTR, DWORD, COORD, LPDWORD);
763 WINBOOL WriteConsoleOutputCharacterW(HANDLE, LPCWSTR, DWORD, COORD, LPDWORD);
764 WINBOOL FillConsoleOutputCharacterW(HANDLE, WCHAR, DWORD, COORD, LPDWORD);
765 WINBOOL ScrollConsoleScreenBufferW(HANDLE, PSMALL_RECT, PSMALL_RECT, COORD, PCHAR_INFO);
766 DWORD GetConsoleTitleW(LPWSTR, DWORD);
767 WINBOOL SetConsoleTitleW(LPCWSTR);
768 WINBOOL ReadConsoleW(HANDLE, LPVOID, DWORD, LPDWORD, LPVOID);
769 WINBOOL WriteConsoleW(HANDLE, POINTER, DWORD, LPDWORD, LPVOID);
770 DWORD WNetAddConnectionW(LPCWSTR, LPCWSTR, LPCWSTR);
771 DWORD WNetAddConnection2W(LPNETRESOURCE, LPCWSTR, LPCWSTR, DWORD);
772 DWORD WNetAddConnection3W(HWND, LPNETRESOURCE, LPCWSTR, LPCWSTR, DWORD);
773 DWORD WNetCancelConnectionW(LPCWSTR, WINBOOL);
774 DWORD WNetCancelConnection2W(LPCWSTR, DWORD, WINBOOL);
775 DWORD WNetGetConnectionW(LPCWSTR, LPWSTR, LPDWORD);
776 DWORD WNetUseConnectionW(HWND, LPNETRESOURCE, LPCWSTR, LPCWSTR, DWORD, LPWSTR, LPDWORD, LPDWORD);
777 DWORD WNetSetConnectionW(LPCWSTR, DWORD, LPVOID);
778 DWORD WNetConnectionDialog1W(LPCONNECTDLGSTRUCT);
779 DWORD WNetDisconnectDialog1W(LPDISCDLGSTRUCT);
780 DWORD WNetOpenEnumW(DWORD, DWORD, DWORD, LPNETRESOURCE, LPHANDLE);
781 DWORD WNetEnumResourceW(HANDLE, LPDWORD, LPVOID, LPDWORD);
782 DWORD WNetGetUniversalNameW(LPCWSTR, DWORD, LPVOID, LPDWORD);
783 DWORD WNetGetUserW(LPCWSTR, LPWSTR, LPDWORD);
784 DWORD WNetGetProviderNameW(DWORD, LPWSTR, LPDWORD);
785 DWORD WNetGetNetworkInformationW(LPCWSTR, LPNETINFOSTRUCT);
786 DWORD WNetGetLastErrorW(LPDWORD, LPWSTR, DWORD, LPWSTR, DWORD);
787 DWORD MultinetGetConnectionPerformanceW(LPNETRESOURCE, LPNETCONNECTINFOSTRUCT);
788 WINBOOL ChangeServiceConfigW(SC_HANDLE, DWORD, DWORD, DWORD, LPCWSTR, LPCWSTR, LPDWORD, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR);
789 SC_HANDLE CreateServiceW(SC_HANDLE, LPCWSTR, LPCWSTR, DWORD, DWORD, DWORD, DWORD, LPCWSTR, LPCWSTR, LPDWORD, LPCWSTR, LPCWSTR, LPCWSTR);
790 WINBOOL EnumDependentServicesW(SC_HANDLE, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD);
791 WINBOOL EnumServicesStatusW(SC_HANDLE, DWORD, DWORD, LPENUM_SERVICE_STATUS, DWORD, LPDWORD, LPDWORD, LPDWORD);
792 WINBOOL GetServiceKeyNameW(SC_HANDLE, LPCWSTR, LPWSTR, LPDWORD);
793 WINBOOL GetServiceDisplayNameW(SC_HANDLE, LPCWSTR, LPWSTR, LPDWORD);
794 SC_HANDLE OpenSCManagerW(LPCWSTR, LPCWSTR, DWORD);
795 SC_HANDLE OpenServiceW(SC_HANDLE, LPCWSTR, DWORD);
796 WINBOOL QueryServiceConfigW(SC_HANDLE, LPQUERY_SERVICE_CONFIG, DWORD, LPDWORD);
797 WINBOOL QueryServiceLockStatusW(SC_HANDLE, LPQUERY_SERVICE_LOCK_STATUS, DWORD, LPDWORD);
798 SERVICE_STATUS_HANDLE RegisterServiceCtrlHandlerW(LPCWSTR, LPHANDLER_FUNCTION);
799 WINBOOL StartServiceCtrlDispatcherW(LPSERVICE_TABLE_ENTRY);
800 WINBOOL StartServiceW(SC_HANDLE, DWORD, LPCWSTR);
801 uint DragQueryFileW(HDROP, uint, LPCWSTR, uint);
802 HICON ExtractAssociatedIconW(HINST, LPCWSTR, LPWORD);
803 HICON ExtractIconW(HINST, LPCWSTR, uint);
804 HINST FindExecutableW(LPCWSTR, LPCWSTR, LPCWSTR);
805 int ShellAboutW(HWND, LPCWSTR, LPCWSTR, HICON);
806 HINST ShellExecuteW(HWND, LPCWSTR, LPCWSTR, LPCWSTR, LPCWSTR, int);
807 HSZ DdeCreateStringHandleW(DWORD, LPCWSTR, int);
808 UINT DdeInitializeW(LPDWORD, PFNCALLBACK, DWORD, DWORD);
809 DWORD DdeQueryStringW(DWORD, HSZ, LPCWSTR, DWORD, int);
810 WINBOOL LogonUserW(LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, PHANDLE);
811 WINBOOL CreateProcessAsUserW(HANDLE, LPCWSTR, LPWSTR, LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, WINBOOL, DWORD, LPVOID, LPCWSTR, LPSTARTUPINFO, LPPROCESS_INFORMATION);
812 WINBOOL AccessCheck(PSECURITY_DESCRIPTOR, HANDLE, DWORD, PGENERIC_MAPPING, PPRIVILEGE_SET, LPDWORD, LPDWORD, LPBOOL);
813 LONG InterlockedIncrement(LPLONG);
814 LONG InterlockedDecrement(LPLONG);
815 LONG InterlockedExchange(LPLONG, LONG);
816 WINBOOL FreeResource(HGLOBAL);
817 LPVOID LockResource(HGLOBAL);
818 WINBOOL FreeLibrary(HINST);
819 void FreeLibraryAndExitThread(HMODULE, DWORD);
820 WINBOOL DisableThreadLibraryCalls(HMODULE);
821 FARPROC GetProcAddress(HINST, LPCSTR);
822 DWORD GetVersion();
823 HGLOBAL GlobalAlloc(UINT, DWORD);
824 HGLOBAL GlobalReAlloc(HGLOBAL, DWORD, UINT);
825 DWORD GlobalSize(HGLOBAL);
826 UINT GlobalFlags(HGLOBAL);
827 LPVOID GlobalLock(HGLOBAL);
828 HGLOBAL GlobalHandle(LPCVOID);
829 WINBOOL GlobalUnlock(HGLOBAL);
830 HGLOBAL GlobalFree(HGLOBAL);
831 UINT GlobalCompact(DWORD);
832 void GlobalFix(HGLOBAL);
833 void GlobalUnfix(HGLOBAL);
834 //LPVOID GlobalWire(HGLOBAL);
835 WINBOOL GlobalUnWire(HGLOBAL);
836 void GlobalMemoryStatus(LPMEMORYSTATUS);
837 HLOCAL LocalAlloc(UINT, UINT);
838 HLOCAL LocalReAlloc(HLOCAL, UINT, UINT);
839 LPVOID LocalLock(HLOCAL);
840 HLOCAL LocalHandle(LPCVOID);
841 WINBOOL LocalUnlock(HLOCAL);
842 UINT LocalSize(HLOCAL);
843 UINT LocalFlags(HLOCAL);
844 HLOCAL LocalFree(HLOCAL);
845 UINT LocalShrink(HLOCAL, UINT);
846 UINT LocalCompact(UINT);
847 WINBOOL FlushInstructionCache(HANDLE, LPCVOID, DWORD);
848 LPVOID VirtualAlloc(LPVOID, DWORD, DWORD, DWORD);
849 WINBOOL VirtualFree(LPVOID, DWORD, DWORD);
850 WINBOOL VirtualProtect(LPVOID, DWORD, DWORD, PDWORD);
851 DWORD VirtualQuery(LPCVOID, PMEMORY_BASIC_INFORMATION, DWORD);
852 WINBOOL VirtualProtectEx(HANDLE, LPVOID, DWORD, DWORD, PDWORD);
853 DWORD VirtualQueryEx(HANDLE, LPCVOID, PMEMORY_BASIC_INFORMATION, DWORD);
854 HANDLE HeapCreate(DWORD, DWORD, DWORD);
855 WINBOOL HeapDestroy(HANDLE);
856 LPVOID HeapAlloc(HANDLE, DWORD, DWORD);
857 LPVOID HeapReAlloc(HANDLE, DWORD, LPVOID, DWORD);
858 WINBOOL HeapFree(HANDLE, DWORD, LPVOID);
859 DWORD HeapSize(HANDLE, DWORD, LPCVOID);
860 WINBOOL HeapValidate(HANDLE, DWORD, LPCVOID);
861 UINT HeapCompact(HANDLE, DWORD);
862 HANDLE GetProcessHeap();
863 DWORD GetProcessHeaps(DWORD, PHANDLE);
864 WINBOOL HeapLock(HANDLE);
865 WINBOOL HeapUnlock(HANDLE);
866 WINBOOL HeapWalk(HANDLE, LPPROCESS_HEAP_ENTRY);
867 WINBOOL GetProcessAffinityMask(HANDLE, LPDWORD, LPDWORD);
868 WINBOOL GetProcessTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME);
869 WINBOOL GetProcessWorkingSetSize(HANDLE, LPDWORD, LPDWORD);
870 WINBOOL SetProcessWorkingSetSize(HANDLE, DWORD, DWORD);
871 HANDLE OpenProcess(DWORD, WINBOOL, DWORD);
872 HANDLE GetCurrentProcess();
873 DWORD GetCurrentProcessId();
874 void ExitProcess(UINT);
875 WINBOOL TerminateProcess(HANDLE, UINT);
876 WINBOOL GetExitCodeProcess(HANDLE, LPDWORD);
877 void FatalExit(int);
878 void RaiseException(DWORD, DWORD, DWORD, const ULONG_PTR*);
879 LONG UnhandledExceptionFilter(EMPTYRECORD*);
880 HANDLE CreateRemoteThread(HANDLE, LPSECURITY_ATTRIBUTES, DWORD, LPTHREAD_START_ROUTINE, LPVOID, DWORD, LPDWORD);
881 HANDLE GetCurrentThread();
882 DWORD GetCurrentThreadId();
883 DWORD SetThreadAffinityMask(HANDLE, DWORD);
884 WINBOOL SetThreadPriority(HANDLE, int);
885 int GetThreadPriority(HANDLE);
886 WINBOOL GetThreadTimes(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME, LPFILETIME);
887 void ExitThread(DWORD);
888 WINBOOL TerminateThread(HANDLE, DWORD);
889 WINBOOL GetExitCodeThread(HANDLE, LPDWORD);
890 WINBOOL GetThreadSelectorEntry(HANDLE, DWORD, LPLDT_ENTRY);
891 DWORD GetLastError();
892 void SetLastError(DWORD);
893 UINT SetErrorMode(UINT);
894 WINBOOL ReadProcessMemory(HANDLE, LPCVOID, LPVOID, DWORD, LPDWORD);
895 WINBOOL WriteProcessMemory(HANDLE, LPVOID, LPVOID, DWORD, LPDWORD);
896 WINBOOL GetThreadContext(HANDLE, LPCONTEXT);
897 DWORD SuspendThread(HANDLE);
898 DWORD ResumeThread(HANDLE);
899 void DebugBreak();
900 WINBOOL WaitForDebugEvent(LPDEBUG_EVENT, DWORD);
901 WINBOOL ContinueDebugEvent(DWORD, DWORD, DWORD);
902 WINBOOL DebugActiveProcess(DWORD);
903 void InitializeCriticalSection(LPCRITICAL_SECTION);
904 void EnterCriticalSection(LPCRITICAL_SECTION);
905 WINBOOL TryEnterCriticalSection(LPCRITICAL_SECTION);
906 void LeaveCriticalSection(LPCRITICAL_SECTION);
907 void DeleteCriticalSection(LPCRITICAL_SECTION);
908 WINBOOL SetEvent(HANDLE);
909 WINBOOL ResetEvent(HANDLE);
910 WINBOOL PulseEvent(HANDLE);
911 WINBOOL ReleaseSemaphore(HANDLE, LONG, LPLONG);
912 WINBOOL ReleaseMutex(HANDLE);
913 DWORD WaitForSingleObject(HANDLE, DWORD);
914 DWORD WaitForMultipleObjects(DWORD, HANDLE*, WINBOOL, DWORD);
915 void Sleep(DWORD);
916 HGLOBAL LoadResource(HINST, HRSRC);
917 DWORD SizeofResource(HINST, HRSRC);
918 ATOM GlobalDeleteAtom(ATOM);
919 WINBOOL InitAtomTable(DWORD);
920 ATOM DeleteAtom(ATOM);
921 UINT SetHandleCount(UINT);
922 DWORD GetLogicalDrives();
923 WINBOOL LockFile(HANDLE, DWORD, DWORD, DWORD, DWORD);
924 WINBOOL UnlockFile(HANDLE, DWORD, DWORD, DWORD, DWORD);
925 WINBOOL LockFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPOVERLAPPED);
926 WINBOOL UnlockFileEx(HANDLE, DWORD, DWORD, DWORD, LPOVERLAPPED);
927 WINBOOL GetFileInformationByHandle(HANDLE, LPBY_HANDLE_FILE_INFORMATION);
928 DWORD GetFileType(HANDLE);
929 DWORD GetFileSize(HANDLE, LPDWORD);
930 HANDLE GetStdHandle(DWORD);
931 WINBOOL SetStdHandle(DWORD, HANDLE);
932 WINBOOL FlushFileBuffers(HANDLE);
933 WINBOOL DeviceIoControl(HANDLE, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPOVERLAPPED);
934 WINBOOL SetEndOfFile(HANDLE);
935 WINBOOL GetFileSizeEx(HANDLE, PLARGE_INTEGER); 
936 DWORD SetFilePointer(HANDLE, LONG, PLONG, DWORD);
937 WINBOOL SetFilePointerEx(HANDLE, LARGE_INTEGER, PLARGE_INTEGER, DWORD); 
938 WINBOOL FindClose(HANDLE);
939 WINBOOL GetFileTime(HANDLE, LPFILETIME, LPFILETIME, LPFILETIME);
940 WINBOOL SetFileTime(HANDLE, FILETIME*, FILETIME*, FILETIME*);
941 WINBOOL CloseHandle(HANDLE);
942 WINBOOL DuplicateHandle(HANDLE, HANDLE, HANDLE, LPHANDLE, DWORD, WINBOOL, DWORD);
943 WINBOOL GetHandleInformation(HANDLE, LPDWORD);
944 WINBOOL SetHandleInformation(HANDLE, DWORD, DWORD);
945 DWORD LoadModule(LPCSTR, LPVOID);
946 UINT WinExec(LPCSTR, UINT);
947 WINBOOL ClearCommBreak(HANDLE);
948 WINBOOL ClearCommError(HANDLE, LPDWORD, LPCOMSTAT);
949 WINBOOL SetupComm(HANDLE, DWORD, DWORD);
950 WINBOOL EscapeCommFunction(HANDLE, DWORD);
951 WINBOOL GetCommConfig(HANDLE, LPCOMMCONFIG, LPDWORD);
952 WINBOOL GetCommProperties(HANDLE, LPCOMMPROP);
953 WINBOOL GetCommModemStatus(HANDLE, PDWORD);
954 WINBOOL GetCommState(HANDLE, PDCB);
955 WINBOOL GetCommTimeouts(HANDLE, PCOMMTIMEOUTS);
956 WINBOOL PurgeComm(HANDLE, DWORD);
957 WINBOOL SetCommBreak(HANDLE);
958 WINBOOL SetCommConfig(HANDLE, LPCOMMCONFIG, DWORD);
959 WINBOOL SetCommMask(HANDLE, DWORD);
960 WINBOOL SetCommState(HANDLE, TDCB*);
961 WINBOOL SetCommTimeouts(HANDLE, TCOMMTIMEOUTS*);
962 WINBOOL TransmitCommChar(HANDLE, char);
963 WINBOOL WaitCommEvent(HANDLE, LPDWORD, LPOVERLAPPED);
964 DWORD SetTapePosition(HANDLE, DWORD, DWORD, DWORD, DWORD, WINBOOL);
965 DWORD GetTapePosition(HANDLE, DWORD, LPDWORD, LPDWORD, LPDWORD);
966 DWORD PrepareTape(HANDLE, DWORD, WINBOOL);
967 DWORD EraseTape(HANDLE, DWORD, WINBOOL);
968 DWORD CreateTapePartition(HANDLE, DWORD, DWORD, DWORD);
969 DWORD WriteTapemark(HANDLE, DWORD, DWORD, WINBOOL);
970 DWORD GetTapeStatus(HANDLE);
971 DWORD GetTapeParameters(HANDLE, DWORD, LPDWORD, LPVOID);
972 DWORD SetTapeParameters(HANDLE, DWORD, LPVOID);
973 WINBOOL Beep(DWORD, DWORD);
974 int MulDiv(int, int, int);
975 void GetSystemTime(LPSYSTEMTIME);
976 void GetSystemTimeAsFileTime(FILETIME*);
977 WINBOOL SetSystemTime(SYSTEMTIME*);
978 void GetLocalTime(LPSYSTEMTIME);
979 WINBOOL SetLocalTime(SYSTEMTIME*);
980 void GetSystemInfo(LPSYSTEM_INFO);
981 WINBOOL SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION, LPSYSTEMTIME, LPSYSTEMTIME);
982 DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION);
983 WINBOOL SetTimeZoneInformation(TIME_ZONE_INFORMATION*);
984 WINBOOL SystemTimeToFileTime(SYSTEMTIME*, LPFILETIME);
985 WINBOOL FileTimeToLocalFileTime(FILETIME*, LPFILETIME);
986 WINBOOL LocalFileTimeToFileTime(FILETIME*, LPFILETIME);
987 WINBOOL FileTimeToSystemTime(FILETIME*, LPSYSTEMTIME);
988 LONG CompareFileTime(FILETIME*, FILETIME*);
989 WINBOOL FileTimeToDosDateTime(FILETIME*, LPWORD, LPWORD);
990 WINBOOL DosDateTimeToFileTime(ushort, ushort, LPFILETIME);
991 DWORD GetTickCount();
992 WINBOOL SetSystemTimeAdjustment(DWORD, WINBOOL);
993 WINBOOL GetSystemTimeAdjustment(PDWORD, PDWORD, PWINBOOL);
994 WINBOOL CreatePipe(PHANDLE, PHANDLE, LPSECURITY_ATTRIBUTES, DWORD);
995 WINBOOL ConnectNamedPipe(HANDLE, LPOVERLAPPED);
996 WINBOOL DisconnectNamedPipe(HANDLE);
997 WINBOOL SetNamedPipeHandleState(HANDLE, LPDWORD, LPDWORD, LPDWORD);
998 WINBOOL GetNamedPipeInfo(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
999 WINBOOL PeekNamedPipe(HANDLE, LPVOID, DWORD, LPDWORD, LPDWORD, LPDWORD);
1000 WINBOOL TransactNamedPipe(HANDLE, LPVOID, DWORD, LPVOID, DWORD, LPDWORD, LPOVERLAPPED);
1001 WINBOOL GetMailslotInfo(HANDLE, LPDWORD, LPDWORD, LPDWORD, LPDWORD);
1002 WINBOOL SetMailslotInfo(HANDLE, DWORD);
1003 LPVOID MapViewOfFile(HANDLE, DWORD, DWORD, DWORD, DWORD);
1004 WINBOOL FlushViewOfFile(LPCVOID, DWORD);
1005 WINBOOL UnmapViewOfFile(LPVOID);
1006 HFILE OpenFile(LPCSTR, LPOFSTRUCT, UINT);
1007 HFILE _lopen(LPCSTR, int);
1008 HFILE _lcreat(LPCSTR, int);
1009 UINT _lread(HFILE, LPVOID, UINT);
1010 UINT _lwrite(HFILE, LPCSTR, UINT);
1011 int _hread(HFILE, LPVOID, int);
1012 int _hwrite(HFILE, LPCSTR, int);
1013 HFILE _lclose(HFILE);
1014 LONG _llseek(HFILE, LONG, int);
1015 WINBOOL IsTextUnicode(LPVOID, int, LPINT);
1016 DWORD TlsAlloc();
1017 LPVOID TlsGetValue(DWORD);
1018 WINBOOL TlsSetValue(DWORD, LPVOID);
1019 WINBOOL TlsFree(DWORD);
1020 DWORD SleepEx(DWORD, WINBOOL);
1021 DWORD WaitForSingleObjectEx(HANDLE, DWORD, WINBOOL);
1022 DWORD WaitForMultipleObjectsEx(DWORD, HANDLE*, WINBOOL, DWORD, WINBOOL);
1023 WINBOOL ReadFileEx(HANDLE, LPVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE);
1024 WINBOOL WriteFileEx(HANDLE, LPCVOID, DWORD, LPOVERLAPPED, LPOVERLAPPED_COMPLETION_ROUTINE);
1025 WINBOOL BackupRead(HANDLE, LPBYTE, DWORD, LPDWORD, WINBOOL, WINBOOL, LPVOID*);
1026 WINBOOL BackupSeek(HANDLE, DWORD, DWORD, LPDWORD, LPDWORD, LPVOID*);
1027 WINBOOL BackupWrite(HANDLE, LPBYTE, DWORD, LPDWORD, WINBOOL, WINBOOL, LPVOID*);
1028 WINBOOL SetProcessShutdownParameters(DWORD, DWORD);
1029 WINBOOL GetProcessShutdownParameters(LPDWORD, LPDWORD);
1030 void SetFileApisToOEM();
1031 void SetFileApisToANSI();
1032 WINBOOL AreFileApisANSI();
1033 WINBOOL CloseEventLog(HANDLE);
1034 WINBOOL DeregisterEventSource(HANDLE);
1035 WINBOOL NotifyChangeEventLog(HANDLE, HANDLE);
1036 WINBOOL GetNumberOfEventLogRecords(HANDLE, PDWORD);
1037 WINBOOL GetOldestEventLogRecord(HANDLE, PDWORD);
1038 WINBOOL DuplicateToken(HANDLE, SECURITY_IMPERSONATION_LEVEL, PHANDLE);
1039 WINBOOL GetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);
1040 WINBOOL ImpersonateNamedPipeClient(HANDLE);
1041 WINBOOL ImpersonateLoggedOnUser(HANDLE);
1042 WINBOOL ImpersonateSelf(SECURITY_IMPERSONATION_LEVEL);
1043 WINBOOL RevertToSelf();
1044 WINBOOL SetThreadToken(PHANDLE, HANDLE);
1045 WINBOOL OpenProcessToken(HANDLE, DWORD, PHANDLE);
1046 WINBOOL OpenThreadToken(HANDLE, DWORD, WINBOOL, PHANDLE);
1047 WINBOOL GetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, LPVOID, DWORD, PDWORD);
1048 WINBOOL SetTokenInformation(HANDLE, TOKEN_INFORMATION_CLASS, LPVOID, DWORD);
1049 WINBOOL AdjustTokenPrivileges(HANDLE, WINBOOL, PTOKEN_PRIVILEGES, DWORD, PTOKEN_PRIVILEGES, PDWORD);
1050 WINBOOL AdjustTokenGroups(HANDLE, WINBOOL, PTOKEN_GROUPS, DWORD, PTOKEN_GROUPS, PDWORD);
1051 WINBOOL PrivilegeCheck(HANDLE, PPRIVILEGE_SET, LPBOOL);
1052 WINBOOL IsValidSid(PSID);
1053 WINBOOL EqualSid(PSID, PSID);
1054 WINBOOL EqualPrefixSid(PSID, PSID);
1055 DWORD GetSidLengthRequired(UCHAR);
1056 WINBOOL AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY, ubyte, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, DWORD, PSID*);
1057 PVOID FreeSid(PSID);
1058 WINBOOL InitializeSid(PSID, PSID_IDENTIFIER_AUTHORITY, ubyte);
1059 PSID_IDENTIFIER_AUTHORITY GetSidIdentifierAuthority(PSID);
1060 PDWORD GetSidSubAuthority(PSID, DWORD);
1061 PUCHAR GetSidSubAuthorityCount(PSID);
1062 DWORD GetLengthSid(PSID);
1063 WINBOOL CopySid(DWORD, PSID, PSID);
1064 WINBOOL AreAllAccessesGranted(DWORD, DWORD);
1065 WINBOOL AreAnyAccessesGranted(DWORD, DWORD);
1066 void MapGenericMask(PDWORD, PGENERIC_MAPPING);
1067 WINBOOL IsValidAcl(PACL);
1068 WINBOOL InitializeAcl(PACL, DWORD, DWORD);
1069 WINBOOL GetAclInformation(PACL, LPVOID, DWORD, ACL_INFORMATION_CLASS);
1070 WINBOOL SetAclInformation(PACL, LPVOID, DWORD, ACL_INFORMATION_CLASS);
1071 WINBOOL AddAce(PACL, DWORD, DWORD, LPVOID, DWORD);
1072 WINBOOL DeleteAce(PACL, DWORD);
1073 WINBOOL GetAce(PACL, DWORD, LPVOID*);
1074 WINBOOL AddAccessAllowedAce(PACL, DWORD, DWORD, PSID);
1075 WINBOOL AddAccessDeniedAce(PACL, DWORD, DWORD, PSID);
1076 WINBOOL AddAuditAccessAce(PACL, DWORD, DWORD, PSID, WINBOOL, WINBOOL);
1077 WINBOOL FindFirstFreeAce(PACL, LPVOID*);
1078 WINBOOL InitializeSecurityDescriptor(PSECURITY_DESCRIPTOR, DWORD);
1079 WINBOOL IsValidSecurityDescriptor(PSECURITY_DESCRIPTOR);
1080 DWORD GetSecurityDescriptorLength(PSECURITY_DESCRIPTOR);
1081 WINBOOL GetSecurityDescriptorControl(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR_CONTROL, LPDWORD);
1082 WINBOOL SetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, WINBOOL, PACL, WINBOOL);
1083 WINBOOL GetSecurityDescriptorDacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL*, LPBOOL);
1084 WINBOOL SetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, WINBOOL, PACL, WINBOOL);
1085 WINBOOL GetSecurityDescriptorSacl(PSECURITY_DESCRIPTOR, LPBOOL, PACL*, LPBOOL);
1086 WINBOOL SetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID, WINBOOL);
1087 WINBOOL GetSecurityDescriptorOwner(PSECURITY_DESCRIPTOR, PSID*, LPBOOL);
1088 WINBOOL SetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID, WINBOOL);
1089 WINBOOL GetSecurityDescriptorGroup(PSECURITY_DESCRIPTOR, PSID*, LPBOOL);
1090 WINBOOL CreatePrivateObjectSecurity(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR*, WINBOOL, HANDLE, PGENERIC_MAPPING);
1091 WINBOOL SetPrivateObjectSecurity(SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR*, PGENERIC_MAPPING, HANDLE);
1092 WINBOOL GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
1093 WINBOOL DestroyPrivateObjectSecurity(PSECURITY_DESCRIPTOR);
1094 WINBOOL MakeSelfRelativeSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, LPDWORD);
1095 WINBOOL MakeAbsoluteSD(PSECURITY_DESCRIPTOR, PSECURITY_DESCRIPTOR, LPDWORD, PACL, LPDWORD, PACL, LPDWORD, PSID, LPDWORD, PSID, LPDWORD);
1096 WINBOOL SetKernelObjectSecurity(HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
1097 WINBOOL FindNextChangeNotification(HANDLE);
1098 WINBOOL FindCloseChangeNotification(HANDLE);
1099 WINBOOL VirtualLock(LPVOID, DWORD);
1100 WINBOOL VirtualUnlock(LPVOID, DWORD);
1101 LPVOID MapViewOfFileEx(HANDLE, DWORD, DWORD, DWORD, DWORD, LPVOID);
1102 WINBOOL SetPriorityClass(HANDLE, DWORD);
1103 DWORD GetPriorityClass(HANDLE);
1104 WINBOOL IsBadReadPtr(POINTER, UINT);
1105 WINBOOL IsBadWritePtr(LPVOID, UINT);
1106 WINBOOL IsBadHugeReadPtr(POINTER, UINT);
1107 WINBOOL IsBadHugeWritePtr(LPVOID, UINT);
1108 WINBOOL IsBadCodePtr(FARPROC);
1109 WINBOOL AllocateLocallyUniqueId(PLUID);
1110 WINBOOL QueryPerformanceCounter(PLARGE_INTEGER);
1111 WINBOOL QueryPerformanceFrequency(PLARGE_INTEGER);
1112 WINBOOL ActivateKeyboardLayout(HKL, UINT);
1113 WINBOOL UnloadKeyboardLayout(HKL);
1114 int GetKeyboardLayoutList(int, HKL*);
1115 HKL GetKeyboardLayout(DWORD);
1116 HDESK OpenInputDesktop(DWORD, WINBOOL, DWORD);
1117 WINBOOL EnumDesktopWindows(HDESK, ENUMWINDOWSPROC, LPARAM);
1118 WINBOOL SwitchDesktop(HDESK);
1119 WINBOOL SetThreadDesktop(HDESK);
1120 WINBOOL CloseDesktop(HDESK);
1121 HDESK GetThreadDesktop(DWORD);
1122 WINBOOL CloseWindowStation(HWINSTA);
1123 WINBOOL SetProcessWindowStation(HWINSTA);
1124 HWINSTA GetProcessWindowStation();
1125 WINBOOL SetUserObjectSecurity(HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
1126 WINBOOL GetUserObjectSecurity(HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);
1127 WINBOOL TranslateMessage(LPMSG);
1128 WINBOOL SetMessageQueue(int);
1129 WINBOOL RegisterHotKey(HWND, int, UINT, UINT);
1130 WINBOOL UnregisterHotKey(HWND, int);
1131 WINBOOL ExitWindowsEx(UINT, DWORD);
1132 WINBOOL SwapMouseButton(WINBOOL);
1133 DWORD GetMessagePos();
1134 LONG GetMessageTime();
1135 LONG GetMessageExtraInfo();
1136 LPARAM SetMessageExtraInfo(LPARAM);
1137 int BroadcastSystemMessage(DWORD, LPDWORD, UINT, WPARAM, LPARAM);
1138 WINBOOL AttachThreadInput(DWORD, DWORD, WINBOOL);
1139 WINBOOL ReplyMessage(LRESULT);
1140 WINBOOL WaitMessage();
1141 DWORD WaitForInputIdle(HANDLE, DWORD);
1142 void PostQuitMessage(int);
1143 WINBOOL InSendMessage();
1144 UINT GetDoubleClickTime();
1145 WINBOOL SetDoubleClickTime(UINT);
1146 WINBOOL IsWindow(HWND);
1147 WINBOOL IsMenu(HMENU);
1148 WINBOOL IsChild(HWND, HWND);
1149 WINBOOL DestroyWindow(HWND);
1150 WINBOOL ShowWindow(HWND, int);
1151 WINBOOL ShowWindowAsync(HWND, int);
1152 WINBOOL FlashWindow(HWND, WINBOOL);
1153 WINBOOL ShowOwnedPopups(HWND, WINBOOL);
1154 WINBOOL OpenIcon(HWND);
1155 WINBOOL CloseWindow(HWND);
1156 WINBOOL MoveWindow(HWND, int, int, int, int, WINBOOL);
1157 WINBOOL SetWindowPos(HWND, HWND, int, int, int, int, UINT);
1158 WINBOOL GetWindowPlacement(HWND, WINDOWPLACEMENT*);
1159 WINBOOL SetWindowPlacement(HWND, WINDOWPLACEMENT*);
1160 HDWP BeginDeferWindowPos(int);
1161 HDWP DeferWindowPos(HDWP, HWND, HWND, int, int, int, int, UINT);
1162 WINBOOL EndDeferWindowPos(HDWP);
1163 WINBOOL IsWindowVisible(HWND);
1164 WINBOOL IsIconic(HWND);
1165 WINBOOL AnyPopup();
1166 WINBOOL BringWindowToTop(HWND);
1167 WINBOOL IsZoomed(HWND);
1168 WINBOOL EndDialog(HWND, int);
1169 HWND GetDlgItem(HWND, int);
1170 WINBOOL SetDlgItemInt(HWND, int, UINT, WINBOOL);
1171 UINT GetDlgItemInt(HWND, int, WINBOOL*, WINBOOL);
1172 WINBOOL CheckDlgButton(HWND, int, UINT);
1173 WINBOOL CheckRadioButton(HWND, int, int, int);
1174 UINT IsDlgButtonChecked(HWND, int);
1175 HWND GetNextDlgGroupItem(HWND, HWND, WINBOOL);
1176 HWND GetNextDlgTabItem(HWND, HWND, WINBOOL);
1177 int GetDlgCtrlID(HWND);
1178 int GetDialogBaseUnits();
1179 WINBOOL OpenClipboard(HWND);
1180 WINBOOL CloseClipboard();
1181 HWND GetClipboardOwner();
1182 HWND SetClipboardViewer(HWND);
1183 HWND GetClipboardViewer();
1184 WINBOOL ChangeClipboardChain(HWND, HWND);
1185 HANDLE SetClipboardData(UINT, HANDLE);
1186 HANDLE GetClipboardData(UINT);
1187 int CountClipboardFormats();
1188 UINT EnumClipboardFormats(UINT);
1189 WINBOOL EmptyClipboard();
1190 WINBOOL IsClipboardFormatAvailable(UINT);
1191 int GetPriorityClipboardFormat(UINT*, int);
1192 HWND GetOpenClipboardWindow();
1193 LPSTR CharNextExA(ushort, LPCSTR, DWORD);
1194 LPSTR CharPrevExA(ushort, LPCSTR, LPCSTR, DWORD);
1195 HWND SetFocus(HWND);
1196 HWND GetActiveWindow();
1197 HWND GetFocus();
1198 UINT GetKBCodePage();
1199 SHORT GetKeyState(int);
1200 SHORT GetAsyncKeyState(int);
1201 WINBOOL GetKeyboardState(PBYTE);
1202 WINBOOL SetKeyboardState(LPBYTE);
1203 int GetKeyboardType(int);
1204 int ToAscii(UINT, UINT, PBYTE, LPWORD, UINT);
1205 int ToAsciiEx(UINT, UINT, PBYTE, LPWORD, UINT, HKL);
1206 int ToUnicode(UINT, UINT, PBYTE, LPWSTR, int, UINT);
1207 DWORD OemKeyScan(ushort);
1208 void keybd_event(ubyte, ubyte, DWORD, POINTER);
1209 void mouse_event(DWORD, DWORD, DWORD, DWORD, ULONG_PTR);
1210 WINBOOL GetInputState();
1211 DWORD GetQueueStatus(UINT);
1212 HWND GetCapture();
1213 HWND SetCapture(HWND);
1214 WINBOOL ReleaseCapture();
1215 DWORD MsgWaitForMultipleObjects(DWORD, LPHANDLE, WINBOOL, DWORD, DWORD);
1216 UINT SetTimer(HWND, UINT, UINT, TIMERPROC);
1217 WINBOOL KillTimer(HWND, UINT);
1218 WINBOOL IsWindowUnicode(HWND);
1219 WINBOOL EnableWindow(HWND, WINBOOL);
1220 WINBOOL IsWindowEnabled(HWND);
1221 WINBOOL DestroyAcceleratorTable(HACCEL);
1222 int GetSystemMetrics(int);
1223 HMENU GetMenu(HWND);
1224 WINBOOL SetMenu(HWND, HMENU);
1225 WINBOOL HiliteMenuItem(HWND, HMENU, UINT, UINT);
1226 UINT GetMenuState(HMENU, UINT, UINT);
1227 WINBOOL DrawMenuBar(HWND);
1228 HMENU GetSystemMenu(HWND, WINBOOL);
1229 HMENU CreateMenu();
1230 HMENU CreatePopupMenu();
1231 WINBOOL DestroyMenu(HMENU);
1232 DWORD CheckMenuItem(HMENU, UINT, UINT);
1233 WINBOOL EnableMenuItem(HMENU, UINT, UINT);
1234 HMENU GetSubMenu(HMENU, int);
1235 UINT GetMenuItemID(HMENU, int);
1236 int GetMenuItemCount(HMENU);
1237 WINBOOL RemoveMenu(HMENU, UINT, UINT);
1238 WINBOOL DeleteMenu(HMENU, UINT, UINT);
1239 WINBOOL SetMenuItemBitmaps(HMENU, UINT, UINT, HBITMAP, HBITMAP);
1240 LONG GetMenuCheckMarkDimensions();
1241 WINBOOL TrackPopupMenu(HMENU, UINT, int, int, int, HWND, RECT*);
1242 UINT GetMenuDefaultItem(HMENU, UINT, UINT);
1243 WINBOOL SetMenuDefaultItem(HMENU, UINT, UINT);
1244 WINBOOL GetMenuItemRect(HWND, HMENU, UINT, LPRECT);
1245 int MenuItemFromPoint(HWND, HMENU, POINT);
1246 DWORD DragObject(HWND, HWND, UINT, DWORD, HCURSOR);
1247 WINBOOL DragDetect(HWND, POINT);
1248 WINBOOL DrawIcon(HDC, int, int, HICON);
1249 WINBOOL UpdateWindow(HWND);
1250 HWND SetActiveWindow(HWND);
1251 HWND GetForegroundWindow();
1252 WINBOOL PaintDesktop(HDC);
1253 WINBOOL SetForegroundWindow(HWND);
1254 HWND WindowFromDC(HDC);
1255 HDC GetDC(HWND);
1256 HDC GetDCEx(HWND, HRGN, DWORD);
1257 HDC GetWindowDC(HWND);
1258 int ReleaseDC(HWND, HDC);
1259 HDC BeginPaint(HWND, LPPAINTSTRUCT);
1260 WINBOOL EndPaint(HWND, LPPAINTSTRUCT);
1261 WINBOOL GetUpdateRect(HWND, LPRECT, WINBOOL);
1262 int GetUpdateRgn(HWND, HRGN, WINBOOL);
1263 int SetWindowRgn(HWND, HRGN, WINBOOL);
1264 int GetWindowRgn(HWND, HRGN);
1265 int ExcludeUpdateRgn(HDC, HWND);
1266 WINBOOL InvalidateRect(HWND, RECT*, WINBOOL);
1267 WINBOOL ValidateRect(HWND, RECT*);
1268 WINBOOL InvalidateRgn(HWND, HRGN, WINBOOL);
1269 WINBOOL ValidateRgn(HWND, HRGN);
1270 WINBOOL RedrawWindow(HWND, RECT*, HRGN, UINT);
1271 WINBOOL LockWindowUpdate(HWND);
1272 WINBOOL ScrollWindow(HWND, int, int, RECT*, RECT*);
1273 WINBOOL ScrollDC(HDC, int, int, RECT*, RECT*, HRGN, LPRECT);
1274 int ScrollWindowEx(HWND, int, int, RECT*, RECT*, HRGN, LPRECT, UINT);
1275 int SetScrollPos(HWND, int, int, WINBOOL);
1276 int GetScrollPos(HWND, int);
1277 WINBOOL SetScrollRange(HWND, int, int, int, WINBOOL);
1278 WINBOOL GetScrollRange(HWND, int, LPINT, LPINT);
1279 WINBOOL ShowScrollBar(HWND, int, WINBOOL);
1280 WINBOOL EnableScrollBar(HWND, UINT, UINT);
1281 WINBOOL GetClientRect(HWND, LPRECT);
1282 WINBOOL GetWindowRect(HWND, LPRECT);
1283 WINBOOL AdjustWindowRect(LPRECT, DWORD, WINBOOL);
1284 WINBOOL AdjustWindowRectEx(LPRECT, DWORD, WINBOOL, DWORD);
1285 WINBOOL SetWindowContextHelpId(HWND, DWORD);
1286 DWORD GetWindowContextHelpId(HWND);
1287 WINBOOL SetMenuContextHelpId(HMENU, DWORD);
1288 DWORD GetMenuContextHelpId(HMENU);
1289 WINBOOL MessageBeep(UINT);
1290 int ShowCursor(WINBOOL);
1291 WINBOOL SetCursorPos(int, int);
1292 HCURSOR SetCursor(HCURSOR);
1293 WINBOOL GetCursorPos(LPPOINT);
1294 WINBOOL ClipCursor(RECT*);
1295 WINBOOL GetClipCursor(LPRECT);
1296 HCURSOR GetCursor();
1297 WINBOOL CreateCaret(HWND, HBITMAP, int, int);
1298 UINT GetCaretBlinkTime();
1299 WINBOOL SetCaretBlinkTime(UINT);
1300 WINBOOL DestroyCaret();
1301 WINBOOL HideCaret(HWND);
1302 WINBOOL ShowCaret(HWND);
1303 WINBOOL SetCaretPos(int, int);
1304 WINBOOL GetCaretPos(LPPOINT);
1305 WINBOOL ClientToScreen(HWND, LPPOINT);
1306 WINBOOL ScreenToClient(HWND, LPPOINT);
1307 int MapWindowPoints(HWND, HWND, LPPOINT, UINT);
1308 HWND WindowFromPoint(POINT);
1309 HWND ChildWindowFromPoint(HWND, POINT);
1310 DWORD GetSysColor(int);
1311 HBRUSH GetSysColorBrush(int);
1312 WINBOOL SetSysColors(int, WINT*, COLORREF*);
1313 WINBOOL DrawFocusRect(HDC, RECT*);
1314 int FillRect(HDC, RECT*, HBRUSH);
1315 int FrameRect(HDC, RECT*, HBRUSH);
1316 WINBOOL InvertRect(HDC, RECT*);
1317 WINBOOL SetRect(LPRECT, int, int, int, int);
1318 WINBOOL SetRectEmpty(LPRECT);
1319 WINBOOL CopyRect(LPRECT, RECT*);
1320 WINBOOL InflateRect(LPRECT, int, int);
1321 WINBOOL IntersectRect(LPRECT, RECT*, RECT*);
1322 WINBOOL UnionRect(LPRECT, RECT*, RECT*);
1323 WINBOOL SubtractRect(LPRECT, RECT*, RECT*);
1324 WINBOOL OffsetRect(LPRECT, int, int);
1325 WINBOOL IsRectEmpty(RECT*);
1326 WINBOOL EqualRect(RECT*, RECT*);
1327 WINBOOL PtInRect(RECT*, POINT);
1328 ushort GetWindowWord(HWND, int);
1329 ushort SetWindowWord(HWND, int, ushort);
1330 ushort GetClassWord(HWND, int);
1331 ushort SetClassWord(HWND, int, ushort);
1332 HWND GetDesktopWindow();
1333 HWND GetParent(HWND);
1334 HWND SetParent(HWND, HWND);
1335 WINBOOL EnumChildWindows(HWND, ENUMWINDOWSPROC, LPARAM);
1336 WINBOOL EnumWindows(ENUMWINDOWSPROC, LPARAM);
1337 WINBOOL EnumThreadWindows(DWORD, ENUMWINDOWSPROC, LPARAM);
1338 HWND GetTopWindow(HWND);
1339 DWORD GetWindowThreadProcessId(HWND, LPDWORD);
1340 HWND GetLastActivePopup(HWND);
1341 HWND GetWindow(HWND, UINT);
1342 WINBOOL UnhookWindowsHook(int, HOOKPROC);
1343 WINBOOL UnhookWindowsHookEx(HHOOK);
1344 LRESULT CallNextHookEx(HHOOK, int, WPARAM, LPARAM);
1345 WINBOOL CheckMenuRadioItem(HMENU, UINT, UINT, UINT, UINT);
1346 HCURSOR CreateCursor(HINST, int, int, int, int, POINTER, POINTER);
1347 WINBOOL DestroyCursor(HCURSOR);
1348 WINBOOL SetSystemCursor(HCURSOR, DWORD);
1349 HICON CreateIcon(HINST, int, int, ubyte, ubyte, ubyte*, ubyte*);
1350 WINBOOL DestroyIcon(HICON);
1351 int LookupIconIdFromDirectory(PBYTE, WINBOOL);
1352 int LookupIconIdFromDirectoryEx(PBYTE, WINBOOL, int, int, UINT);
1353 HICON CreateIconFromResource(PBYTE, DWORD, WINBOOL, DWORD);
1354 HICON CreateIconFromResourceEx(PBYTE, DWORD, WINBOOL, DWORD, int, int, UINT);
1355 HICON CopyImage(HANDLE, UINT, int, int, UINT);
1356 HICON CreateIconIndirect(PICONINFO);
1357 HICON CopyIcon(HICON);
1358 WINBOOL GetIconInfo(HICON, PICONINFO);
1359 WINBOOL MapDialogRect(HWND, LPRECT);
1360 int SetScrollInfo(HWND, int, LPCSCROLLINFO, WINBOOL);
1361 WINBOOL GetScrollInfo(HWND, int, LPSCROLLINFO);
1362 WINBOOL TranslateMDISysAccel(HWND, LPMSG);
1363 UINT ArrangeIconicWindows(HWND);
1364 ushort TileWindows(HWND, UINT, RECT*, UINT, HWND*);
1365 ushort CascadeWindows(HWND, UINT, RECT*, UINT, HWND*);
1366 void SetLastErrorEx(DWORD, DWORD);
1367 void SetDebugErrorLevel(DWORD);
1368 WINBOOL DrawEdge(HDC, LPRECT, UINT, UINT);
1369 WINBOOL DrawFrameControl(HDC, LPRECT, UINT, UINT);
1370 WINBOOL DrawCaption(HWND, HDC, RECT*, UINT);
1371 WINBOOL DrawAnimatedRects(HWND, int, RECT*, RECT*);
1372 WINBOOL TrackPopupMenuEx(HMENU, UINT, int, int, HWND, LPTPMPARAMS);
1373 HWND ChildWindowFromPointEx(HWND, POINT, UINT);
1374 WINBOOL DrawIconEx(HDC, int, int, HICON, int, int, UINT, HBRUSH, UINT);
1375 WINBOOL AnimatePalette(HPALETTE, UINT, UINT, PALETTEENTRY*);
1376 WINBOOL Arc(HDC, int, int, int, int, int, int, int, int);
1377 WINBOOL BitBlt(HDC, int, int, int, int, HDC, int, int, DWORD);
1378 WINBOOL CancelDC(HDC);
1379 WINBOOL Chord(HDC, int, int, int, int, int, int, int, int);
1380 HMETAFILE CloseMetaFile(HDC);
1381 int CombineRgn(HRGN, HRGN, HRGN, int);
1382 HBITMAP CreateBitmap(int, int, UINT, UINT, POINTER);
1383 HBITMAP CreateBitmapIndirect(BITMAP*);
1384 HBRUSH CreateBrushIndirect(LOGBRUSH*);
1385 HBITMAP CreateCompatibleBitmap(HDC, int, int);
1386 HBITMAP CreateDiscardableBitmap(HDC, int, int);
1387 HDC CreateCompatibleDC(HDC);
1388 HBITMAP CreateDIBitmap(HDC, BITMAPINFOHEADER*, DWORD, POINTER, BITMAPINFO*, UINT);
1389 HBRUSH CreateDIBPatternBrush(HGLOBAL, UINT);
1390 HBRUSH CreateDIBPatternBrushPt(POINTER, UINT);
1391 HRGN CreateEllipticRgn(int, int, int, int);
1392 HRGN CreateEllipticRgnIndirect(RECT*);
1393 HBRUSH CreateHatchBrush(int, COLORREF);
1394 HPALETTE CreatePalette(LOGPALETTE*);
1395 HPEN CreatePen(int, int, COLORREF);
1396 HPEN CreatePenIndirect(LOGPEN*);
1397 HRGN CreatePolyPolygonRgn(POINT*, WINT*, int, int);
1398 HBRUSH CreatePatternBrush(HBITMAP);
1399 HRGN CreateRectRgn(int, int, int, int);
1400 HRGN CreateRectRgnIndirect(RECT*);
1401 HRGN CreateRoundRectRgn(int, int, int, int, int, int);
1402 HBRUSH CreateSolidBrush(COLORREF);
1403 WINBOOL DeleteDC(HDC);
1404 WINBOOL DeleteMetaFile(HMETAFILE);
1405 WINBOOL DeleteObject(HGDIOBJ);
1406 int DrawEscape(HDC, int, int, LPCSTR);
1407 WINBOOL Ellipse(HDC, int, int, int, int);
1408 int EnumObjects(HDC, int, ENUMOBJECTSPROC, LPARAM);
1409 WINBOOL EqualRgn(HRGN, HRGN);
1410 int Escape(HDC, int, int, LPCSTR, LPVOID);
1411 int ExtEscape(HDC, int, int, LPCSTR, int, LPSTR);
1412 int ExcludeClipRect(HDC, int, int, int, int);
1413 HRGN ExtCreateRegion(XFORM*, DWORD, RGNDATA*);
1414 WINBOOL ExtFloodFill(HDC, int, int, COLORREF, UINT);
1415 WINBOOL FillRgn(HDC, HRGN, HBRUSH);
1416 WINBOOL FloodFill(HDC, int, int, COLORREF);
1417 WINBOOL FrameRgn(HDC, HRGN, HBRUSH, int, int);
1418 int GetROP2(HDC);
1419 WINBOOL GetAspectRatioFilterEx(HDC, LPSIZE);
1420 COLORREF GetBkColor(HDC);
1421 int GetBkMode(HDC);
1422 LONG GetBitmapBits(HBITMAP, LONG, LPVOID);
1423 WINBOOL GetBitmapDimensionEx(HBITMAP, LPSIZE);
1424 UINT GetBoundsRect(HDC, LPRECT, UINT);
1425 WINBOOL GetBrushOrgEx(HDC, LPPOINT);
1426 int GetClipBox(HDC, LPRECT);
1427 int GetClipRgn(HDC, HRGN);
1428 int GetMetaRgn(HDC, HRGN);
1429 HGDIOBJ GetCurrentObject(HDC, UINT);
1430 WINBOOL GetCurrentPositionEx(HDC, LPPOINT);
1431 int GetDeviceCaps(HDC, int);
1432 int GetDIBits(HDC, HBITMAP, UINT, UINT, LPVOID, LPBITMAPINFO, UINT);
1433 DWORD GetFontData(HDC, DWORD, DWORD, LPVOID, DWORD);
1434 int GetGraphicsMode(HDC);
1435 int GetMapMode(HDC);
1436 UINT GetMetaFileBitsEx(HMETAFILE, UINT, LPVOID);
1437 COLORREF GetNearestColor(HDC, COLORREF);
1438 UINT GetNearestPaletteIndex(HPALETTE, COLORREF);
1439 DWORD GetObjectType(HGDIOBJ);
1440 UINT GetPaletteEntries(HPALETTE, UINT, UINT, LPPALETTEENTRY);
1441 COLORREF GetPixel(HDC, int, int);
1442 int GetPixelFormat(HDC);
1443 int GetPolyFillMode(HDC);
1444 WINBOOL GetRasterizerCaps(LPRASTERIZER_STATUS, UINT);
1445 DWORD GetRegionData(HRGN, DWORD, LPRGNDATA);
1446 int GetRgnBox(HRGN, LPRECT);
1447 HGDIOBJ GetStockObject(int);
1448 int GetStretchBltMode(HDC);
1449 UINT GetSystemPaletteEntries(HDC, UINT, UINT, LPPALETTEENTRY);
1450 UINT GetSystemPaletteUse(HDC);
1451 int GetTextCharacterExtra(HDC);
1452 UINT GetTextAlign(HDC);
1453 COLORREF GetTextColor(HDC);
1454 int GetTextCharset(HDC);
1455 int GetTextCharsetInfo(HDC, LPFONTSIGNATURE, DWORD);
1456 WINBOOL TranslateCharsetInfo(DWORD*, LPCHARSETINFO, DWORD);
1457 DWORD GetFontLanguageInfo(HDC);
1458 WINBOOL GetViewportExtEx(HDC, LPSIZE);
1459 WINBOOL GetViewportOrgEx(HDC, LPPOINT);
1460 WINBOOL GetWindowExtEx(HDC, LPSIZE);
1461 WINBOOL GetWindowOrgEx(HDC, LPPOINT);
1462 int IntersectClipRect(HDC, int, int, int, int);
1463 WINBOOL InvertRgn(HDC, HRGN);
1464 WINBOOL LineDDA(int, int, int, int, LINEDDAPROC, LPARAM);
1465 WINBOOL LineTo(HDC, int, int);
1466 WINBOOL MaskBlt(HDC, int, int, int, int, HDC, int, int, HBITMAP, int, int, DWORD);
1467 WINBOOL PlgBlt(HDC, POINT*, HDC, int, int, int, int, HBITMAP, int, int);
1468 int OffsetClipRgn(HDC, int, int);
1469 int OffsetRgn(HRGN, int, int);
1470 WINBOOL PatBlt(HDC, int, int, int, int, DWORD);
1471 WINBOOL Pie(HDC, int, int, int, int, int, int, int, int);
1472 WINBOOL PlayMetaFile(HDC, HMETAFILE);
1473 WINBOOL PaintRgn(HDC, HRGN);
1474 WINBOOL PolyPolygon(HDC, POINT*, WINT*, int);
1475 WINBOOL PtInRegion(HRGN, int, int);
1476 WINBOOL PtVisible(HDC, int, int);
1477 WINBOOL RectInRegion(HRGN, RECT*);
1478 WINBOOL RectVisible(HDC, RECT*);
1479 WINBOOL Rectangle(HDC, int, int, int, int);
1480 WINBOOL RestoreDC(HDC, int);
1481 UINT RealizePalette(HDC);
1482 WINBOOL RoundRect(HDC, int, int, int, int, int, int);
1483 WINBOOL ResizePalette(HPALETTE, UINT);
1484 int SaveDC(HDC);
1485 int SelectClipRgn(HDC, HRGN);
1486 int ExtSelectClipRgn(HDC, HRGN, int);
1487 int SetMetaRgn(HDC);
1488 HGDIOBJ SelectObject(HDC, HGDIOBJ);
1489 HPALETTE SelectPalette(HDC, HPALETTE, WINBOOL);
1490 COLORREF SetBkColor(HDC, COLORREF);
1491 int SetBkMode(HDC, int);
1492 LONG SetBitmapBits(HBITMAP, DWORD, POINTER);
1493 UINT SetBoundsRect(HDC, RECT*, UINT);
1494 int SetDIBits(HDC, HBITMAP, UINT, UINT, POINTER, PBITMAPINFO, UINT);
1495 int SetDIBitsToDevice(HDC, int, int, DWORD, DWORD, int, int, UINT, UINT, POINTER, BITMAPINFO*, UINT);
1496 DWORD SetMapperFlags(HDC, DWORD);
1497 int SetGraphicsMode(HDC, int);
1498 int SetMapMode(HDC, int);
1499 HMETAFILE SetMetaFileBitsEx(UINT, ubyte*);
1500 UINT SetPaletteEntries(HPALETTE, UINT, UINT, PALETTEENTRY*);
1501 COLORREF SetPixel(HDC, int, int, COLORREF);
1502 WINBOOL SetPixelV(HDC, int, int, COLORREF);
1503 int SetPolyFillMode(HDC, int);
1504 WINBOOL StretchBlt(HDC, int, int, int, int, HDC, int, int, int, int, DWORD);
1505 WINBOOL SetRectRgn(HRGN, int, int, int, int);
1506 int StretchDIBits(HDC, int, int, int, int, int, int, int, int, POINTER, BITMAPINFO*, UINT, DWORD);
1507 int SetROP2(HDC, int);
1508 int SetStretchBltMode(HDC, int);
1509 UINT SetSystemPaletteUse(HDC, UINT);
1510 int SetTextCharacterExtra(HDC, int);
1511 COLORREF SetTextColor(HDC, COLORREF);
1512 UINT SetTextAlign(HDC, UINT);
1513 WINBOOL SetTextJustification(HDC, int, int);
1514 WINBOOL UpdateColors(HDC);
1515 WINBOOL PlayMetaFileRecord(HDC, LPHANDLETABLE, LPMETARECORD, UINT);
1516 WINBOOL EnumMetaFile(HDC, HMETAFILE, ENUMMETAFILEPROC, LPARAM);
1517 HENHMETAFILE CloseEnhMetaFile(HDC);
1518 WINBOOL DeleteEnhMetaFile(HENHMETAFILE);
1519 WINBOOL EnumEnhMetaFile(HDC, HENHMETAFILE, ENHMETAFILEPROC, LPVOID, RECT*);
1520 UINT GetEnhMetaFileHeader(HENHMETAFILE, UINT, LPENHMETAHEADER);
1521 UINT GetEnhMetaFilePaletteEntries(HENHMETAFILE, UINT, LPPALETTEENTRY);
1522 UINT GetWinMetaFileBits(HENHMETAFILE, UINT, LPBYTE, WINT, HDC);
1523 WINBOOL PlayEnhMetaFile(HDC, HENHMETAFILE, RECT*);
1524 WINBOOL PlayEnhMetaFileRecord(HDC, LPHANDLETABLE, ENHMETARECORD*, UINT);
1525 HENHMETAFILE SetEnhMetaFileBits(UINT, ubyte*);
1526 HENHMETAFILE SetWinMetaFileBits(UINT, ubyte*, HDC, METAFILEPICT*);
1527 WINBOOL GdiComment(HDC, UINT, ubyte*);
1528 WINBOOL AngleArc(HDC, int, int, DWORD, FLOAT, FLOAT);
1529 WINBOOL PolyPolyline(HDC, POINT*, DWORD*, DWORD);
1530 WINBOOL GetWorldTransform(HDC, LPXFORM);
1531 WINBOOL SetWorldTransform(HDC, XFORM*);
1532 WINBOOL ModifyWorldTransform(HDC, XFORM*, DWORD);
1533 WINBOOL CombineTransform(LPXFORM, XFORM*, XFORM*);
1534 HBITMAP CreateDIBSection(HDC, BITMAPINFO*, UINT, POINTER*, HANDLE, DWORD);
1535 UINT GetDIBColorTable(HDC, UINT, UINT, RGBQUAD*);
1536 UINT SetDIBColorTable(HDC, UINT, UINT, RGBQUAD*);
1537 WINBOOL SetColorAdjustment(HDC, COLORADJUSTMENT*);
1538 WINBOOL GetColorAdjustment(HDC, LPCOLORADJUSTMENT);
1539 HPALETTE CreateHalftonePalette(HDC);
1540 int EndDoc(HDC);
1541 int StartPage(HDC);
1542 int EndPage(HDC);
1543 int AbortDoc(HDC);
1544 int SetAbortProc(HDC, TABORTPROC);
1545 WINBOOL ArcTo(HDC, int, int, int, int, int, int, int, int);
1546 WINBOOL BeginPath(HDC);
1547 WINBOOL CloseFigure(HDC);
1548 WINBOOL EndPath(HDC);
1549 WINBOOL FillPath(HDC);
1550 WINBOOL FlattenPath(HDC);
1551 int GetPath(HDC, LPPOINT, LPBYTE, int);
1552 HRGN PathToRegion(HDC);
1553 WINBOOL PolyDraw(HDC, POINT*, ubyte*, int);
1554 WINBOOL SelectClipPath(HDC, int);
1555 int SetArcDirection(HDC, int);
1556 WINBOOL SetMiterLimit(HDC, FLOAT, PFLOAT);
1557 WINBOOL StrokeAndFillPath(HDC);
1558 WINBOOL StrokePath(HDC);
1559 WINBOOL WidenPath(HDC);
1560 HPEN ExtCreatePen(DWORD, DWORD, LOGBRUSH*, DWORD, DWORD*);
1561 WINBOOL GetMiterLimit(HDC, PFLOAT);
1562 int GetArcDirection(HDC);
1563 WINBOOL MoveToEx(HDC, int, int, LPPOINT);
1564 HRGN CreatePolygonRgn(POINT*, int, int);
1565 WINBOOL DPtoLP(HDC, LPPOINT, int);
1566 WINBOOL LPtoDP(HDC, LPPOINT, int);
1567 WINBOOL Polygon(HDC, POINT*, int);
1568 WINBOOL Polyline(HDC, POINT*, int);
1569 WINBOOL PolyBezier(HDC, POINT*, DWORD);
1570 WINBOOL PolyBezierTo(HDC, POINT*, DWORD);
1571 WINBOOL PolylineTo(HDC, POINT*, DWORD);
1572 WINBOOL SetViewportExtEx(HDC, int, int, LPSIZE);
1573 WINBOOL SetViewportOrgEx(HDC, int, int, LPPOINT);
1574 WINBOOL SetWindowExtEx(HDC, int, int, LPSIZE);
1575 WINBOOL SetWindowOrgEx(HDC, int, int, LPPOINT);
1576 WINBOOL OffsetViewportOrgEx(HDC, int, int, LPPOINT);
1577 WINBOOL OffsetWindowOrgEx(HDC, int, int, LPPOINT);
1578 WINBOOL ScaleViewportExtEx(HDC, int, int, int, int, LPSIZE);
1579 WINBOOL ScaleWindowExtEx(HDC, int, int, int, int, LPSIZE);
1580 WINBOOL SetBitmapDimensionEx(HBITMAP, int, int, LPSIZE);
1581 WINBOOL SetBrushOrgEx(HDC, int, int, LPPOINT);
1582 WINBOOL GetDCOrgEx(HDC, LPPOINT);
1583 WINBOOL FixBrushOrgEx(HDC, int, int, LPPOINT);
1584 WINBOOL UnrealizeObject(HGDIOBJ);
1585 WINBOOL GdiFlush();
1586 DWORD GdiSetBatchLimit(DWORD);
1587 DWORD GdiGetBatchLimit();
1588 int SetICMMode(HDC, int);
1589 WINBOOL CheckColorsInGamut(HDC, LPVOID, LPVOID, DWORD);
1590 HANDLE GetColorSpace(HDC);
1591 WINBOOL SetColorSpace(HDC, HCOLORSPACE);
1592 WINBOOL DeleteColorSpace(HCOLORSPACE);
1593 WINBOOL GetDeviceGammaRamp(HDC, LPVOID);
1594 WINBOOL SetDeviceGammaRamp(HDC, LPVOID);
1595 WINBOOL ColorMatchToTarget(HDC, HDC, DWORD);
1596 HPROPSHEETPAGE CreatePropertySheetPageA(LPCPROPSHEETPAGE);
1597 WINBOOL DestroyPropertySheetPage(HPROPSHEETPAGE);
1598 void InitCommonControls();
1599 HIMAGELIST ImageList_Create(int, int, UINT, int, int);
1600 WINBOOL ImageList_Destroy(HIMAGELIST);
1601 int ImageList_GetImageCount(HIMAGELIST);
1602 int ImageList_Add(HIMAGELIST, HBITMAP, HBITMAP);
1603 int ImageList_ReplaceIcon(HIMAGELIST, int, HICON);
1604 COLORREF ImageList_SetBkColor(HIMAGELIST, COLORREF);
1605 COLORREF ImageList_GetBkColor(HIMAGELIST);
1606 WINBOOL ImageList_SetOverlayImage(HIMAGELIST, int, int);
1607 WINBOOL ImageList_Draw(HIMAGELIST, int, HDC, int, int, UINT);
1608 WINBOOL ImageList_Replace(HIMAGELIST, int, HBITMAP, HBITMAP);
1609 int ImageList_AddMasked(HIMAGELIST, HBITMAP, COLORREF);
1610 WINBOOL ImageList_DrawEx(HIMAGELIST, int, HDC, int, int, int, int, COLORREF, COLORREF, UINT);
1611 WINBOOL ImageList_Remove(HIMAGELIST, int);
1612 HICON ImageList_GetIcon(HIMAGELIST, int, UINT);
1613 WINBOOL ImageList_BeginDrag(HIMAGELIST, int, int, int);
1614 void ImageList_EndDrag();
1615 WINBOOL ImageList_DragEnter(HWND, int, int);
1616 WINBOOL ImageList_DragLeave(HWND);
1617 WINBOOL ImageList_DragMove(int, int);
1618 WINBOOL ImageList_SetDragCursorImage(HIMAGELIST, int, int, int);
1619 WINBOOL ImageList_DragShowNolock(WINBOOL);
1620 HIMAGELIST ImageList_GetDragImage(POINT*, POINT*);
1621 WINBOOL ImageList_GetIconSize(HIMAGELIST, int*, int*);
1622 WINBOOL ImageList_SetIconSize(HIMAGELIST, int, int);
1623 WINBOOL ImageList_GetImageInfo(HIMAGELIST, int, IMAGEINFO*);
1624 HIMAGELIST ImageList_Merge(HIMAGELIST, int, HIMAGELIST, int, int, int);
1625 HWND CreateToolbarEx(HWND, DWORD, UINT, int, HINST, UINT, LPCTBBUTTON, int, int, int, int, int, UINT);
1626 HBITMAP CreateMappedBitmap(HINST, int, UINT, LPCOLORMAP, int);
1627 void MenuHelp(UINT, WPARAM, LPARAM, HMENU, HINST, HWND, PUINT);
1628 WINBOOL ShowHideMenuCtl(HWND, UINT, LPINT);
1629 void GetEffectiveClientRect(HWND, LPRECT, const INT *lpInfo);
1630 WINBOOL MakeDragList(HWND);
1631 void DrawInsert(HWND, HWND, int);
1632 int LBItemFromPt(HWND, POINT, WINBOOL);
1633 HWND CreateUpDownControl(DWORD, int, int, int, int, HWND, int, HINST, HWND, int, int, int);
1634 LONG RegCloseKey(HKEY);
1635 LONG RegSetKeySecurity(HKEY, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
1636 LONG RegFlushKey(HKEY);
1637 LONG RegGetKeySecurity(HKEY, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, LPDWORD);
1638 LONG RegNotifyChangeKeyValue(HKEY, WINBOOL, DWORD, HANDLE, WINBOOL);
1639 WINBOOL IsValidCodePage(UINT);
1640 UINT GetACP();
1641 UINT GetOEMCP();
1642 WINBOOL GetCPInfo(UINT, LPCPINFO);
1643 WINBOOL IsDBCSLeadByte(ubyte);
1644 WINBOOL IsDBCSLeadByteEx(UINT, ubyte);
1645 int MultiByteToWideChar(UINT, DWORD, LPCSTR, int, LPWSTR, int);
1646 int WideCharToMultiByte(UINT, DWORD, LPCWSTR, int, LPSTR, int, LPCSTR, LPBOOL);
1647 WINBOOL IsValidLocale(LCID, DWORD);
1648 LCID ConvertDefaultLocale(LCID);
1649 LCID GetThreadLocale();
1650 WINBOOL SetThreadLocale(LCID);
1651 LANGID GetSystemDefaultLangID();
1652 LANGID GetUserDefaultLangID();
1653 LCID GetSystemDefaultLCID();
1654 LCID GetUserDefaultLCID();
1655 WINBOOL ReadConsoleOutputAttribute(HANDLE, LPWORD, DWORD, COORD, LPDWORD);
1656 WINBOOL WriteConsoleOutputAttribute(HANDLE, ushort*, DWORD, COORD, LPDWORD);
1657 WINBOOL FillConsoleOutputAttribute(HANDLE, ushort, DWORD, COORD, LPDWORD);
1658 WINBOOL GetConsoleMode(HANDLE, LPDWORD);
1659 WINBOOL GetNumberOfConsoleInputEvents(HANDLE, PDWORD);
1660 WINBOOL GetConsoleScreenBufferInfo(HANDLE, PCONSOLE_SCREEN_BUFFER_INFO);
1661 COORD GetLargestConsoleWindowSize(HANDLE);
1662 WINBOOL GetConsoleCursorInfo(HANDLE, PCONSOLE_CURSOR_INFO);
1663 WINBOOL GetNumberOfConsoleMouseButtons(LPDWORD);
1664 WINBOOL SetConsoleMode(HANDLE, DWORD);
1665 WINBOOL SetConsoleActiveScreenBuffer(HANDLE);
1666 WINBOOL FlushConsoleInputBuffer(HANDLE);
1667 WINBOOL SetConsoleScreenBufferSize(HANDLE, COORD);
1668 WINBOOL SetConsoleCursorPosition(HANDLE, COORD);
1669 WINBOOL SetConsoleCursorInfo(HANDLE, PCONSOLE_CURSOR_INFO);
1670 WINBOOL SetConsoleWindowInfo(HANDLE, WINBOOL, SMALL_RECT*);
1671 WINBOOL SetConsoleTextAttribute(HANDLE, ushort);
1672 WINBOOL SetConsoleCtrlHandler(PHANDLER_ROUTINE, WINBOOL);
1673 WINBOOL GenerateConsoleCtrlEvent(DWORD, DWORD);
1674 WINBOOL AllocConsole();
1675 WINBOOL FreeConsole();
1676 HANDLE CreateConsoleScreenBuffer(DWORD, DWORD, SECURITY_ATTRIBUTES*, DWORD, LPVOID);
1677 UINT GetConsoleCP();
1678 WINBOOL SetConsoleCP(UINT);
1679 UINT GetConsoleOutputCP();
1680 WINBOOL SetConsoleOutputCP(UINT);
1681 DWORD WNetConnectionDialog(HWND, DWORD);
1682 DWORD WNetDisconnectDialog(HWND, DWORD);
1683 DWORD WNetCloseEnum(HANDLE);
1684 WINBOOL CloseServiceHandle(SC_HANDLE);
1685 WINBOOL ControlService(SC_HANDLE, DWORD, LPSERVICE_STATUS);
1686 WINBOOL DeleteService(SC_HANDLE);
1687 SC_LOCK LockServiceDatabase(SC_HANDLE);
1688 WINBOOL NotifyBootConfigStatus(WINBOOL);
1689 WINBOOL QueryServiceObjectSecurity(SC_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, LPDWORD);
1690 WINBOOL QueryServiceStatus(SC_HANDLE, LPSERVICE_STATUS);
1691 WINBOOL SetServiceObjectSecurity(SC_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
1692 WINBOOL SetServiceStatus(SERVICE_STATUS_HANDLE, LPSERVICE_STATUS);
1693 WINBOOL UnlockServiceDatabase(SC_LOCK);
1694 int ChoosePixelFormat(HDC, PIXELFORMATDESCRIPTOR*);
1695 int DescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
1696 WINBOOL SetPixelFormat(HDC, int, PPIXELFORMATDESCRIPTOR);
1697 WINBOOL SwapBuffers(HDC);
1698 WINBOOL DragQueryPoint(HDROP, LPPOINT);
1699 void DragFinish(HDROP);
1700 void DragAcceptFiles(HWND, BOOL);
1701 HICON DuplicateIcon(HINST, HICON);
1702 BOOL DdeAbandonTransaction(DWORD, HCONV, DWORD);
1703 PBYTE DdeAccessData(HDDEDATA, PDWORD);
1704 HDDEDATA DdeAddData(HDDEDATA, PBYTE, DWORD, DWORD);
1705 HDDEDATA DdeClientTransaction(PBYTE, DWORD, HCONV, HSZ, UINT, UINT, DWORD, PDWORD);
1706 int DdeCmpStringHandles(HSZ, HSZ);
1707 HCONV DdeConnect(DWORD, HSZ, HSZ, CONVCONTEXT*);
1708 HCONVLIST DdeConnectList(DWORD, HSZ, HSZ, HCONVLIST, PCONVCONTEXT);
1709 HDDEDATA DdeCreateDataHandle(DWORD, LPBYTE, DWORD, DWORD, HSZ, UINT, UINT);
1710 WINBOOL DdeDisconnect(HCONV);
1711 BOOL DdeDisconnectList(HCONVLIST);
1712 BOOL DdeEnableCallback(DWORD, HCONV, UINT);
1713 WINBOOL DdeFreeDataHandle(HDDEDATA);
1714 WINBOOL DdeFreeStringHandle(DWORD, HSZ);
1715 DWORD DdeGetData(HDDEDATA, ubyte*, DWORD, DWORD);
1716 UINT DdeGetLastError(DWORD);
1717 BOOL DdeImpersonateClient(HCONV);
1718 BOOL DdeKeepStringHandle(DWORD, HSZ);
1719 HDDEDATA DdeNameService(DWORD, HSZ, HSZ, UINT);
1720 WINBOOL DdePostAdvise(DWORD, HSZ, HSZ);
1721 UINT DdeQueryConvInfo(HCONV, DWORD, PCONVINFO);
1722 HCONV DdeQueryNextServer(HCONVLIST, HCONV);
1723 HCONV DdeReconnect(HCONV);
1724 BOOL DdeSetUserHandle(HCONV, DWORD, DWORD);
1725 BOOL DdeUnaccessData(HDDEDATA);
1726 WINBOOL DdeUninitialize(DWORD);
1727 void SHAddToRecentDocs(UINT, LPCVOID);
1728 LPITEMIDLIST SHBrowseForFolder(LPBROWSEINFO);
1729 void SHChangeNotify(LONG, UINT, LPCVOID, LPCVOID);
1730 int SHFileOperationA(LPSHFILEOPSTRUCTA);
1731 int SHFileOperationW(LPSHFILEOPSTRUCTW);
1732 void SHFreeNameMappings(HANDLE);
1733 DWORD SHGetFileInfoA(LPCSTR, DWORD, SHFILEINFOA*, UINT, UINT);
1734 DWORD SHGetFileInfoW(LPCWSTR, DWORD, SHFILEINFOW*, UINT, UINT);
1735 WINBOOL SHGetPathFromIDListA(LPCITEMIDLIST, LPSTR);
1736 WINBOOL SHGetPathFromIDListW(LPCITEMIDLIST, LPWSTR);
1737 HRESULT SHGetSpecialFolderLocation(HWND, int, LPITEMIDLIST*);
1738 THANDLE CreateThread(POINTER, DWORD, TFNTHREADSTARTROUTINE, POINTER, DWORD, DWORD*);
1739 BOOL DdeSetQualityOfService(HWND, TSECURITYQUALITYOFSERVICE*, PSECURITYQUALITYOFSERVICE);
1740 BOOL GetCommMask(THANDLE, DWORD*);
1741 BOOL GetDiskFreeSpaceExA(LPCSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);
1742 BOOL GetDiskFreeSpaceExW(LPWSTR, PULARGE_INTEGER, PULARGE_INTEGER, PULARGE_INTEGER);
1743 DWORD GetKerningPairs(HDC, DWORD, void*);
1744 BOOL CancelIo (HANDLE);
1745 HANDLE CreateIoCompletionPort(HANDLE, HANDLE, ULONG_PTR, DWORD);
1746 BOOL PostQueuedCompletionStatus (HANDLE, DWORD, ULONG, LPOVERLAPPED);
1747 BOOL GetOverlappedResult(THANDLE, TOVERLAPPED*, DWORD*, BOOL);
1748 BOOL GetQueuedCompletionStatus(THANDLE, DWORD*, ULONG_PTR*, LPOVERLAPPED*, DWORD);
1749 BOOL GetQueuedCompletionStatusEx(THANDLE, OVERLAPPED_ENTRY*, ULONG, ULONG*, DWORD, BOOL);
1750 BOOL GetSystemPowerStatus(TSYSTEMPOWERSTATUS*);
1751 BOOL ReadFile(THANDLE, void*, DWORD, DWORD*, LPOVERLAPPED);
1752 BOOL SetThreadContext(THANDLE, TCONTEXT*);
1753 BOOL wglDescribeLayerPlane(HDC, int, int, uint, TLAYERPLANEDESCRIPTOR*);
1754 int wglGetLayerPaletteEntries(HDC, int, int, int, void*);
1755 int wglSetLayerPaletteEntries(HDC, int, int, int, void*);
1756 DWORD WNetGetResourceParentA(PNETRESOURCEA, POINTER, DWORD*);
1757 BOOL WriteFile(THANDLE, LPCVOID, DWORD, DWORD*, LPOVERLAPPED);
1758 BOOL CancelWaitableTimer(HANDLE hTimer);
1759 HANDLE OpenWaitableTimerA(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCSTR lpTimerName);
1760 HANDLE OpenWaitableTimerW(DWORD dwDesiredAccess, BOOL bInheritHandle, LPCWSTR lpTimerName);
1761 HANDLE CreateWaitableTimerA(LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset, LPCSTR lpTimerName);
1762 HANDLE CreateWaitableTimerW(LPSECURITY_ATTRIBUTES lpTimerAttributes, BOOL bManualReset, LPCWSTR lpTimerName);
1763 BOOL SetWaitableTimer(HANDLE hTimer, LARGE_INTEGER* pDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, BOOL fResume);
1764 }
1765 
1766 version(Win32SansUnicode){
1767   alias SHFileOperationA SHFileOperation;
1768   alias SHGetFileInfoA SHGetFileInfo;
1769   alias SHGetPathFromIDListA SHGetPathFromIDList;
1770 }else{
1771   alias SHFileOperationW SHFileOperation;
1772   alias SHGetFileInfoW SHGetFileInfo;
1773   alias SHGetPathFromIDListW SHGetPathFromIDList;
1774 }