GetProcessVersion prototype missing.
[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
2401 WINBOOL
2402 STDCALL
2403 SetSystemTime(
2404 CONST SYSTEMTIME *lpSystemTime
2405 );
2406
2407
2408 VOID
2409 STDCALL
2410 GetLocalTime(
2411 LPSYSTEMTIME lpSystemTime
2412 );
2413
2414
2415 WINBOOL
2416 STDCALL
2417 SetLocalTime(
2418 CONST SYSTEMTIME *lpSystemTime
2419 );
2420
2421
2422 VOID
2423 STDCALL
2424 GetSystemInfo(
2425 LPSYSTEM_INFO lpSystemInfo
2426 );
2427
2428 WINBOOL
2429 STDCALL
2430 SystemTimeToTzSpecificLocalTime(
2431 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
2432 LPSYSTEMTIME lpUniversalTime,
2433 LPSYSTEMTIME lpLocalTime
2434 );
2435
2436
2437 DWORD
2438 STDCALL
2439 GetTimeZoneInformation(
2440 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2441 );
2442
2443
2444 WINBOOL
2445 STDCALL
2446 SetTimeZoneInformation(
2447 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
2448 );
2449
2450 WINBOOL
2451 STDCALL
2452 SystemTimeToFileTime(
2453 CONST SYSTEMTIME *lpSystemTime,
2454 LPFILETIME lpFileTime
2455 );
2456
2457
2458 WINBOOL
2459 STDCALL
2460 FileTimeToLocalFileTime(
2461 CONST FILETIME *lpFileTime,
2462 LPFILETIME lpLocalFileTime
2463 );
2464
2465
2466 WINBOOL
2467 STDCALL
2468 LocalFileTimeToFileTime(
2469 CONST FILETIME *lpLocalFileTime,
2470 LPFILETIME lpFileTime
2471 );
2472
2473
2474 WINBOOL
2475 STDCALL
2476 FileTimeToSystemTime(
2477 CONST FILETIME *lpFileTime,
2478 LPSYSTEMTIME lpSystemTime
2479 );
2480
2481
2482 LONG
2483 STDCALL
2484 CompareFileTime(
2485 CONST FILETIME *lpFileTime1,
2486 CONST FILETIME *lpFileTime2
2487 );
2488
2489
2490 WINBOOL
2491 STDCALL
2492 FileTimeToDosDateTime(
2493 CONST FILETIME *lpFileTime,
2494 LPWORD lpFatDate,
2495 LPWORD lpFatTime
2496 );
2497
2498
2499 WINBOOL
2500 STDCALL
2501 DosDateTimeToFileTime(
2502 WORD wFatDate,
2503 WORD wFatTime,
2504 LPFILETIME lpFileTime
2505 );
2506
2507
2508 DWORD
2509 STDCALL
2510 GetTickCount(
2511 VOID
2512 );
2513
2514
2515 WINBOOL
2516 STDCALL
2517 SetSystemTimeAdjustment(
2518 DWORD dwTimeAdjustment,
2519 WINBOOL bTimeAdjustmentDisabled
2520 );
2521
2522
2523 WINBOOL
2524 STDCALL
2525 GetSystemTimeAdjustment(
2526 PDWORD lpTimeAdjustment,
2527 PDWORD lpTimeIncrement,
2528 PWINBOOL lpTimeAdjustmentDisabled
2529 );
2530
2531
2532 WINBOOL
2533 STDCALL
2534 CreatePipe(
2535 PHANDLE hReadPipe,
2536 PHANDLE hWritePipe,
2537 LPSECURITY_ATTRIBUTES lpPipeAttributes,
2538 DWORD nSize
2539 );
2540
2541
2542 WINBOOL
2543 STDCALL
2544 ConnectNamedPipe(
2545 HANDLE hNamedPipe,
2546 LPOVERLAPPED lpOverlapped
2547 );
2548
2549
2550 WINBOOL
2551 STDCALL
2552 DisconnectNamedPipe(
2553 HANDLE hNamedPipe
2554 );
2555
2556
2557 WINBOOL
2558 STDCALL
2559 SetNamedPipeHandleState(
2560 HANDLE hNamedPipe,
2561 LPDWORD lpMode,
2562 LPDWORD lpMaxCollectionCount,
2563 LPDWORD lpCollectDataTimeout
2564 );
2565
2566
2567 WINBOOL
2568 STDCALL
2569 GetNamedPipeInfo(
2570 HANDLE hNamedPipe,
2571 LPDWORD lpFlags,
2572 LPDWORD lpOutBufferSize,
2573 LPDWORD lpInBufferSize,
2574 LPDWORD lpMaxInstances
2575 );
2576
2577
2578 WINBOOL
2579 STDCALL
2580 PeekNamedPipe(
2581 HANDLE hNamedPipe,
2582 LPVOID lpBuffer,
2583 DWORD nBufferSize,
2584 LPDWORD lpBytesRead,
2585 LPDWORD lpTotalBytesAvail,
2586 LPDWORD lpBytesLeftThisMessage
2587 );
2588
2589
2590 WINBOOL
2591 STDCALL
2592 TransactNamedPipe(
2593 HANDLE hNamedPipe,
2594 LPVOID lpInBuffer,
2595 DWORD nInBufferSize,
2596 LPVOID lpOutBuffer,
2597 DWORD nOutBufferSize,
2598 LPDWORD lpBytesRead,
2599 LPOVERLAPPED lpOverlapped
2600 );
2601
2602
2603
2604 WINBOOL
2605 STDCALL
2606 GetMailslotInfo(
2607 HANDLE hMailslot,
2608 LPDWORD lpMaxMessageSize,
2609 LPDWORD lpNextSize,
2610 LPDWORD lpMessageCount,
2611 LPDWORD lpReadTimeout
2612 );
2613
2614
2615 WINBOOL
2616 STDCALL
2617 SetMailslotInfo(
2618 HANDLE hMailslot,
2619 DWORD lReadTimeout
2620 );
2621
2622
2623 LPVOID
2624 STDCALL
2625 MapViewOfFile(
2626 HANDLE hFileMappingObject,
2627 DWORD dwDesiredAccess,
2628 DWORD dwFileOffsetHigh,
2629 DWORD dwFileOffsetLow,
2630 DWORD dwNumberOfBytesToMap
2631 );
2632
2633
2634 WINBOOL
2635 STDCALL
2636 FlushViewOfFile(
2637 LPCVOID lpBaseAddress,
2638 DWORD dwNumberOfBytesToFlush
2639 );
2640
2641
2642 WINBOOL
2643 STDCALL
2644 UnmapViewOfFile(
2645 LPVOID lpBaseAddress
2646 );
2647
2648 HFILE
2649 STDCALL
2650 OpenFile(
2651 LPCSTR lpFileName,
2652 LPOFSTRUCT lpReOpenBuff,
2653 UINT uStyle
2654 );
2655
2656
2657 HFILE
2658 STDCALL
2659 _lopen(
2660 LPCSTR lpPathName,
2661 int iReadWrite
2662 );
2663
2664
2665 HFILE
2666 STDCALL
2667 _lcreat(
2668 LPCSTR lpPathName,
2669 int iAttribute
2670 );
2671
2672
2673 UINT
2674 STDCALL
2675 _lread(
2676 HFILE hFile,
2677 LPVOID lpBuffer,
2678 UINT uBytes
2679 );
2680
2681
2682 UINT
2683 STDCALL
2684 _lwrite(
2685 HFILE hFile,
2686 LPCSTR lpBuffer,
2687 UINT uBytes
2688 );
2689
2690
2691 long
2692 STDCALL
2693 _hread(
2694 HFILE hFile,
2695 LPVOID lpBuffer,
2696 long lBytes
2697 );
2698
2699
2700 long
2701 STDCALL
2702 _hwrite(
2703 HFILE hFile,
2704 LPCSTR lpBuffer,
2705 long lBytes
2706 );
2707
2708
2709 HFILE
2710 STDCALL
2711 _lclose(
2712 HFILE hFile
2713 );
2714
2715
2716 LONG
2717 STDCALL
2718 _llseek(
2719 HFILE hFile,
2720 LONG lOffset,
2721 int iOrigin
2722 );
2723
2724
2725 WINBOOL
2726 STDCALL
2727 IsTextUnicode(
2728 CONST LPVOID lpBuffer,
2729 int cb,
2730 LPINT lpi
2731 );
2732
2733
2734 DWORD
2735 STDCALL
2736 TlsAlloc(
2737 VOID
2738 );
2739
2740 LPVOID
2741 STDCALL
2742 TlsGetValue(
2743 DWORD dwTlsIndex
2744 );
2745
2746
2747 WINBOOL
2748 STDCALL
2749 TlsSetValue(
2750 DWORD dwTlsIndex,
2751 LPVOID lpTlsValue
2752 );
2753
2754
2755 WINBOOL
2756 STDCALL
2757 TlsFree(
2758 DWORD dwTlsIndex
2759 );
2760
2761 DWORD
2762 STDCALL
2763 SleepEx(
2764 DWORD dwMilliseconds,
2765 WINBOOL bAlertable
2766 );
2767
2768
2769 DWORD
2770 STDCALL
2771 WaitForSingleObjectEx(
2772 HANDLE hHandle,
2773 DWORD dwMilliseconds,
2774 WINBOOL bAlertable
2775 );
2776
2777
2778 DWORD
2779 STDCALL
2780 WaitForMultipleObjectsEx(
2781 DWORD nCount,
2782 CONST HANDLE *lpHandles,
2783 WINBOOL bWaitAll,
2784 DWORD dwMilliseconds,
2785 WINBOOL bAlertable
2786 );
2787
2788
2789 WINBOOL
2790 STDCALL
2791 ReadFileEx(
2792 HANDLE hFile,
2793 LPVOID lpBuffer,
2794 DWORD nNumberOfBytesToRead,
2795 LPOVERLAPPED lpOverlapped,
2796 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2797 );
2798
2799
2800 WINBOOL
2801 STDCALL
2802 WriteFileEx(
2803 HANDLE hFile,
2804 LPCVOID lpBuffer,
2805 DWORD nNumberOfBytesToWrite,
2806 LPOVERLAPPED lpOverlapped,
2807 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2808 );
2809
2810
2811 WINBOOL
2812 STDCALL
2813 BackupRead(
2814 HANDLE hFile,
2815 LPBYTE lpBuffer,
2816 DWORD nNumberOfBytesToRead,
2817 LPDWORD lpNumberOfBytesRead,
2818 WINBOOL bAbort,
2819 WINBOOL bProcessSecurity,
2820 LPVOID *lpContext
2821 );
2822
2823
2824 WINBOOL
2825 STDCALL
2826 BackupSeek(
2827 HANDLE hFile,
2828 DWORD dwLowBytesToSeek,
2829 DWORD dwHighBytesToSeek,
2830 LPDWORD lpdwLowByteSeeked,
2831 LPDWORD lpdwHighByteSeeked,
2832 LPVOID *lpContext
2833 );
2834
2835
2836 WINBOOL
2837 STDCALL
2838 BackupWrite(
2839 HANDLE hFile,
2840 LPBYTE lpBuffer,
2841 DWORD nNumberOfBytesToWrite,
2842 LPDWORD lpNumberOfBytesWritten,
2843 WINBOOL bAbort,
2844 WINBOOL bProcessSecurity,
2845 LPVOID *lpContext
2846 );
2847
2848 WINBOOL
2849 STDCALL
2850 SetProcessShutdownParameters(
2851 DWORD dwLevel,
2852 DWORD dwFlags
2853 );
2854
2855
2856 WINBOOL
2857 STDCALL
2858 GetProcessShutdownParameters(
2859 LPDWORD lpdwLevel,
2860 LPDWORD lpdwFlags
2861 );
2862
2863
2864 VOID
2865 STDCALL
2866 SetFileApisToOEM( VOID );
2867
2868
2869 VOID
2870 STDCALL
2871 SetFileApisToANSI( VOID );
2872
2873
2874 WINBOOL
2875 STDCALL
2876 AreFileApisANSI( VOID );
2877
2878 WINBOOL
2879 STDCALL
2880 CloseEventLog (
2881 HANDLE hEventLog
2882 );
2883
2884
2885 WINBOOL
2886 STDCALL
2887 DeregisterEventSource (
2888 HANDLE hEventLog
2889 );
2890
2891
2892 WINBOOL
2893 STDCALL
2894 NotifyChangeEventLog (
2895 HANDLE hEventLog,
2896 HANDLE hEvent
2897 );
2898
2899
2900 WINBOOL
2901 STDCALL
2902 GetNumberOfEventLogRecords (
2903 HANDLE hEventLog,
2904 PDWORD NumberOfRecords
2905 );
2906
2907
2908 WINBOOL
2909 STDCALL
2910 GetOldestEventLogRecord (
2911 HANDLE hEventLog,
2912 PDWORD OldestRecord
2913 );
2914
2915 WINBOOL
2916 STDCALL
2917 DuplicateToken(
2918 HANDLE ExistingTokenHandle,
2919 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
2920 PHANDLE DuplicateTokenHandle
2921 );
2922
2923
2924 WINBOOL
2925 STDCALL
2926 GetKernelObjectSecurity (
2927 HANDLE Handle,
2928 SECURITY_INFORMATION RequestedInformation,
2929 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2930 DWORD nLength,
2931 LPDWORD lpnLengthNeeded
2932 );
2933
2934
2935 WINBOOL
2936 STDCALL
2937 ImpersonateNamedPipeClient(
2938 HANDLE hNamedPipe
2939 );
2940
2941
2942 WINBOOL
2943 STDCALL
2944 ImpersonateLoggedOnUser(
2945 HANDLE hToken
2946 );
2947
2948
2949 WINBOOL
2950 STDCALL
2951 ImpersonateSelf(
2952 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2953 );
2954
2955
2956
2957 WINBOOL
2958 STDCALL
2959 RevertToSelf (
2960 VOID
2961 );
2962
2963
2964 WINBOOL
2965 STDCALL
2966 SetThreadToken (
2967 PHANDLE Thread,
2968 HANDLE Token
2969 );
2970
2971
2972 WINBOOL
2973 STDCALL
2974 AccessCheck (
2975 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2976 HANDLE ClientToken,
2977 DWORD DesiredAccess,
2978 PGENERIC_MAPPING GenericMapping,
2979 PPRIVILEGE_SET PrivilegeSet,
2980 LPDWORD PrivilegeSetLength,
2981 LPDWORD GrantedAccess,
2982 LPBOOL AccessStatus
2983 );
2984
2985
2986
2987 WINBOOL
2988 STDCALL
2989 OpenProcessToken (
2990 HANDLE ProcessHandle,
2991 DWORD DesiredAccess,
2992 PHANDLE TokenHandle
2993 );
2994
2995
2996
2997 WINBOOL
2998 STDCALL
2999 OpenThreadToken (
3000 HANDLE ThreadHandle,
3001 DWORD DesiredAccess,
3002 WINBOOL OpenAsSelf,
3003 PHANDLE TokenHandle
3004 );
3005
3006
3007
3008 WINBOOL
3009 STDCALL
3010 GetTokenInformation (
3011 HANDLE TokenHandle,
3012 TOKEN_INFORMATION_CLASS TokenInformationClass,
3013 LPVOID TokenInformation,
3014 DWORD TokenInformationLength,
3015 PDWORD ReturnLength
3016 );
3017
3018
3019
3020 WINBOOL
3021 STDCALL
3022 SetTokenInformation (
3023 HANDLE TokenHandle,
3024 TOKEN_INFORMATION_CLASS TokenInformationClass,
3025 LPVOID TokenInformation,
3026 DWORD TokenInformationLength
3027 );
3028
3029
3030
3031 WINBOOL
3032 STDCALL
3033 AdjustTokenPrivileges (
3034 HANDLE TokenHandle,
3035 WINBOOL DisableAllPrivileges,
3036 PTOKEN_PRIVILEGES NewState,
3037 DWORD BufferLength,
3038 PTOKEN_PRIVILEGES PreviousState,
3039 PDWORD ReturnLength
3040 );
3041
3042
3043
3044 WINBOOL
3045 STDCALL
3046 AdjustTokenGroups (
3047 HANDLE TokenHandle,
3048 WINBOOL ResetToDefault,
3049 PTOKEN_GROUPS NewState,
3050 DWORD BufferLength,
3051 PTOKEN_GROUPS PreviousState,
3052 PDWORD ReturnLength
3053 );
3054
3055
3056
3057 WINBOOL
3058 STDCALL
3059 PrivilegeCheck (
3060 HANDLE ClientToken,
3061 PPRIVILEGE_SET RequiredPrivileges,
3062 LPBOOL pfResult
3063 );
3064
3065
3066
3067 WINBOOL
3068 STDCALL
3069 IsValidSid (
3070 PSID pSid
3071 );
3072
3073
3074
3075 WINBOOL
3076 STDCALL
3077 EqualSid (
3078 PSID pSid1,
3079 PSID pSid2
3080 );
3081
3082
3083
3084 WINBOOL
3085 STDCALL
3086 EqualPrefixSid (
3087 PSID pSid1,
3088 PSID pSid2
3089 );
3090
3091
3092
3093 DWORD
3094 STDCALL
3095 GetSidLengthRequired (
3096 UCHAR nSubAuthorityCount
3097 );
3098
3099
3100
3101 WINBOOL
3102 STDCALL
3103 AllocateAndInitializeSid (
3104 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3105 BYTE nSubAuthorityCount,
3106 DWORD nSubAuthority0,
3107 DWORD nSubAuthority1,
3108 DWORD nSubAuthority2,
3109 DWORD nSubAuthority3,
3110 DWORD nSubAuthority4,
3111 DWORD nSubAuthority5,
3112 DWORD nSubAuthority6,
3113 DWORD nSubAuthority7,
3114 PSID *pSid
3115 );
3116
3117
3118 PVOID
3119 STDCALL
3120 FreeSid(
3121 PSID pSid
3122 );
3123
3124
3125 WINBOOL
3126 STDCALL
3127 InitializeSid (
3128 PSID Sid,
3129 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3130 BYTE nSubAuthorityCount
3131 );
3132
3133
3134
3135 PSID_IDENTIFIER_AUTHORITY
3136 STDCALL
3137 GetSidIdentifierAuthority (
3138 PSID pSid
3139 );
3140
3141
3142
3143 PDWORD
3144 STDCALL
3145 GetSidSubAuthority (
3146 PSID pSid,
3147 DWORD nSubAuthority
3148 );
3149
3150
3151
3152 PUCHAR
3153 STDCALL
3154 GetSidSubAuthorityCount (
3155 PSID pSid
3156 );
3157
3158
3159
3160 DWORD
3161 STDCALL
3162 GetLengthSid (
3163 PSID pSid
3164 );
3165
3166
3167
3168 WINBOOL
3169 STDCALL
3170 CopySid (
3171 DWORD nDestinationSidLength,
3172 PSID pDestinationSid,
3173 PSID pSourceSid
3174 );
3175
3176
3177
3178 WINBOOL
3179 STDCALL
3180 AreAllAccessesGranted (
3181 DWORD GrantedAccess,
3182 DWORD DesiredAccess
3183 );
3184
3185
3186
3187 WINBOOL
3188 STDCALL
3189 AreAnyAccessesGranted (
3190 DWORD GrantedAccess,
3191 DWORD DesiredAccess
3192 );
3193
3194
3195
3196 VOID
3197 STDCALL
3198 MapGenericMask (
3199 PDWORD AccessMask,
3200 PGENERIC_MAPPING GenericMapping
3201 );
3202
3203
3204
3205 WINBOOL
3206 STDCALL
3207 IsValidAcl (
3208 PACL pAcl
3209 );
3210
3211
3212
3213 WINBOOL
3214 STDCALL
3215 InitializeAcl (
3216 PACL pAcl,
3217 DWORD nAclLength,
3218 DWORD dwAclRevision
3219 );
3220
3221
3222
3223 WINBOOL
3224 STDCALL
3225 GetAclInformation (
3226 PACL pAcl,
3227 LPVOID pAclInformation,
3228 DWORD nAclInformationLength,
3229 ACL_INFORMATION_CLASS dwAclInformationClass
3230 );
3231
3232
3233
3234 WINBOOL
3235 STDCALL
3236 SetAclInformation (
3237 PACL pAcl,
3238 LPVOID pAclInformation,
3239 DWORD nAclInformationLength,
3240 ACL_INFORMATION_CLASS dwAclInformationClass
3241 );
3242
3243
3244
3245 WINBOOL
3246 STDCALL
3247 AddAce (
3248 PACL pAcl,
3249 DWORD dwAceRevision,
3250 DWORD dwStartingAceIndex,
3251 LPVOID pAceList,
3252 DWORD nAceListLength
3253 );
3254
3255
3256
3257 WINBOOL
3258 STDCALL
3259 DeleteAce (
3260 PACL pAcl,
3261 DWORD dwAceIndex
3262 );
3263
3264
3265
3266 WINBOOL
3267 STDCALL
3268 GetAce (
3269 PACL pAcl,
3270 DWORD dwAceIndex,
3271 LPVOID *pAce
3272 );
3273
3274
3275
3276 WINBOOL
3277 STDCALL
3278 AddAccessAllowedAce (
3279 PACL pAcl,
3280 DWORD dwAceRevision,
3281 DWORD AccessMask,
3282 PSID pSid
3283 );
3284
3285
3286
3287 WINBOOL
3288 STDCALL
3289 AddAccessDeniedAce (
3290 PACL pAcl,
3291 DWORD dwAceRevision,
3292 DWORD AccessMask,
3293 PSID pSid
3294 );
3295
3296
3297
3298 WINBOOL
3299 STDCALL
3300 AddAuditAccessAce(
3301 PACL pAcl,
3302 DWORD dwAceRevision,
3303 DWORD dwAccessMask,
3304 PSID pSid,
3305 WINBOOL bAuditSuccess,
3306 WINBOOL bAuditFailure
3307 );
3308
3309
3310
3311 WINBOOL
3312 STDCALL
3313 FindFirstFreeAce (
3314 PACL pAcl,
3315 LPVOID *pAce
3316 );
3317
3318
3319
3320 WINBOOL
3321 STDCALL
3322 InitializeSecurityDescriptor (
3323 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3324 DWORD dwRevision
3325 );
3326
3327
3328
3329 WINBOOL
3330 STDCALL
3331 IsValidSecurityDescriptor (
3332 PSECURITY_DESCRIPTOR pSecurityDescriptor
3333 );
3334
3335
3336
3337 DWORD
3338 STDCALL
3339 GetSecurityDescriptorLength (
3340 PSECURITY_DESCRIPTOR pSecurityDescriptor
3341 );
3342
3343
3344
3345 WINBOOL
3346 STDCALL
3347 GetSecurityDescriptorControl (
3348 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3349 PSECURITY_DESCRIPTOR_CONTROL pControl,
3350 LPDWORD lpdwRevision
3351 );
3352
3353
3354
3355 WINBOOL
3356 STDCALL
3357 SetSecurityDescriptorDacl (
3358 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3359 WINBOOL bDaclPresent,
3360 PACL pDacl,
3361 WINBOOL bDaclDefaulted
3362 );
3363
3364
3365
3366 WINBOOL
3367 STDCALL
3368 GetSecurityDescriptorDacl (
3369 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3370 LPBOOL lpbDaclPresent,
3371 PACL *pDacl,
3372 LPBOOL lpbDaclDefaulted
3373 );
3374
3375
3376
3377 WINBOOL
3378 STDCALL
3379 SetSecurityDescriptorSacl (
3380 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3381 WINBOOL bSaclPresent,
3382 PACL pSacl,
3383 WINBOOL bSaclDefaulted
3384 );
3385
3386
3387
3388 WINBOOL
3389 STDCALL
3390 GetSecurityDescriptorSacl (
3391 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3392 LPBOOL lpbSaclPresent,
3393 PACL *pSacl,
3394 LPBOOL lpbSaclDefaulted
3395 );
3396
3397
3398
3399 WINBOOL
3400 STDCALL
3401 SetSecurityDescriptorOwner (
3402 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3403 PSID pOwner,
3404 WINBOOL bOwnerDefaulted
3405 );
3406
3407
3408
3409 WINBOOL
3410 STDCALL
3411 GetSecurityDescriptorOwner (
3412 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3413 PSID *pOwner,
3414 LPBOOL lpbOwnerDefaulted
3415 );
3416
3417
3418
3419 WINBOOL
3420 STDCALL
3421 SetSecurityDescriptorGroup (
3422 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3423 PSID pGroup,
3424 WINBOOL bGroupDefaulted
3425 );
3426
3427
3428
3429 WINBOOL
3430 STDCALL
3431 GetSecurityDescriptorGroup (
3432 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3433 PSID *pGroup,
3434 LPBOOL lpbGroupDefaulted
3435 );
3436
3437
3438
3439 WINBOOL
3440 STDCALL
3441 CreatePrivateObjectSecurity (
3442 PSECURITY_DESCRIPTOR ParentDescriptor,
3443 PSECURITY_DESCRIPTOR CreatorDescriptor,
3444 PSECURITY_DESCRIPTOR * NewDescriptor,
3445 WINBOOL IsDirectoryObject,
3446 HANDLE Token,
3447 PGENERIC_MAPPING GenericMapping
3448 );
3449
3450
3451
3452 WINBOOL
3453 STDCALL
3454 SetPrivateObjectSecurity (
3455 SECURITY_INFORMATION SecurityInformation,
3456 PSECURITY_DESCRIPTOR ModificationDescriptor,
3457 PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
3458 PGENERIC_MAPPING GenericMapping,
3459 HANDLE Token
3460 );
3461
3462
3463
3464 WINBOOL
3465 STDCALL
3466 GetPrivateObjectSecurity (
3467 PSECURITY_DESCRIPTOR ObjectDescriptor,
3468 SECURITY_INFORMATION SecurityInformation,
3469 PSECURITY_DESCRIPTOR ResultantDescriptor,
3470 DWORD DescriptorLength,
3471 PDWORD ReturnLength
3472 );
3473
3474
3475
3476 WINBOOL
3477 STDCALL
3478 DestroyPrivateObjectSecurity (
3479 PSECURITY_DESCRIPTOR * ObjectDescriptor
3480 );
3481
3482
3483
3484 WINBOOL
3485 STDCALL
3486 MakeSelfRelativeSD (
3487 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3488 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3489 LPDWORD lpdwBufferLength
3490 );
3491
3492
3493
3494 WINBOOL
3495 STDCALL
3496 MakeAbsoluteSD (
3497 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3498 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3499 LPDWORD lpdwAbsoluteSecurityDescriptorSize,
3500 PACL pDacl,
3501 LPDWORD lpdwDaclSize,
3502 PACL pSacl,
3503 LPDWORD lpdwSaclSize,
3504 PSID pOwner,
3505 LPDWORD lpdwOwnerSize,
3506 PSID pPrimaryGroup,
3507 LPDWORD lpdwPrimaryGroupSize
3508 );
3509
3510
3511
3512 WINBOOL
3513 STDCALL
3514 SetKernelObjectSecurity (
3515 HANDLE Handle,
3516 SECURITY_INFORMATION SecurityInformation,
3517 PSECURITY_DESCRIPTOR SecurityDescriptor
3518 );
3519
3520
3521 WINBOOL
3522 STDCALL
3523 FindNextChangeNotification(
3524 HANDLE hChangeHandle
3525 );
3526
3527
3528 WINBOOL
3529 STDCALL
3530 FindCloseChangeNotification(
3531 HANDLE hChangeHandle
3532 );
3533
3534
3535 WINBOOL
3536 STDCALL
3537 VirtualLock(
3538 LPVOID lpAddress,
3539 DWORD dwSize
3540 );
3541
3542
3543 WINBOOL
3544 STDCALL
3545 VirtualUnlock(
3546 LPVOID lpAddress,
3547 DWORD dwSize
3548 );
3549
3550
3551 LPVOID
3552 STDCALL
3553 MapViewOfFileEx(
3554 HANDLE hFileMappingObject,
3555 DWORD dwDesiredAccess,
3556 DWORD dwFileOffsetHigh,
3557 DWORD dwFileOffsetLow,
3558 DWORD dwNumberOfBytesToMap,
3559 LPVOID lpBaseAddress
3560 );
3561
3562
3563 WINBOOL
3564 STDCALL
3565 SetPriorityClass(
3566 HANDLE hProcess,
3567 DWORD dwPriorityClass
3568 );
3569
3570
3571 DWORD
3572 STDCALL
3573 GetPriorityClass(
3574 HANDLE hProcess
3575 );
3576
3577
3578 WINBOOL
3579 STDCALL
3580 IsBadReadPtr(
3581 CONST VOID *lp,
3582 UINT ucb
3583 );
3584
3585
3586 WINBOOL
3587 STDCALL
3588 IsBadWritePtr(
3589 LPVOID lp,
3590 UINT ucb
3591 );
3592
3593
3594 WINBOOL
3595 STDCALL
3596 IsBadHugeReadPtr(
3597 CONST VOID *lp,
3598 UINT ucb
3599 );
3600
3601
3602 WINBOOL
3603 STDCALL
3604 IsBadHugeWritePtr(
3605 LPVOID lp,
3606 UINT ucb
3607 );
3608
3609
3610 WINBOOL
3611 STDCALL
3612 IsBadCodePtr(
3613 FARPROC lpfn
3614 );
3615
3616 WINBOOL
3617 STDCALL
3618 AllocateLocallyUniqueId(
3619 PLUID Luid
3620 );
3621
3622
3623 WINBOOL
3624 STDCALL
3625 QueryPerformanceCounter(
3626 LARGE_INTEGER *lpPerformanceCount
3627 );
3628
3629
3630 WINBOOL
3631 STDCALL
3632 QueryPerformanceFrequency(
3633 LARGE_INTEGER *lpFrequency
3634 );
3635
3636 VOID
3637 STDCALL
3638 MoveMemory (
3639 PVOID Destination,
3640 CONST VOID *Source,
3641 DWORD Length
3642 );
3643
3644 VOID
3645 STDCALL
3646 FillMemory (
3647 PVOID Destination,
3648 DWORD Length,
3649 BYTE Fill
3650 );
3651
3652 VOID
3653 STDCALL
3654 ZeroMemory (
3655 PVOID Destination,
3656 DWORD Length
3657 );
3658
3659 /* The memory functions don't seem to be defined in the libraries, so
3660 define macro versions as well. */
3661 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3662 #define FillMemory(p, c, v) memset ((p), (v), (c))
3663 #define ZeroMemory(p, c) memset ((p), 0, (c))
3664
3665 #ifdef WIN95
3666 HKL
3667 STDCALL
3668 ActivateKeyboardLayout(
3669 HKL hkl,
3670 UINT Flags);
3671 #else
3672 WINBOOL
3673 STDCALL
3674 ActivateKeyboardLayout(
3675 HKL hkl,
3676 UINT Flags);
3677 #endif /* WIN95 */
3678
3679
3680 int
3681 STDCALL
3682 ToUnicodeEx(
3683 UINT wVirtKey,
3684 UINT wScanCode,
3685 PBYTE lpKeyState,
3686 LPWSTR pwszBuff,
3687 int cchBuff,
3688 UINT wFlags,
3689 HKL dwhkl);
3690
3691
3692 WINBOOL
3693 STDCALL
3694 UnloadKeyboardLayout(
3695 HKL hkl);
3696
3697
3698 int
3699 STDCALL
3700 GetKeyboardLayoutList(
3701 int nBuff,
3702 HKL *lpList);
3703
3704
3705 HKL
3706 STDCALL
3707 GetKeyboardLayout(
3708 DWORD dwLayout
3709 );
3710
3711
3712 HDESK
3713 STDCALL
3714 OpenInputDesktop(
3715 DWORD dwFlags,
3716 WINBOOL fInherit,
3717 DWORD dwDesiredAccess);
3718
3719 WINBOOL
3720 STDCALL
3721 EnumDesktopWindows(
3722 HDESK hDesktop,
3723 ENUMWINDOWSPROC lpfn,
3724 LPARAM lParam);
3725
3726
3727 WINBOOL
3728 STDCALL
3729 SwitchDesktop(
3730 HDESK hDesktop);
3731
3732
3733 WINBOOL
3734 STDCALL
3735 SetThreadDesktop(
3736 HDESK hDesktop);
3737
3738
3739 WINBOOL
3740 STDCALL
3741 CloseDesktop(
3742 HDESK hDesktop);
3743
3744
3745 HDESK
3746 STDCALL
3747 GetThreadDesktop(
3748 DWORD dwThreadId);
3749
3750
3751 WINBOOL
3752 STDCALL
3753 CloseWindowStation(
3754 HWINSTA hWinSta);
3755
3756
3757 WINBOOL
3758 STDCALL
3759 SetProcessWindowStation(
3760 HWINSTA hWinSta);
3761
3762
3763 HWINSTA
3764 STDCALL
3765 GetProcessWindowStation(
3766 VOID);
3767
3768
3769 WINBOOL
3770 STDCALL
3771 SetUserObjectSecurity(
3772 HANDLE hObj,
3773 PSECURITY_INFORMATION pSIRequested,
3774 PSECURITY_DESCRIPTOR pSID);
3775
3776
3777 WINBOOL
3778 STDCALL
3779 GetUserObjectSecurity(
3780 HANDLE hObj,
3781 PSECURITY_INFORMATION pSIRequested,
3782 PSECURITY_DESCRIPTOR pSID,
3783 DWORD nLength,
3784 LPDWORD lpnLengthNeeded);
3785
3786
3787 WINBOOL
3788 STDCALL
3789 TranslateMessage(
3790 CONST MSG *lpMsg);
3791
3792 WINBOOL
3793 STDCALL
3794 SetMessageQueue(
3795 int cMessagesMax);
3796
3797 WINBOOL
3798 STDCALL
3799 RegisterHotKey(
3800 HWND hWnd ,
3801 int anID,
3802 UINT fsModifiers,
3803 UINT vk);
3804
3805
3806 WINBOOL
3807 STDCALL
3808 UnregisterHotKey(
3809 HWND hWnd,
3810 int anID);
3811
3812
3813 WINBOOL
3814 STDCALL
3815 ExitWindowsEx(
3816 UINT uFlags,
3817 DWORD dwReserved);
3818
3819
3820 WINBOOL
3821 STDCALL
3822 SwapMouseButton(
3823 WINBOOL fSwap);
3824
3825
3826 DWORD
3827 STDCALL
3828 GetMessagePos(
3829 VOID);
3830
3831
3832 LONG
3833 STDCALL
3834 GetMessageTime(
3835 VOID);
3836
3837
3838 LONG
3839 STDCALL
3840 GetMessageExtraInfo(
3841 VOID);
3842
3843
3844 LPARAM
3845 STDCALL
3846 SetMessageExtraInfo(
3847 LPARAM lParam);
3848
3849
3850 long
3851 STDCALL
3852 BroadcastSystemMessage(
3853 DWORD,
3854 LPDWORD,
3855 UINT,
3856 WPARAM,
3857 LPARAM);
3858
3859 WINBOOL
3860 STDCALL
3861 AttachThreadInput(
3862 DWORD idAttach,
3863 DWORD idAttachTo,
3864 WINBOOL fAttach);
3865
3866
3867 WINBOOL
3868 STDCALL
3869 ReplyMessage(
3870 LRESULT lResult);
3871
3872
3873 WINBOOL
3874 STDCALL
3875 WaitMessage(
3876 VOID);
3877
3878
3879 DWORD
3880 STDCALL
3881 WaitForInputIdle(
3882 HANDLE hProcess,
3883 DWORD dwMilliseconds);
3884
3885
3886 VOID
3887 STDCALL
3888 PostQuitMessage(
3889 int nExitCode);
3890
3891 WINBOOL
3892 STDCALL
3893 InSendMessage(
3894 VOID);
3895
3896
3897 UINT
3898 STDCALL
3899 GetDoubleClickTime(
3900 VOID);
3901
3902
3903 WINBOOL
3904 STDCALL
3905 SetDoubleClickTime(
3906 UINT);
3907
3908
3909 WINBOOL
3910 STDCALL
3911 IsWindow(
3912 HWND hWnd);
3913
3914
3915 WINBOOL
3916 STDCALL
3917 IsMenu(
3918 HMENU hMenu);
3919
3920
3921 WINBOOL
3922 STDCALL
3923 IsChild(
3924 HWND hWndParent,
3925 HWND hWnd);
3926
3927
3928 WINBOOL
3929 STDCALL
3930 DestroyWindow(
3931 HWND hWnd);
3932
3933
3934 WINBOOL
3935 STDCALL
3936 ShowWindow(
3937 HWND hWnd,
3938 int nCmdShow);
3939
3940
3941 WINBOOL
3942 STDCALL
3943 ShowWindowAsync(
3944 HWND hWnd,
3945 int nCmdShow);
3946
3947
3948 WINBOOL
3949 STDCALL
3950 FlashWindow(
3951 HWND hWnd,
3952 WINBOOL bInvert);
3953
3954
3955 WINBOOL
3956 STDCALL
3957 ShowOwnedPopups(
3958 HWND hWnd,
3959 WINBOOL fShow);
3960
3961
3962 WINBOOL
3963 STDCALL
3964 OpenIcon(
3965 HWND hWnd);
3966
3967
3968 WINBOOL
3969 STDCALL
3970 CloseWindow(
3971 HWND hWnd);
3972
3973
3974 WINBOOL
3975 STDCALL
3976 MoveWindow(
3977 HWND hWnd,
3978 int X,
3979 int Y,
3980 int nWidth,
3981 int nHeight,
3982 WINBOOL bRepaint);
3983
3984
3985 WINBOOL
3986 STDCALL
3987 SetWindowPos(
3988 HWND hWnd,
3989 HWND hWndInsertAfter ,
3990 int X,
3991 int Y,
3992 int cx,
3993 int cy,
3994 UINT uFlags);
3995
3996
3997 WINBOOL
3998 STDCALL
3999 GetWindowPlacement(
4000 HWND hWnd,
4001 WINDOWPLACEMENT *lpwndpl);
4002
4003
4004 WINBOOL
4005 STDCALL
4006 SetWindowPlacement(
4007 HWND hWnd,
4008 CONST WINDOWPLACEMENT *lpwndpl);
4009
4010
4011 HDWP
4012 STDCALL
4013 BeginDeferWindowPos(
4014 int nNumWindows);
4015
4016
4017 HDWP
4018 STDCALL
4019 DeferWindowPos(
4020 HDWP hWinPosInfo,
4021 HWND hWnd,
4022 HWND hWndInsertAfter,
4023 int x,
4024 int y,
4025 int cx,
4026 int cy,
4027 UINT uFlags);
4028
4029
4030 WINBOOL
4031 STDCALL
4032 EndDeferWindowPos(
4033 HDWP hWinPosInfo);
4034
4035
4036 WINBOOL
4037 STDCALL
4038 IsWindowVisible(
4039 HWND hWnd);
4040
4041
4042 WINBOOL
4043 STDCALL
4044 IsIconic(
4045 HWND hWnd);
4046
4047
4048 WINBOOL
4049 STDCALL
4050 AnyPopup(
4051 VOID);
4052
4053
4054 WINBOOL
4055 STDCALL
4056 BringWindowToTop(
4057 HWND hWnd);
4058
4059
4060 WINBOOL
4061 STDCALL
4062 IsZoomed(
4063 HWND hWnd);
4064
4065
4066 WINBOOL
4067 STDCALL
4068 EndDialog(
4069 HWND hDlg,
4070 int nResult);
4071
4072
4073 HWND
4074 STDCALL
4075 GetDlgItem(
4076 HWND hDlg,
4077 int nIDDlgItem);
4078
4079
4080 WINBOOL
4081 STDCALL
4082 SetDlgItemInt(
4083 HWND hDlg,
4084 int nIDDlgItem,
4085 UINT uValue,
4086 WINBOOL bSigned);
4087
4088
4089 UINT
4090 STDCALL
4091 GetDlgItemInt(
4092 HWND hDlg,
4093 int nIDDlgItem,
4094 WINBOOL *lpTranslated,
4095 WINBOOL bSigned);
4096
4097
4098 WINBOOL
4099 STDCALL
4100 CheckDlgButton(
4101 HWND hDlg,
4102 int nIDButton,
4103 UINT uCheck);
4104
4105
4106 WINBOOL
4107 STDCALL
4108 CheckRadioButton(
4109 HWND hDlg,
4110 int nIDFirstButton,
4111 int nIDLastButton,
4112 int nIDCheckButton);
4113
4114
4115 UINT
4116 STDCALL
4117 IsDlgButtonChecked(
4118 HWND hDlg,
4119 int nIDButton);
4120
4121
4122 HWND
4123 STDCALL
4124 GetNextDlgGroupItem(
4125 HWND hDlg,
4126 HWND hCtl,
4127 WINBOOL bPrevious);
4128
4129
4130 HWND
4131 STDCALL
4132 GetNextDlgTabItem(
4133 HWND hDlg,
4134 HWND hCtl,
4135 WINBOOL bPrevious);
4136
4137
4138 int
4139 STDCALL
4140 GetDlgCtrlID(
4141 HWND hWnd);
4142
4143
4144 long
4145 STDCALL
4146 GetDialogBaseUnits(VOID);
4147
4148 WINBOOL
4149 STDCALL
4150 OpenClipboard(
4151 HWND hWndNewOwner);
4152
4153
4154 WINBOOL
4155 STDCALL
4156 CloseClipboard(
4157 VOID);
4158
4159
4160 HWND
4161 STDCALL
4162 GetClipboardOwner(
4163 VOID);
4164
4165
4166 HWND
4167 STDCALL
4168 SetClipboardViewer(
4169 HWND hWndNewViewer);
4170
4171
4172 HWND
4173 STDCALL
4174 GetClipboardViewer(