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