4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
45 #endif /* !UNICODE_ONLY */
49 #endif /* !ANSI_ONLY */
51 /* Define the approprate declaration based upon UNICODE or ASCII */
56 #define RegConnectRegistry RegConnectRegistryW
57 #define RegCreateKey RegCreateKeyW
58 #define RegCreateKeyEx RegCreateKeyExW
59 #define RegDeleteKey RegDeleteKeyW
60 #define RegDeleteValue RegDeleteValueW
61 #define RegEnumKey RegEnumKeyW
62 #define RegEnumKeyEx RegEnumKeyExW
63 #define RegEnumValue RegEnumValueW
64 #define RegLoadKey RegLoadKeyW
65 #define RegOpenKey RegOpenKeyW
66 #define RegOpenKeyEx RegOpenKeyExW
67 #define RegQueryInfoKey RegQueryInfoKeyW
68 #define RegQueryValue RegQueryValueW
69 #define RegQueryMultipleValues RegQueryMultipleValuesW
70 #define RegQueryValueEx RegQueryValueExW
71 #define RegReplaceKey RegReplaceKeyW
72 #define RegRestoreKey RegRestoreKeyW
73 #define RegSaveKey RegSaveKeyW
74 #define RegSetValue RegSetValueW
75 #define RegSetValueEx RegSetValueExW
76 #define AbortSystemShutdown AbortSystemShutdownW
77 #define InitiateSystemShutdown InitiateSystemShutdownW
78 #define RegUnLoadKey RegUnLoadKeyW
79 #define SetProp SetPropW
80 #define GetProp GetPropW
81 #define RemoveProp RemovePropW
82 #define EnumPropsEx EnumPropsExW
83 #define EnumProps EnumPropsW
84 #define SetWindowText SetWindowTextW
85 #define GetWindowText GetWindowTextW
86 #define GetWindowTextLength GetWindowTextLengthW
87 #define MessageBox MessageBoxW
88 #define MessageBoxEx MessageBoxExW
89 #define MessageBoxIndirect MessageBoxIndirectW
90 #define GetWindowLong GetWindowLongW
91 #define SetWindowLong SetWindowLongW
92 #define GetClassLong GetClassLongW
93 #define SetClassLong SetClassLongW
94 #define FindWindow FindWindowW
95 #define FindWindowEx FindWindowExW
96 #define GetClassName GetClassNameW
97 #define SetWindowsHookEx SetWindowsHookExW
98 #define LoadBitmap LoadBitmapW
99 #define LoadCursor LoadCursorW
100 #define LoadCursorFromFile LoadCursorFromFileW
101 #define LoadIcon LoadIconW
102 #define LoadImage LoadImageW
103 #define LoadString LoadStringW
104 #define IsDialogMessage IsDialogMessageW
105 #define DlgDirList DlgDirListW
106 #define DlgDirSelectEx DlgDirSelectExW
107 #define DlgDirListComboBox DlgDirListComboBoxW
108 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
109 #define DefFrameProc DefFrameProcW
110 #define DefMDIChildProc DefMDIChildProcW
111 #define CreateMDIWindow CreateMDIWindowW
112 #define WinHelp WinHelpW
113 #define ChangeDisplaySettings ChangeDisplaySettingsW
114 #define EnumDisplaySettings EnumDisplaySettingsW
115 #define SystemParametersInfo SystemParametersInfoW
116 #define AddFontResource AddFontResourceW
117 #define CopyMetaFile CopyMetaFileW
118 #define CreateDC CreateDCW
119 #define CreateFontIndirect CreateFontIndirectW
120 #define CreateFont CreateFontW
121 #define CreateIC CreateICW
122 #define CreateMetaFile CreateMetaFileW
123 #define CreateScalableFontResource CreateScalableFontResourceW
124 #define DeviceCapabilities DeviceCapabilitiesW
125 #define EnumFontFamiliesEx EnumFontFamiliesExW
126 #define EnumFontFamilies EnumFontFamiliesW
127 #define EnumFonts EnumFontsW
128 #define GetCharWidth GetCharWidthW
129 #define GetCharWidth32 GetCharWidth32W
130 #define GetCharWidthFloat GetCharWidthFloatW
131 #define GetCharABCWidths GetCharABCWidthsW
132 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
133 #define GetGlyphOutline GetGlyphOutlineW
134 #define GetMetaFile GetMetaFileW
135 #define GetOutlineTextMetrics GetOutlineTextMetricsW
136 #define GetTextExtentPoint GetTextExtentPointW
137 #define GetTextExtentPoint32 GetTextExtentPoint32W
138 #define GetTextExtentExPoint GetTextExtentExPointW
139 #define GetCharacterPlacement GetCharacterPlacementW
140 #define ResetDC ResetDCW
141 #define RemoveFontResource RemoveFontResourceW
142 #define CopyEnhMetaFile CopyEnhMetaFileW
143 #define CreateEnhMetaFile CreateEnhMetaFileW
144 #define GetEnhMetaFile GetEnhMetaFileW
145 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
146 #define GetTextMetrics GetTextMetricsW
147 #define StartDoc StartDocW
148 #define GetObject GetObjectW
149 #define TextOut TextOutW
150 #define ExtTextOut ExtTextOutW
151 #define PolyTextOut PolyTextOutW
152 #define GetTextFace GetTextFaceW
153 #define GetKerningPairs GetKerningPairsW
154 #define GetLogColorSpace GetLogColorSpaceW
155 #define CreateColorSpace CreateColorSpaceW
156 #define GetICMProfile GetICMProfileW
157 #define SetICMProfile SetICMProfileW
158 #define UpdateICMRegKey UpdateICMRegKeyW
159 #define EnumICMProfiles EnumICMProfilesW
160 #define CreatePropertySheetPage CreatePropertySheetPageW
161 #define PropertySheet PropertySheetW
162 #define ImageList_LoadImage ImageList_LoadImageW
163 #define CreateStatusWindow CreateStatusWindowW
164 #define DrawStatusText DrawStatusTextW
165 #define GetOpenFileName GetOpenFileNameW
166 #define GetSaveFileName GetSaveFileNameW
167 #define GetFileTitle GetFileTitleW
168 #define ChooseColor ChooseColorW
169 #define FindText FindTextW
170 #define ReplaceText ReplaceTextW
171 #define ChooseFont ChooseFontW
172 #define PrintDlg PrintDlgW
173 #define PageSetupDlg PageSetupDlgW
174 #define DefWindowProc DefWindowProcW
175 #define CallWindowProc CallWindowProcW
176 #define RegisterClass RegisterClassW
177 #define UnregisterClass UnregisterClassW
178 #define GetClassInfo GetClassInfoW
179 #define RegisterClassEx RegisterClassExW
180 #define GetClassInfoEx GetClassInfoExW
181 #define CreateWindowEx CreateWindowExW
182 #define CreateWindow CreateWindowW
183 #define CreateDialogParam CreateDialogParamW
184 #define CreateDialogIndirectParam CreateDialogIndirectParamW
185 #define CreateDialog CreateDialogW
186 #define CreateDialogIndirect CreateDialogIndirectW
187 #define DialogBoxParam DialogBoxParamW
188 #define DialogBoxIndirectParam DialogBoxIndirectParamW
189 #define DialogBox DialogBoxW
190 #define DialogBoxIndirect DialogBoxIndirectW
191 #define RegisterClipboardFormat RegisterClipboardFormatW
192 #define SetDlgItemText SetDlgItemTextW
193 #define GetDlgItemText GetDlgItemTextW
194 #define SendDlgItemMessage SendDlgItemMessageW
195 #define DefDlgProc DefDlgProcW
196 #define CallMsgFilter CallMsgFilterW
197 #define GetClipboardFormatName GetClipboardFormatNameW
198 #define CharToOem CharToOemW
199 #define OemToChar OemToCharW
200 #define CharToOemBuff CharToOemBuffW
201 #define OemToCharBuff OemToCharBuffW
202 #define CharUpper CharUpperW
203 #define CharUpperBuff CharUpperBuffW
204 #define CharLower CharLowerW
205 #define CharLowerBuff CharLowerBuffW
206 #define CharNext CharNextW
207 #define CharPrev CharPrevW
208 #define IsCharAlpha IsCharAlphaW
209 #define IsCharAlphaNumeric IsCharAlphaNumericW
210 #define IsCharUpper IsCharUpperW
211 #define IsCharLower IsCharLowerW
212 #define GetKeyNameText GetKeyNameTextW
213 #define VkKeyScan VkKeyScanW
214 #define VkKeyScanEx VkKeyScanExW
215 #define MapVirtualKey MapVirtualKeyW
216 #define MapVirtualKeyEx MapVirtualKeyExW
217 #define LoadAccelerators LoadAcceleratorsW
218 #define CreateAcceleratorTable CreateAcceleratorTableW
219 #define CopyAcceleratorTable CopyAcceleratorTableW
220 #define TranslateAccelerator TranslateAcceleratorW
221 #define LoadMenu LoadMenuW
222 #define LoadMenuIndirect LoadMenuIndirectW
223 #define ChangeMenu ChangeMenuW
224 #define GetMenuString GetMenuStringW
225 #define InsertMenu InsertMenuW
226 #define AppendMenu AppendMenuW
227 #define ModifyMenu ModifyMenuW
228 #define InsertMenuItem InsertMenuItemW
229 #define GetMenuItemInfo GetMenuItemInfoW
230 #define SetMenuItemInfo SetMenuItemInfoW
231 #define DrawText DrawTextW
232 #define DrawTextEx DrawTextExW
233 #define GrayString GrayStringW
234 #define DrawState DrawStateW
235 #define TabbedTextOut TabbedTextOutW
236 #define GetTabbedTextExtent GetTabbedTextExtentW
237 #define GetVersionEx GetVersionExW
238 #define wvsprintf wvsprintfW
239 #define wsprintf wsprintfW
240 #define LoadKeyboardLayout LoadKeyboardLayoutW
241 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
242 #define CreateDesktop CreateDesktopW
243 #define OpenDesktop OpenDesktopW
244 #define EnumDesktops EnumDesktopsW
245 #define CreateWindowStation CreateWindowStationW
246 #define OpenWindowStation OpenWindowStationW
247 #define EnumWindowStations EnumWindowStationsW
248 #define IsBadStringPtr IsBadStringPtrW
249 #define LookupAccountSid LookupAccountSidW
250 #define LookupAccountName LookupAccountNameW
251 #define LookupPrivilegeValue LookupPrivilegeValueW
252 #define LookupPrivilegeName LookupPrivilegeNameW
253 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
254 #define BuildCommDCB BuildCommDCBW
255 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
256 #define CommConfigDialog CommConfigDialogW
257 #define GetDefaultCommConfig GetDefaultCommConfigW
258 #define SetDefaultCommConfig SetDefaultCommConfigW
259 #define GetComputerName GetComputerNameW
260 #define SetComputerName SetComputerNameW
261 #define GetUserName GetUserNameW
262 #define CreateMailslot CreateMailslotW
263 #define FormatMessage FormatMessageW
264 #define GetEnvironmentStrings GetEnvironmentStringsW
265 #define FreeEnvironmentStrings FreeEnvironmentStringsW
266 #define lstrcmp lstrcmpW
267 #define lstrcmpi lstrcmpiW
268 #define lstrcpyn lstrcpynW
269 #define lstrcpy lstrcpyW
270 #define lstrcat lstrcatW
271 #define lstrlen lstrlenW
272 #define GetBinaryType GetBinaryTypeW
273 #define GetShortPathName GetShortPathNameW
274 #define SetFileSecurity SetFileSecurityW
275 #define GetFileSecurity GetFileSecurityW
276 #define FindFirstChangeNotification FindFirstChangeNotificationW
277 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
278 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
279 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
280 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
281 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
282 #define OpenEventLog OpenEventLogW
283 #define RegisterEventSource RegisterEventSourceW
284 #define OpenBackupEventLog OpenBackupEventLogW
285 #define ReadEventLog ReadEventLogW
286 #define ReportEvent ReportEventW
287 #define CreateProcess CreateProcessW
288 #define FatalAppExit FatalAppExitW
289 #define GetStartupInfo GetStartupInfoW
290 #define GetEnvironmentVariable GetEnvironmentVariableW
291 #define GetCommandLine GetCommandLineW
292 #define SetEnvironmentVariable SetEnvironmentVariableW
293 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
294 #define OutputDebugString OutputDebugStringW
295 #define FindResource FindResourceW
296 #define FindResourceEx FindResourceExW
297 #define EnumResourceTypes EnumResourceTypesW
298 #define EnumResourceNames EnumResourceNamesW
299 #define EnumResourceLanguages EnumResourceLanguagesW
300 #define BeginUpdateResource BeginUpdateResourceW
301 #define UpdateResource UpdateResourceW
302 #define EndUpdateResource EndUpdateResourceW
303 #define GlobalAddAtom GlobalAddAtomW
304 #define GlobalFindAtom GlobalFindAtomW
305 #define GlobalGetAtomName GlobalGetAtomNameW
306 #define AddAtom AddAtomW
307 #define FindAtom FindAtomW
308 #define GetAtomName GetAtomNameW
309 #define GetProfileInt GetProfileIntW
310 #define GetProfileString GetProfileStringW
311 #define WriteProfileString WriteProfileStringW
312 #define GetProfileSection GetProfileSectionW
313 #define WriteProfileSection WriteProfileSectionW
314 #define GetPrivateProfileInt GetPrivateProfileIntW
315 #define GetPrivateProfileString GetPrivateProfileStringW
316 #define WritePrivateProfileString WritePrivateProfileStringW
317 #define GetPrivateProfileSection GetPrivateProfileSectionW
318 #define WritePrivateProfileSection WritePrivateProfileSectionW
319 #define GetDriveType GetDriveTypeW
320 #define GetSystemDirectory GetSystemDirectoryW
321 #define GetTempPath GetTempPathW
322 #define GetTempFileName GetTempFileNameW
323 #define GetWindowsDirectory GetWindowsDirectoryW
324 #define SetCurrentDirectory SetCurrentDirectoryW
325 #define GetCurrentDirectory GetCurrentDirectoryW
326 #define GetDiskFreeSpace GetDiskFreeSpaceW
327 #define CreateDirectory CreateDirectoryW
328 #define CreateDirectoryEx CreateDirectoryExW
329 #define RemoveDirectory RemoveDirectoryW
330 #define GetFullPathName GetFullPathNameW
331 #define DefineDosDevice DefineDosDeviceW
332 #define QueryDosDevice QueryDosDeviceW
333 #define CreateFile CreateFileW
334 #define SetFileAttributes SetFileAttributesW
335 #define GetFileAttributes GetFileAttributesW
336 #define GetCompressedFileSize GetCompressedFileSizeW
337 #define DeleteFile DeleteFileW
338 #define FindFirstFileEx FindFirstFileExW
339 #define FindFirstFile FindFirstFileW
340 #define FindNextFile FindNextFileW
341 #define SearchPath SearchPathW
342 #define CopyFile CopyFileW
343 #define MoveFile MoveFileW
344 #define MoveFileEx MoveFileExW
345 #define CreateNamedPipe CreateNamedPipeW
346 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
347 #define CallNamedPipe CallNamedPipeW
348 #define WaitNamedPipe WaitNamedPipeW
349 #define SetVolumeLabel SetVolumeLabelW
350 #define GetVolumeInformation GetVolumeInformationW
351 #define ClearEventLog ClearEventLogW
352 #define BackupEventLog BackupEventLogW
353 #define CreateMutex CreateMutexW
354 #define OpenMutex OpenMutexW
355 #define CreateEvent CreateEventW
356 #define OpenEvent OpenEventW
357 #define CreateSemaphore CreateSemaphoreW
358 #define OpenSemaphore OpenSemaphoreW
359 #define CreateFileMapping CreateFileMappingW
360 #define OpenFileMapping OpenFileMappingW
361 #define GetLogicalDriveStrings GetLogicalDriveStringsW
362 #define LoadLibrary LoadLibraryW
363 #define LoadLibraryEx LoadLibraryExW
364 #define GetModuleFileName GetModuleFileNameW
365 #define GetModuleHandle GetModuleHandleW
366 #define GetUserObjectInformation GetUserObjectInformationW
367 #define SetUserObjectInformation SetUserObjectInformationW
368 #define RegisterWindowMessage RegisterWindowMessageW
369 #define GetMessage GetMessageW
370 #define DispatchMessage DispatchMessageW
371 #define PeekMessage PeekMessageW
372 #define SendMessage SendMessageW
373 #define SendMessageTimeout SendMessageTimeoutW
374 #define SendNotifyMessage SendNotifyMessageW
375 #define SendMessageCallback SendMessageCallbackW
376 #define PostMessage PostMessageW
377 #define PostThreadMessage PostThreadMessageW
378 #define VerFindFile VerFindFileW
379 #define VerInstallFile VerInstallFileW
380 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
381 #define GetFileVersionInfo GetFileVersionInfoW
382 #define VerLanguageName VerLanguageNameW
383 #define VerQueryValue VerQueryValueW
384 #define CompareString CompareStringW
385 #define LCMapString LCMapStringW
386 #define GetLocaleInfo GetLocaleInfoW
387 #define SetLocaleInfo SetLocaleInfoW
388 #define GetTimeFormat GetTimeFormatW
389 #define GetDateFormat GetDateFormatW
390 #define GetNumberFormat GetNumberFormatW
391 #define GetCurrencyFormat GetCurrencyFormatW
392 #define EnumCalendarInfo EnumCalendarInfoW
393 #define EnumTimeFormats EnumTimeFormatsW
394 #define FoldString FoldStringW
395 #define EnumSystemCodePages EnumSystemCodePagesW
396 #define EnumSystemLocales EnumSystemLocalesW
397 #define GetStringTypeEx GetStringTypeExW
398 #define EnumDateFormats EnumDateFormatsW
399 #define GetConsoleTitle GetConsoleTitleW
400 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
401 #define SetConsoleTitle SetConsoleTitleW
402 #define ReadConsole ReadConsoleW
403 #define WriteConsole WriteConsoleW
404 #define PeekConsoleInput PeekConsoleInputW
405 #define ReadConsoleInput ReadConsoleInputW
406 #define WriteConsoleInput WriteConsoleInputW
407 #define ReadConsoleOutput ReadConsoleOutputW
408 #define WriteConsoleOutput WriteConsoleOutputW
409 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
410 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
411 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
412 #define WNetGetProviderName WNetGetProviderNameW
413 #define WNetGetNetworkInformation WNetGetNetworkInformationW
414 #define WNetGetLastError WNetGetLastErrorW
415 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
416 #define WNetConnectionDialog1 WNetConnectionDialog1W
417 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
418 #define WNetOpenEnum WNetOpenEnumW
419 #define WNetEnumResource WNetEnumResourceW
420 #define WNetGetUniversalName WNetGetUniversalNameW
421 #define WNetGetUser WNetGetUserW
422 #define WNetAddConnection WNetAddConnectionW
423 #define WNetAddConnection2 WNetAddConnection2W
424 #define WNetAddConnection3 WNetAddConnection3W
425 #define WNetCancelConnection WNetCancelConnectionW
426 #define WNetCancelConnection2 WNetCancelConnection2W
427 #define WNetGetConnection WNetGetConnectionW
428 #define WNetUseConnection WNetUseConnectionW
429 #define WNetSetConnection WNetSetConnectionW
430 #define CreateService CreateServiceW
431 #define ChangeServiceConfig ChangeServiceConfigW
432 #define EnumDependentServices EnumDependentServicesW
433 #define EnumServicesStatus EnumServicesStatusW
434 #define GetServiceKeyName GetServiceKeyNameW
435 #define GetServiceDisplayName GetServiceDisplayNameW
436 #define OpenSCManager OpenSCManagerW
437 #define OpenService OpenServiceW
438 #define QueryServiceConfig QueryServiceConfigW
439 #define QueryServiceLockStatus QueryServiceLockStatusW
440 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
441 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
442 #define StartService StartServiceW
443 #define DragQueryFile DragQueryFileW
444 #define ExtractAssociatedIcon ExtractAssociatedIconW
445 #define ExtractIcon ExtractIconW
446 #define FindExecutable FindExecutableW
447 #define ShellAbout ShellAboutW
448 #define ShellExecute ShellExecuteW
449 #define DdeCreateStringHandle DdeCreateStringHandleW
450 #define DdeInitialize DdeInitializeW
451 #define DdeQueryString DdeQueryStringW
452 #define LogonUser LogonUserW
453 #define CreateProcessAsUser CreateProcessAsUserW
458 #define RegConnectRegistry RegConnectRegistryA
459 #define RegCreateKey RegCreateKeyA
460 #define RegCreateKeyEx RegCreateKeyExA
461 #define RegDeleteKey RegDeleteKeyA
462 #define RegDeleteValue RegDeleteValueA
463 #define RegEnumKey RegEnumKeyA
464 #define RegEnumKeyEx RegEnumKeyExA
465 #define RegEnumValue RegEnumValueA
466 #define RegLoadKey RegLoadKeyA
467 #define RegOpenKey RegOpenKeyA
468 #define RegOpenKeyEx RegOpenKeyExA
469 #define RegQueryInfoKey RegQueryInfoKeyA
470 #define RegQueryValue RegQueryValueA
471 #define RegQueryMultipleValues RegQueryMultipleValuesA
472 #define RegQueryValueEx RegQueryValueExA
473 #define RegReplaceKey RegReplaceKeyA
474 #define RegRestoreKey RegRestoreKeyA
475 #define RegSaveKey RegSaveKeyA
476 #define RegSetValue RegSetValueA
477 #define RegSetValueEx RegSetValueExA
478 #define AbortSystemShutdown AbortSystemShutdownA
479 #define InitiateSystemShutdown InitiateSystemShutdownA
480 #define RegUnLoadKey RegUnLoadKeyA
481 #define LoadIcon LoadIconA
482 #define LoadImage LoadImageA
483 #define LoadString LoadStringA
484 #define IsDialogMessage IsDialogMessageA
485 #define DlgDirList DlgDirListA
486 #define DlgDirSelectEx DlgDirSelectExA
487 #define DlgDirListComboBox DlgDirListComboBoxA
488 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
489 #define DefFrameProc DefFrameProcA
490 #define DefMDIChildProc DefMDIChildProcA
491 #define CreateMDIWindow CreateMDIWindowA
492 #define WinHelp WinHelpA
493 #define ChangeDisplaySettings ChangeDisplaySettingsA
494 #define EnumDisplaySettings EnumDisplaySettingsA
495 #define SystemParametersInfo SystemParametersInfoA
496 #define GetWindowLong GetWindowLongA
497 #define SetWindowLong SetWindowLongA
498 #define GetClassLong GetClassLongA
499 #define SetClassLong SetClassLongA
500 #define FindWindow FindWindowA
501 #define FindWindowEx FindWindowExA
502 #define GetClassName GetClassNameA
503 #define SetWindowsHookEx SetWindowsHookExA
504 #define LoadBitmap LoadBitmapA
505 #define LoadCursor LoadCursorA
506 #define LoadCursorFromFile LoadCursorFromFileA
507 #define SetProp SetPropA
508 #define GetProp GetPropA
509 #define RemoveProp RemovePropA
510 #define EnumPropsEx EnumPropsExA
511 #define EnumProps EnumPropsA
512 #define SetWindowText SetWindowTextA
513 #define GetWindowText GetWindowTextA
514 #define GetWindowTextLength GetWindowTextLengthA
515 #define MessageBox MessageBoxA
516 #define MessageBoxEx MessageBoxExA
517 #define MessageBoxIndirect MessageBoxIndirectA
518 #define AddFontResource AddFontResourceA
519 #define CopyMetaFile CopyMetaFileA
520 #define CreateDC CreateDCA
521 #define CreateFontIndirect CreateFontIndirectA
522 #define CreateFont CreateFontA
523 #define CreateIC CreateICA
524 #define CreateMetaFile CreateMetaFileA
525 #define CreateScalableFontResource CreateScalableFontResourceA
526 #define DeviceCapabilities DeviceCapabilitiesA
527 #define EnumFontFamiliesEx EnumFontFamiliesExA
528 #define EnumFontFamilies EnumFontFamiliesA
529 #define EnumFonts EnumFontsA
530 #define GetCharWidth GetCharWidthA
531 #define GetCharWidth32 GetCharWidth32A
532 #define GetCharWidthFloat GetCharWidthFloatA
533 #define GetCharABCWidths GetCharABCWidthsA
534 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
535 #define GetGlyphOutline GetGlyphOutlineA
536 #define GetMetaFile GetMetaFileA
537 #define GetOutlineTextMetrics GetOutlineTextMetricsA
538 #define GetTextExtentPoint GetTextExtentPointA
539 #define GetTextExtentPoint32 GetTextExtentPoint32A
540 #define GetTextExtentExPoint GetTextExtentExPointA
541 #define GetCharacterPlacement GetCharacterPlacementA
542 #define ResetDC ResetDCA
543 #define RemoveFontResource RemoveFontResourceA
544 #define CopyEnhMetaFile CopyEnhMetaFileA
545 #define CreateEnhMetaFile CreateEnhMetaFileA
546 #define GetEnhMetaFile GetEnhMetaFileA
547 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
548 #define GetTextMetrics GetTextMetricsA
549 #define StartDoc StartDocA
550 #define GetObject GetObjectA
551 #define TextOut TextOutA
552 #define ExtTextOut ExtTextOutA
553 #define PolyTextOut PolyTextOutA
554 #define GetTextFace GetTextFaceA
555 #define GetKerningPairs GetKerningPairsA
556 #define GetLogColorSpace GetLogColorSpaceA
557 #define CreateColorSpace CreateColorSpaceA
558 #define GetICMProfile GetICMProfileA
559 #define SetICMProfile SetICMProfileA
560 #define UpdateICMRegKey UpdateICMRegKeyA
561 #define EnumICMProfiles EnumICMProfilesA
562 #define CreatePropertySheetPage CreatePropertySheetPageA
563 #define PropertySheet PropertySheetA
564 #define ImageList_LoadImage ImageList_LoadImageA
565 #define CreateStatusWindow CreateStatusWindowA
566 #define DrawStatusText DrawStatusTextA
567 #define GetOpenFileName GetOpenFileNameA
568 #define GetSaveFileName GetSaveFileNameA
569 #define GetFileTitle GetFileTitleA
570 #define ChooseColor ChooseColorA
571 #define FindText FindTextA
572 #define ReplaceText ReplaceTextA
573 #define ChooseFont ChooseFontA
574 #define PrintDlg PrintDlgA
575 #define PageSetupDlg PageSetupDlgA
576 #define DefWindowProc DefWindowProcA
577 #define CallWindowProc CallWindowProcA
578 #define RegisterClass RegisterClassA
579 #define UnregisterClass UnregisterClassA
580 #define GetClassInfo GetClassInfoA
581 #define RegisterClassEx RegisterClassExA
582 #define GetClassInfoEx GetClassInfoExA
583 #define CreateWindowEx CreateWindowExA
584 #define CreateWindow CreateWindowA
585 #define CreateDialogParam CreateDialogParamA
586 #define CreateDialogIndirectParam CreateDialogIndirectParamA
587 #define CreateDialog CreateDialogA
588 #define CreateDialogIndirect CreateDialogIndirectA
589 #define CreateWaitableTimer CreateWaitableTimerA
590 #define DialogBoxParam DialogBoxParamA
591 #define DialogBoxIndirectParam DialogBoxIndirectParamA
592 #define DialogBox DialogBoxA
593 #define DialogBoxIndirect DialogBoxIndirectA
594 #define RegisterClipboardFormat RegisterClipboardFormatA
595 #define SetDlgItemText SetDlgItemTextA
596 #define GetDlgItemText GetDlgItemTextA
597 #define SendDlgItemMessage SendDlgItemMessageA
598 #define DefDlgProc DefDlgProcA
599 #define CallMsgFilter CallMsgFilterA
600 #define GetClipboardFormatName GetClipboardFormatNameA
601 #define CharToOem CharToOemA
602 #define OemToChar OemToCharA
603 #define CharToOemBuff CharToOemBuffA
604 #define OemToCharBuff OemToCharBuffA
605 #define CharUpper CharUpperA
606 #define CharUpperBuff CharUpperBuffA
607 #define CharLower CharLowerA
608 #define CharLowerBuff CharLowerBuffA
609 #define CharNext CharNextA
610 #define CharPrev CharPrevA
611 #define IsCharAlpha IsCharAlphaA
612 #define IsCharAlphaNumeric IsCharAlphaNumericA
613 #define IsCharUpper IsCharUpperA
614 #define IsCharLower IsCharLowerA
615 #define GetKeyNameText GetKeyNameTextA
616 #define VkKeyScan VkKeyScanA
617 #define VkKeyScanEx VkKeyScanExA
618 #define MapVirtualKey MapVirtualKeyA
619 #define MapVirtualKeyEx MapVirtualKeyExA
620 #define LoadAccelerators LoadAcceleratorsA
621 #define CreateAcceleratorTable CreateAcceleratorTableA
622 #define CopyAcceleratorTable CopyAcceleratorTableA
623 #define TranslateAccelerator TranslateAcceleratorA
624 #define LoadMenu LoadMenuA
625 #define LoadMenuIndirect LoadMenuIndirectA
626 #define ChangeMenu ChangeMenuA
627 #define GetMenuString GetMenuStringA
628 #define InsertMenu InsertMenuA
629 #define AppendMenu AppendMenuA
630 #define ModifyMenu ModifyMenuA
631 #define InsertMenuItem InsertMenuItemA
632 #define GetMenuItemInfo GetMenuItemInfoA
633 #define SetMenuItemInfo SetMenuItemInfoA
634 #define DrawText DrawTextA
635 #define DrawTextEx DrawTextExA
636 #define GrayString GrayStringA
637 #define DrawState DrawStateA
638 #define TabbedTextOut TabbedTextOutA
639 #define GetTabbedTextExtent GetTabbedTextExtentA
640 #define GetVersionEx GetVersionExA
641 #define wvsprintf wvsprintfA
642 #define wsprintf wsprintfA
643 #define LoadKeyboardLayout LoadKeyboardLayoutA
644 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
645 #define CreateDesktop CreateDesktopA
646 #define OpenDesktop OpenDesktopA
647 #define EnumDesktops EnumDesktopsA
648 #define CreateWindowStation CreateWindowStationA
649 #define OpenWindowStation OpenWindowStationA
650 #define EnumWindowStations EnumWindowStationsA
651 #define IsBadStringPtr IsBadStringPtrA
652 #define LookupAccountSid LookupAccountSidA
653 #define LookupAccountName LookupAccountNameA
654 #define LookupPrivilegeValue LookupPrivilegeValueA
655 #define LookupPrivilegeName LookupPrivilegeNameA
656 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
657 #define BuildCommDCB BuildCommDCBA
658 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
659 #define CommConfigDialog CommConfigDialogA
660 #define GetDefaultCommConfig GetDefaultCommConfigA
661 #define SetDefaultCommConfig SetDefaultCommConfigA
662 #define GetComputerName GetComputerNameA
663 #define SetComputerName SetComputerNameA
664 #define GetUserName GetUserNameA
665 #define CreateMailslot CreateMailslotA
666 #define FormatMessage FormatMessageA
667 #define GetEnvironmentStrings GetEnvironmentStringsA
668 #define FreeEnvironmentStrings FreeEnvironmentStringsA
669 #define lstrcmp lstrcmpA
670 #define lstrcmpi lstrcmpiA
671 #define lstrcpyn lstrcpynA
672 #define lstrcpy lstrcpyA
673 #define lstrcat lstrcatA
674 #define lstrlen lstrlenA
675 #define GetBinaryType GetBinaryTypeA
676 #define GetShortPathName GetShortPathNameA
677 #define SetFileSecurity SetFileSecurityA
678 #define GetFileSecurity GetFileSecurityA
679 #define FindFirstChangeNotification FindFirstChangeNotificationA
680 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
681 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
682 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
683 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
684 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
685 #define OpenEventLog OpenEventLogA
686 #define RegisterEventSource RegisterEventSourceA
687 #define OpenBackupEventLog OpenBackupEventLogA
688 #define ReadEventLog ReadEventLogA
689 #define ReportEvent ReportEventA
690 #define CreateProcess CreateProcessA
691 #define FatalAppExit FatalAppExitA
692 #define GetStartupInfo GetStartupInfoA
693 #define GetCommandLine GetCommandLineA
694 #define GetEnvironmentVariable GetEnvironmentVariableA
695 #define SetEnvironmentVariable SetEnvironmentVariableA
696 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
697 #define OutputDebugString OutputDebugStringA
698 #define FindResource FindResourceA
699 #define FindResourceEx FindResourceExA
700 #define EnumResourceTypes EnumResourceTypesA
701 #define EnumResourceNames EnumResourceNamesA
702 #define EnumResourceLanguages EnumResourceLanguagesA
703 #define BeginUpdateResource BeginUpdateResourceA
704 #define UpdateResource UpdateResourceA
705 #define EndUpdateResource EndUpdateResourceA
706 #define GlobalAddAtom GlobalAddAtomA
707 #define GlobalFindAtom GlobalFindAtomA
708 #define GlobalGetAtomName GlobalGetAtomNameA
709 #define AddAtom AddAtomA
710 #define FindAtom FindAtomA
711 #define GetProfileInt GetProfileIntA
712 #define GetAtomName GetAtomNameA
713 #define GetProfileString GetProfileStringA
714 #define WriteProfileString WriteProfileStringA
715 #define GetProfileSection GetProfileSectionA
716 #define WriteProfileSection WriteProfileSectionA
717 #define GetPrivateProfileInt GetPrivateProfileIntA
718 #define GetPrivateProfileString GetPrivateProfileStringA
719 #define WritePrivateProfileString WritePrivateProfileStringA
720 #define GetPrivateProfileSection GetPrivateProfileSectionA
721 #define WritePrivateProfileSection WritePrivateProfileSectionA
722 #define GetDriveType GetDriveTypeA
723 #define GetSystemDirectory GetSystemDirectoryA
724 #define GetTempPath GetTempPathA
725 #define GetTempFileName GetTempFileNameA
726 #define GetWindowsDirectory GetWindowsDirectoryA
727 #define SetCurrentDirectory SetCurrentDirectoryA
728 #define GetCurrentDirectory GetCurrentDirectoryA
729 #define GetDiskFreeSpace GetDiskFreeSpaceA
730 #define CreateDirectory CreateDirectoryA
731 #define CreateDirectoryEx CreateDirectoryExA
732 #define RemoveDirectory RemoveDirectoryA
733 #define GetFullPathName GetFullPathNameA
734 #define DefineDosDevice DefineDosDeviceA
735 #define QueryDosDevice QueryDosDeviceA
736 #define CreateFile CreateFileA
737 #define SetFileAttributes SetFileAttributesA
738 #define GetFileAttributes GetFileAttributesA
739 #define GetCompressedFileSize GetCompressedFileSizeA
740 #define DeleteFile DeleteFileA
741 #define FindFirstFileEx FindFirstFileExA
742 #define FindFirstFile FindFirstFileA
743 #define FindNextFile FindNextFileA
744 #define SearchPath SearchPathA
745 #define CopyFile CopyFileA
746 #define MoveFile MoveFileA
747 #define MoveFileEx MoveFileExA
748 #define CreateNamedPipe CreateNamedPipeA
749 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
750 #define CallNamedPipe CallNamedPipeA
751 #define WaitNamedPipe WaitNamedPipeA
752 #define SetVolumeLabel SetVolumeLabelA
753 #define GetVolumeInformation GetVolumeInformationA
754 #define ClearEventLog ClearEventLogA
755 #define BackupEventLog BackupEventLogA
756 #define CreateMutex CreateMutexA
757 #define OpenMutex OpenMutexA
758 #define CreateEvent CreateEventA
759 #define OpenEvent OpenEventA
760 #define CreateSemaphore CreateSemaphoreA
761 #define OpenSemaphore OpenSemaphoreA
762 #define CreateFileMapping CreateFileMappingA
763 #define OpenFileMapping OpenFileMappingA
764 #define GetLogicalDriveStrings GetLogicalDriveStringsA
765 #define LoadLibrary LoadLibraryA
766 #define LoadLibraryEx LoadLibraryExA
767 #define GetModuleFileName GetModuleFileNameA
768 #define GetModuleHandle GetModuleHandleA
769 #define GetUserObjectInformation GetUserObjectInformationA
770 #define SetUserObjectInformation SetUserObjectInformationA
771 #define RegisterWindowMessage RegisterWindowMessageA
772 #define GetMessage GetMessageA
773 #define DispatchMessage DispatchMessageA
774 #define PeekMessage PeekMessageA
775 #define SendMessage SendMessageA
776 #define SendMessageTimeout SendMessageTimeoutA
777 #define SendNotifyMessage SendNotifyMessageA
778 #define SendMessageCallback SendMessageCallbackA
779 #define PostMessage PostMessageA
780 #define PostThreadMessage PostThreadMessageA
781 #define VerFindFile VerFindFileA
782 #define VerInstallFile VerInstallFileA
783 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
784 #define GetFileVersionInfo GetFileVersionInfoA
785 #define VerLanguageName VerLanguageNameA
786 #define VerQueryValue VerQueryValueA
787 #define CompareString CompareStringA
788 #define LCMapString LCMapStringA
789 #define GetLocaleInfo GetLocaleInfoA
790 #define SetLocaleInfo SetLocaleInfoA
791 #define GetTimeFormat GetTimeFormatA
792 #define GetDateFormat GetDateFormatA
793 #define GetNumberFormat GetNumberFormatA
794 #define GetCurrencyFormat GetCurrencyFormatA
795 #define EnumCalendarInfo EnumCalendarInfoA
796 #define EnumTimeFormats EnumTimeFormatsA
797 #define FoldString FoldStringA
798 #define EnumSystemCodePages EnumSystemCodePagesA
799 #define EnumSystemLocales EnumSystemLocalesA
800 #define GetStringTypeEx GetStringTypeExA
801 #define EnumDateFormats EnumDateFormatsA
802 #define GetConsoleTitle GetConsoleTitleA
803 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
804 #define SetConsoleTitle SetConsoleTitleA
805 #define ReadConsole ReadConsoleA
806 #define WriteConsole WriteConsoleA
807 #define PeekConsoleInput PeekConsoleInputA
808 #define ReadConsoleInput ReadConsoleInputA
809 #define WriteConsoleInput WriteConsoleInputA
810 #define ReadConsoleOutput ReadConsoleOutputA
811 #define WriteConsoleOutput WriteConsoleOutputA
812 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
813 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
814 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
815 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
816 #define WNetGetLastError WNetGetLastErrorA
817 #define WNetGetProviderName WNetGetProviderNameA
818 #define WNetGetNetworkInformation WNetGetNetworkInformationA
819 #define WNetConnectionDialog1 WNetConnectionDialog1A
820 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
821 #define WNetOpenEnum WNetOpenEnumA
822 #define WNetEnumResource WNetEnumResourceA
823 #define WNetGetUniversalName WNetGetUniversalNameA
824 #define WNetGetUser WNetGetUserA
825 #define WNetAddConnection WNetAddConnectionA
826 #define WNetAddConnection2 WNetAddConnection2A
827 #define WNetAddConnection3 WNetAddConnection3A
828 #define WNetCancelConnection WNetCancelConnectionA
829 #define WNetCancelConnection2 WNetCancelConnection2A
830 #define WNetGetConnection WNetGetConnectionA
831 #define WNetUseConnection WNetUseConnectionA
832 #define WNetSetConnection WNetSetConnectionA
833 #define OpenService OpenServiceA
834 #define QueryServiceConfig QueryServiceConfigA
835 #define QueryServiceLockStatus QueryServiceLockStatusA
836 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
837 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
838 #define StartService StartServiceA
839 #define ChangeServiceConfig ChangeServiceConfigA
840 #define CreateService CreateServiceA
841 #define EnumDependentServices EnumDependentServicesA
842 #define EnumServicesStatus EnumServicesStatusA
843 #define GetServiceKeyName GetServiceKeyNameA
844 #define GetServiceDisplayName GetServiceDisplayNameA
845 #define OpenSCManager OpenSCManagerA
846 #define DragQueryFile DragQueryFileA
847 #define ExtractAssociatedIcon ExtractAssociatedIconA
848 #define ExtractIcon ExtractIconA
849 #define FindExecutable FindExecutableA
850 #define ShellAbout ShellAboutA
851 #define ShellExecute ShellExecuteA
852 #define DdeCreateStringHandle DdeCreateStringHandleA
853 #define DdeInitialize DdeInitializeA
854 #define DdeQueryString DdeQueryStringA
855 #define LogonUser LogonUserA
856 #define CreateProcessAsUser CreateProcessAsUserA
858 #endif /* UNICODE and ASCII defines */
860 WINBOOL STDCALL
AbnormalTermination(VOID
);
861 int STDCALL
AbortDoc(HDC
);
862 WINBOOL STDCALL
AbortPath(HDC
);
863 WINBOOL STDCALL
AbortPrinter(HANDLE
);
864 WINBOOL CALLBACK
AbortProc(HDC
, int);
865 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
866 WINBOOL STDCALL
AccessCheck(
867 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
870 PGENERIC_MAPPING GenericMapping
,
871 PPRIVILEGE_SET PrivilegeSet
,
872 LPDWORD PrivilegeSetLength
,
873 LPDWORD GrantedAccess
,
877 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
878 LPCTSTR SubsystemName
,
880 LPTSTR ObjectTypeName
,
882 PSECURITY_DESCRIPTOR SecurityDescriptor
,
884 PGENERIC_MAPPING GenericMapping
,
885 WINBOOL ObjectCreation
,
886 LPDWORD GrantedAccess
,
888 LPBOOL pfGenerateOnClose
893 InterlockedIncrement(
899 InterlockedDecrement(
911 InterlockedCompareExchange(
932 HINSTANCE hPrevInstance
,
946 FreeLibraryAndExitThread(
953 DisableThreadLibraryCalls(
1065 LPMEMORYSTATUS lpBuffer
1149 FlushInstructionCache(
1151 LPCVOID lpBaseAddress
,
1161 DWORD flAllocationType
,
1181 PDWORD lpflOldProtect
1189 PMEMORY_BASIC_INFORMATION lpBuffer
,
1201 PDWORD lpflOldProtect
1210 PMEMORY_BASIC_INFORMATION lpBuffer
,
1219 DWORD dwInitialSize
,
1279 GetProcessHeap( VOID
);
1284 DWORD NumberOfHeaps
,
1285 PHANDLE ProcessHeaps
1304 LPPROCESS_HEAP_ENTRY lpEntry
1309 GetProcessAffinityMask(
1311 LPDWORD lpProcessAffinityMask
,
1312 LPDWORD lpSystemAffinityMask
1319 LPFILETIME lpCreationTime
,
1320 LPFILETIME lpExitTime
,
1321 LPFILETIME lpKernelTime
,
1322 LPFILETIME lpUserTime
1327 GetProcessWorkingSetSize(
1329 LPDWORD lpMinimumWorkingSetSize
,
1330 LPDWORD lpMaximumWorkingSetSize
1335 SetProcessWorkingSetSize(
1337 DWORD dwMinimumWorkingSetSize
,
1338 DWORD dwMaximumWorkingSetSize
1344 DWORD dwDesiredAccess
,
1345 WINBOOL bInheritHandle
,
1357 GetCurrentProcessId(
1365 ) __attribute__ ((noreturn
));
1390 DWORD dwExceptionCode
,
1391 DWORD dwExceptionFlags
,
1392 DWORD nNumberOfArguments
,
1393 CONST DWORD
*lpArguments
1398 UnhandledExceptionFilter(
1399 struct _EXCEPTION_POINTERS
*ExceptionInfo
1403 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1404 LPTOP_LEVEL_EXCEPTION_FILTER
1406 SetUnhandledExceptionFilter(
1407 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1415 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1417 LPTHREAD_START_ROUTINE lpStartAddress
,
1419 DWORD dwCreationFlags
,
1428 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1430 LPTHREAD_START_ROUTINE lpStartAddress
,
1432 DWORD dwCreationFlags
,
1453 SetThreadAffinityMask(
1455 DWORD dwThreadAffinityMask
1478 LPFILETIME lpCreationTime
,
1479 LPFILETIME lpExitTime
,
1480 LPFILETIME lpKernelTime
,
1481 LPFILETIME lpUserTime
1509 GetThreadSelectorEntry(
1512 LPLDT_ENTRY lpSelectorEntry
1532 GetOverlappedResult(
1534 LPOVERLAPPED lpOverlapped
,
1535 LPDWORD lpNumberOfBytesTransferred
,
1542 CreateIoCompletionPort(
1544 HANDLE ExistingCompletionPort
,
1545 DWORD CompletionKey
,
1546 DWORD NumberOfConcurrentThreads
1552 GetQueuedCompletionStatus(
1553 HANDLE CompletionPort
,
1554 LPDWORD lpNumberOfBytesTransferred
,
1555 LPDWORD lpCompletionKey
,
1556 LPOVERLAPPED
*lpOverlapped
,
1557 DWORD dwMilliseconds
1571 LPCVOID lpBaseAddress
,
1574 LPDWORD lpNumberOfBytesRead
1582 LPVOID lpBaseAddress
,
1585 LPDWORD lpNumberOfBytesWritten
1601 CONST CONTEXT
*lpContext
1629 LPDEBUG_EVENT lpDebugEvent
,
1630 DWORD dwMilliseconds
1639 DWORD dwContinueStatus
1652 InitializeCriticalSection(
1653 LPCRITICAL_SECTION lpCriticalSection
1659 EnterCriticalSection(
1660 LPCRITICAL_SECTION lpCriticalSection
1666 LeaveCriticalSection(
1667 LPCRITICAL_SECTION lpCriticalSection
1673 DeleteCriticalSection(
1674 LPCRITICAL_SECTION lpCriticalSection
1704 LPLONG lpPreviousCount
1717 WaitForSingleObject(
1719 DWORD dwMilliseconds
1725 WaitForMultipleObjects(
1727 CONST HANDLE
*lpHandles
,
1729 DWORD dwMilliseconds
1736 DWORD dwMilliseconds
1796 DWORD dwFileOffsetLow
,
1797 DWORD dwFileOffsetHigh
,
1798 DWORD nNumberOfBytesToLockLow
,
1799 DWORD nNumberOfBytesToLockHigh
1807 DWORD dwFileOffsetLow
,
1808 DWORD dwFileOffsetHigh
,
1809 DWORD nNumberOfBytesToUnlockLow
,
1810 DWORD nNumberOfBytesToUnlockHigh
1820 DWORD nNumberOfBytesToLockLow
,
1821 DWORD nNumberOfBytesToLockHigh
,
1822 LPOVERLAPPED lpOverlapped
1830 DWORD nNumberOfBytesToUnlockLow
,
1831 DWORD nNumberOfBytesToUnlockHigh
,
1832 LPOVERLAPPED lpOverlapped
1837 GetFileInformationByHandle(
1839 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1854 LPDWORD lpFileSizeHigh
1878 DWORD nNumberOfBytesToWrite
,
1879 LPDWORD lpNumberOfBytesWritten
,
1880 LPOVERLAPPED lpOverlapped
1889 DWORD nNumberOfBytesToRead
,
1890 LPDWORD lpNumberOfBytesRead
,
1891 LPOVERLAPPED lpOverlapped
1906 DWORD dwIoControlCode
,
1908 DWORD nInBufferSize
,
1910 DWORD nOutBufferSize
,
1911 LPDWORD lpBytesReturned
,
1912 LPOVERLAPPED lpOverlapped
1927 LONG lDistanceToMove
,
1928 PLONG lpDistanceToMoveHigh
,
1944 LPFILETIME lpCreationTime
,
1945 LPFILETIME lpLastAccessTime
,
1946 LPFILETIME lpLastWriteTime
1954 CONST FILETIME
*lpCreationTime
,
1955 CONST FILETIME
*lpLastAccessTime
,
1956 CONST FILETIME
*lpLastWriteTime
1970 HANDLE hSourceProcessHandle
,
1971 HANDLE hSourceHandle
,
1972 HANDLE hTargetProcessHandle
,
1973 LPHANDLE lpTargetHandle
,
1974 DWORD dwDesiredAccess
,
1975 WINBOOL bInheritHandle
,
1982 GetHandleInformation(
1990 SetHandleInformation(
1999 LPCSTR lpModuleName
,
2000 LPVOID lpParameterBlock
2066 LPCOMMPROP lpCommProp
2090 LPCOMMTIMEOUTS lpCommTimeouts
2138 LPCOMMTIMEOUTS lpCommTimeouts
2155 LPOVERLAPPED lpOverlapped
2164 DWORD dwPositionMethod
,
2176 DWORD dwPositionType
,
2177 LPDWORD lpdwPartition
,
2178 LPDWORD lpdwOffsetLow
,
2179 LPDWORD lpdwOffsetHigh
2203 CreateTapePartition(
2205 DWORD dwPartitionMethod
,
2215 DWORD dwTapemarkType
,
2216 DWORD dwTapemarkCount
,
2234 LPVOID lpTapeInformation
2242 LPVOID lpTapeInformation
2391 LPSYSTEMTIME lpSystemTime
2398 CONST SYSTEMTIME
*lpSystemTime
2405 LPSYSTEMTIME lpSystemTime
2412 CONST SYSTEMTIME
*lpSystemTime
2419 LPSYSTEM_INFO lpSystemInfo
2424 SystemTimeToTzSpecificLocalTime(
2425 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2426 LPSYSTEMTIME lpUniversalTime
,
2427 LPSYSTEMTIME lpLocalTime
2433 GetTimeZoneInformation(
2434 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2440 SetTimeZoneInformation(
2441 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2446 SystemTimeToFileTime(
2447 CONST SYSTEMTIME
*lpSystemTime
,
2448 LPFILETIME lpFileTime
2454 FileTimeToLocalFileTime(
2455 CONST FILETIME
*lpFileTime
,
2456 LPFILETIME lpLocalFileTime
2462 LocalFileTimeToFileTime(
2463 CONST FILETIME
*lpLocalFileTime
,
2464 LPFILETIME lpFileTime
2470 FileTimeToSystemTime(
2471 CONST FILETIME
*lpFileTime
,
2472 LPSYSTEMTIME lpSystemTime
2479 CONST FILETIME
*lpFileTime1
,
2480 CONST FILETIME
*lpFileTime2
2486 FileTimeToDosDateTime(
2487 CONST FILETIME
*lpFileTime
,
2495 DosDateTimeToFileTime(
2498 LPFILETIME lpFileTime
2511 SetSystemTimeAdjustment(
2512 DWORD dwTimeAdjustment
,
2513 WINBOOL bTimeAdjustmentDisabled
2519 GetSystemTimeAdjustment(
2520 PDWORD lpTimeAdjustment
,
2521 PDWORD lpTimeIncrement
,
2522 PWINBOOL lpTimeAdjustmentDisabled
2531 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2540 LPOVERLAPPED lpOverlapped
2546 DisconnectNamedPipe(
2553 SetNamedPipeHandleState(
2556 LPDWORD lpMaxCollectionCount
,
2557 LPDWORD lpCollectDataTimeout
2566 LPDWORD lpOutBufferSize
,
2567 LPDWORD lpInBufferSize
,
2568 LPDWORD lpMaxInstances
2578 LPDWORD lpBytesRead
,
2579 LPDWORD lpTotalBytesAvail
,
2580 LPDWORD lpBytesLeftThisMessage
2589 DWORD nInBufferSize
,
2591 DWORD nOutBufferSize
,
2592 LPDWORD lpBytesRead
,
2593 LPOVERLAPPED lpOverlapped
2602 LPDWORD lpMaxMessageSize
,
2604 LPDWORD lpMessageCount
,
2605 LPDWORD lpReadTimeout
2620 HANDLE hFileMappingObject
,
2621 DWORD dwDesiredAccess
,
2622 DWORD dwFileOffsetHigh
,
2623 DWORD dwFileOffsetLow
,
2624 DWORD dwNumberOfBytesToMap
2631 LPCVOID lpBaseAddress
,
2632 DWORD dwNumberOfBytesToFlush
2639 LPVOID lpBaseAddress
2646 LPOFSTRUCT lpReOpenBuff
,
2722 CONST LPVOID lpBuffer
,
2758 DWORD dwMilliseconds
,
2765 WaitForSingleObjectEx(
2767 DWORD dwMilliseconds
,
2774 WaitForMultipleObjectsEx(
2776 CONST HANDLE
*lpHandles
,
2778 DWORD dwMilliseconds
,
2788 DWORD nNumberOfBytesToRead
,
2789 LPOVERLAPPED lpOverlapped
,
2790 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2799 DWORD nNumberOfBytesToWrite
,
2800 LPOVERLAPPED lpOverlapped
,
2801 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2810 DWORD nNumberOfBytesToRead
,
2811 LPDWORD lpNumberOfBytesRead
,
2813 WINBOOL bProcessSecurity
,
2822 DWORD dwLowBytesToSeek
,
2823 DWORD dwHighBytesToSeek
,
2824 LPDWORD lpdwLowByteSeeked
,
2825 LPDWORD lpdwHighByteSeeked
,
2835 DWORD nNumberOfBytesToWrite
,
2836 LPDWORD lpNumberOfBytesWritten
,
2838 WINBOOL bProcessSecurity
,
2844 SetProcessShutdownParameters(
2852 GetProcessShutdownParameters(
2860 SetFileApisToOEM( VOID
);
2865 SetFileApisToANSI( VOID
);
2870 AreFileApisANSI( VOID
);
2881 DeregisterEventSource (
2888 NotifyChangeEventLog (
2896 GetNumberOfEventLogRecords (
2898 PDWORD NumberOfRecords
2904 GetOldestEventLogRecord (
2912 HANDLE ExistingTokenHandle
,
2913 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2914 PHANDLE DuplicateTokenHandle
2920 GetKernelObjectSecurity (
2922 SECURITY_INFORMATION RequestedInformation
,
2923 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2925 LPDWORD lpnLengthNeeded
2931 ImpersonateNamedPipeClient(
2938 ImpersonateLoggedOnUser(
2946 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2969 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2971 DWORD DesiredAccess
,
2972 PGENERIC_MAPPING GenericMapping
,
2973 PPRIVILEGE_SET PrivilegeSet
,
2974 LPDWORD PrivilegeSetLength
,
2975 LPDWORD GrantedAccess
,
2984 HANDLE ProcessHandle
,
2985 DWORD DesiredAccess
,
2994 HANDLE ThreadHandle
,
2995 DWORD DesiredAccess
,
3004 GetTokenInformation (
3006 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3007 LPVOID TokenInformation
,
3008 DWORD TokenInformationLength
,
3016 SetTokenInformation (
3018 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3019 LPVOID TokenInformation
,
3020 DWORD TokenInformationLength
3027 AdjustTokenPrivileges (
3029 WINBOOL DisableAllPrivileges
,
3030 PTOKEN_PRIVILEGES NewState
,
3032 PTOKEN_PRIVILEGES PreviousState
,
3042 WINBOOL ResetToDefault
,
3043 PTOKEN_GROUPS NewState
,
3045 PTOKEN_GROUPS PreviousState
,
3055 PPRIVILEGE_SET RequiredPrivileges
,
3089 GetSidLengthRequired (
3090 UCHAR nSubAuthorityCount
3097 AllocateAndInitializeSid (
3098 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3099 BYTE nSubAuthorityCount
,
3100 DWORD nSubAuthority0
,
3101 DWORD nSubAuthority1
,
3102 DWORD nSubAuthority2
,
3103 DWORD nSubAuthority3
,
3104 DWORD nSubAuthority4
,
3105 DWORD nSubAuthority5
,
3106 DWORD nSubAuthority6
,
3107 DWORD nSubAuthority7
,
3123 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3124 BYTE nSubAuthorityCount
3129 PSID_IDENTIFIER_AUTHORITY
3131 GetSidIdentifierAuthority (
3139 GetSidSubAuthority (
3148 GetSidSubAuthorityCount (
3165 DWORD nDestinationSidLength
,
3166 PSID pDestinationSid
,
3174 AreAllAccessesGranted (
3175 DWORD GrantedAccess
,
3183 AreAnyAccessesGranted (
3184 DWORD GrantedAccess
,
3194 PGENERIC_MAPPING GenericMapping
3221 LPVOID pAclInformation
,
3222 DWORD nAclInformationLength
,
3223 ACL_INFORMATION_CLASS dwAclInformationClass
3232 LPVOID pAclInformation
,
3233 DWORD nAclInformationLength
,
3234 ACL_INFORMATION_CLASS dwAclInformationClass
3243 DWORD dwAceRevision
,
3244 DWORD dwStartingAceIndex
,
3246 DWORD nAceListLength
3272 AddAccessAllowedAce (
3274 DWORD dwAceRevision
,
3283 AddAccessDeniedAce (
3285 DWORD dwAceRevision
,
3296 DWORD dwAceRevision
,
3299 WINBOOL bAuditSuccess
,
3300 WINBOOL bAuditFailure
3316 InitializeSecurityDescriptor (
3317 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3325 IsValidSecurityDescriptor (
3326 PSECURITY_DESCRIPTOR pSecurityDescriptor
3333 GetSecurityDescriptorLength (
3334 PSECURITY_DESCRIPTOR pSecurityDescriptor
3341 GetSecurityDescriptorControl (
3342 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3343 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3344 LPDWORD lpdwRevision
3351 SetSecurityDescriptorDacl (
3352 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3353 WINBOOL bDaclPresent
,
3355 WINBOOL bDaclDefaulted
3362 GetSecurityDescriptorDacl (
3363 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3364 LPBOOL lpbDaclPresent
,
3366 LPBOOL lpbDaclDefaulted
3373 SetSecurityDescriptorSacl (
3374 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3375 WINBOOL bSaclPresent
,
3377 WINBOOL bSaclDefaulted
3384 GetSecurityDescriptorSacl (
3385 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3386 LPBOOL lpbSaclPresent
,
3388 LPBOOL lpbSaclDefaulted
3395 SetSecurityDescriptorOwner (
3396 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3398 WINBOOL bOwnerDefaulted
3405 GetSecurityDescriptorOwner (
3406 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3408 LPBOOL lpbOwnerDefaulted
3415 SetSecurityDescriptorGroup (
3416 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3418 WINBOOL bGroupDefaulted
3425 GetSecurityDescriptorGroup (
3426 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3428 LPBOOL lpbGroupDefaulted
3435 CreatePrivateObjectSecurity (
3436 PSECURITY_DESCRIPTOR ParentDescriptor
,
3437 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3438 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3439 WINBOOL IsDirectoryObject
,
3441 PGENERIC_MAPPING GenericMapping
3448 SetPrivateObjectSecurity (
3449 SECURITY_INFORMATION SecurityInformation
,
3450 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3451 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3452 PGENERIC_MAPPING GenericMapping
,
3460 GetPrivateObjectSecurity (
3461 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3462 SECURITY_INFORMATION SecurityInformation
,
3463 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3464 DWORD DescriptorLength
,
3472 DestroyPrivateObjectSecurity (
3473 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3480 MakeSelfRelativeSD (
3481 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3482 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3483 LPDWORD lpdwBufferLength
3491 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3492 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3493 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3495 LPDWORD lpdwDaclSize
,
3497 LPDWORD lpdwSaclSize
,
3499 LPDWORD lpdwOwnerSize
,
3501 LPDWORD lpdwPrimaryGroupSize
3508 SetKernelObjectSecurity (
3510 SECURITY_INFORMATION SecurityInformation
,
3511 PSECURITY_DESCRIPTOR SecurityDescriptor
3517 FindNextChangeNotification(
3518 HANDLE hChangeHandle
3524 FindCloseChangeNotification(
3525 HANDLE hChangeHandle
3548 HANDLE hFileMappingObject
,
3549 DWORD dwDesiredAccess
,
3550 DWORD dwFileOffsetHigh
,
3551 DWORD dwFileOffsetLow
,
3552 DWORD dwNumberOfBytesToMap
,
3553 LPVOID lpBaseAddress
3561 DWORD dwPriorityClass
3612 AllocateLocallyUniqueId(
3619 QueryPerformanceCounter(
3620 LARGE_INTEGER
*lpPerformanceCount
3626 QueryPerformanceFrequency(
3627 LARGE_INTEGER
*lpFrequency
3653 /* The memory functions don't seem to be defined in the libraries, so
3654 define macro versions as well. */
3655 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3656 #define FillMemory(p, c, v) memset ((p), (v), (c))
3657 #define ZeroMemory(p, c) memset ((p), 0, (c))
3662 ActivateKeyboardLayout(
3668 ActivateKeyboardLayout(
3688 UnloadKeyboardLayout(
3694 GetKeyboardLayoutList(
3711 DWORD dwDesiredAccess
);
3717 ENUMWINDOWSPROC lpfn
,
3753 SetProcessWindowStation(
3759 GetProcessWindowStation(
3765 SetUserObjectSecurity(
3767 PSECURITY_INFORMATION pSIRequested
,
3768 PSECURITY_DESCRIPTOR pSID
);
3773 GetUserObjectSecurity(
3775 PSECURITY_INFORMATION pSIRequested
,
3776 PSECURITY_DESCRIPTOR pSID
,
3778 LPDWORD lpnLengthNeeded
);
3834 GetMessageExtraInfo(
3840 SetMessageExtraInfo(
3846 BroadcastSystemMessage(
3877 DWORD dwMilliseconds
);
3983 HWND hWndInsertAfter
,
3995 WINDOWPLACEMENT
*lpwndpl
);
4002 CONST WINDOWPLACEMENT
*lpwndpl
);
4007 BeginDeferWindowPos(
4016 HWND hWndInsertAfter
,
4088 WINBOOL
*lpTranslated
,
4106 int nIDCheckButton
);
4118 GetNextDlgGroupItem(
4140 GetDialogBaseUnits(VOID
);
4163 HWND hWndNewViewer
);
4174 ChangeClipboardChain(