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
1310 LPPROCESS_HEAP_ENTRY lpEntry
1315 GetProcessAffinityMask(
1317 LPDWORD lpProcessAffinityMask
,
1318 LPDWORD lpSystemAffinityMask
1325 LPFILETIME lpCreationTime
,
1326 LPFILETIME lpExitTime
,
1327 LPFILETIME lpKernelTime
,
1328 LPFILETIME lpUserTime
1333 GetProcessWorkingSetSize(
1335 LPDWORD lpMinimumWorkingSetSize
,
1336 LPDWORD lpMaximumWorkingSetSize
1341 SetProcessWorkingSetSize(
1343 DWORD dwMinimumWorkingSetSize
,
1344 DWORD dwMaximumWorkingSetSize
1350 DWORD dwDesiredAccess
,
1351 WINBOOL bInheritHandle
,
1363 GetCurrentProcessId(
1371 ) __attribute__ ((noreturn
));
1396 DWORD dwExceptionCode
,
1397 DWORD dwExceptionFlags
,
1398 DWORD nNumberOfArguments
,
1399 CONST DWORD
*lpArguments
1404 UnhandledExceptionFilter(
1405 struct _EXCEPTION_POINTERS
*ExceptionInfo
1409 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1410 LPTOP_LEVEL_EXCEPTION_FILTER
1412 SetUnhandledExceptionFilter(
1413 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1421 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1423 LPTHREAD_START_ROUTINE lpStartAddress
,
1425 DWORD dwCreationFlags
,
1434 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1436 LPTHREAD_START_ROUTINE lpStartAddress
,
1438 DWORD dwCreationFlags
,
1459 SetThreadAffinityMask(
1461 DWORD dwThreadAffinityMask
1484 LPFILETIME lpCreationTime
,
1485 LPFILETIME lpExitTime
,
1486 LPFILETIME lpKernelTime
,
1487 LPFILETIME lpUserTime
1515 GetThreadSelectorEntry(
1518 LPLDT_ENTRY lpSelectorEntry
1538 GetOverlappedResult(
1540 LPOVERLAPPED lpOverlapped
,
1541 LPDWORD lpNumberOfBytesTransferred
,
1548 CreateIoCompletionPort(
1550 HANDLE ExistingCompletionPort
,
1551 DWORD CompletionKey
,
1552 DWORD NumberOfConcurrentThreads
1558 GetQueuedCompletionStatus(
1559 HANDLE CompletionPort
,
1560 LPDWORD lpNumberOfBytesTransferred
,
1561 LPDWORD lpCompletionKey
,
1562 LPOVERLAPPED
*lpOverlapped
,
1563 DWORD dwMilliseconds
1577 LPCVOID lpBaseAddress
,
1580 LPDWORD lpNumberOfBytesRead
1588 LPVOID lpBaseAddress
,
1591 LPDWORD lpNumberOfBytesWritten
1607 CONST CONTEXT
*lpContext
1635 LPDEBUG_EVENT lpDebugEvent
,
1636 DWORD dwMilliseconds
1645 DWORD dwContinueStatus
1658 InitializeCriticalSection(
1659 LPCRITICAL_SECTION lpCriticalSection
1665 EnterCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1672 LeaveCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1679 DeleteCriticalSection(
1680 LPCRITICAL_SECTION lpCriticalSection
1710 LPLONG lpPreviousCount
1723 WaitForSingleObject(
1725 DWORD dwMilliseconds
1731 WaitForMultipleObjects(
1733 CONST HANDLE
*lpHandles
,
1735 DWORD dwMilliseconds
1742 DWORD dwMilliseconds
1802 DWORD dwFileOffsetLow
,
1803 DWORD dwFileOffsetHigh
,
1804 DWORD nNumberOfBytesToLockLow
,
1805 DWORD nNumberOfBytesToLockHigh
1813 DWORD dwFileOffsetLow
,
1814 DWORD dwFileOffsetHigh
,
1815 DWORD nNumberOfBytesToUnlockLow
,
1816 DWORD nNumberOfBytesToUnlockHigh
1826 DWORD nNumberOfBytesToLockLow
,
1827 DWORD nNumberOfBytesToLockHigh
,
1828 LPOVERLAPPED lpOverlapped
1836 DWORD nNumberOfBytesToUnlockLow
,
1837 DWORD nNumberOfBytesToUnlockHigh
,
1838 LPOVERLAPPED lpOverlapped
1843 GetFileInformationByHandle(
1845 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1860 LPDWORD lpFileSizeHigh
1884 DWORD nNumberOfBytesToWrite
,
1885 LPDWORD lpNumberOfBytesWritten
,
1886 LPOVERLAPPED lpOverlapped
1895 DWORD nNumberOfBytesToRead
,
1896 LPDWORD lpNumberOfBytesRead
,
1897 LPOVERLAPPED lpOverlapped
1912 DWORD dwIoControlCode
,
1914 DWORD nInBufferSize
,
1916 DWORD nOutBufferSize
,
1917 LPDWORD lpBytesReturned
,
1918 LPOVERLAPPED lpOverlapped
1933 LONG lDistanceToMove
,
1934 PLONG lpDistanceToMoveHigh
,
1950 LPFILETIME lpCreationTime
,
1951 LPFILETIME lpLastAccessTime
,
1952 LPFILETIME lpLastWriteTime
1960 CONST FILETIME
*lpCreationTime
,
1961 CONST FILETIME
*lpLastAccessTime
,
1962 CONST FILETIME
*lpLastWriteTime
1976 HANDLE hSourceProcessHandle
,
1977 HANDLE hSourceHandle
,
1978 HANDLE hTargetProcessHandle
,
1979 LPHANDLE lpTargetHandle
,
1980 DWORD dwDesiredAccess
,
1981 WINBOOL bInheritHandle
,
1988 GetHandleInformation(
1996 SetHandleInformation(
2005 LPCSTR lpModuleName
,
2006 LPVOID lpParameterBlock
2072 LPCOMMPROP lpCommProp
2096 LPCOMMTIMEOUTS lpCommTimeouts
2144 LPCOMMTIMEOUTS lpCommTimeouts
2161 LPOVERLAPPED lpOverlapped
2170 DWORD dwPositionMethod
,
2182 DWORD dwPositionType
,
2183 LPDWORD lpdwPartition
,
2184 LPDWORD lpdwOffsetLow
,
2185 LPDWORD lpdwOffsetHigh
2209 CreateTapePartition(
2211 DWORD dwPartitionMethod
,
2221 DWORD dwTapemarkType
,
2222 DWORD dwTapemarkCount
,
2240 LPVOID lpTapeInformation
2248 LPVOID lpTapeInformation
2397 LPSYSTEMTIME lpSystemTime
2404 CONST SYSTEMTIME
*lpSystemTime
2411 LPSYSTEMTIME lpSystemTime
2418 CONST SYSTEMTIME
*lpSystemTime
2425 LPSYSTEM_INFO lpSystemInfo
2430 SystemTimeToTzSpecificLocalTime(
2431 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2432 LPSYSTEMTIME lpUniversalTime
,
2433 LPSYSTEMTIME lpLocalTime
2439 GetTimeZoneInformation(
2440 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2446 SetTimeZoneInformation(
2447 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2452 SystemTimeToFileTime(
2453 CONST SYSTEMTIME
*lpSystemTime
,
2454 LPFILETIME lpFileTime
2460 FileTimeToLocalFileTime(
2461 CONST FILETIME
*lpFileTime
,
2462 LPFILETIME lpLocalFileTime
2468 LocalFileTimeToFileTime(
2469 CONST FILETIME
*lpLocalFileTime
,
2470 LPFILETIME lpFileTime
2476 FileTimeToSystemTime(
2477 CONST FILETIME
*lpFileTime
,
2478 LPSYSTEMTIME lpSystemTime
2485 CONST FILETIME
*lpFileTime1
,
2486 CONST FILETIME
*lpFileTime2
2492 FileTimeToDosDateTime(
2493 CONST FILETIME
*lpFileTime
,
2501 DosDateTimeToFileTime(
2504 LPFILETIME lpFileTime
2517 SetSystemTimeAdjustment(
2518 DWORD dwTimeAdjustment
,
2519 WINBOOL bTimeAdjustmentDisabled
2525 GetSystemTimeAdjustment(
2526 PDWORD lpTimeAdjustment
,
2527 PDWORD lpTimeIncrement
,
2528 PWINBOOL lpTimeAdjustmentDisabled
2537 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2546 LPOVERLAPPED lpOverlapped
2552 DisconnectNamedPipe(
2559 SetNamedPipeHandleState(
2562 LPDWORD lpMaxCollectionCount
,
2563 LPDWORD lpCollectDataTimeout
2572 LPDWORD lpOutBufferSize
,
2573 LPDWORD lpInBufferSize
,
2574 LPDWORD lpMaxInstances
2584 LPDWORD lpBytesRead
,
2585 LPDWORD lpTotalBytesAvail
,
2586 LPDWORD lpBytesLeftThisMessage
2595 DWORD nInBufferSize
,
2597 DWORD nOutBufferSize
,
2598 LPDWORD lpBytesRead
,
2599 LPOVERLAPPED lpOverlapped
2608 LPDWORD lpMaxMessageSize
,
2610 LPDWORD lpMessageCount
,
2611 LPDWORD lpReadTimeout
2626 HANDLE hFileMappingObject
,
2627 DWORD dwDesiredAccess
,
2628 DWORD dwFileOffsetHigh
,
2629 DWORD dwFileOffsetLow
,
2630 DWORD dwNumberOfBytesToMap
2637 LPCVOID lpBaseAddress
,
2638 DWORD dwNumberOfBytesToFlush
2645 LPVOID lpBaseAddress
2652 LPOFSTRUCT lpReOpenBuff
,
2728 CONST LPVOID lpBuffer
,
2764 DWORD dwMilliseconds
,
2771 WaitForSingleObjectEx(
2773 DWORD dwMilliseconds
,
2780 WaitForMultipleObjectsEx(
2782 CONST HANDLE
*lpHandles
,
2784 DWORD dwMilliseconds
,
2794 DWORD nNumberOfBytesToRead
,
2795 LPOVERLAPPED lpOverlapped
,
2796 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2805 DWORD nNumberOfBytesToWrite
,
2806 LPOVERLAPPED lpOverlapped
,
2807 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2816 DWORD nNumberOfBytesToRead
,
2817 LPDWORD lpNumberOfBytesRead
,
2819 WINBOOL bProcessSecurity
,
2828 DWORD dwLowBytesToSeek
,
2829 DWORD dwHighBytesToSeek
,
2830 LPDWORD lpdwLowByteSeeked
,
2831 LPDWORD lpdwHighByteSeeked
,
2841 DWORD nNumberOfBytesToWrite
,
2842 LPDWORD lpNumberOfBytesWritten
,
2844 WINBOOL bProcessSecurity
,
2850 SetProcessShutdownParameters(
2858 GetProcessShutdownParameters(
2866 SetFileApisToOEM( VOID
);
2871 SetFileApisToANSI( VOID
);
2876 AreFileApisANSI( VOID
);
2887 DeregisterEventSource (
2894 NotifyChangeEventLog (
2902 GetNumberOfEventLogRecords (
2904 PDWORD NumberOfRecords
2910 GetOldestEventLogRecord (
2918 HANDLE ExistingTokenHandle
,
2919 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2920 PHANDLE DuplicateTokenHandle
2926 GetKernelObjectSecurity (
2928 SECURITY_INFORMATION RequestedInformation
,
2929 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2931 LPDWORD lpnLengthNeeded
2937 ImpersonateNamedPipeClient(
2944 ImpersonateLoggedOnUser(
2952 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2975 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2977 DWORD DesiredAccess
,
2978 PGENERIC_MAPPING GenericMapping
,
2979 PPRIVILEGE_SET PrivilegeSet
,
2980 LPDWORD PrivilegeSetLength
,
2981 LPDWORD GrantedAccess
,
2990 HANDLE ProcessHandle
,
2991 DWORD DesiredAccess
,
3000 HANDLE ThreadHandle
,
3001 DWORD DesiredAccess
,
3010 GetTokenInformation (
3012 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3013 LPVOID TokenInformation
,
3014 DWORD TokenInformationLength
,
3022 SetTokenInformation (
3024 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3025 LPVOID TokenInformation
,
3026 DWORD TokenInformationLength
3033 AdjustTokenPrivileges (
3035 WINBOOL DisableAllPrivileges
,
3036 PTOKEN_PRIVILEGES NewState
,
3038 PTOKEN_PRIVILEGES PreviousState
,
3048 WINBOOL ResetToDefault
,
3049 PTOKEN_GROUPS NewState
,
3051 PTOKEN_GROUPS PreviousState
,
3061 PPRIVILEGE_SET RequiredPrivileges
,
3095 GetSidLengthRequired (
3096 UCHAR nSubAuthorityCount
3103 AllocateAndInitializeSid (
3104 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3105 BYTE nSubAuthorityCount
,
3106 DWORD nSubAuthority0
,
3107 DWORD nSubAuthority1
,
3108 DWORD nSubAuthority2
,
3109 DWORD nSubAuthority3
,
3110 DWORD nSubAuthority4
,
3111 DWORD nSubAuthority5
,
3112 DWORD nSubAuthority6
,
3113 DWORD nSubAuthority7
,
3129 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3130 BYTE nSubAuthorityCount
3135 PSID_IDENTIFIER_AUTHORITY
3137 GetSidIdentifierAuthority (
3145 GetSidSubAuthority (
3154 GetSidSubAuthorityCount (
3171 DWORD nDestinationSidLength
,
3172 PSID pDestinationSid
,
3180 AreAllAccessesGranted (
3181 DWORD GrantedAccess
,
3189 AreAnyAccessesGranted (
3190 DWORD GrantedAccess
,
3200 PGENERIC_MAPPING GenericMapping
3227 LPVOID pAclInformation
,
3228 DWORD nAclInformationLength
,
3229 ACL_INFORMATION_CLASS dwAclInformationClass
3238 LPVOID pAclInformation
,
3239 DWORD nAclInformationLength
,
3240 ACL_INFORMATION_CLASS dwAclInformationClass
3249 DWORD dwAceRevision
,
3250 DWORD dwStartingAceIndex
,
3252 DWORD nAceListLength
3278 AddAccessAllowedAce (
3280 DWORD dwAceRevision
,
3289 AddAccessDeniedAce (
3291 DWORD dwAceRevision
,
3302 DWORD dwAceRevision
,
3305 WINBOOL bAuditSuccess
,
3306 WINBOOL bAuditFailure
3322 InitializeSecurityDescriptor (
3323 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3331 IsValidSecurityDescriptor (
3332 PSECURITY_DESCRIPTOR pSecurityDescriptor
3339 GetSecurityDescriptorLength (
3340 PSECURITY_DESCRIPTOR pSecurityDescriptor
3347 GetSecurityDescriptorControl (
3348 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3349 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3350 LPDWORD lpdwRevision
3357 SetSecurityDescriptorDacl (
3358 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3359 WINBOOL bDaclPresent
,
3361 WINBOOL bDaclDefaulted
3368 GetSecurityDescriptorDacl (
3369 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3370 LPBOOL lpbDaclPresent
,
3372 LPBOOL lpbDaclDefaulted
3379 SetSecurityDescriptorSacl (
3380 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3381 WINBOOL bSaclPresent
,
3383 WINBOOL bSaclDefaulted
3390 GetSecurityDescriptorSacl (
3391 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3392 LPBOOL lpbSaclPresent
,
3394 LPBOOL lpbSaclDefaulted
3401 SetSecurityDescriptorOwner (
3402 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3404 WINBOOL bOwnerDefaulted
3411 GetSecurityDescriptorOwner (
3412 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3414 LPBOOL lpbOwnerDefaulted
3421 SetSecurityDescriptorGroup (
3422 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3424 WINBOOL bGroupDefaulted
3431 GetSecurityDescriptorGroup (
3432 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3434 LPBOOL lpbGroupDefaulted
3441 CreatePrivateObjectSecurity (
3442 PSECURITY_DESCRIPTOR ParentDescriptor
,
3443 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3444 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3445 WINBOOL IsDirectoryObject
,
3447 PGENERIC_MAPPING GenericMapping
3454 SetPrivateObjectSecurity (
3455 SECURITY_INFORMATION SecurityInformation
,
3456 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3457 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3458 PGENERIC_MAPPING GenericMapping
,
3466 GetPrivateObjectSecurity (
3467 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3468 SECURITY_INFORMATION SecurityInformation
,
3469 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3470 DWORD DescriptorLength
,
3478 DestroyPrivateObjectSecurity (
3479 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3486 MakeSelfRelativeSD (
3487 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3488 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3489 LPDWORD lpdwBufferLength
3497 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3498 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3499 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3501 LPDWORD lpdwDaclSize
,
3503 LPDWORD lpdwSaclSize
,
3505 LPDWORD lpdwOwnerSize
,
3507 LPDWORD lpdwPrimaryGroupSize
3514 SetKernelObjectSecurity (
3516 SECURITY_INFORMATION SecurityInformation
,
3517 PSECURITY_DESCRIPTOR SecurityDescriptor
3523 FindNextChangeNotification(
3524 HANDLE hChangeHandle
3530 FindCloseChangeNotification(
3531 HANDLE hChangeHandle
3554 HANDLE hFileMappingObject
,
3555 DWORD dwDesiredAccess
,
3556 DWORD dwFileOffsetHigh
,
3557 DWORD dwFileOffsetLow
,
3558 DWORD dwNumberOfBytesToMap
,
3559 LPVOID lpBaseAddress
3567 DWORD dwPriorityClass
3618 AllocateLocallyUniqueId(
3625 QueryPerformanceCounter(
3626 LARGE_INTEGER
*lpPerformanceCount
3632 QueryPerformanceFrequency(
3633 LARGE_INTEGER
*lpFrequency
3659 /* The memory functions don't seem to be defined in the libraries, so
3660 define macro versions as well. */
3661 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3662 #define FillMemory(p, c, v) memset ((p), (v), (c))
3663 #define ZeroMemory(p, c) memset ((p), 0, (c))
3668 ActivateKeyboardLayout(
3674 ActivateKeyboardLayout(
3694 UnloadKeyboardLayout(
3700 GetKeyboardLayoutList(
3717 DWORD dwDesiredAccess
);
3723 ENUMWINDOWSPROC lpfn
,
3759 SetProcessWindowStation(
3765 GetProcessWindowStation(
3771 SetUserObjectSecurity(
3773 PSECURITY_INFORMATION pSIRequested
,
3774 PSECURITY_DESCRIPTOR pSID
);
3779 GetUserObjectSecurity(
3781 PSECURITY_INFORMATION pSIRequested
,
3782 PSECURITY_DESCRIPTOR pSID
,
3784 LPDWORD lpnLengthNeeded
);
3840 GetMessageExtraInfo(
3846 SetMessageExtraInfo(
3852 BroadcastSystemMessage(
3883 DWORD dwMilliseconds
);
3989 HWND hWndInsertAfter
,
4001 WINDOWPLACEMENT
*lpwndpl
);
4008 CONST WINDOWPLACEMENT
*lpwndpl
);
4013 BeginDeferWindowPos(
4022 HWND hWndInsertAfter
,
4094 WINBOOL
*lpTranslated
,
4112 int nIDCheckButton
);
4124 GetNextDlgGroupItem(
4146 GetDialogBaseUnits(VOID
);
4169 HWND hWndNewViewer
);