KERNEL32.GetSystemTimeAsFileTime prototype added.
[reactos.git] / reactos / include / funcs.h
1 /*
2 Functions.h
3
4 Declarations for all the Windows32 API Functions
5
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
7
8 Author: Scott Christley <scottc@net-community.com>
9
10 This file is part of the Windows32 API Library.
11
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.
16
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.
21
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.
24
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.
29 */
30
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
33
34 #ifndef WIN32_LEAN_AND_MEAN
35
36 #ifdef __cplusplus
37 extern "C" {
38 #endif /* __cplusplus */
39
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
42
43 #ifndef UNICODE_ONLY
44 #include <unicode.h>
45 #endif /* !UNICODE_ONLY */
46
47 #ifndef ANSI_ONLY
48 #include <ascii.h>
49 #endif /* !ANSI_ONLY */
50
51 /* Define the approprate declaration based upon UNICODE or ASCII */
52
53 /* UNICODE */
54 #ifdef UNICODE
55
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
454
455 /* ASCII */
456 #else
457
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
857
858 #endif /* UNICODE and ASCII defines */
859
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,
868 HANDLE ClientToken,
869 DWORD DesiredAccess,
870 PGENERIC_MAPPING GenericMapping,
871 PPRIVILEGE_SET PrivilegeSet,
872 LPDWORD PrivilegeSetLength,
873 LPDWORD GrantedAccess,
874 LPBOOL AccessStatus
875 );
876
877 WINBOOL STDCALL AccessCheckAndAuditAlarm(
878 LPCTSTR SubsystemName,
879 LPVOID HandleId,
880 LPTSTR ObjectTypeName,
881 LPTSTR ObjectName,
882 PSECURITY_DESCRIPTOR SecurityDescriptor,
883 DWORD DesiredAccess,
884 PGENERIC_MAPPING GenericMapping,
885 WINBOOL ObjectCreation,
886 LPDWORD GrantedAccess,
887 LPBOOL AccessStatus,
888 LPBOOL pfGenerateOnClose
889 );
890
891 LONG
892 STDCALL
893 InterlockedIncrement(
894 LPLONG lpAddend
895 );
896
897 LONG
898 STDCALL
899 InterlockedDecrement(
900 LPLONG lpAddend
901 );
902
903 LONG
904 STDCALL
905 InterlockedExchange(
906 LPLONG Target,
907 LONG Value
908 );
909 PVOID
910 STDCALL
911 InterlockedCompareExchange(
912 PVOID *Destination,
913 PVOID Exchange,
914 PVOID Comperand );
915
916 WINBOOL
917 STDCALL
918 FreeResource(
919 HGLOBAL hResData
920 );
921
922 LPVOID
923 STDCALL
924 LockResource(
925 HGLOBAL hResData
926 );
927
928 int
929 STDCALL
930 WinMain(
931 HINSTANCE hInstance,
932 HINSTANCE hPrevInstance,
933 LPSTR lpCmdLine,
934 int nShowCmd
935 );
936
937 WINBOOL
938 STDCALL
939 FreeLibrary(
940 HINSTANCE hLibModule
941 );
942
943
944 VOID
945 STDCALL
946 FreeLibraryAndExitThread(
947 HMODULE hLibModule,
948 DWORD dwExitCode
949 );
950
951 WINBOOL
952 STDCALL
953 DisableThreadLibraryCalls(
954 HMODULE hLibModule
955 );
956
957 FARPROC
958 STDCALL
959 GetProcAddress(
960 HINSTANCE hModule,
961 LPCSTR lpProcName
962 );
963
964 DWORD
965 STDCALL
966 GetVersion( VOID );
967
968 HGLOBAL
969 STDCALL
970 GlobalAlloc(
971 UINT uFlags,
972 DWORD dwBytes
973 );
974
975 HGLOBAL
976 GlobalDiscard(
977 HGLOBAL hglbMem
978 );
979
980 HGLOBAL
981 STDCALL
982 GlobalReAlloc(
983 HGLOBAL hMem,
984 DWORD dwBytes,
985 UINT uFlags
986 );
987
988 DWORD
989 STDCALL
990 GlobalSize(
991 HGLOBAL hMem
992 );
993
994 UINT
995 STDCALL
996 GlobalFlags(
997 HGLOBAL hMem
998 );
999
1000
1001 LPVOID
1002 STDCALL
1003 GlobalLock(
1004 HGLOBAL hMem
1005 );
1006
1007 HGLOBAL
1008 STDCALL
1009 GlobalHandle(
1010 LPCVOID pMem
1011 );
1012
1013
1014 WINBOOL
1015 STDCALL
1016 GlobalUnlock(
1017 HGLOBAL hMem
1018 );
1019
1020
1021 HGLOBAL
1022 STDCALL
1023 GlobalFree(
1024 HGLOBAL hMem
1025 );
1026
1027 UINT
1028 STDCALL
1029 GlobalCompact(
1030 DWORD dwMinFree
1031 );
1032
1033
1034 VOID
1035 STDCALL
1036 GlobalFix(
1037 HGLOBAL hMem
1038 );
1039
1040
1041 VOID
1042 STDCALL
1043 GlobalUnfix(
1044 HGLOBAL hMem
1045 );
1046
1047
1048 LPVOID
1049 STDCALL
1050 GlobalWire(
1051 HGLOBAL hMem
1052 );
1053
1054
1055 WINBOOL
1056 STDCALL
1057 GlobalUnWire(
1058 HGLOBAL hMem
1059 );
1060
1061
1062 VOID
1063 STDCALL
1064 GlobalMemoryStatus(
1065 LPMEMORYSTATUS lpBuffer
1066 );
1067
1068
1069 HLOCAL
1070 STDCALL
1071 LocalAlloc(
1072 UINT uFlags,
1073 UINT uBytes
1074 );
1075
1076 HLOCAL
1077 LocalDiscard(
1078 HLOCAL hlocMem
1079 );
1080
1081 HLOCAL
1082 STDCALL
1083 LocalReAlloc(
1084 HLOCAL hMem,
1085 UINT uBytes,
1086 UINT uFlags
1087 );
1088
1089
1090 LPVOID
1091 STDCALL
1092 LocalLock(
1093 HLOCAL hMem
1094 );
1095
1096
1097 HLOCAL
1098 STDCALL
1099 LocalHandle(
1100 LPCVOID pMem
1101 );
1102
1103
1104 WINBOOL
1105 STDCALL
1106 LocalUnlock(
1107 HLOCAL hMem
1108 );
1109
1110
1111 UINT
1112 STDCALL
1113 LocalSize(
1114 HLOCAL hMem
1115 );
1116
1117
1118 UINT
1119 STDCALL
1120 LocalFlags(
1121 HLOCAL hMem
1122 );
1123
1124
1125 HLOCAL
1126 STDCALL
1127 LocalFree(
1128 HLOCAL hMem
1129 );
1130
1131
1132 UINT
1133 STDCALL
1134 LocalShrink(
1135 HLOCAL hMem,
1136 UINT cbNewSize
1137 );
1138
1139
1140 UINT
1141 STDCALL
1142 LocalCompact(
1143 UINT uMinFree
1144 );
1145
1146
1147 WINBOOL
1148 STDCALL
1149 FlushInstructionCache(
1150 HANDLE hProcess,
1151 LPCVOID lpBaseAddress,
1152 DWORD dwSize
1153 );
1154
1155
1156 LPVOID
1157 STDCALL
1158 VirtualAlloc(
1159 LPVOID lpAddress,
1160 DWORD dwSize,
1161 DWORD flAllocationType,
1162 DWORD flProtect
1163 );
1164
1165
1166 WINBOOL
1167 STDCALL
1168 VirtualFree(
1169 LPVOID lpAddress,
1170 DWORD dwSize,
1171 DWORD dwFreeType
1172 );
1173
1174
1175 WINBOOL
1176 STDCALL
1177 VirtualProtect(
1178 LPVOID lpAddress,
1179 DWORD dwSize,
1180 DWORD flNewProtect,
1181 PDWORD lpflOldProtect
1182 );
1183
1184
1185 DWORD
1186 STDCALL
1187 VirtualQuery(
1188 LPCVOID lpAddress,
1189 PMEMORY_BASIC_INFORMATION lpBuffer,
1190 DWORD dwLength
1191 );
1192
1193
1194 WINBOOL
1195 STDCALL
1196 VirtualProtectEx(
1197 HANDLE hProcess,
1198 LPVOID lpAddress,
1199 DWORD dwSize,
1200 DWORD flNewProtect,
1201 PDWORD lpflOldProtect
1202 );
1203
1204
1205 DWORD
1206 STDCALL
1207 VirtualQueryEx(
1208 HANDLE hProcess,
1209 LPCVOID lpAddress,
1210 PMEMORY_BASIC_INFORMATION lpBuffer,
1211 DWORD dwLength
1212 );
1213
1214
1215 HANDLE
1216 STDCALL
1217 HeapCreate(
1218 DWORD flOptions,
1219 DWORD dwInitialSize,
1220 DWORD dwMaximumSize
1221 );
1222
1223 WINBOOL
1224 STDCALL
1225 HeapDestroy(
1226 HANDLE hHeap
1227 );
1228
1229 LPVOID
1230 STDCALL
1231 HeapAlloc(
1232 HANDLE hHeap,
1233 DWORD dwFlags,
1234 DWORD dwBytes
1235 );
1236
1237 LPVOID
1238 STDCALL
1239 HeapReAlloc(
1240 HANDLE hHeap,
1241 DWORD dwFlags,
1242 LPVOID lpMem,
1243 DWORD dwBytes
1244 );
1245
1246 WINBOOL
1247 STDCALL
1248 HeapFree(
1249 HANDLE hHeap,
1250 DWORD dwFlags,
1251 LPVOID lpMem
1252 );
1253
1254 DWORD
1255 STDCALL
1256 HeapSize(
1257 HANDLE hHeap,
1258 DWORD dwFlags,
1259 LPCVOID lpMem
1260 );
1261
1262 WINBOOL
1263 STDCALL
1264 HeapValidate(
1265 HANDLE hHeap,
1266 DWORD dwFlags,
1267 LPCVOID lpMem
1268 );
1269
1270 UINT
1271 STDCALL
1272 HeapCompact(
1273 HANDLE hHeap,
1274 DWORD dwFlags
1275 );
1276
1277 HANDLE
1278 STDCALL
1279 GetProcessHeap( VOID );
1280
1281 DWORD
1282 STDCALL
1283 GetProcessHeaps(
1284 DWORD NumberOfHeaps,
1285 PHANDLE ProcessHeaps
1286 );
1287
1288 DWORD
1289 STDCALL
1290 GetProcessVersion (
1291 DWORD ProcessId
1292 );
1293
1294 WINBOOL
1295 STDCALL
1296 HeapLock(
1297 HANDLE hHeap
1298 );
1299
1300 WINBOOL
1301 STDCALL
1302 HeapUnlock(
1303 HANDLE hHeap
1304 );
1305
1306 WINBOOL
1307 STDCALL
1308 HeapWalk(
1309 HANDLE hHeap,
1310 LPPROCESS_HEAP_ENTRY lpEntry
1311 );
1312
1313 WINBOOL
1314 STDCALL
1315 GetProcessAffinityMask(
1316 HANDLE hProcess,
1317 LPDWORD lpProcessAffinityMask,
1318 LPDWORD lpSystemAffinityMask
1319 );
1320
1321 WINBOOL
1322 STDCALL
1323 GetProcessTimes(
1324 HANDLE hProcess,
1325 LPFILETIME lpCreationTime,
1326 LPFILETIME lpExitTime,
1327 LPFILETIME lpKernelTime,
1328 LPFILETIME lpUserTime
1329 );
1330
1331 WINBOOL
1332 STDCALL
1333 GetProcessWorkingSetSize(
1334 HANDLE hProcess,
1335 LPDWORD lpMinimumWorkingSetSize,
1336 LPDWORD lpMaximumWorkingSetSize
1337 );
1338
1339 WINBOOL
1340 STDCALL
1341 SetProcessWorkingSetSize(
1342 HANDLE hProcess,
1343 DWORD dwMinimumWorkingSetSize,
1344 DWORD dwMaximumWorkingSetSize
1345 );
1346
1347 HANDLE
1348 STDCALL
1349 OpenProcess(
1350 DWORD dwDesiredAccess,
1351 WINBOOL bInheritHandle,
1352 DWORD dwProcessId
1353 );
1354
1355 HANDLE
1356 STDCALL
1357 GetCurrentProcess(
1358 VOID
1359 );
1360
1361 DWORD
1362 STDCALL
1363 GetCurrentProcessId(
1364 VOID
1365 );
1366
1367 VOID
1368 STDCALL
1369 ExitProcess(
1370 UINT uExitCode
1371 ) __attribute__ ((noreturn));
1372
1373 WINBOOL
1374 STDCALL
1375 TerminateProcess(
1376 HANDLE hProcess,
1377 UINT uExitCode
1378 );
1379
1380 WINBOOL
1381 STDCALL
1382 GetExitCodeProcess(
1383 HANDLE hProcess,
1384 LPDWORD lpExitCode
1385 );
1386
1387 VOID
1388 STDCALL
1389 FatalExit(
1390 int ExitCode
1391 );
1392
1393 VOID
1394 STDCALL
1395 RaiseException(
1396 DWORD dwExceptionCode,
1397 DWORD dwExceptionFlags,
1398 DWORD nNumberOfArguments,
1399 CONST DWORD *lpArguments
1400 );
1401
1402 LONG
1403 STDCALL
1404 UnhandledExceptionFilter(
1405 struct _EXCEPTION_POINTERS *ExceptionInfo
1406 );
1407
1408 /*
1409 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1410 LPTOP_LEVEL_EXCEPTION_FILTER
1411 STDCALL
1412 SetUnhandledExceptionFilter(
1413 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1414 );
1415 */
1416
1417
1418 HANDLE
1419 STDCALL
1420 CreateThread(
1421 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1422 DWORD dwStackSize,
1423 LPTHREAD_START_ROUTINE lpStartAddress,
1424 LPVOID lpParameter,
1425 DWORD dwCreationFlags,
1426 LPDWORD lpThreadId
1427 );
1428
1429
1430 HANDLE
1431 STDCALL
1432 CreateRemoteThread(
1433 HANDLE hProcess,
1434 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1435 DWORD dwStackSize,
1436 LPTHREAD_START_ROUTINE lpStartAddress,
1437 LPVOID lpParameter,
1438 DWORD dwCreationFlags,
1439 LPDWORD lpThreadId
1440 );
1441
1442
1443 HANDLE
1444 STDCALL
1445 GetCurrentThread(
1446 VOID
1447 );
1448
1449
1450 DWORD
1451 STDCALL
1452 GetCurrentThreadId(
1453 VOID
1454 );
1455
1456
1457 DWORD
1458 STDCALL
1459 SetThreadAffinityMask(
1460 HANDLE hThread,
1461 DWORD dwThreadAffinityMask
1462 );
1463
1464
1465 WINBOOL
1466 STDCALL
1467 SetThreadPriority(
1468 HANDLE hThread,
1469 int nPriority
1470 );
1471
1472
1473 int
1474 STDCALL
1475 GetThreadPriority(
1476 HANDLE hThread
1477 );
1478
1479
1480 WINBOOL
1481 STDCALL
1482 GetThreadTimes(
1483 HANDLE hThread,
1484 LPFILETIME lpCreationTime,
1485 LPFILETIME lpExitTime,
1486 LPFILETIME lpKernelTime,
1487 LPFILETIME lpUserTime
1488 );
1489
1490
1491 VOID
1492 STDCALL
1493 ExitThread(
1494 DWORD dwExitCode
1495 );
1496
1497
1498 WINBOOL
1499 STDCALL
1500 TerminateThread(
1501 HANDLE hThread,
1502 DWORD dwExitCode
1503 );
1504
1505
1506 WINBOOL
1507 STDCALL
1508 GetExitCodeThread(
1509 HANDLE hThread,
1510 LPDWORD lpExitCode
1511 );
1512
1513 WINBOOL
1514 STDCALL
1515 GetThreadSelectorEntry(
1516 HANDLE hThread,
1517 DWORD dwSelector,
1518 LPLDT_ENTRY lpSelectorEntry
1519 );
1520
1521
1522 DWORD
1523 STDCALL
1524 GetLastError(
1525 VOID
1526 );
1527
1528
1529 VOID
1530 STDCALL
1531 SetLastError(
1532 DWORD dwErrCode
1533 );
1534
1535
1536 WINBOOL
1537 STDCALL
1538 GetOverlappedResult(
1539 HANDLE hFile,
1540 LPOVERLAPPED lpOverlapped,
1541 LPDWORD lpNumberOfBytesTransferred,
1542 WINBOOL bWait
1543 );
1544
1545
1546 HANDLE
1547 STDCALL
1548 CreateIoCompletionPort(
1549 HANDLE FileHandle,
1550 HANDLE ExistingCompletionPort,
1551 DWORD CompletionKey,
1552 DWORD NumberOfConcurrentThreads
1553 );
1554
1555
1556 WINBOOL
1557 STDCALL
1558 GetQueuedCompletionStatus(
1559 HANDLE CompletionPort,
1560 LPDWORD lpNumberOfBytesTransferred,
1561 LPDWORD lpCompletionKey,
1562 LPOVERLAPPED *lpOverlapped,
1563 DWORD dwMilliseconds
1564 );
1565
1566 UINT
1567 STDCALL
1568 SetErrorMode(
1569 UINT uMode
1570 );
1571
1572
1573 WINBOOL
1574 STDCALL
1575 ReadProcessMemory(
1576 HANDLE hProcess,
1577 LPCVOID lpBaseAddress,
1578 LPVOID lpBuffer,
1579 DWORD nSize,
1580 LPDWORD lpNumberOfBytesRead
1581 );
1582
1583
1584 WINBOOL
1585 STDCALL
1586 WriteProcessMemory(
1587 HANDLE hProcess,
1588 LPVOID lpBaseAddress,
1589 LPVOID lpBuffer,
1590 DWORD nSize,
1591 LPDWORD lpNumberOfBytesWritten
1592 );
1593
1594
1595 WINBOOL
1596 STDCALL
1597 GetThreadContext(
1598 HANDLE hThread,
1599 LPCONTEXT lpContext
1600 );
1601
1602
1603 WINBOOL
1604 STDCALL
1605 SetThreadContext(
1606 HANDLE hThread,
1607 CONST CONTEXT *lpContext
1608 );
1609
1610
1611 DWORD
1612 STDCALL
1613 SuspendThread(
1614 HANDLE hThread
1615 );
1616
1617
1618 DWORD
1619 STDCALL
1620 ResumeThread(
1621 HANDLE hThread
1622 );
1623
1624
1625 VOID
1626 STDCALL
1627 DebugBreak(
1628 VOID
1629 );
1630
1631
1632 WINBOOL
1633 STDCALL
1634 WaitForDebugEvent(
1635 LPDEBUG_EVENT lpDebugEvent,
1636 DWORD dwMilliseconds
1637 );
1638
1639
1640 WINBOOL
1641 STDCALL
1642 ContinueDebugEvent(
1643 DWORD dwProcessId,
1644 DWORD dwThreadId,
1645 DWORD dwContinueStatus
1646 );
1647
1648
1649 WINBOOL
1650 STDCALL
1651 DebugActiveProcess(
1652 DWORD dwProcessId
1653 );
1654
1655
1656 VOID
1657 STDCALL
1658 InitializeCriticalSection(
1659 LPCRITICAL_SECTION lpCriticalSection
1660 );
1661
1662
1663 VOID
1664 STDCALL
1665 EnterCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1667 );
1668
1669
1670 VOID
1671 STDCALL
1672 LeaveCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1674 );
1675
1676
1677 VOID
1678 STDCALL
1679 DeleteCriticalSection(
1680 LPCRITICAL_SECTION lpCriticalSection
1681 );
1682
1683
1684 WINBOOL
1685 STDCALL
1686 SetEvent(
1687 HANDLE hEvent
1688 );
1689
1690
1691 WINBOOL
1692 STDCALL
1693 ResetEvent(
1694 HANDLE hEvent
1695 );
1696
1697
1698 WINBOOL
1699 STDCALL
1700 PulseEvent(
1701 HANDLE hEvent
1702 );
1703
1704
1705 WINBOOL
1706 STDCALL
1707 ReleaseSemaphore(
1708 HANDLE hSemaphore,
1709 LONG lReleaseCount,
1710 LPLONG lpPreviousCount
1711 );
1712
1713
1714 WINBOOL
1715 STDCALL
1716 ReleaseMutex(
1717 HANDLE hMutex
1718 );
1719
1720
1721 DWORD
1722 STDCALL
1723 WaitForSingleObject(
1724 HANDLE hHandle,
1725 DWORD dwMilliseconds
1726 );
1727
1728
1729 DWORD
1730 STDCALL
1731 WaitForMultipleObjects(
1732 DWORD nCount,
1733 CONST HANDLE *lpHandles,
1734 WINBOOL bWaitAll,
1735 DWORD dwMilliseconds
1736 );
1737
1738
1739 VOID
1740 STDCALL
1741 Sleep(
1742 DWORD dwMilliseconds
1743 );
1744
1745
1746 HGLOBAL
1747 STDCALL
1748 LoadResource(
1749 HINSTANCE hModule,
1750 HRSRC hResInfo
1751 );
1752
1753
1754 DWORD
1755 STDCALL
1756 SizeofResource(
1757 HINSTANCE hModule,
1758 HRSRC hResInfo
1759 );
1760
1761
1762
1763 ATOM
1764 STDCALL
1765 GlobalDeleteAtom(
1766 ATOM nAtom
1767 );
1768
1769
1770 WINBOOL
1771 STDCALL
1772 InitAtomTable(
1773 DWORD nSize
1774 );
1775
1776
1777 ATOM
1778 STDCALL
1779 DeleteAtom(
1780 ATOM nAtom
1781 );
1782
1783
1784 UINT
1785 STDCALL
1786 SetHandleCount(
1787 UINT uNumber
1788 );
1789
1790
1791 DWORD
1792 STDCALL
1793 GetLogicalDrives(
1794 VOID
1795 );
1796
1797
1798 WINBOOL
1799 STDCALL
1800 LockFile(
1801 HANDLE hFile,
1802 DWORD dwFileOffsetLow,
1803 DWORD dwFileOffsetHigh,
1804 DWORD nNumberOfBytesToLockLow,
1805 DWORD nNumberOfBytesToLockHigh
1806 );
1807
1808
1809 WINBOOL
1810 STDCALL
1811 UnlockFile(
1812 HANDLE hFile,
1813 DWORD dwFileOffsetLow,
1814 DWORD dwFileOffsetHigh,
1815 DWORD nNumberOfBytesToUnlockLow,
1816 DWORD nNumberOfBytesToUnlockHigh
1817 );
1818
1819
1820 WINBOOL
1821 STDCALL
1822 LockFileEx(
1823 HANDLE hFile,
1824 DWORD dwFlags,
1825 DWORD dwReserved,
1826 DWORD nNumberOfBytesToLockLow,
1827 DWORD nNumberOfBytesToLockHigh,
1828 LPOVERLAPPED lpOverlapped
1829 );
1830
1831 WINBOOL
1832 STDCALL
1833 UnlockFileEx(
1834 HANDLE hFile,
1835 DWORD dwReserved,
1836 DWORD nNumberOfBytesToUnlockLow,
1837 DWORD nNumberOfBytesToUnlockHigh,
1838 LPOVERLAPPED lpOverlapped
1839 );
1840
1841 WINBOOL
1842 STDCALL
1843 GetFileInformationByHandle(
1844 HANDLE hFile,
1845 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1846 );
1847
1848
1849 DWORD
1850 STDCALL
1851 GetFileType(
1852 HANDLE hFile
1853 );
1854
1855
1856 DWORD
1857 STDCALL
1858 GetFileSize(
1859 HANDLE hFile,
1860 LPDWORD lpFileSizeHigh
1861 );
1862
1863
1864 HANDLE
1865 STDCALL
1866 GetStdHandle(
1867 DWORD nStdHandle
1868 );
1869
1870
1871 WINBOOL
1872 STDCALL
1873 SetStdHandle(
1874 DWORD nStdHandle,
1875 HANDLE hHandle
1876 );
1877
1878
1879 WINBOOL
1880 STDCALL
1881 WriteFile(
1882 HANDLE hFile,
1883 LPCVOID lpBuffer,
1884 DWORD nNumberOfBytesToWrite,
1885 LPDWORD lpNumberOfBytesWritten,
1886 LPOVERLAPPED lpOverlapped
1887 );
1888
1889
1890 WINBOOL
1891 STDCALL
1892 ReadFile(
1893 HANDLE hFile,
1894 LPVOID lpBuffer,
1895 DWORD nNumberOfBytesToRead,
1896 LPDWORD lpNumberOfBytesRead,
1897 LPOVERLAPPED lpOverlapped
1898 );
1899
1900
1901 WINBOOL
1902 STDCALL
1903 FlushFileBuffers(
1904 HANDLE hFile
1905 );
1906
1907
1908 WINBOOL
1909 STDCALL
1910 DeviceIoControl(
1911 HANDLE hDevice,
1912 DWORD dwIoControlCode,
1913 LPVOID lpInBuffer,
1914 DWORD nInBufferSize,
1915 LPVOID lpOutBuffer,
1916 DWORD nOutBufferSize,
1917 LPDWORD lpBytesReturned,
1918 LPOVERLAPPED lpOverlapped
1919 );
1920
1921
1922 WINBOOL
1923 STDCALL
1924 SetEndOfFile(
1925 HANDLE hFile
1926 );
1927
1928
1929 DWORD
1930 STDCALL
1931 SetFilePointer(
1932 HANDLE hFile,
1933 LONG lDistanceToMove,
1934 PLONG lpDistanceToMoveHigh,
1935 DWORD dwMoveMethod
1936 );
1937
1938
1939 WINBOOL
1940 STDCALL
1941 FindClose(
1942 HANDLE hFindFile
1943 );
1944
1945
1946 WINBOOL
1947 STDCALL
1948 GetFileTime(
1949 HANDLE hFile,
1950 LPFILETIME lpCreationTime,
1951 LPFILETIME lpLastAccessTime,
1952 LPFILETIME lpLastWriteTime
1953 );
1954
1955
1956 WINBOOL
1957 STDCALL
1958 SetFileTime(
1959 HANDLE hFile,
1960 CONST FILETIME *lpCreationTime,
1961 CONST FILETIME *lpLastAccessTime,
1962 CONST FILETIME *lpLastWriteTime
1963 );
1964
1965
1966 WINBOOL
1967 STDCALL
1968 CloseHandle(
1969 HANDLE hObject
1970 );
1971
1972
1973 WINBOOL
1974 STDCALL
1975 DuplicateHandle(
1976 HANDLE hSourceProcessHandle,
1977 HANDLE hSourceHandle,
1978 HANDLE hTargetProcessHandle,
1979 LPHANDLE lpTargetHandle,
1980 DWORD dwDesiredAccess,
1981 WINBOOL bInheritHandle,
1982 DWORD dwOptions
1983 );
1984
1985
1986 WINBOOL
1987 STDCALL
1988 GetHandleInformation(
1989 HANDLE hObject,
1990 LPDWORD lpdwFlags
1991 );
1992
1993
1994 WINBOOL
1995 STDCALL
1996 SetHandleInformation(
1997 HANDLE hObject,
1998 DWORD dwMask,
1999 DWORD dwFlags
2000 );
2001
2002 DWORD
2003 STDCALL
2004 LoadModule(
2005 LPCSTR lpModuleName,
2006 LPVOID lpParameterBlock
2007 );
2008
2009
2010 UINT
2011 STDCALL
2012 WinExec(
2013 LPCSTR lpCmdLine,
2014 UINT uCmdShow
2015 );
2016
2017
2018 WINBOOL
2019 STDCALL
2020 ClearCommBreak(
2021 HANDLE hFile
2022 );
2023
2024
2025 WINBOOL
2026 STDCALL
2027 ClearCommError(
2028 HANDLE hFile,
2029 LPDWORD lpErrors,
2030 LPCOMSTAT lpStat
2031 );
2032
2033
2034 WINBOOL
2035 STDCALL
2036 SetupComm(
2037 HANDLE hFile,
2038 DWORD dwInQueue,
2039 DWORD dwOutQueue
2040 );
2041
2042
2043 WINBOOL
2044 STDCALL
2045 EscapeCommFunction(
2046 HANDLE hFile,
2047 DWORD dwFunc
2048 );
2049
2050
2051 WINBOOL
2052 STDCALL
2053 GetCommConfig(
2054 HANDLE hCommDev,
2055 LPCOMMCONFIG lpCC,
2056 LPDWORD lpdwSize
2057 );
2058
2059
2060 WINBOOL
2061 STDCALL
2062 GetCommMask(
2063 HANDLE hFile,
2064 LPDWORD lpEvtMask
2065 );
2066
2067
2068 WINBOOL
2069 STDCALL
2070 GetCommProperties(
2071 HANDLE hFile,
2072 LPCOMMPROP lpCommProp
2073 );
2074
2075
2076 WINBOOL
2077 STDCALL
2078 GetCommModemStatus(
2079 HANDLE hFile,
2080 LPDWORD lpModemStat
2081 );
2082
2083
2084 WINBOOL
2085 STDCALL
2086 GetCommState(
2087 HANDLE hFile,
2088 LPDCB lpDCB
2089 );
2090
2091
2092 WINBOOL
2093 STDCALL
2094 GetCommTimeouts(
2095 HANDLE hFile,
2096 LPCOMMTIMEOUTS lpCommTimeouts
2097 );
2098
2099
2100 WINBOOL
2101 STDCALL
2102 PurgeComm(
2103 HANDLE hFile,
2104 DWORD dwFlags
2105 );
2106
2107
2108 WINBOOL
2109 STDCALL
2110 SetCommBreak(
2111 HANDLE hFile
2112 );
2113
2114
2115 WINBOOL
2116 STDCALL
2117 SetCommConfig(
2118 HANDLE hCommDev,
2119 LPCOMMCONFIG lpCC,
2120 DWORD dwSize
2121 );
2122
2123
2124 WINBOOL
2125 STDCALL
2126 SetCommMask(
2127 HANDLE hFile,
2128 DWORD dwEvtMask
2129 );
2130
2131
2132 WINBOOL
2133 STDCALL
2134 SetCommState(
2135 HANDLE hFile,
2136 LPDCB lpDCB
2137 );
2138
2139
2140 WINBOOL
2141 STDCALL
2142 SetCommTimeouts(
2143 HANDLE hFile,
2144 LPCOMMTIMEOUTS lpCommTimeouts
2145 );
2146
2147
2148 WINBOOL
2149 STDCALL
2150 TransmitCommChar(
2151 HANDLE hFile,
2152 char cChar
2153 );
2154
2155
2156 WINBOOL
2157 STDCALL
2158 WaitCommEvent(
2159 HANDLE hFile,
2160 LPDWORD lpEvtMask,
2161 LPOVERLAPPED lpOverlapped
2162 );
2163
2164
2165
2166 DWORD
2167 STDCALL
2168 SetTapePosition(
2169 HANDLE hDevice,
2170 DWORD dwPositionMethod,
2171 DWORD dwPartition,
2172 DWORD dwOffsetLow,
2173 DWORD dwOffsetHigh,
2174 WINBOOL bImmediate
2175 );
2176
2177
2178 DWORD
2179 STDCALL
2180 GetTapePosition(
2181 HANDLE hDevice,
2182 DWORD dwPositionType,
2183 LPDWORD lpdwPartition,
2184 LPDWORD lpdwOffsetLow,
2185 LPDWORD lpdwOffsetHigh
2186 );
2187
2188
2189 DWORD
2190 STDCALL
2191 PrepareTape(
2192 HANDLE hDevice,
2193 DWORD dwOperation,
2194 WINBOOL bImmediate
2195 );
2196
2197
2198 DWORD
2199 STDCALL
2200 EraseTape(
2201 HANDLE hDevice,
2202 DWORD dwEraseType,
2203 WINBOOL bImmediate
2204 );
2205
2206
2207 DWORD
2208 STDCALL
2209 CreateTapePartition(
2210 HANDLE hDevice,
2211 DWORD dwPartitionMethod,
2212 DWORD dwCount,
2213 DWORD dwSize
2214 );
2215
2216
2217 DWORD
2218 STDCALL
2219 WriteTapemark(
2220 HANDLE hDevice,
2221 DWORD dwTapemarkType,
2222 DWORD dwTapemarkCount,
2223 WINBOOL bImmediate
2224 );
2225
2226
2227 DWORD
2228 STDCALL
2229 GetTapeStatus(
2230 HANDLE hDevice
2231 );
2232
2233
2234 DWORD
2235 STDCALL
2236 GetTapeParameters(
2237 HANDLE hDevice,
2238 DWORD dwOperation,
2239 LPDWORD lpdwSize,
2240 LPVOID lpTapeInformation
2241 );
2242
2243 DWORD
2244 STDCALL
2245 SetTapeParameters(
2246 HANDLE hDevice,
2247 DWORD dwOperation,
2248 LPVOID lpTapeInformation
2249 );
2250
2251 WINBOOL
2252 STDCALL
2253 Beep(
2254 DWORD dwFreq,
2255 DWORD dwDuration
2256 );
2257
2258
2259 VOID
2260 STDCALL
2261 OpenSound(
2262 VOID
2263 );
2264
2265
2266 VOID
2267 STDCALL
2268 CloseSound(
2269 VOID
2270 );
2271
2272
2273 VOID
2274 STDCALL
2275 StartSound(
2276 VOID
2277 );
2278
2279
2280 VOID
2281 STDCALL
2282 StopSound(
2283 VOID
2284 );
2285
2286
2287 DWORD
2288 STDCALL
2289 WaitSoundState(
2290 DWORD nState
2291 );
2292
2293
2294 DWORD
2295 STDCALL
2296 SyncAllVoices(
2297 VOID
2298 );
2299
2300
2301 DWORD
2302 STDCALL
2303 CountVoiceNotes(
2304 DWORD nVoice
2305 );
2306
2307
2308 LPDWORD
2309 STDCALL
2310 GetThresholdEvent(
2311 VOID
2312 );
2313
2314
2315 DWORD
2316 STDCALL
2317 GetThresholdStatus(
2318 VOID
2319 );
2320
2321
2322 DWORD
2323 STDCALL
2324 SetSoundNoise(
2325 DWORD nSource,
2326 DWORD nDuration
2327 );
2328
2329
2330 DWORD
2331 STDCALL
2332 SetVoiceAccent(
2333 DWORD nVoice,
2334 DWORD nTempo,
2335 DWORD nVolume,
2336 DWORD nMode,
2337 DWORD nPitch
2338 );
2339
2340
2341 DWORD
2342 STDCALL
2343 SetVoiceEnvelope(
2344 DWORD nVoice,
2345 DWORD nShape,
2346 DWORD nRepeat
2347 );
2348
2349
2350 DWORD
2351 STDCALL
2352 SetVoiceNote(
2353 DWORD nVoice,
2354 DWORD nValue,
2355 DWORD nLength,
2356 DWORD nCdots
2357 );
2358
2359
2360 DWORD
2361 STDCALL
2362 SetVoiceQueueSize(
2363 DWORD nVoice,
2364 DWORD nBytes
2365 );
2366
2367
2368 DWORD
2369 STDCALL
2370 SetVoiceSound(
2371 DWORD nVoice,
2372 DWORD Frequency,
2373 DWORD nDuration
2374 );
2375
2376
2377 DWORD
2378 STDCALL
2379 SetVoiceThreshold(
2380 DWORD nVoice,
2381 DWORD nNotes
2382 );
2383
2384
2385 int
2386 STDCALL
2387 MulDiv(
2388 int nNumber,
2389 int nNumerator,
2390 int nDenominator
2391 );
2392
2393
2394 VOID
2395 STDCALL
2396 GetSystemTime(
2397 LPSYSTEMTIME lpSystemTime
2398 );
2399
2400 VOID
2401 STDCALL
2402 GetSystemTimeAsFileTime (
2403 LPFILETIME lpSystemTimeAsFileTime
2404 );
2405
2406 WINBOOL
2407 STDCALL
2408 SetSystemTime(
2409 CONST SYSTEMTIME *lpSystemTime
2410 );
2411
2412
2413 VOID
2414 STDCALL
2415 GetLocalTime(
2416 LPSYSTEMTIME lpSystemTime
2417 );
2418
2419
2420 WINBOOL
2421 STDCALL
2422 SetLocalTime(
2423 CONST SYSTEMTIME *lpSystemTime
2424 );
2425
2426
2427 VOID
2428 STDCALL
2429 GetSystemInfo(
2430 LPSYSTEM_INFO lpSystemInfo
2431 );
2432
2433 WINBOOL
2434 STDCALL
2435 SystemTimeToTzSpecificLocalTime(
2436 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
2437 LPSYSTEMTIME lpUniversalTime,
2438 LPSYSTEMTIME lpLocalTime
2439 );
2440
2441
2442 DWORD
2443 STDCALL
2444 GetTimeZoneInformation(
2445 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2446 );
2447
2448
2449 WINBOOL
2450 STDCALL
2451 SetTimeZoneInformation(
2452 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
2453 );
2454
2455 WINBOOL
2456 STDCALL
2457 SystemTimeToFileTime(
2458 CONST SYSTEMTIME *lpSystemTime,
2459 LPFILETIME lpFileTime
2460 );
2461
2462
2463 WINBOOL
2464 STDCALL
2465 FileTimeToLocalFileTime(
2466 CONST FILETIME *lpFileTime,
2467 LPFILETIME lpLocalFileTime
2468 );
2469
2470
2471 WINBOOL
2472 STDCALL
2473 LocalFileTimeToFileTime(
2474 CONST FILETIME *lpLocalFileTime,
2475 LPFILETIME lpFileTime
2476 );
2477
2478
2479 WINBOOL
2480 STDCALL
2481 FileTimeToSystemTime(
2482 CONST FILETIME *lpFileTime,
2483 LPSYSTEMTIME lpSystemTime
2484 );
2485
2486
2487 LONG
2488 STDCALL
2489 CompareFileTime(
2490 CONST FILETIME *lpFileTime1,
2491 CONST FILETIME *lpFileTime2
2492 );
2493
2494
2495 WINBOOL
2496 STDCALL
2497 FileTimeToDosDateTime(
2498 CONST FILETIME *lpFileTime,
2499 LPWORD lpFatDate,
2500 LPWORD lpFatTime
2501 );
2502
2503
2504 WINBOOL
2505 STDCALL
2506 DosDateTimeToFileTime(
2507 WORD wFatDate,
2508 WORD wFatTime,
2509 LPFILETIME lpFileTime
2510 );
2511
2512
2513 DWORD
2514 STDCALL
2515 GetTickCount(
2516 VOID
2517 );
2518
2519
2520 WINBOOL
2521 STDCALL
2522 SetSystemTimeAdjustment(
2523 DWORD dwTimeAdjustment,
2524 WINBOOL bTimeAdjustmentDisabled
2525 );
2526
2527
2528 WINBOOL
2529 STDCALL
2530 GetSystemTimeAdjustment(
2531 PDWORD lpTimeAdjustment,
2532 PDWORD lpTimeIncrement,
2533 PWINBOOL lpTimeAdjustmentDisabled
2534 );
2535
2536
2537 WINBOOL
2538 STDCALL
2539 CreatePipe(
2540 PHANDLE hReadPipe,
2541 PHANDLE hWritePipe,
2542 LPSECURITY_ATTRIBUTES lpPipeAttributes,
2543 DWORD nSize
2544 );
2545
2546
2547 WINBOOL
2548 STDCALL
2549 ConnectNamedPipe(
2550 HANDLE hNamedPipe,
2551 LPOVERLAPPED lpOverlapped
2552 );
2553
2554
2555 WINBOOL
2556 STDCALL
2557 DisconnectNamedPipe(
2558 HANDLE hNamedPipe
2559 );
2560
2561
2562 WINBOOL
2563 STDCALL
2564 SetNamedPipeHandleState(
2565 HANDLE hNamedPipe,
2566 LPDWORD lpMode,
2567 LPDWORD lpMaxCollectionCount,
2568 LPDWORD lpCollectDataTimeout
2569 );
2570
2571
2572 WINBOOL
2573 STDCALL
2574 GetNamedPipeInfo(
2575 HANDLE hNamedPipe,
2576 LPDWORD lpFlags,
2577 LPDWORD lpOutBufferSize,
2578 LPDWORD lpInBufferSize,
2579 LPDWORD lpMaxInstances
2580 );
2581
2582
2583 WINBOOL
2584 STDCALL
2585 PeekNamedPipe(
2586 HANDLE hNamedPipe,
2587 LPVOID lpBuffer,
2588 DWORD nBufferSize,
2589 LPDWORD lpBytesRead,
2590 LPDWORD lpTotalBytesAvail,
2591 LPDWORD lpBytesLeftThisMessage
2592 );
2593
2594
2595 WINBOOL
2596 STDCALL
2597 TransactNamedPipe(
2598 HANDLE hNamedPipe,
2599 LPVOID lpInBuffer,
2600 DWORD nInBufferSize,
2601 LPVOID lpOutBuffer,
2602 DWORD nOutBufferSize,
2603 LPDWORD lpBytesRead,
2604 LPOVERLAPPED lpOverlapped
2605 );
2606
2607
2608
2609 WINBOOL
2610 STDCALL
2611 GetMailslotInfo(
2612 HANDLE hMailslot,
2613 LPDWORD lpMaxMessageSize,
2614 LPDWORD lpNextSize,
2615 LPDWORD lpMessageCount,
2616 LPDWORD lpReadTimeout
2617 );
2618
2619
2620 WINBOOL
2621 STDCALL
2622 SetMailslotInfo(
2623 HANDLE hMailslot,
2624 DWORD lReadTimeout
2625 );
2626
2627
2628 LPVOID
2629 STDCALL
2630 MapViewOfFile(
2631 HANDLE hFileMappingObject,
2632 DWORD dwDesiredAccess,
2633 DWORD dwFileOffsetHigh,
2634 DWORD dwFileOffsetLow,
2635 DWORD dwNumberOfBytesToMap
2636 );
2637
2638
2639 WINBOOL
2640 STDCALL
2641 FlushViewOfFile(
2642 LPCVOID lpBaseAddress,
2643 DWORD dwNumberOfBytesToFlush
2644 );
2645
2646
2647 WINBOOL
2648 STDCALL
2649 UnmapViewOfFile(
2650 LPVOID lpBaseAddress
2651 );
2652
2653 HFILE
2654 STDCALL
2655 OpenFile(
2656 LPCSTR lpFileName,
2657 LPOFSTRUCT lpReOpenBuff,
2658 UINT uStyle
2659 );
2660
2661
2662 HFILE
2663 STDCALL
2664 _lopen(
2665 LPCSTR lpPathName,
2666 int iReadWrite
2667 );
2668
2669
2670 HFILE
2671 STDCALL
2672 _lcreat(
2673 LPCSTR lpPathName,
2674 int iAttribute
2675 );
2676
2677
2678 UINT
2679 STDCALL
2680 _lread(
2681 HFILE hFile,
2682 LPVOID lpBuffer,
2683 UINT uBytes
2684 );
2685
2686
2687 UINT
2688 STDCALL
2689 _lwrite(
2690 HFILE hFile,
2691 LPCSTR lpBuffer,
2692 UINT uBytes
2693 );
2694
2695
2696 long
2697 STDCALL
2698 _hread(
2699 HFILE hFile,
2700 LPVOID lpBuffer,
2701 long lBytes
2702 );
2703
2704
2705 long
2706 STDCALL
2707 _hwrite(
2708 HFILE hFile,
2709 LPCSTR lpBuffer,
2710 long lBytes
2711 );
2712
2713
2714 HFILE
2715 STDCALL
2716 _lclose(
2717 HFILE hFile
2718 );
2719
2720
2721 LONG
2722 STDCALL
2723 _llseek(
2724 HFILE hFile,
2725 LONG lOffset,
2726 int iOrigin
2727 );
2728
2729
2730 WINBOOL
2731 STDCALL
2732 IsTextUnicode(
2733 CONST LPVOID lpBuffer,
2734 int cb,
2735 LPINT lpi
2736 );
2737
2738
2739 DWORD
2740 STDCALL
2741 TlsAlloc(
2742 VOID
2743 );
2744
2745 LPVOID
2746 STDCALL
2747 TlsGetValue(
2748 DWORD dwTlsIndex
2749 );
2750
2751
2752 WINBOOL
2753 STDCALL
2754 TlsSetValue(
2755 DWORD dwTlsIndex,
2756 LPVOID lpTlsValue
2757 );
2758
2759
2760 WINBOOL
2761 STDCALL
2762 TlsFree(
2763 DWORD dwTlsIndex
2764 );
2765
2766 DWORD
2767 STDCALL
2768 SleepEx(
2769 DWORD dwMilliseconds,
2770 WINBOOL bAlertable
2771 );
2772
2773
2774 DWORD
2775 STDCALL
2776 WaitForSingleObjectEx(
2777 HANDLE hHandle,
2778 DWORD dwMilliseconds,
2779 WINBOOL bAlertable
2780 );
2781
2782
2783 DWORD
2784 STDCALL
2785 WaitForMultipleObjectsEx(
2786 DWORD nCount,
2787 CONST HANDLE *lpHandles,
2788 WINBOOL bWaitAll,
2789 DWORD dwMilliseconds,
2790 WINBOOL bAlertable
2791 );
2792
2793
2794 WINBOOL
2795 STDCALL
2796 ReadFileEx(
2797 HANDLE hFile,
2798 LPVOID lpBuffer,
2799 DWORD nNumberOfBytesToRead,
2800 LPOVERLAPPED lpOverlapped,
2801 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2802 );
2803
2804
2805 WINBOOL
2806 STDCALL
2807 WriteFileEx(
2808 HANDLE hFile,
2809 LPCVOID lpBuffer,
2810 DWORD nNumberOfBytesToWrite,
2811 LPOVERLAPPED lpOverlapped,
2812 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2813 );
2814
2815
2816 WINBOOL
2817 STDCALL
2818 BackupRead(
2819 HANDLE hFile,
2820 LPBYTE lpBuffer,
2821 DWORD nNumberOfBytesToRead,
2822 LPDWORD lpNumberOfBytesRead,
2823 WINBOOL bAbort,
2824 WINBOOL bProcessSecurity,
2825 LPVOID *lpContext
2826 );
2827
2828
2829 WINBOOL
2830 STDCALL
2831 BackupSeek(
2832 HANDLE hFile,
2833 DWORD dwLowBytesToSeek,
2834 DWORD dwHighBytesToSeek,
2835 LPDWORD lpdwLowByteSeeked,
2836 LPDWORD lpdwHighByteSeeked,
2837 LPVOID *lpContext
2838 );
2839
2840
2841 WINBOOL
2842 STDCALL
2843 BackupWrite(
2844 HANDLE hFile,
2845 LPBYTE lpBuffer,
2846 DWORD nNumberOfBytesToWrite,
2847 LPDWORD lpNumberOfBytesWritten,
2848 WINBOOL bAbort,
2849 WINBOOL bProcessSecurity,
2850 LPVOID *lpContext
2851 );
2852
2853 WINBOOL
2854 STDCALL
2855 SetProcessShutdownParameters(
2856 DWORD dwLevel,
2857 DWORD dwFlags
2858 );
2859
2860
2861 WINBOOL
2862 STDCALL
2863 GetProcessShutdownParameters(
2864 LPDWORD lpdwLevel,
2865 LPDWORD lpdwFlags
2866 );
2867
2868
2869 VOID
2870 STDCALL
2871 SetFileApisToOEM( VOID );
2872
2873
2874 VOID
2875 STDCALL
2876 SetFileApisToANSI( VOID );
2877
2878
2879 WINBOOL
2880 STDCALL
2881 AreFileApisANSI( VOID );
2882
2883 WINBOOL
2884 STDCALL
2885 CloseEventLog (
2886 HANDLE hEventLog
2887 );
2888
2889
2890 WINBOOL
2891 STDCALL
2892 DeregisterEventSource (
2893 HANDLE hEventLog
2894 );
2895
2896
2897 WINBOOL
2898 STDCALL
2899 NotifyChangeEventLog (
2900 HANDLE hEventLog,
2901 HANDLE hEvent
2902 );
2903
2904
2905 WINBOOL
2906 STDCALL
2907 GetNumberOfEventLogRecords (
2908 HANDLE hEventLog,
2909 PDWORD NumberOfRecords
2910 );
2911
2912
2913 WINBOOL
2914 STDCALL
2915 GetOldestEventLogRecord (
2916 HANDLE hEventLog,
2917 PDWORD OldestRecord
2918 );
2919
2920 WINBOOL
2921 STDCALL
2922 DuplicateToken(
2923 HANDLE ExistingTokenHandle,
2924 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
2925 PHANDLE DuplicateTokenHandle
2926 );
2927
2928
2929 WINBOOL
2930 STDCALL
2931 GetKernelObjectSecurity (
2932 HANDLE Handle,
2933 SECURITY_INFORMATION RequestedInformation,
2934 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2935 DWORD nLength,
2936 LPDWORD lpnLengthNeeded
2937 );
2938
2939
2940 WINBOOL
2941 STDCALL
2942 ImpersonateNamedPipeClient(
2943 HANDLE hNamedPipe
2944 );
2945
2946
2947 WINBOOL
2948 STDCALL
2949 ImpersonateLoggedOnUser(
2950 HANDLE hToken
2951 );
2952
2953
2954 WINBOOL
2955 STDCALL
2956 ImpersonateSelf(
2957 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2958 );
2959
2960
2961
2962 WINBOOL
2963 STDCALL
2964 RevertToSelf (
2965 VOID
2966 );
2967
2968
2969 WINBOOL
2970 STDCALL
2971 SetThreadToken (
2972 PHANDLE Thread,
2973 HANDLE Token
2974 );
2975
2976
2977 WINBOOL
2978 STDCALL
2979 AccessCheck (
2980 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2981 HANDLE ClientToken,
2982 DWORD DesiredAccess,
2983 PGENERIC_MAPPING GenericMapping,
2984 PPRIVILEGE_SET PrivilegeSet,
2985 LPDWORD PrivilegeSetLength,
2986 LPDWORD GrantedAccess,
2987 LPBOOL AccessStatus
2988 );
2989
2990
2991
2992 WINBOOL
2993 STDCALL
2994 OpenProcessToken (
2995 HANDLE ProcessHandle,
2996 DWORD DesiredAccess,
2997 PHANDLE TokenHandle
2998 );
2999
3000
3001
3002 WINBOOL
3003 STDCALL
3004 OpenThreadToken (
3005 HANDLE ThreadHandle,
3006 DWORD DesiredAccess,
3007 WINBOOL OpenAsSelf,
3008 PHANDLE TokenHandle
3009 );
3010
3011
3012
3013 WINBOOL
3014 STDCALL
3015 GetTokenInformation (
3016 HANDLE TokenHandle,
3017 TOKEN_INFORMATION_CLASS TokenInformationClass,
3018 LPVOID TokenInformation,
3019 DWORD TokenInformationLength,
3020 PDWORD ReturnLength
3021 );
3022
3023
3024
3025 WINBOOL
3026 STDCALL
3027 SetTokenInformation (
3028 HANDLE TokenHandle,
3029 TOKEN_INFORMATION_CLASS TokenInformationClass,
3030 LPVOID TokenInformation,
3031 DWORD TokenInformationLength
3032 );
3033
3034
3035
3036 WINBOOL
3037 STDCALL
3038 AdjustTokenPrivileges (
3039 HANDLE TokenHandle,
3040 WINBOOL DisableAllPrivileges,
3041 PTOKEN_PRIVILEGES NewState,
3042 DWORD BufferLength,
3043 PTOKEN_PRIVILEGES PreviousState,
3044 PDWORD ReturnLength
3045 );
3046
3047
3048
3049 WINBOOL
3050 STDCALL
3051 AdjustTokenGroups (
3052 HANDLE TokenHandle,
3053 WINBOOL ResetToDefault,
3054 PTOKEN_GROUPS NewState,
3055 DWORD BufferLength,
3056 PTOKEN_GROUPS PreviousState,
3057 PDWORD ReturnLength
3058 );
3059
3060
3061
3062 WINBOOL
3063 STDCALL
3064 PrivilegeCheck (
3065 HANDLE ClientToken,
3066 PPRIVILEGE_SET RequiredPrivileges,
3067 LPBOOL pfResult
3068 );
3069
3070
3071
3072 WINBOOL
3073 STDCALL
3074 IsValidSid (
3075 PSID pSid
3076 );
3077
3078
3079
3080 WINBOOL
3081 STDCALL
3082 EqualSid (
3083 PSID pSid1,
3084 PSID pSid2
3085 );
3086
3087
3088
3089 WINBOOL
3090 STDCALL
3091 EqualPrefixSid (
3092 PSID pSid1,
3093 PSID pSid2
3094 );
3095
3096
3097
3098 DWORD
3099 STDCALL
3100 GetSidLengthRequired (
3101 UCHAR nSubAuthorityCount
3102 );
3103
3104
3105
3106 WINBOOL
3107 STDCALL
3108 AllocateAndInitializeSid (
3109 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3110 BYTE nSubAuthorityCount,
3111 DWORD nSubAuthority0,
3112 DWORD nSubAuthority1,
3113 DWORD nSubAuthority2,
3114 DWORD nSubAuthority3,
3115 DWORD nSubAuthority4,
3116 DWORD nSubAuthority5,
3117 DWORD nSubAuthority6,
3118 DWORD nSubAuthority7,
3119 PSID *pSid
3120 );
3121
3122
3123 PVOID
3124 STDCALL
3125 FreeSid(
3126 PSID pSid
3127 );
3128
3129
3130 WINBOOL
3131 STDCALL
3132 InitializeSid (
3133 PSID Sid,
3134 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3135 BYTE nSubAuthorityCount
3136 );
3137
3138
3139
3140 PSID_IDENTIFIER_AUTHORITY
3141 STDCALL
3142 GetSidIdentifierAuthority (
3143 PSID pSid
3144 );
3145
3146
3147
3148 PDWORD
3149 STDCALL
3150 GetSidSubAuthority (
3151 PSID pSid,
3152 DWORD nSubAuthority
3153 );
3154
3155
3156
3157 PUCHAR
3158 STDCALL
3159 GetSidSubAuthorityCount (
3160 PSID pSid
3161 );
3162
3163
3164
3165 DWORD
3166 STDCALL
3167 GetLengthSid (
3168 PSID pSid
3169 );
3170
3171
3172
3173 WINBOOL
3174 STDCALL
3175 CopySid (
3176 DWORD nDestinationSidLength,
3177 PSID pDestinationSid,
3178 PSID pSourceSid
3179 );
3180
3181
3182
3183 WINBOOL
3184 STDCALL
3185 AreAllAccessesGranted (
3186 DWORD GrantedAccess,
3187 DWORD DesiredAccess
3188 );
3189
3190
3191
3192 WINBOOL
3193 STDCALL
3194 AreAnyAccessesGranted (
3195 DWORD GrantedAccess,
3196 DWORD DesiredAccess
3197 );
3198
3199
3200
3201 VOID
3202 STDCALL
3203 MapGenericMask (
3204 PDWORD AccessMask,
3205 PGENERIC_MAPPING GenericMapping
3206 );
3207
3208
3209
3210 WINBOOL
3211 STDCALL
3212 IsValidAcl (
3213 PACL pAcl
3214 );
3215
3216
3217
3218 WINBOOL
3219 STDCALL
3220 InitializeAcl (
3221 PACL pAcl,
3222 DWORD nAclLength,
3223 DWORD dwAclRevision
3224 );
3225
3226
3227
3228 WINBOOL
3229 STDCALL
3230 GetAclInformation (
3231 PACL pAcl,
3232 LPVOID pAclInformation,
3233 DWORD nAclInformationLength,
3234 ACL_INFORMATION_CLASS dwAclInformationClass
3235 );
3236
3237
3238
3239 WINBOOL
3240 STDCALL
3241 SetAclInformation (
3242 PACL pAcl,
3243 LPVOID pAclInformation,
3244 DWORD nAclInformationLength,
3245 ACL_INFORMATION_CLASS dwAclInformationClass
3246 );
3247
3248
3249
3250 WINBOOL
3251 STDCALL
3252 AddAce (
3253 PACL pAcl,
3254 DWORD dwAceRevision,
3255 DWORD dwStartingAceIndex,
3256 LPVOID pAceList,
3257 DWORD nAceListLength
3258 );
3259
3260
3261
3262 WINBOOL
3263 STDCALL
3264 DeleteAce (
3265 PACL pAcl,
3266 DWORD dwAceIndex
3267 );
3268
3269
3270
3271 WINBOOL
3272 STDCALL
3273 GetAce (
3274 PACL pAcl,
3275 DWORD dwAceIndex,
3276 LPVOID *pAce
3277 );
3278
3279
3280
3281 WINBOOL
3282 STDCALL
3283 AddAccessAllowedAce (
3284 PACL pAcl,
3285 DWORD dwAceRevision,
3286 DWORD AccessMask,
3287 PSID pSid
3288 );
3289
3290
3291
3292 WINBOOL
3293 STDCALL
3294 AddAccessDeniedAce (
3295 PACL pAcl,
3296 DWORD dwAceRevision,
3297 DWORD AccessMask,
3298 PSID pSid
3299 );
3300
3301
3302
3303 WINBOOL
3304 STDCALL
3305 AddAuditAccessAce(
3306 PACL pAcl,
3307 DWORD dwAceRevision,
3308 DWORD dwAccessMask,
3309 PSID pSid,
3310 WINBOOL bAuditSuccess,
3311 WINBOOL bAuditFailure
3312 );
3313
3314
3315
3316 WINBOOL
3317 STDCALL
3318 FindFirstFreeAce (
3319 PACL pAcl,
3320 LPVOID *pAce
3321 );
3322
3323
3324
3325 WINBOOL
3326 STDCALL
3327 InitializeSecurityDescriptor (
3328 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3329 DWORD dwRevision
3330 );
3331
3332
3333
3334 WINBOOL
3335 STDCALL
3336 IsValidSecurityDescriptor (
3337 PSECURITY_DESCRIPTOR pSecurityDescriptor
3338 );
3339
3340
3341
3342 DWORD
3343 STDCALL
3344 GetSecurityDescriptorLength (
3345 PSECURITY_DESCRIPTOR pSecurityDescriptor
3346 );
3347
3348
3349
3350 WINBOOL
3351 STDCALL
3352 GetSecurityDescriptorControl (
3353 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3354 PSECURITY_DESCRIPTOR_CONTROL pControl,
3355 LPDWORD lpdwRevision
3356 );
3357
3358
3359
3360 WINBOOL
3361 STDCALL
3362 SetSecurityDescriptorDacl (
3363 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3364 WINBOOL bDaclPresent,
3365 PACL pDacl,
3366 WINBOOL bDaclDefaulted
3367 );
3368
3369
3370
3371 WINBOOL
3372 STDCALL
3373 GetSecurityDescriptorDacl (
3374 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3375 LPBOOL lpbDaclPresent,
3376 PACL *pDacl,
3377 LPBOOL lpbDaclDefaulted
3378 );
3379
3380
3381
3382 WINBOOL
3383 STDCALL
3384 SetSecurityDescriptorSacl (
3385 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3386 WINBOOL bSaclPresent,
3387 PACL pSacl,
3388 WINBOOL bSaclDefaulted
3389 );
3390
3391
3392
3393 WINBOOL
3394 STDCALL
3395 GetSecurityDescriptorSacl (
3396 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3397 LPBOOL lpbSaclPresent,
3398 PACL *pSacl,
3399 LPBOOL lpbSaclDefaulted
3400 );
3401
3402
3403
3404 WINBOOL
3405 STDCALL
3406 SetSecurityDescriptorOwner (
3407 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3408 PSID pOwner,
3409 WINBOOL bOwnerDefaulted
3410 );
3411
3412
3413
3414 WINBOOL
3415 STDCALL
3416 GetSecurityDescriptorOwner (
3417 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3418 PSID *pOwner,
3419 LPBOOL lpbOwnerDefaulted
3420 );
3421
3422
3423
3424 WINBOOL
3425 STDCALL
3426 SetSecurityDescriptorGroup (
3427 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3428 PSID pGroup,
3429 WINBOOL bGroupDefaulted
3430 );
3431
3432
3433
3434 WINBOOL
3435 STDCALL
3436 GetSecurityDescriptorGroup (
3437 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3438 PSID *pGroup,
3439 LPBOOL lpbGroupDefaulted
3440 );
3441
3442
3443
3444 WINBOOL
3445 STDCALL
3446 CreatePrivateObjectSecurity (
3447 PSECURITY_DESCRIPTOR ParentDescriptor,
3448 PSECURITY_DESCRIPTOR CreatorDescriptor,
3449 PSECURITY_DESCRIPTOR * NewDescriptor,
3450 WINBOOL IsDirectoryObject,
3451 HANDLE Token,
3452 PGENERIC_MAPPING GenericMapping
3453 );
3454
3455
3456
3457 WINBOOL
3458 STDCALL
3459 SetPrivateObjectSecurity (
3460 SECURITY_INFORMATION SecurityInformation,
3461 PSECURITY_DESCRIPTOR ModificationDescriptor,
3462 PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
3463 PGENERIC_MAPPING GenericMapping,
3464 HANDLE Token
3465 );
3466
3467
3468
3469 WINBOOL
3470 STDCALL
3471 GetPrivateObjectSecurity (
3472 PSECURITY_DESCRIPTOR ObjectDescriptor,
3473 SECURITY_INFORMATION SecurityInformation,
3474 PSECURITY_DESCRIPTOR ResultantDescriptor,
3475 DWORD DescriptorLength,
3476 PDWORD ReturnLength
3477 );
3478
3479
3480
3481 WINBOOL
3482 STDCALL
3483 DestroyPrivateObjectSecurity (
3484 PSECURITY_DESCRIPTOR * ObjectDescriptor
3485 );
3486
3487
3488
3489 WINBOOL
3490 STDCALL
3491 MakeSelfRelativeSD (
3492 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3493 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3494 LPDWORD lpdwBufferLength
3495 );
3496
3497
3498
3499 WINBOOL
3500 STDCALL
3501 MakeAbsoluteSD (
3502 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3503 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3504 LPDWORD lpdwAbsoluteSecurityDescriptorSize,
3505 PACL pDacl,
3506 LPDWORD lpdwDaclSize,
3507 PACL pSacl,
3508 LPDWORD lpdwSaclSize,
3509 PSID pOwner,
3510 LPDWORD lpdwOwnerSize,
3511 PSID pPrimaryGroup,
3512 LPDWORD lpdwPrimaryGroupSize
3513 );
3514
3515
3516
3517 WINBOOL
3518 STDCALL
3519 SetKernelObjectSecurity (
3520 HANDLE Handle,
3521 SECURITY_INFORMATION SecurityInformation,
3522 PSECURITY_DESCRIPTOR SecurityDescriptor
3523 );
3524
3525
3526 WINBOOL
3527 STDCALL
3528 FindNextChangeNotification(
3529 HANDLE hChangeHandle
3530 );
3531
3532
3533 WINBOOL
3534 STDCALL
3535 FindCloseChangeNotification(
3536 HANDLE hChangeHandle
3537 );
3538
3539
3540 WINBOOL
3541 STDCALL
3542 VirtualLock(
3543 LPVOID lpAddress,
3544 DWORD dwSize
3545 );
3546
3547
3548 WINBOOL
3549 STDCALL
3550 VirtualUnlock(
3551 LPVOID lpAddress,
3552 DWORD dwSize
3553 );
3554
3555
3556 LPVOID
3557 STDCALL
3558 MapViewOfFileEx(
3559 HANDLE hFileMappingObject,
3560 DWORD dwDesiredAccess,
3561 DWORD dwFileOffsetHigh,
3562 DWORD dwFileOffsetLow,
3563 DWORD dwNumberOfBytesToMap,
3564 LPVOID lpBaseAddress
3565 );
3566
3567
3568 WINBOOL
3569 STDCALL
3570 SetPriorityClass(
3571 HANDLE hProcess,
3572 DWORD dwPriorityClass
3573 );
3574
3575
3576 DWORD
3577 STDCALL
3578 GetPriorityClass(
3579 HANDLE hProcess
3580 );
3581
3582
3583 WINBOOL
3584 STDCALL
3585 IsBadReadPtr(
3586 CONST VOID *lp,
3587 UINT ucb
3588 );
3589
3590
3591 WINBOOL
3592 STDCALL
3593 IsBadWritePtr(
3594 LPVOID lp,
3595 UINT ucb
3596 );
3597
3598
3599 WINBOOL
3600 STDCALL
3601 IsBadHugeReadPtr(
3602 CONST VOID *lp,
3603 UINT ucb
3604 );
3605
3606
3607 WINBOOL
3608 STDCALL
3609 IsBadHugeWritePtr(
3610 LPVOID lp,
3611 UINT ucb
3612 );
3613
3614
3615 WINBOOL
3616 STDCALL
3617 IsBadCodePtr(
3618 FARPROC lpfn
3619 );
3620
3621 WINBOOL
3622 STDCALL
3623 AllocateLocallyUniqueId(
3624 PLUID Luid
3625 );
3626
3627
3628 WINBOOL
3629 STDCALL
3630 QueryPerformanceCounter(
3631 LARGE_INTEGER *lpPerformanceCount
3632 );
3633
3634
3635 WINBOOL
3636 STDCALL
3637 QueryPerformanceFrequency(
3638 LARGE_INTEGER *lpFrequency
3639 );
3640
3641 VOID
3642 STDCALL
3643 MoveMemory (
3644 PVOID Destination,
3645 CONST VOID *Source,
3646 DWORD Length
3647 );
3648
3649 VOID
3650 STDCALL
3651 FillMemory (
3652 PVOID Destination,
3653 DWORD Length,
3654 BYTE Fill
3655 );
3656
3657 VOID
3658 STDCALL
3659 ZeroMemory (
3660 PVOID Destination,
3661 DWORD Length
3662 );
3663
3664 /* The memory functions don't seem to be defined in the libraries, so
3665 define macro versions as well. */
3666 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3667 #define FillMemory(p, c, v) memset ((p), (v), (c))
3668 #define ZeroMemory(p, c) memset ((p), 0, (c))
3669
3670 #ifdef WIN95
3671 HKL
3672 STDCALL
3673 ActivateKeyboardLayout(
3674 HKL hkl,
3675 UINT Flags);
3676 #else
3677 WINBOOL
3678 STDCALL
3679 ActivateKeyboardLayout(
3680 HKL hkl,
3681 UINT Flags);
3682 #endif /* WIN95 */
3683
3684
3685 int
3686 STDCALL
3687 ToUnicodeEx(
3688 UINT wVirtKey,
3689 UINT wScanCode,
3690 PBYTE lpKeyState,
3691 LPWSTR pwszBuff,
3692 int cchBuff,
3693 UINT wFlags,
3694 HKL dwhkl);
3695
3696
3697 WINBOOL
3698 STDCALL
3699 UnloadKeyboardLayout(
3700 HKL hkl);
3701
3702
3703 int
3704 STDCALL
3705 GetKeyboardLayoutList(
3706 int nBuff,
3707 HKL *lpList);
3708
3709
3710 HKL
3711 STDCALL
3712 GetKeyboardLayout(
3713 DWORD dwLayout
3714 );
3715
3716
3717 HDESK
3718 STDCALL
3719 OpenInputDesktop(
3720 DWORD dwFlags,
3721 WINBOOL fInherit,
3722 DWORD dwDesiredAccess);
3723
3724 WINBOOL
3725 STDCALL
3726 EnumDesktopWindows(
3727 HDESK hDesktop,
3728 ENUMWINDOWSPROC lpfn,
3729 LPARAM lParam);
3730
3731
3732 WINBOOL
3733 STDCALL
3734 SwitchDesktop(
3735 HDESK hDesktop);
3736
3737
3738 WINBOOL
3739 STDCALL
3740 SetThreadDesktop(
3741 HDESK hDesktop);
3742
3743
3744 WINBOOL
3745 STDCALL
3746 CloseDesktop(
3747 HDESK hDesktop);
3748
3749
3750 HDESK
3751 STDCALL
3752 GetThreadDesktop(
3753 DWORD dwThreadId);
3754
3755
3756 WINBOOL
3757 STDCALL
3758 CloseWindowStation(
3759 HWINSTA hWinSta);
3760
3761
3762 WINBOOL
3763 STDCALL
3764 SetProcessWindowStation(
3765 HWINSTA hWinSta);
3766
3767
3768 HWINSTA
3769 STDCALL
3770 GetProcessWindowStation(
3771 VOID);
3772
3773
3774 WINBOOL
3775 STDCALL
3776 SetUserObjectSecurity(
3777 HANDLE hObj,
3778 PSECURITY_INFORMATION pSIRequested,
3779 PSECURITY_DESCRIPTOR pSID);
3780
3781
3782 WINBOOL
3783 STDCALL
3784 GetUserObjectSecurity(
3785 HANDLE hObj,
3786 PSECURITY_INFORMATION pSIRequested,
3787 PSECURITY_DESCRIPTOR pSID,
3788 DWORD nLength,
3789 LPDWORD lpnLengthNeeded);
3790
3791
3792 WINBOOL
3793 STDCALL
3794 TranslateMessage(
3795 CONST MSG *lpMsg);
3796
3797 WINBOOL
3798 STDCALL
3799 SetMessageQueue(
3800 int cMessagesMax);
3801
3802 WINBOOL
3803 STDCALL
3804 RegisterHotKey(
3805 HWND hWnd ,
3806 int anID,
3807 UINT fsModifiers,
3808 UINT vk);
3809
3810
3811 WINBOOL
3812 STDCALL
3813 UnregisterHotKey(
3814 HWND hWnd,
3815 int anID);
3816
3817
3818 WINBOOL
3819 STDCALL
3820 ExitWindowsEx(
3821 UINT uFlags,
3822 DWORD dwReserved);
3823
3824
3825 WINBOOL
3826 STDCALL
3827 SwapMouseButton(
3828 WINBOOL fSwap);
3829
3830
3831 DWORD
3832 STDCALL
3833 GetMessagePos(
3834 VOID);
3835
3836
3837 LONG
3838 STDCALL
3839 GetMessageTime(
3840 VOID);
3841
3842
3843 LONG
3844 STDCALL
3845 GetMessageExtraInfo(
3846 VOID);
3847
3848
3849 LPARAM
3850 STDCALL
3851 SetMessageExtraInfo(
3852 LPARAM lParam);
3853
3854
3855 long
3856 STDCALL
3857 BroadcastSystemMessage(
3858 DWORD,
3859 LPDWORD,
3860 UINT,
3861 WPARAM,
3862 LPARAM);
3863
3864 WINBOOL
3865 STDCALL
3866 AttachThreadInput(
3867 DWORD idAttach,
3868 DWORD idAttachTo,
3869 WINBOOL fAttach);
3870
3871
3872 WINBOOL
3873 STDCALL
3874 ReplyMessage(
3875 LRESULT lResult);
3876
3877
3878 WINBOOL
3879 STDCALL
3880 WaitMessage(
3881 VOID);
3882
3883
3884 DWORD
3885 STDCALL
3886 WaitForInputIdle(
3887 HANDLE hProcess,
3888 DWORD dwMilliseconds);
3889
3890
3891 VOID
3892 STDCALL
3893 PostQuitMessage(
3894 int nExitCode);
3895
3896 WINBOOL
3897 STDCALL
3898 InSendMessage(
3899 VOID);
3900
3901
3902 UINT
3903 STDCALL
3904 GetDoubleClickTime(
3905 VOID);
3906
3907
3908 WINBOOL
3909 STDCALL
3910 SetDoubleClickTime(
3911 UINT);
3912
3913
3914 WINBOOL
3915 STDCALL
3916 IsWindow(
3917 HWND hWnd);
3918
3919
3920 WINBOOL
3921 STDCALL
3922 IsMenu(
3923 HMENU hMenu);
3924
3925
3926 WINBOOL
3927 STDCALL
3928 IsChild(
3929 HWND hWndParent,
3930 HWND hWnd);
3931
3932
3933 WINBOOL
3934 STDCALL
3935 DestroyWindow(
3936 HWND hWnd);
3937
3938
3939 WINBOOL
3940 STDCALL
3941 ShowWindow(
3942 HWND hWnd,
3943 int nCmdShow);
3944
3945
3946 WINBOOL
3947 STDCALL
3948 ShowWindowAsync(
3949 HWND hWnd,
3950 int nCmdShow);
3951
3952
3953 WINBOOL
3954 STDCALL
3955 FlashWindow(
3956 HWND hWnd,
3957 WINBOOL bInvert);
3958
3959
3960 WINBOOL
3961 STDCALL
3962 ShowOwnedPopups(
3963 HWND hWnd,
3964 WINBOOL fShow);
3965
3966
3967 WINBOOL
3968 STDCALL
3969 OpenIcon(
3970 HWND hWnd);
3971
3972
3973 WINBOOL
3974 STDCALL
3975 CloseWindow(
3976 HWND hWnd);
3977
3978
3979 WINBOOL
3980 STDCALL
3981 MoveWindow(
3982 HWND hWnd,
3983 int X,
3984 int Y,
3985 int nWidth,
3986 int nHeight,
3987 WINBOOL bRepaint);
3988
3989
3990 WINBOOL
3991 STDCALL
3992 SetWindowPos(
3993 HWND hWnd,
3994 HWND hWndInsertAfter ,
3995 int X,
3996 int Y,
3997 int cx,
3998 int cy,
3999 UINT uFlags);
4000
4001
4002 WINBOOL
4003 STDCALL
4004 GetWindowPlacement(
4005 HWND hWnd,
4006 WINDOWPLACEMENT *lpwndpl);
4007
4008
4009 WINBOOL
4010 STDCALL
4011 SetWindowPlacement(
4012 HWND hWnd,
4013 CONST WINDOWPLACEMENT *lpwndpl);
4014
4015
4016 HDWP
4017 STDCALL
4018 BeginDeferWindowPos(
4019 int nNumWindows);
4020
4021
4022 HDWP
4023 STDCALL
4024 DeferWindowPos(
4025 HDWP hWinPosInfo,
4026 HWND hWnd,
4027 HWND hWndInsertAfter,
4028 int x,
4029 int y,
4030 int cx,
4031 int cy,
4032 UINT uFlags);
4033
4034
4035 WINBOOL
4036 STDCALL
4037 EndDeferWindowPos(
4038 HDWP hWinPosInfo);
4039
4040
4041 WINBOOL
4042 STDCALL
4043 IsWindowVisible(
4044 HWND hWnd);
4045
4046
4047 WINBOOL
4048 STDCALL
4049 IsIconic(
4050 HWND hWnd);
4051
4052
4053 WINBOOL
4054 STDCALL
4055 AnyPopup(
4056 VOID);
4057
4058
4059 WINBOOL
4060 STDCALL
4061 BringWindowToTop(
4062 HWND hWnd);
4063
4064
4065 WINBOOL
4066 STDCALL
4067 IsZoomed(
4068 HWND hWnd);
4069
4070
4071 WINBOOL
4072 STDCALL
4073 EndDialog(
4074 HWND hDlg,
4075 int nResult);
4076
4077
4078 HWND
4079 STDCALL
4080 GetDlgItem(
4081 HWND hDlg,
4082 int nIDDlgItem);
4083
4084
4085 WINBOOL
4086 STDCALL
4087 SetDlgItemInt(
4088 HWND hDlg,
4089 int nIDDlgItem,
4090 UINT uValue,
4091 WINBOOL bSigned);
4092
4093
4094 UINT
4095 STDCALL
4096 GetDlgItemInt(
4097 HWND hDlg,
4098 int nIDDlgItem,
4099 WINBOOL *lpTranslated,
4100 WINBOOL bSigned);
4101
4102
4103 WINBOOL
4104 STDCALL
4105 CheckDlgButton(
4106 HWND hDlg,
4107 int nIDButton,
4108 UINT uCheck);
4109
4110
4111 WINBOOL
4112 STDCALL
4113 CheckRadioButton(
4114 HWND hDlg,
4115 int nIDFirstButton,
4116 int nIDLastButton,
4117 int nIDCheckButton);
4118
4119
4120 UINT
4121 STDCALL
4122 IsDlgButtonChecked(
4123 HWND hDlg,
4124 int nIDButton);
4125
4126
4127 HWND
4128 STDCALL
4129 GetNextDlgGroupItem(
4130 HWND hDlg,
4131 HWND hCtl,
4132 WINBOOL bPrevious);
4133
4134
4135 HWND
4136 STDCALL
4137 GetNextDlgTabItem(
4138 HWND hDlg,
4139 HWND hCtl,
4140 WINBOOL bPrevious);
4141
4142
4143 int
4144 STDCALL
4145 GetDlgCtrlID(
4146 HWND hWnd);
4147
4148
4149 long
4150 STDCALL
4151 GetDialogBaseUnits(VOID);
4152
4153 WINBOOL
4154 STDCALL
4155 OpenClipboard(
4156 HWND hWndNewOwner);
4157
4158
4159 WINBOOL
4160 STDCALL
4161 CloseClipboard(
4162 VOID);
4163
4164
4165 HWND
4166 STDCALL
4167 GetClipboardOwner(
4168 VOID);
4169
4170
4171 HWND
4172 STDCALL
4173 SetClipboardViewer(
4174 HWND hWndNewViewer