4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
41 DWORD (CALLBACK
*PPROGRESS_ROUTINE
)(
42 LARGE_INTEGER TotalFileSize
,
43 LARGE_INTEGER TotalBytesTransferred
,
44 LARGE_INTEGER StreamSize
,
45 LARGE_INTEGER StreamBytesTransferred
,
49 HANDLE DestinationFile
,
51 typedef PPROGRESS_ROUTINE LPPROGRESS_ROUTINE
;
53 /* These functions were a real pain, having to figure out which
54 had Unicode/Ascii versions and which did not */
58 #endif /* !UNICODE_ONLY */
62 //#endif /* !ANSI_ONLY */
64 /* Define the approprate declaration based upon UNICODE or ASCII */
66 #ifndef _DISABLE_TIDENTS
70 #define RegConnectRegistry RegConnectRegistryW
71 #define RegCreateKey RegCreateKeyW
72 #define RegCreateKeyEx RegCreateKeyExW
73 #define RegDeleteKey RegDeleteKeyW
74 #define RegDeleteValue RegDeleteValueW
75 #define RegEnumKey RegEnumKeyW
76 #define RegEnumKeyEx RegEnumKeyExW
77 #define RegEnumValue RegEnumValueW
78 #define RegLoadKey RegLoadKeyW
79 #define RegOpenKey RegOpenKeyW
80 #define RegOpenKeyEx RegOpenKeyExW
81 #define RegQueryInfoKey RegQueryInfoKeyW
82 #define RegQueryValue RegQueryValueW
83 #define RegQueryMultipleValues RegQueryMultipleValuesW
84 #define RegQueryValueEx RegQueryValueExW
85 #define RegReplaceKey RegReplaceKeyW
86 #define RegRestoreKey RegRestoreKeyW
87 #define RegSaveKey RegSaveKeyW
88 #define RegSetValue RegSetValueW
89 #define ChangeServiceConfig2 ChangeServiceConfig2W
90 #define EnumServicesStatusEx EnumServicesStatusExW
91 #define QueryServiceConfig2 QueryServiceConfig2W
92 #define RegisterServiceCtrlHandlerEx RegisterServiceCtrlHandlerExW
93 #define RegSetValueEx RegSetValueExW
94 #define AbortSystemShutdown AbortSystemShutdownW
95 #define InitiateSystemShutdown InitiateSystemShutdownW
96 #define RegUnLoadKey RegUnLoadKeyW
97 #define SetProp SetPropW
98 #define GetProp GetPropW
99 #define RemoveProp RemovePropW
100 #define EnumPropsEx EnumPropsExW
101 #define EnumProps EnumPropsW
102 #define SetWindowText SetWindowTextW
103 #define GetWindowText GetWindowTextW
104 #define GetWindowTextLength GetWindowTextLengthW
105 #define MessageBox MessageBoxW
106 #define MessageBoxEx MessageBoxExW
107 #define MessageBoxIndirect MessageBoxIndirectW
108 #define GetWindowLong GetWindowLongW
109 #define SetWindowLong SetWindowLongW
110 #define GetWindowLongPtr GetWindowLongW
111 #define SetWindowLongPtr SetWindowLongW
112 #define GetClassLong GetClassLongW
113 #define SetClassLong SetClassLongW
114 #define FindWindow FindWindowW
115 #define FindWindowEx FindWindowExW
116 #define GetClassName GetClassNameW
117 #define SetWindowsHookEx SetWindowsHookExW
118 #define SetWindowsHook SetWindowsHookW
119 #define LoadBitmap LoadBitmapW
120 #define LoadCursor LoadCursorW
121 #define LoadCursorFromFile LoadCursorFromFileW
122 #define LoadIcon LoadIconW
123 #define LoadImage LoadImageW
124 #define LoadString LoadStringW
125 #define IsDialogMessage IsDialogMessageW
126 #define DlgDirList DlgDirListW
127 #define DlgDirSelectEx DlgDirSelectExW
128 #define DlgDirListComboBox DlgDirListComboBoxW
129 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
130 #define DefFrameProc DefFrameProcW
131 #define DefMDIChildProc DefMDIChildProcW
132 #define CreateMDIWindow CreateMDIWindowW
133 #define WinHelp WinHelpW
134 #define ChangeDisplaySettings ChangeDisplaySettingsW
135 #define EnumDisplaySettings EnumDisplaySettingsW
136 #define SystemParametersInfo SystemParametersInfoW
137 #define AddFontResource AddFontResourceW
138 #define CopyMetaFile CopyMetaFileW
139 #define CreateDC CreateDCW
140 #define CreateFontIndirect CreateFontIndirectW
141 #define CreateFont CreateFontW
142 #define CreateIC CreateICW
143 #define CreateMetaFile CreateMetaFileW
144 #define CreateScalableFontResource CreateScalableFontResourceW
145 #define DeviceCapabilities DeviceCapabilitiesW
146 #define EnumFontFamiliesEx EnumFontFamiliesExW
147 #define EnumFontFamilies EnumFontFamiliesW
148 #define EnumFonts EnumFontsW
149 #define GetCharWidth GetCharWidthW
150 #define GetCharWidth32 GetCharWidth32W
151 #define GetCharWidthFloat GetCharWidthFloatW
152 #define GetCharABCWidths GetCharABCWidthsW
153 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
154 #define GetGlyphOutline GetGlyphOutlineW
155 #define GetMetaFile GetMetaFileW
156 #define GetOutlineTextMetrics GetOutlineTextMetricsW
157 #define GetTextExtentPoint GetTextExtentPointW
158 #define GetTextExtentPoint32 GetTextExtentPoint32W
159 #define GetTextExtentExPoint GetTextExtentExPointW
160 #define GetCharacterPlacement GetCharacterPlacementW
161 #define ResetDC ResetDCW
162 #define RemoveFontResource RemoveFontResourceW
163 #define CopyEnhMetaFile CopyEnhMetaFileW
164 #define CreateEnhMetaFile CreateEnhMetaFileW
165 #define GetEnhMetaFile GetEnhMetaFileW
166 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
167 #define GetTextMetrics GetTextMetricsW
168 #define StartDoc StartDocW
169 #define GetObject GetObjectW
170 #define TextOut TextOutW
171 #define ExtTextOut ExtTextOutW
172 #define PolyTextOut PolyTextOutW
173 #define GetTextFace GetTextFaceW
174 #define GetKerningPairs GetKerningPairsW
175 #define GetLogColorSpace GetLogColorSpaceW
176 #define CreateColorSpace CreateColorSpaceW
177 #define GetICMProfile GetICMProfileW
178 #define SetICMProfile SetICMProfileW
179 #define UpdateICMRegKey UpdateICMRegKeyW
180 #define EnumICMProfiles EnumICMProfilesW
181 #define CreatePropertySheetPage CreatePropertySheetPageW
182 #define PropertySheet PropertySheetW
183 #define ImageList_LoadImage ImageList_LoadImageW
184 #define CreateStatusWindow CreateStatusWindowW
185 #define DrawStatusText DrawStatusTextW
186 #define GetOpenFileName GetOpenFileNameW
187 #define GetSaveFileName GetSaveFileNameW
188 #define GetFileTitle GetFileTitleW
189 #define ChooseColor ChooseColorW
190 #define FindText FindTextW
191 #define ReplaceText ReplaceTextW
192 #define ChooseFont ChooseFontW
193 #define PrintDlg PrintDlgW
194 #define PageSetupDlg PageSetupDlgW
195 #define DefWindowProc DefWindowProcW
196 #define CallWindowProc CallWindowProcW
197 #define RegisterClass RegisterClassW
198 #define UnregisterClass UnregisterClassW
199 #define GetClassInfo GetClassInfoW
200 #define RegisterClassEx RegisterClassExW
201 #define GetClassInfoEx GetClassInfoExW
202 #define CreateWindowEx CreateWindowExW
203 #define CreateWindow CreateWindowW
204 #define CreateDialogParam CreateDialogParamW
205 #define CreateDialogIndirectParam CreateDialogIndirectParamW
206 #define CreateDialog CreateDialogW
207 #define CreateDialogIndirect CreateDialogIndirectW
208 #define DialogBoxParam DialogBoxParamW
209 #define DialogBoxIndirectParam DialogBoxIndirectParamW
210 #define DialogBox DialogBoxW
211 #define DialogBoxIndirect DialogBoxIndirectW
212 #define RegisterClipboardFormat RegisterClipboardFormatW
213 #define SetDlgItemText SetDlgItemTextW
214 #define GetDlgItemText GetDlgItemTextW
215 #define SendDlgItemMessage SendDlgItemMessageW
216 #define DefDlgProc DefDlgProcW
217 #define GetClipboardFormatName GetClipboardFormatNameW
218 #define CharToOem CharToOemW
219 #define OemToChar OemToCharW
220 #define CharToOemBuff CharToOemBuffW
221 #define OemToCharBuff OemToCharBuffW
222 #define CharUpper CharUpperW
223 #define CharUpperBuff CharUpperBuffW
224 #define CharLower CharLowerW
225 #define CharLowerBuff CharLowerBuffW
226 #define CharNext CharNextW
227 #define CharPrev CharPrevW
228 #define IsCharAlpha IsCharAlphaW
229 #define IsCharAlphaNumeric IsCharAlphaNumericW
230 #define IsCharUpper IsCharUpperW
231 #define IsCharLower IsCharLowerW
232 #define GetKeyNameText GetKeyNameTextW
233 #define VkKeyScan VkKeyScanW
234 #define VkKeyScanEx VkKeyScanExW
235 #define MapVirtualKey MapVirtualKeyW
236 #define MapVirtualKeyEx MapVirtualKeyExW
237 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointW
238 #define FindNextVolume FindNextVolumeW
239 #define LoadAccelerators LoadAcceleratorsW
240 #define CreateAcceleratorTable CreateAcceleratorTableW
241 #define CopyAcceleratorTable CopyAcceleratorTableW
242 #define TranslateAccelerator TranslateAcceleratorW
243 #define LoadMenu LoadMenuW
244 #define LoadMenuIndirect LoadMenuIndirectW
245 #define ChangeMenu ChangeMenuW
246 #define GetMenuString GetMenuStringW
247 #define InsertMenu InsertMenuW
248 #define AppendMenu AppendMenuW
249 #define ModifyMenu ModifyMenuW
250 #define InsertMenuItem InsertMenuItemW
251 #define GetMenuItemInfo GetMenuItemInfoW
252 #define SetMenuItemInfo SetMenuItemInfoW
253 #define DrawText DrawTextW
254 #define DrawTextEx DrawTextExW
255 #define GrayString GrayStringW
256 #define CreateJobObject CreateJobObjectW
257 #define DrawState DrawStateW
258 #define TabbedTextOut TabbedTextOutW
259 #define GetTabbedTextExtent GetTabbedTextExtentW
260 #define GetVersionEx GetVersionExW
261 #define wvsprintf wvsprintfW
262 #define wsprintf wsprintfW
263 #define LoadKeyboardLayout LoadKeyboardLayoutW
264 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
265 #define CreateDesktop CreateDesktopW
266 #define OpenDesktop OpenDesktopW
267 #define EnumDesktops EnumDesktopsW
268 #define CreateWindowStation CreateWindowStationW
269 #define OpenWindowStation OpenWindowStationW
270 #define EnumWindowStations EnumWindowStationsW
271 #define IsBadStringPtr IsBadStringPtrW
272 #define LookupAccountSid LookupAccountSidW
273 #define LookupAccountName LookupAccountNameW
274 #define LookupPrivilegeValue LookupPrivilegeValueW
275 #define LookupPrivilegeName LookupPrivilegeNameW
276 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
277 #define BuildCommDCB BuildCommDCBW
278 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
279 #define CommConfigDialog CommConfigDialogW
280 #define GetDefaultCommConfig GetDefaultCommConfigW
281 #define SetDefaultCommConfig SetDefaultCommConfigW
282 #define GetComputerName GetComputerNameW
283 #define SetComputerName SetComputerNameW
284 #define GetUserName GetUserNameW
285 #define CreateMailslot CreateMailslotW
286 #define FormatMessage FormatMessageW
287 #define GetEnvironmentStrings GetEnvironmentStringsW
288 #define FreeEnvironmentStrings FreeEnvironmentStringsW
289 #define lstrcmp lstrcmpW
290 #define GetRawInputDeviceInfo GetRawInputDeviceInfoW
291 #define BroadcastSystemMessageEx BroadcastSystemMessageExW
292 #define lstrcmpi lstrcmpiW
293 #define lstrcpyn lstrcpynW
294 #define lstrcpy lstrcpyW
295 #define lstrcat lstrcatW
296 #define lstrlen lstrlenW
297 #define GetBinaryType GetBinaryTypeW
298 #define GetShortPathName GetShortPathNameW
299 #define SetFileSecurity SetFileSecurityW
300 #define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3W
301 #define CreateHardLink CreateHardLinkW
302 #define GetFileSecurity GetFileSecurityW
303 #define FindFirstChangeNotification FindFirstChangeNotificationW
304 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
305 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
306 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
307 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
308 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
309 #define OpenEventLog OpenEventLogW
310 #define RegisterEventSource RegisterEventSourceW
311 #define OpenBackupEventLog OpenBackupEventLogW
312 #define ReadEventLog ReadEventLogW
313 #define ReportEvent ReportEventW
314 #define CreateProcess CreateProcessW
315 #define FatalAppExit FatalAppExitW
316 #define CallMessageFilter CallMessageFilterW
317 #define GetAltTabInfo GetAltTabInfoW
318 #define GetStartupInfo GetStartupInfoW
319 #define GetEnvironmentVariable GetEnvironmentVariableW
320 #define GetCommandLine GetCommandLineW
321 #define SetEnvironmentVariable SetEnvironmentVariableW
322 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
323 #define OutputDebugString OutputDebugStringW
324 #define FindResource FindResourceW
325 #define FindResourceEx FindResourceExW
326 #define EnumResourceTypes EnumResourceTypesW
327 #define CreateActCtx CreateActCtxW
328 #define EnumResourceNames EnumResourceNamesW
329 #define EnumResourceLanguages EnumResourceLanguagesW
330 #define BeginUpdateResource BeginUpdateResourceW
331 #define UpdateResource UpdateResourceW
332 #define PrivateExtractIcons PrivateExtractIconsW
333 #define EndUpdateResource EndUpdateResourceW
334 #define GlobalAddAtom GlobalAddAtomW
335 #define GlobalFindAtom GlobalFindAtomW
336 #define GlobalGetAtomName GlobalGetAtomNameW
337 #define AddAtom AddAtomW
338 #define RemoveFontResourceEx RemoveFontResourceExW
339 #define FindAtom FindAtomW
340 #define GetAtomName GetAtomNameW
341 #define GetProfileInt GetProfileIntW
342 #define GetProfileString GetProfileStringW
343 #define WriteProfileString WriteProfileStringW
344 #define ReadEventLog ReadEventLogW
345 #define GetProfileSection GetProfileSectionW
346 #define WriteProfileSection WriteProfileSectionW
347 #define GetPrivateProfileInt GetPrivateProfileIntW
348 #define GetPrivateProfileString GetPrivateProfileStringW
349 #define WritePrivateProfileString WritePrivateProfileStringW
350 #define GetPrivateProfileSection GetPrivateProfileSectionW
351 #define WritePrivateProfileSection WritePrivateProfileSectionW
352 #define GetDriveType GetDriveTypeW
353 #define GetSystemDirectory GetSystemDirectoryW
354 #define FindFirstFileEx FindFirstFileExW
355 #define FindFirstVolume FindFirstVolumeW
356 #define GetTempPath GetTempPathW
357 #define GetTempFileName GetTempFileNameW
358 #define GetWindowsDirectory GetWindowsDirectoryW
359 #define SetCurrentDirectory SetCurrentDirectoryW
360 #define GetCurrentDirectory GetCurrentDirectoryW
361 #define NeedCurrentDirectoryForExePath NeedCurrentDirectoryForExePathW
362 #define GetDiskFreeSpace GetDiskFreeSpaceW
363 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
364 #define CreateDirectory CreateDirectoryW
365 #define CreateDirectoryEx CreateDirectoryExW
366 #define RemoveDirectory RemoveDirectoryW
367 #define GetLongPathName GetLongPathNameW
368 #define GetModuleHandleEx GetModuleHandleExW
369 #define GetFullPathName GetFullPathNameW
370 #define DefineDosDevice DefineDosDeviceW
371 #define QueryDosDevice QueryDosDeviceW
372 #define EnumLanguageGroupLocales EnumLanguageGroupLocalesW
373 #define EnumSystemLanguageGroups EnumSystemLanguageGroupsW
374 #define CreateFile CreateFileW
375 #define SetFileAttributes SetFileAttributesW
376 #define GetFileAttributes GetFileAttributesW
377 #define EncryptFile EncryptFileW
378 #define FileEncryptionStatus FileEncryptionStatusW
379 #define GetFileAttributesEx GetFileAttributesExW
380 #define GetCompressedFileSize GetCompressedFileSizeW
381 #define DeleteFile DeleteFileW
382 #define FindFirstFileEx FindFirstFileExW
383 #define SetFileShortName SetFileShortNameW
384 #define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableW
385 #define FindFirstFile FindFirstFileW
386 #define FindNextFile FindNextFileW
387 #define SearchPath SearchPathW
388 #define CopyFile CopyFileW
389 #define CopyFileEx CopyFileExW
390 #define MoveFile MoveFileW
391 #define MoveFileEx MoveFileExW
392 #define MoveFileWithProgress MoveFileWithProgressW
393 #define CreateFontIndirectEx CreateFontIndirectExW
394 #define CreateNamedPipe CreateNamedPipeW
395 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
396 #define CallNamedPipe CallNamedPipeW
397 #define IMPGetIME IMPGetIMEW
398 #define WaitNamedPipe WaitNamedPipeW
399 #define SetVolumeLabel SetVolumeLabelW
400 #define GetVolumeInformation GetVolumeInformationW
401 #define ClearEventLog ClearEventLogW
402 #define BackupEventLog BackupEventLogW
403 #define CreateMutex CreateMutexW
404 #define OpenMutex OpenMutexW
405 #define CreateEvent CreateEventW
406 #define OpenEvent OpenEventW
407 #define CreateSemaphore CreateSemaphoreW
408 #define OpenSemaphore OpenSemaphoreW
409 #define CreateFileMapping CreateFileMappingW
410 #define OpenFileMapping OpenFileMappingW
411 #define GetLogicalDriveStrings GetLogicalDriveStringsW
412 #define LoadLibrary LoadLibraryW
413 #define LoadLibraryEx LoadLibraryExW
414 #define FindNextVolumeMountPoint FindNextVolumeMountPointW
415 #define GetComputerNameEx GetComputerNameExW
416 #define GetModuleFileName GetModuleFileNameW
417 #define GetModuleHandle GetModuleHandleW
418 #define GetUserObjectInformation GetUserObjectInformationW
419 #define SetUserObjectInformation SetUserObjectInformationW
420 #define RegisterWindowMessage RegisterWindowMessageW
421 #define GetMessage GetMessageW
422 #define DispatchMessage DispatchMessageW
423 #define SendIMEMessageEx SendIMEMessageExW
424 #define PeekMessage PeekMessageW
425 #define SendMessage SendMessageW
426 #define SendMessageTimeout SendMessageTimeoutW
427 #define IMPSetIME IMPSetIMEW
428 #define IMPQueryIME IMPQueryIMEW
429 #define SendNotifyMessage SendNotifyMessageW
430 #define SendMessageCallback SendMessageCallbackW
431 #define BackupEventLog BackupEventLogW
432 #define ClearEventLog ClearEventLogW
433 #define PostMessage PostMessageW
434 #define PostThreadMessage PostThreadMessageW
435 #define OpenBackupEventLog OpenBackupEventLogW
436 #define OpenEncryptedFileRaw OpenEncryptedFileRawW
437 #define VerFindFile VerFindFileW
438 #define VerInstallFile VerInstallFileW
439 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
440 #define GetStringBitmap GetStringBitmapW
441 #define GetGlyphIndices GetGlyphIndicesW
442 #define GetFileVersionInfo GetFileVersionInfoW
443 #define VerLanguageName VerLanguageNameW
444 #define VerQueryValue VerQueryValueW
445 #define CompareString CompareStringW
446 #define LCMapString LCMapStringW
447 #define GetLocaleInfo GetLocaleInfoW
448 #define GetDllDirectory GetDllDirectoryW
449 #define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableW
450 #define SetLocaleInfo SetLocaleInfoW
451 #define GetTimeFormat GetTimeFormatW
452 #define GetDateFormat GetDateFormatW
453 #define GetNumberFormat GetNumberFormatW
454 #define GetCurrencyFormat GetCurrencyFormatW
455 #define EnumCalendarInfo EnumCalendarInfoW
456 #define EnumTimeFormats EnumTimeFormatsW
457 #define CreateProcessAsUser CreateProcessAsUserW
458 #define DecryptFile DecryptFileW
459 #define FoldString FoldStringW
460 #define EnumSystemCodePages EnumSystemCodePagesW
461 #define EnumSystemLocales EnumSystemLocalesW
462 #define GetStringTypeEx GetStringTypeExW
463 #define EnumDateFormats EnumDateFormatsW
464 #define GetConsoleTitle GetConsoleTitleW
465 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
466 #define SetConsoleTitle SetConsoleTitleW
467 #define ReadConsole ReadConsoleW
468 #define WriteConsole WriteConsoleW
469 #define PeekConsoleInput PeekConsoleInputW
470 #define ReadConsoleInput ReadConsoleInputW
471 #define WriteConsoleInput WriteConsoleInputW
472 #define ReadConsoleOutput ReadConsoleOutputW
473 #define WriteConsoleOutput WriteConsoleOutputW
474 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
475 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
476 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
477 #define WNetGetProviderName WNetGetProviderNameW
478 #define SetCalendarInfo SetCalendarInfoW
479 #define EnumUILanguages EnumUILanguagesW
480 #define GetSystemWow64Directory GetSystemWow64DirectoryW
481 #define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointW
482 #define WNetGetNetworkInformation WNetGetNetworkInformationW
483 #define GetCurrentHwProfile GetCurrentHwProfileW
484 #define LogonUser LogonUserW
485 #define WNetGetLastError WNetGetLastErrorW
486 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
487 #define WNetConnectionDialog1 WNetConnectionDialog1W
488 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
489 #define WNetOpenEnum WNetOpenEnumW
490 #define WNetEnumResource WNetEnumResourceW
491 #define WNetGetUniversalName WNetGetUniversalNameW
492 #define WNetGetUser WNetGetUserW
493 #define WNetAddConnection WNetAddConnectionW
494 #define WNetAddConnection2 WNetAddConnection2W
495 #define WNetAddConnection3 WNetAddConnection3W
496 #define DnsHostnameToComputerName DnsHostnameToComputerNameW
497 #define FindActCtxSectionString FindActCtxSectionStringW
498 #define WNetCancelConnection WNetCancelConnectionW
499 #define OpenEventLog OpenEventLogW
500 #define WNetCancelConnection2 WNetCancelConnection2W
501 #define WNetGetConnection WNetGetConnectionW
502 #define WNetUseConnection WNetUseConnectionW
503 #define WNetSetConnection WNetSetConnectionW
504 #define CreateService CreateServiceW
505 #define ChangeServiceConfig ChangeServiceConfigW
506 #define LogonUserEx LogonUserExW
507 #define EnumDependentServices EnumDependentServicesW
508 #define EnumServicesStatus EnumServicesStatusW
509 #define GetServiceKeyName GetServiceKeyNameW
510 #define GetVolumePathName GetVolumePathNameW
511 #define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameW
512 #define GetServiceDisplayName GetServiceDisplayNameW
513 #define OpenSCManager OpenSCManagerW
514 #define SetVolumeMountPoint SetVolumeMountPointW
515 #define VerifyVersionInfo VerifyVersionInfoW
516 #define RegisterDeviceNotification RegisterDeviceNotificationW
517 #define OpenService OpenServiceW
518 #define QueryServiceConfig QueryServiceConfigW
519 #define QueryServiceLockStatus QueryServiceLockStatusW
520 #define GetGeoInfo GetGeoInfoW
521 #define EnumDateFormatsEx EnumDateFormatsExW
522 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
523 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
524 #define EnumCalendarInfoEx EnumCalendarInfoExW
525 #define GetCalendarInfo GetCalendarInfoW
526 #define StartService StartServiceW
527 #define DragQueryFile DragQueryFileW
528 #define GetCPInfoEx GetCPInfoExW
529 #define ExtractAssociatedIcon ExtractAssociatedIconW
530 #define ExtractIcon ExtractIconW
531 #define FindExecutable FindExecutableW
532 #define RegSaveKeyEx RegSaveKeyExW
533 #define InitiateSystemShutdownEx InitiateSystemShutdownExW
534 #define ShellAbout ShellAboutW
535 #define DeleteVolumeMountPoint DeleteVolumeMountPointW
536 #define ShellExecute ShellExecuteW
537 #define DdeCreateStringHandle DdeCreateStringHandleW
538 #define DdeInitialize DdeInitializeW
539 #define DdeQueryString DdeQueryStringW
540 #define OpenJobObject OpenJobObjectW
541 #define ReplaceFile ReplaceFileW
542 #define CreateProcessAsUser CreateProcessAsUserW
543 #define SHGetFileInfo SHGetFileInfoW
544 #define SetComputerNameEx SetComputerNameExW
545 #define SetDllDirectory SetDllDirectoryW
546 #define SHGetPathFromIDList SHGetPathFromIDListW
551 #define RegConnectRegistry RegConnectRegistryA
552 #define RegCreateKey RegCreateKeyA
553 #define InitiateSystemShutdownEx InitiateSystemShutdownExA
554 #define RegCreateKeyEx RegCreateKeyExA
555 #define RegDeleteKey RegDeleteKeyA
556 #define RegDeleteValue RegDeleteValueA
557 #define EnumSystemLanguageGroups EnumSystemLanguageGroupsA
558 #define GetGeoInfo GetGeoInfoA
559 #define RegEnumKey RegEnumKeyA
560 #define RegEnumKeyEx RegEnumKeyExA
561 #define GetCalendarInfo GetCalendarInfoA
562 #define LogonUser LogonUserA
563 #define GetCPInfoEx GetCPInfoExA
564 #define RegEnumValue RegEnumValueA
565 #define RegLoadKey RegLoadKeyA
566 #define RegOpenKey RegOpenKeyA
567 #define RegOpenKeyEx RegOpenKeyExA
568 #define FileEncryptionStatus FileEncryptionStatusA
569 #define GetCurrentHwProfile GetCurrentHwProfileA
570 #define LogonUserEx LogonUserExA
571 #define RegQueryInfoKey RegQueryInfoKeyA
572 #define RegQueryValue RegQueryValueA
573 #define RegQueryMultipleValues RegQueryMultipleValuesA
574 #define RegQueryValueEx RegQueryValueExA
575 #define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableA
576 #define GetLongPathName GetLongPathNameA
577 #define RegReplaceKey RegReplaceKeyA
578 #define RegRestoreKey RegRestoreKeyA
579 #define RegSaveKey RegSaveKeyA
580 #define RegSetValue RegSetValueA
581 #define RegSetValueEx RegSetValueExA
582 #define AbortSystemShutdown AbortSystemShutdownA
583 #define InitiateSystemShutdown InitiateSystemShutdownA
584 #define RegUnLoadKey RegUnLoadKeyA
585 #define LoadIcon LoadIconA
586 #define LoadImage LoadImageA
587 #define LoadString LoadStringA
588 #define IsDialogMessage IsDialogMessageA
589 #define DlgDirList DlgDirListA
590 #define DlgDirSelectEx DlgDirSelectExA
591 #define DlgDirListComboBox DlgDirListComboBoxA
592 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
593 #define DefFrameProc DefFrameProcA
594 #define DefMDIChildProc DefMDIChildProcA
595 #define EnumUILanguages EnumUILanguagesA
596 #define EnumLanguageGroupLocales EnumLanguageGroupLocalesA
597 #define CreateMDIWindow CreateMDIWindowA
598 #define FindNextVolume FindNextVolumeA
599 #define FindNextVolumeMountPoint FindNextVolumeMountPointA
600 #define GetComputerNameEx GetComputerNameExA
601 #define OpenEncryptedFileRaw OpenEncryptedFileRawA
602 #define OpenEventLog OpenEventLogA
603 #define VerifyVersionInfo VerifyVersionInfoA
604 #define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableA
605 #define SetVolumeMountPoint SetVolumeMountPointA
606 #define GetModuleHandleEx GetModuleHandleExA
607 #define GetSystemWow64Directory GetSystemWow64DirectoryA
608 #define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointA
609 #define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameA
610 #define OpenJobObject OpenJobObjectA
611 #define GetVolumePathName GetVolumePathNameA
612 #define GetDllDirectory GetDllDirectoryA
613 #define WinHelp WinHelpA
614 #define ChangeDisplaySettings ChangeDisplaySettingsA
615 #define EnumDisplaySettings EnumDisplaySettingsA
616 #define SystemParametersInfo SystemParametersInfoA
617 #define GetWindowLong GetWindowLongA
618 #define SetWindowLong SetWindowLongA
619 #define GetClassLong GetClassLongA
620 #define SetClassLong SetClassLongA
621 #define FindWindow FindWindowA
622 #define FindWindowEx FindWindowExA
623 #define GetClassName GetClassNameA
624 #define SetWindowsHookEx SetWindowsHookExA
625 #define SetWindowsHook SetWindowsHookA
626 #define LoadBitmap LoadBitmapA
627 #define LoadCursor LoadCursorA
628 #define LoadCursorFromFile LoadCursorFromFileA
629 #define ReadEventLog ReadEventLogA
630 #define ReplaceFile ReplaceFileA
631 #define SetDllDirectory SetDllDirectoryA
632 #define EnumDateFormatsEx EnumDateFormatsExA
633 #define EnumCalendarInfoEx EnumCalendarInfoExA
634 #define SetFileShortName SetFileShortNameA
635 #define SetComputerNameEx SetComputerNameExA
636 #define SetProp SetPropA
637 #define GetProp GetPropA
638 #define RemoveProp RemovePropA
639 #define EnumPropsEx EnumPropsExA
640 #define EnumProps EnumPropsA
641 #define CreateHardLink CreateHardLinkA
642 #define CreateJobObject CreateJobObjectA
643 #define SetWindowText SetWindowTextA
644 #define GetWindowText GetWindowTextA
645 #define GetWindowTextLength GetWindowTextLengthA
646 #define MessageBox MessageBoxA
647 #define MessageBoxEx MessageBoxExA
648 #define MessageBoxIndirect MessageBoxIndirectA
649 #define AddFontResource AddFontResourceA
650 #define CopyMetaFile CopyMetaFileA
651 #define CreateDC CreateDCA
652 #define CreateFontIndirect CreateFontIndirectA
653 #define CreateFont CreateFontA
654 #define CreateIC CreateICA
655 #define CreateMetaFile CreateMetaFileA
656 #define CreateScalableFontResource CreateScalableFontResourceA
657 #define DeviceCapabilities DeviceCapabilitiesA
658 #define EnumFontFamiliesEx EnumFontFamiliesExA
659 #define EnumFontFamilies EnumFontFamiliesA
660 #define EnumFonts EnumFontsA
661 #define GetCharWidth GetCharWidthA
662 #define GetCharWidth32 GetCharWidth32A
663 #define GetCharWidthFloat GetCharWidthFloatA
664 #define FindFirstVolume FindFirstVolumeA
665 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
666 #define GetCharABCWidths GetCharABCWidthsA
667 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
668 #define GetGlyphOutline GetGlyphOutlineA
669 #define GetMetaFile GetMetaFileA
670 #define GetOutlineTextMetrics GetOutlineTextMetricsA
671 #define GetTextExtentPoint GetTextExtentPointA
672 #define GetTextExtentPoint32 GetTextExtentPoint32A
673 #define GetTextExtentExPoint GetTextExtentExPointA
674 #define GetCharacterPlacement GetCharacterPlacementA
675 #define ResetDC ResetDCA
676 #define RemoveFontResource RemoveFontResourceA
677 #define CopyEnhMetaFile CopyEnhMetaFileA
678 #define CreateEnhMetaFile CreateEnhMetaFileA
679 #define GetEnhMetaFile GetEnhMetaFileA
680 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
681 #define GetTextMetrics GetTextMetricsA
682 #define StartDoc StartDocA
683 #define GetObject GetObjectA
684 #define TextOut TextOutA
685 #define ExtTextOut ExtTextOutA
686 #define PolyTextOut PolyTextOutA
687 #define GetTextFace GetTextFaceA
688 #define GetKerningPairs GetKerningPairsA
689 #define GetLogColorSpace GetLogColorSpaceA
690 #define CreateColorSpace CreateColorSpaceA
691 #define GetICMProfile GetICMProfileA
692 #define DecryptFile DecryptFileA
693 #define EncryptFile EncryptFileA
694 #define SetICMProfile SetICMProfileA
695 #define UpdateICMRegKey UpdateICMRegKeyA
696 #define EnumICMProfiles EnumICMProfilesA
697 #define CreatePropertySheetPage CreatePropertySheetPageA
698 #define PropertySheet PropertySheetA
699 #define ImageList_LoadImage ImageList_LoadImageA
700 #define CreateStatusWindow CreateStatusWindowA
701 #define DrawStatusText DrawStatusTextA
702 #define GetOpenFileName GetOpenFileNameA
703 #define GetSaveFileName GetSaveFileNameA
704 #define GetFileTitle GetFileTitleA
705 #define IMPSetIME IMPSetIMEA
706 #define ChooseColor ChooseColorA
707 #define FindText FindTextA
708 #define ReplaceText ReplaceTextA
709 #define ChooseFont ChooseFontA
710 #define PrintDlg PrintDlgA
711 #define PageSetupDlg PageSetupDlgA
712 #define DefWindowProc DefWindowProcA
713 #define CallWindowProc CallWindowProcA
714 #define GetGlyphIndices GetGlyphIndicesA
715 #define CreateFontIndirectEx CreateFontIndirectExA
716 #define RegisterClass RegisterClassA
717 #define UnregisterClass UnregisterClassA
718 #define GetClassInfo GetClassInfoA
719 #define CreateActCtx CreateActCtxA
720 #define RegisterClassEx RegisterClassExA
721 #define GetClassInfoEx GetClassInfoExA
722 #define CreateWindowEx CreateWindowExA
723 #define CreateWindow CreateWindowA
724 #define CreateDialogParam CreateDialogParamA
725 #define CreateDialogIndirectParam CreateDialogIndirectParamA
726 #define CreateDialog CreateDialogA
727 #define CreateDialogIndirect CreateDialogIndirectA
728 #define CreateWaitableTimer CreateWaitableTimerA
729 #define DialogBoxParam DialogBoxParamA
730 #define DialogBoxIndirectParam DialogBoxIndirectParamA
731 #define DialogBox DialogBoxA
732 #define ClearEventLog ClearEventLogA
733 #define CreateProcessAsUser CreateProcessAsUserA
734 #define DialogBoxIndirect DialogBoxIndirectA
735 #define RegisterClipboardFormat RegisterClipboardFormatA
736 #define SetDlgItemText SetDlgItemTextA
737 #define GetDlgItemText GetDlgItemTextA
738 #define SendDlgItemMessage SendDlgItemMessageA
739 #define DefDlgProc DefDlgProcA
740 #define GetClipboardFormatName GetClipboardFormatNameA
741 #define CharToOem CharToOemA
742 #define OemToChar OemToCharA
743 #define CharToOemBuff CharToOemBuffA
744 #define OemToCharBuff OemToCharBuffA
745 #define CharUpper CharUpperA
746 #define CharUpperBuff CharUpperBuffA
747 #define CharLower CharLowerA
748 #define CharLowerBuff CharLowerBuffA
749 #define CharNext CharNextA
750 #define CharPrev CharPrevA
751 #define IsCharAlpha IsCharAlphaA
752 #define IsCharAlphaNumeric IsCharAlphaNumericA
753 #define IsCharUpper IsCharUpperA
754 #define IsCharLower IsCharLowerA
755 #define GetKeyNameText GetKeyNameTextA
756 #define VkKeyScan VkKeyScanA
757 #define RegisterDeviceNotification RegisterDeviceNotificationA
758 #define GetRawInputDeviceInfo GetRawInputDeviceInfoA
759 #define VkKeyScanEx VkKeyScanExA
760 #define MapVirtualKey MapVirtualKeyA
761 #define MapVirtualKeyEx MapVirtualKeyExA
762 #define LoadAccelerators LoadAcceleratorsA
763 #define CreateAcceleratorTable CreateAcceleratorTableA
764 #define CopyAcceleratorTable CopyAcceleratorTableA
765 #define TranslateAccelerator TranslateAcceleratorA
766 #define LoadMenu LoadMenuA
767 #define LoadMenuIndirect LoadMenuIndirectA
768 #define ChangeMenu ChangeMenuA
769 #define GetMenuString GetMenuStringA
770 #define InsertMenu InsertMenuA
771 #define AppendMenu AppendMenuA
772 #define ModifyMenu ModifyMenuA
773 #define InsertMenuItem InsertMenuItemA
774 #define GetMenuItemInfo GetMenuItemInfoA
775 #define SetMenuItemInfo SetMenuItemInfoA
776 #define DrawText DrawTextA
777 #define BroadcastSystemMessageEx BroadcastSystemMessageExA
778 #define DrawTextEx DrawTextExA
779 #define GrayString GrayStringA
780 #define DrawState DrawStateA
781 #define TabbedTextOut TabbedTextOutA
782 #define GetTabbedTextExtent GetTabbedTextExtentA
783 #define GetVersionEx GetVersionExA
784 #define wvsprintf wvsprintfA
785 #define wsprintf wsprintfA
786 #define FindActCtxSectionString FindActCtxSectionStringA
787 #define LoadKeyboardLayout LoadKeyboardLayoutA
788 #define FindFirstFileEx FindFirstFileExA
789 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
790 #define CreateDesktop CreateDesktopA
791 #define OpenDesktop OpenDesktopA
792 #define EnumDesktops EnumDesktopsA
793 #define CreateWindowStation CreateWindowStationA
794 #define OpenWindowStation OpenWindowStationA
795 #define EnumWindowStations EnumWindowStationsA
796 #define IsBadStringPtr IsBadStringPtrA
797 #define LookupAccountSid LookupAccountSidA
798 #define LookupAccountName LookupAccountNameA
799 #define LookupPrivilegeValue LookupPrivilegeValueA
800 #define LookupPrivilegeName LookupPrivilegeNameA
801 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
802 #define BuildCommDCB BuildCommDCBA
803 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
804 #define CommConfigDialog CommConfigDialogA
805 #define GetDefaultCommConfig GetDefaultCommConfigA
806 #define SetDefaultCommConfig SetDefaultCommConfigA
807 #define GetComputerName GetComputerNameA
808 #define SetComputerName SetComputerNameA
809 #define GetUserName GetUserNameA
810 #define CreateMailslot CreateMailslotA
811 #define CallMessageFilter CallMessageFilterA
812 #define GetAltTabInfo GetAltTabInfoA
813 #define BackupEventLog BackupEventLogA
814 #define FormatMessage FormatMessageA
815 #define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3A
816 #define GetEnvironmentStrings GetEnvironmentStringsA
817 #define FreeEnvironmentStrings FreeEnvironmentStringsA
818 #define lstrcmp lstrcmpA
819 #define lstrcmpi lstrcmpiA
820 #define lstrcpyn lstrcpynA
821 #define lstrcpy lstrcpyA
822 #define lstrcat lstrcatA
823 #define lstrlen lstrlenA
824 #define GetBinaryType GetBinaryTypeA
825 #define GetStringBitmap GetStringBitmapA
826 #define GetShortPathName GetShortPathNameA
827 #define SetFileSecurity SetFileSecurityA
828 #define GetFileSecurity GetFileSecurityA
829 #define FindFirstChangeNotification FindFirstChangeNotificationA
830 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
831 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
832 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
833 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
834 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
835 #define DeleteVolumeMountPoint DeleteVolumeMountPointA
836 #define DnsHostnameToComputerName DnsHostnameToComputerNameA
837 #define OpenEventLog OpenEventLogA
838 #define RegisterEventSource RegisterEventSourceA
839 #define OpenBackupEventLog OpenBackupEventLogA
840 #define ReadEventLog ReadEventLogA
841 #define ReportEvent ReportEventA
842 #define CreateProcess CreateProcessA
843 #define FatalAppExit FatalAppExitA
844 #define RemoveFontResourceEx RemoveFontResourceExA
845 #define GetStartupInfo GetStartupInfoA
846 #define GetCommandLine GetCommandLineA
847 #define GetEnvironmentVariable GetEnvironmentVariableA
848 #define SetEnvironmentVariable SetEnvironmentVariableA
849 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
850 #define OutputDebugString OutputDebugStringA
851 #define FindResource FindResourceA
852 #define FindResourceEx FindResourceExA
853 #define EnumResourceTypes EnumResourceTypesA
854 #define EnumResourceNames EnumResourceNamesA
855 #define EnumResourceLanguages EnumResourceLanguagesA
856 #define BeginUpdateResource BeginUpdateResourceA
857 #define UpdateResource UpdateResourceA
858 #define EndUpdateResource EndUpdateResourceA
859 #define GlobalAddAtom GlobalAddAtomA
860 #define GlobalFindAtom GlobalFindAtomA
861 #define GlobalGetAtomName GlobalGetAtomNameA
862 #define AddAtom AddAtomA
863 #define FindAtom FindAtomA
864 #define GetProfileInt GetProfileIntA
865 #define GetAtomName GetAtomNameA
866 #define GetProfileString GetProfileStringA
867 #define WriteProfileString WriteProfileStringA
868 #define GetProfileSection GetProfileSectionA
869 #define WriteProfileSection WriteProfileSectionA
870 #define GetPrivateProfileInt GetPrivateProfileIntA
871 #define GetPrivateProfileString GetPrivateProfileStringA
872 #define WritePrivateProfileString WritePrivateProfileStringA
873 #define GetPrivateProfileSection GetPrivateProfileSectionA
874 #define WritePrivateProfileSection WritePrivateProfileSectionA
875 #define GetDriveType GetDriveTypeA
876 #define GetSystemDirectory GetSystemDirectoryA
877 #define GetTempPath GetTempPathA
878 #define GetTempFileName GetTempFileNameA
879 #define GetWindowsDirectory GetWindowsDirectoryA
880 #define SetCurrentDirectory SetCurrentDirectoryA
881 #define GetCurrentDirectory GetCurrentDirectoryA
882 #define NeedCurrentDirectoryForExePath NeedCurrentDirectoryForExePathA
883 #define GetDiskFreeSpace GetDiskFreeSpaceA
884 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
885 #define CreateDirectory CreateDirectoryA
886 #define CreateDirectoryEx CreateDirectoryExA
887 #define RemoveDirectory RemoveDirectoryA
888 #define GetFullPathName GetFullPathNameA
889 #define DefineDosDevice DefineDosDeviceA
890 #define QueryDosDevice QueryDosDeviceA
891 #define CreateFile CreateFileA
892 #define SetFileAttributes SetFileAttributesA
893 #define GetFileAttributes GetFileAttributesA
894 #define GetFileAttributesEx GetFileAttributesExA
895 #define GetCompressedFileSize GetCompressedFileSizeA
896 #define DeleteFile DeleteFileA
897 #define FindFirstFileEx FindFirstFileExA
898 #define FindFirstFile FindFirstFileA
899 #define FindNextFile FindNextFileA
900 #define SearchPath SearchPathA
901 #define CopyFile CopyFileA
902 #define CopyFileEx CopyFileExA
903 #define MoveFile MoveFileA
904 #define MoveFileEx MoveFileExA
905 #define MoveFileWithProgress MoveFileWithProgressA
906 #define CreateNamedPipe CreateNamedPipeA
907 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
908 #define CallNamedPipe CallNamedPipeA
909 #define WaitNamedPipe WaitNamedPipeA
910 #define SetVolumeLabel SetVolumeLabelA
911 #define GetVolumeInformation GetVolumeInformationA
912 #define ClearEventLog ClearEventLogA
913 #define BackupEventLog BackupEventLogA
914 #define CreateMutex CreateMutexA
915 #define OpenMutex OpenMutexA
916 #define CreateEvent CreateEventA
917 #define OpenEvent OpenEventA
918 #define CreateSemaphore CreateSemaphoreA
919 #define OpenSemaphore OpenSemaphoreA
920 #define CreateFileMapping CreateFileMappingA
921 #define OpenFileMapping OpenFileMappingA
922 #define GetLogicalDriveStrings GetLogicalDriveStringsA
923 #define LoadLibrary LoadLibraryA
924 #define LoadLibraryEx LoadLibraryExA
925 #define GetModuleFileName GetModuleFileNameA
926 #define GetModuleHandle GetModuleHandleA
927 #define GetUserObjectInformation GetUserObjectInformationA
928 #define PrivateExtractIcons PrivateExtractIconsA
929 #define SetUserObjectInformation SetUserObjectInformationA
930 #define RegisterWindowMessage RegisterWindowMessageA
931 #define GetMessage GetMessageA
932 #define DispatchMessage DispatchMessageA
933 #define PeekMessage PeekMessageA
934 #define SendMessage SendMessageA
935 #define SendMessageTimeout SendMessageTimeoutA
936 #define SendNotifyMessage SendNotifyMessageA
937 #define SendMessageCallback SendMessageCallbackA
938 #define PostMessage PostMessageA
939 #define PostThreadMessage PostThreadMessageA
940 #define VerFindFile VerFindFileA
941 #define VerInstallFile VerInstallFileA
942 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
943 #define GetFileVersionInfo GetFileVersionInfoA
944 #define VerLanguageName VerLanguageNameA
945 #define VerQueryValue VerQueryValueA
946 #define CompareString CompareStringA
947 #define LCMapString LCMapStringA
948 #define GetLocaleInfo GetLocaleInfoA
949 #define SetLocaleInfo SetLocaleInfoA
950 #define GetTimeFormat GetTimeFormatA
951 #define GetDateFormat GetDateFormatA
952 #define GetNumberFormat GetNumberFormatA
953 #define GetCurrencyFormat GetCurrencyFormatA
954 #define EnumCalendarInfo EnumCalendarInfoA
955 #define EnumTimeFormats EnumTimeFormatsA
956 #define FoldString FoldStringA
957 #define EnumSystemCodePages EnumSystemCodePagesA
958 #define EnumSystemLocales EnumSystemLocalesA
959 #define GetStringTypeEx GetStringTypeExA
960 #define SetCalendarInfo SetCalendarInfoA
961 #define EnumDateFormats EnumDateFormatsA
962 #define GetConsoleTitle GetConsoleTitleA
963 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
964 #define SetConsoleTitle SetConsoleTitleA
965 #define ReadConsole ReadConsoleA
966 #define RegisterServiceCtrlHandlerEx RegisterServiceCtrlHandlerExA
967 #define QueryServiceConfig2 QueryServiceConfig2A
968 #define EnumServicesStatusEx EnumServicesStatusExA
969 #define ChangeServiceConfig2 ChangeServiceConfig2A
970 #define SendIMEMessageEx SendIMEMessageExA
971 #define IMPQueryIME IMPQueryIMEA
972 #define IMPGetIME IMPGetIMEA
973 #define WriteConsole WriteConsoleA
974 #define PeekConsoleInput PeekConsoleInputA
975 #define ReadConsoleInput ReadConsoleInputA
976 #define WriteConsoleInput WriteConsoleInputA
977 #define ReadConsoleOutput ReadConsoleOutputA
978 #define WriteConsoleOutput WriteConsoleOutputA
979 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
980 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
981 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
982 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
983 #define WNetGetLastError WNetGetLastErrorA
984 #define WNetGetProviderName WNetGetProviderNameA
985 #define WNetGetNetworkInformation WNetGetNetworkInformationA
986 #define WNetConnectionDialog1 WNetConnectionDialog1A
987 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
988 #define WNetOpenEnum WNetOpenEnumA
989 #define WNetEnumResource WNetEnumResourceA
990 #define WNetGetUniversalName WNetGetUniversalNameA
991 #define WNetGetUser WNetGetUserA
992 #define WNetAddConnection WNetAddConnectionA
993 #define WNetAddConnection2 WNetAddConnection2A
994 #define WNetAddConnection3 WNetAddConnection3A
995 #define WNetCancelConnection WNetCancelConnectionA
996 #define WNetCancelConnection2 WNetCancelConnection2A
997 #define WNetGetConnection WNetGetConnectionA
998 #define WNetUseConnection WNetUseConnectionA
999 #define WNetSetConnection WNetSetConnectionA
1000 #define OpenService OpenServiceA
1001 #define QueryServiceConfig QueryServiceConfigA
1002 #define QueryServiceLockStatus QueryServiceLockStatusA
1003 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
1004 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
1005 #define StartService StartServiceA
1006 #define ChangeServiceConfig ChangeServiceConfigA
1007 #define CreateService CreateServiceA
1008 #define EnumDependentServices EnumDependentServicesA
1009 #define EnumServicesStatus EnumServicesStatusA
1010 #define GetServiceKeyName GetServiceKeyNameA
1011 #define GetServiceDisplayName GetServiceDisplayNameA
1012 #define OpenSCManager OpenSCManagerA
1013 #define DragQueryFile DragQueryFileA
1014 #define ExtractAssociatedIcon ExtractAssociatedIconA
1015 #define RegSaveKeyEx RegSaveKeyExA
1016 #define ExtractIcon ExtractIconA
1017 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
1018 #define FindExecutable FindExecutableA
1019 #define ShellAbout ShellAboutA
1020 #define ShellExecute ShellExecuteA
1021 #define DdeCreateStringHandle DdeCreateStringHandleA
1022 #define DdeInitialize DdeInitializeA
1023 #define DdeQueryString DdeQueryStringA
1024 #define CreateProcessAsUser CreateProcessAsUserA
1025 #define OpenBackupEventLog OpenBackupEventLogA
1026 #define SHGetFileInfo SHGetFileInfoA
1027 #define SHGetPathFromIDList SHGetPathFromIDListA
1029 #endif /* UNICODE and ASCII defines */
1030 #endif /* _DISABLE_TIDENTS */
1032 NTSTATUS STDCALL
CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor
,ULONG Size
,ULONG AccessMask
);
1034 BOOL STDCALL
GetConsoleInputExeNameA(ULONG length
,LPCSTR name
);
1036 BOOL STDCALL
GetConsoleInputExeNameW(ULONG length
,LPCWSTR name
);
1038 BOOL STDCALL
IsValidUILanguage(LANGID langid
);
1040 VOID STDCALL
NlsConvertIntegerToString(ULONG Value
,ULONG Base
,ULONG strsize
, LPWSTR str
, ULONG strsize2
);
1042 UINT STDCALL
SetCPGlobal(UINT CodePage
);
1046 SetClientTimeZoneInformation(
1047 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
1050 NTSTATUS STDCALL
DbgUiDebugActiveProcess(HANDLE process
);
1052 NTSTATUS STDCALL
DbgUiStopDebugging(HANDLE process
);
1056 RtlInitializeSListHead (
1057 PSLIST_HEADER ListHead
1061 RtlInterlockedFlushSList (
1062 PSLIST_HEADER ListHead
1066 RtlInterlockedPopEntrySList (
1067 PSLIST_HEADER ListHead
1071 RtlInterlockedPushEntrySList (
1072 PSLIST_HEADER ListHead
,
1073 PSLIST_ENTRY ListEntry
1077 RtlQueryDepthSList (
1078 PSLIST_HEADER ListHead
1083 RtlRegisterWait(PHANDLE hOutput
, HANDLE hObject
,WAITORTIMERCALLBACK Callback
,PVOID Context
,ULONG dwMilliseconds
,ULONG dwFlags
);
1093 RtlDeregisterWaitEx(
1095 HANDLE CompletionEvent
1100 RtlSetHeapInformation(
1102 HEAP_INFORMATION_CLASS HeapInformationClass
,
1103 PVOID HeapInformation OPTIONAL
,
1104 SIZE_T HeapInformationLength OPTIONAL
1109 RtlQueryHeapInformation(
1111 HEAP_INFORMATION_CLASS HeapInformationClass
,
1112 PVOID HeapInformation OPTIONAL
,
1113 SIZE_T HeapInformationLength OPTIONAL
,
1114 PSIZE_T ReturnLength OPTIONAL
1121 PJOB_SET_ARRAY UserJobSet
,
1128 PJOB_SET_ARRAY UserJobSet
,
1133 RtlReleaseActivationContext(
1139 RtlQueryInformationActivationContext(
1142 PVOID pvSubInstance
,
1145 SIZE_T cbBuffer OPTIONAL
,
1146 SIZE_T
*pcbWrittenOrRequired OPTIONAL
1151 RtlAddRefActivationContext(
1157 RtlGetActiveActivationContext(
1162 RtlZombifyActivationContext(
1168 RtlDeactivateActivationContext(
1176 IN HANDLE HeapHandle
,
1179 IN PCWSTR TagSubName
1185 IN PRTL_SPLAY_LINKS Links
1190 RtlDeleteElementGenericTable(
1191 IN PRTL_GENERIC_TABLE Table
,
1198 IN PRTL_SPLAY_LINKS Links
,
1199 OUT PRTL_SPLAY_LINKS
*Root
1204 RtlEnumerateGenericTable(
1205 IN PRTL_GENERIC_TABLE Table
,
1211 RtlEnumerateGenericTableWithoutSplaying(
1212 IN PRTL_GENERIC_TABLE Table
,
1213 IN PVOID
*RestartKey
1218 RtlLookupElementGenericTable(
1219 IN PRTL_GENERIC_TABLE Table
,
1233 IN HANDLE HeapHandle
,
1235 IN USHORT TagNumber
,
1236 IN BOOLEAN ZeroInternalTagInfo
,
1237 OUT PRTL_HEAP_TAG_INFO HeapTagInfo OPTIONAL
1243 IN PRTL_SPLAY_LINKS Links
1249 IN PRTL_SPLAY_LINKS Links
1255 IN PRTL_SPLAY_LINKS Links
1260 NtAccessCheckByType(
1261 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1262 IN PSID PrincipalSelfSid
,
1263 IN HANDLE TokenHandle
,
1264 IN ULONG DesiredAccess
,
1265 IN POBJECT_TYPE_LIST ObjectTypeList
,
1266 IN ULONG ObjectTypeListLength
,
1267 IN PGENERIC_MAPPING GenericMapping
,
1268 IN PPRIVILEGE_SET PrivilegeSet
,
1269 IN PULONG PrivilegeSetLength
,
1270 OUT PACCESS_MASK GrantedAccess
,
1271 OUT PULONG AccessStatus
1276 NtAccessCheckByTypeAndAuditAlarm(
1277 IN PUNICODE_STRING SubsystemName
,
1279 IN PUNICODE_STRING ObjectTypeName
,
1280 IN PUNICODE_STRING ObjectName
,
1281 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1282 IN PSID PrincipalSelfSid
,
1283 IN ACCESS_MASK DesiredAccess
,
1284 IN AUDIT_EVENT_TYPE AuditType
,
1286 IN POBJECT_TYPE_LIST ObjectTypeList
,
1287 IN ULONG ObjectTypeListLength
,
1288 IN PGENERIC_MAPPING GenericMapping
,
1289 IN BOOLEAN ObjectCreation
,
1290 OUT PACCESS_MASK GrantedAccess
,
1291 OUT PULONG AccessStatus
,
1292 OUT PBOOLEAN GenerateOnClose
1297 NtAccessCheckByTypeResultList(
1298 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1299 IN PSID PrincipalSelfSid
,
1300 IN HANDLE TokenHandle
,
1301 IN ACCESS_MASK DesiredAccess
,
1302 IN POBJECT_TYPE_LIST ObjectTypeList
,
1303 IN ULONG ObjectTypeListLength
,
1304 IN PGENERIC_MAPPING GenericMapping
,
1305 IN PPRIVILEGE_SET PrivilegeSet
,
1306 IN PULONG PrivilegeSetLength
,
1307 OUT PACCESS_MASK GrantedAccessList
,
1308 OUT PULONG AccessStatusList
1313 NtAccessCheckByTypeResultListAndAuditAlarm(
1314 IN PUNICODE_STRING SubsystemName
,
1316 IN PUNICODE_STRING ObjectTypeName
,
1317 IN PUNICODE_STRING ObjectName
,
1318 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1319 IN PSID PrincipalSelfSid
,
1320 IN ACCESS_MASK DesiredAccess
,
1321 IN AUDIT_EVENT_TYPE AuditType
,
1323 IN POBJECT_TYPE_LIST ObjectTypeList
,
1324 IN ULONG ObjectTypeListLength
,
1325 IN PGENERIC_MAPPING GenericMapping
,
1326 IN BOOLEAN ObjectCreation
,
1327 OUT PACCESS_MASK GrantedAccessList
,
1328 OUT PULONG AccessStatusList
,
1329 OUT PULONG GenerateOnClose
1334 NtAccessCheckByTypeResultListAndAuditAlarmByHandle(
1335 IN PUNICODE_STRING SubsystemName
,
1337 IN HANDLE TokenHandle
,
1338 IN PUNICODE_STRING ObjectTypeName
,
1339 IN PUNICODE_STRING ObjectName
,
1340 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1341 IN PSID PrincipalSelfSid
,
1342 IN ACCESS_MASK DesiredAccess
,
1343 IN AUDIT_EVENT_TYPE AuditType
,
1345 IN POBJECT_TYPE_LIST ObjectTypeList
,
1346 IN ULONG ObjectTypeListLength
,
1347 IN PGENERIC_MAPPING GenericMapping
,
1348 IN BOOLEAN ObjectCreation
,
1349 OUT PACCESS_MASK GrantedAccessList
,
1350 OUT PULONG AccessStatusList
,
1351 OUT PULONG GenerateOnClose
1356 NtAllocateUserPhysicalPages(
1357 IN HANDLE ProcessHandle
,
1358 IN OUT PULONG_PTR NumberOfPages
,
1359 OUT PULONG_PTR UserPfnArray
1364 NtAreMappedFilesTheSame(
1372 OUT PHANDLE JobHandle
,
1373 IN ACCESS_MASK DesiredAccess
,
1374 IN POBJECT_ATTRIBUTES ObjectAttributes
1380 OUT PHANDLE KeyedEventHandle
,
1381 IN ACCESS_MASK DesiredAccess
,
1382 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1389 IN HANDLE ExistingTokenHandle
,
1391 IN PTOKEN_GROUPS SidsToDisable
,
1392 IN PTOKEN_PRIVILEGES PrivilegesToDelete
,
1393 IN PTOKEN_GROUPS SidsToRestricted
,
1394 OUT PHANDLE NewTokenHandle
1399 NtFreeUserPhysicalPages(
1400 IN HANDLE ProcessHandle
,
1401 IN OUT PULONG_PTR NumberOfPages
,
1402 IN PULONG_PTR UserPfnArray
1408 IN HANDLE ProcessHandle
,
1410 IN PVOID BaseAddress
,
1411 IN ULONG RegionSize
,
1413 IN OUT PULONG BufferEntries
,
1414 OUT PULONG Granularity
1419 NtImpersonateAnonymousToken(
1420 IN HANDLE ThreadHandle
1426 IN HANDLE JobHandle
,
1427 IN HANDLE ProcessHandle
1432 NtMakePermanentObject(
1433 IN HANDLE ObjectHandle
1438 NtMapUserPhysicalPages(
1439 IN PVOID VirtualAddress
,
1440 IN ULONG_PTR NumberOfPages
,
1441 IN PULONG_PTR PageArray OPTIONAL
1446 NtMapUserPhysicalPagesScatter(
1447 IN PVOID
*VirtualAddresses
,
1448 IN ULONG_PTR NumberOfPages
,
1449 IN PULONG_PTR PageArray OPTIONAL
1455 OUT PHANDLE JobHandle
,
1456 IN ACCESS_MASK DesiredAccess
,
1457 IN POBJECT_ATTRIBUTES ObjectAttributes
1463 OUT PHANDLE KeyedEventHandle
,
1464 IN PACCESS_MASK DesiredAccess
,
1465 IN PUNICODE_STRING KeyedEventName
1470 NtOpenProcessTokenEx(
1471 IN HANDLE ProcessHandle
,
1472 IN ACCESS_MASK DesiredAccess
,
1473 IN ULONG HandleAttributes
,
1474 OUT PHANDLE TokenHandle
1479 NtOpenThreadTokenEx(
1480 IN HANDLE ThreadHandle
,
1481 IN ACCESS_MASK DesiredAccess
,
1482 IN BOOLEAN OpenAsSelf
,
1483 IN ULONG HandleAttributes
,
1484 OUT PHANDLE TokenHandle
1489 NtQueryInformationJobObject(
1490 IN HANDLE JobHandle
,
1491 IN JOBOBJECTINFOCLASS JobInformationClass
,
1492 OUT PVOID JobInformation
,
1493 IN ULONG JobInformationLength
,
1494 OUT PULONG ReturnLength OPTIONAL
1500 NtQueryPortInformationProcess(
1506 NtReleaseKeyedEvent(
1507 IN HANDLE KeyedEventHandle
,
1509 IN BOOLEAN Alertable
,
1510 IN PLARGE_INTEGER Timeout OPTIONAL
1515 NtReplyWaitReceivePortEx(
1516 IN HANDLE PortHandle
,
1517 OUT PULONG PortIdentifier OPTIONAL
,
1518 IN PPORT_MESSAGE ReplyMessage OPTIONAL
,
1519 OUT PPORT_MESSAGE Message
,
1520 IN PLARGE_INTEGER Timeout
1526 IN HANDLE ProcessHandle
,
1527 IN PVOID BaseAddress
,
1539 NtSecureConnectPort(
1540 OUT PHANDLE PortHandle
,
1541 IN PUNICODE_STRING PortName
,
1542 IN PSECURITY_QUALITY_OF_SERVICE SecurityQos
,
1543 IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL
,
1544 IN PSID ServerSid OPTIONAL
,
1545 IN OUT PPORT_SECTION_READ ReadSection OPTIONAL
,
1546 OUT PULONG MaxMessageSize OPTIONAL
,
1547 IN OUT PVOID ConnectData OPTIONAL
,
1548 IN OUT PULONG ConnectDataLength OPTIONAL
1553 NtSetHighWaitLowThread(
1559 NtSetLowWaitHighThread(
1565 NtSetQuotaInformationFile(
1566 IN HANDLE FileHandle
,
1567 OUT PIO_STATUS_BLOCK IoStatusBlock
,
1568 IN PFILE_USER_QUOTA_INFORMATION Buffer
,
1569 IN ULONG BufferLength
1586 NtTerminateJobObject(
1587 IN HANDLE JobHandle
,
1588 IN NTSTATUS ExitStatus
1593 NtWaitForKeyedEvent(
1594 IN HANDLE KeyedEventHandle
,
1596 IN BOOLEAN Alertable
,
1597 IN PLARGE_INTEGER Timeout OPTIONAL
1602 RtlDllShutdownInProgress(
1620 RtlGetLastWin32Error(
1626 RtlGetNativeSystemInformation(
1627 IN SYSTEM_INFORMATION_CLASS SystemInformationClass
,
1628 IN OUT PVOID SystemInformation
,
1629 IN ULONG SystemInformationLength
,
1630 OUT PULONG ReturnLength OPTIONAL
1635 RtlLogStackBackTrace(
1642 LPTHREAD_START_ROUTINE Function
,
1649 RtlRestoreLastWin32Error(
1655 RtlSetCriticalSectionSpinCount(
1656 IN PRTL_CRITICAL_SECTION CriticalSection
1661 (CALLBACK
*POVERLAPPED_COMPLETION_ROUTINE
)(
1663 DWORD dwNumberOfBytesTransfered
,
1664 LPOVERLAPPED lpOverlapped
1670 RtlSetIoCompletionCallback(
1671 IN HANDLE FileHandle
,
1672 IN POVERLAPPED_COMPLETION_ROUTINE CompletionRoutine
,
1678 RtlSetLastWin32Error(
1684 RtlSetLastWin32ErrorAndNtStatusFromNtStatus(
1685 IN NTSTATUS NtStatus
1690 ZwAccessCheckByType(
1691 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1692 IN PSID PrincipalSelfSid
,
1693 IN HANDLE TokenHandle
,
1694 IN ULONG DesiredAccess
,
1695 IN POBJECT_TYPE_LIST ObjectTypeList
,
1696 IN ULONG ObjectTypeListLength
,
1697 IN PGENERIC_MAPPING GenericMapping
,
1698 IN PPRIVILEGE_SET PrivilegeSet
,
1699 IN PULONG PrivilegeSetLength
,
1700 OUT PACCESS_MASK GrantedAccess
,
1701 OUT PULONG AccessStatus
1706 ZwAccessCheckByTypeAndAuditAlarm(
1707 IN PUNICODE_STRING SubsystemName
,
1709 IN PUNICODE_STRING ObjectTypeName
,
1710 IN PUNICODE_STRING ObjectName
,
1711 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1712 IN PSID PrincipalSelfSid
,
1713 IN ACCESS_MASK DesiredAccess
,
1714 IN AUDIT_EVENT_TYPE AuditType
,
1716 IN POBJECT_TYPE_LIST ObjectTypeList
,
1717 IN ULONG ObjectTypeListLength
,
1718 IN PGENERIC_MAPPING GenericMapping
,
1719 IN BOOLEAN ObjectCreation
,
1720 OUT PACCESS_MASK GrantedAccess
,
1721 OUT PULONG AccessStatus
,
1722 OUT PBOOLEAN GenerateOnClose
1727 ZwAccessCheckByTypeResultList(
1728 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1729 IN PSID PrincipalSelfSid
,
1730 IN HANDLE TokenHandle
,
1731 IN ACCESS_MASK DesiredAccess
,
1732 IN POBJECT_TYPE_LIST ObjectTypeList
,
1733 IN ULONG ObjectTypeListLength
,
1734 IN PGENERIC_MAPPING GenericMapping
,
1735 IN PPRIVILEGE_SET PrivilegeSet
,
1736 IN PULONG PrivilegeSetLength
,
1737 OUT PACCESS_MASK GrantedAccessList
,
1738 OUT PULONG AccessStatusList
1743 ZwAccessCheckByTypeResultListAndAuditAlarm(
1744 IN PUNICODE_STRING SubsystemName
,
1746 IN PUNICODE_STRING ObjectTypeName
,
1747 IN PUNICODE_STRING ObjectName
,
1748 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1749 IN PSID PrincipalSelfSid
,
1750 IN ACCESS_MASK DesiredAccess
,
1751 IN AUDIT_EVENT_TYPE AuditType
,
1753 IN POBJECT_TYPE_LIST ObjectTypeList
,
1754 IN ULONG ObjectTypeListLength
,
1755 IN PGENERIC_MAPPING GenericMapping
,
1756 IN BOOLEAN ObjectCreation
,
1757 OUT PACCESS_MASK GrantedAccessList
,
1758 OUT PULONG AccessStatusList
,
1759 OUT PULONG GenerateOnClose
1764 ZwAccessCheckByTypeResultListAndAuditAlarmByHandle(
1765 IN PUNICODE_STRING SubsystemName
,
1767 IN HANDLE TokenHandle
,
1768 IN PUNICODE_STRING ObjectTypeName
,
1769 IN PUNICODE_STRING ObjectName
,
1770 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1771 IN PSID PrincipalSelfSid
,
1772 IN ACCESS_MASK DesiredAccess
,
1773 IN AUDIT_EVENT_TYPE AuditType
,
1775 IN POBJECT_TYPE_LIST ObjectTypeList
,
1776 IN ULONG ObjectTypeListLength
,
1777 IN PGENERIC_MAPPING GenericMapping
,
1778 IN BOOLEAN ObjectCreation
,
1779 OUT PACCESS_MASK GrantedAccessList
,
1780 OUT PULONG AccessStatusList
,
1781 OUT PULONG GenerateOnClose
1786 ZwAllocateUserPhysicalPages(
1787 IN HANDLE ProcessHandle
,
1788 IN OUT PULONG_PTR NumberOfPages
,
1789 OUT PULONG_PTR UserPfnArray
1794 ZwAreMappedFilesTheSame(
1801 ZwAssignProcessToJobObject(
1802 IN HANDLE JobHandle
,
1803 IN HANDLE ProcessHandle
1809 OUT PHANDLE JobHandle
,
1810 IN ACCESS_MASK DesiredAccess
,
1811 IN POBJECT_ATTRIBUTES ObjectAttributes
1817 OUT PHANDLE KeyedEventHandle
,
1818 IN ACCESS_MASK DesiredAccess
,
1819 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1825 ZwCreateWaitablePort(
1826 OUT PHANDLE PortHandle
,
1827 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1828 IN ULONG MaxDataSize
,
1829 IN ULONG MaxMessageSize
,
1836 IN HANDLE ExistingTokenHandle
,
1838 IN PTOKEN_GROUPS SidsToDisable
,
1839 IN PTOKEN_PRIVILEGES PrivilegesToDelete
,
1840 IN PTOKEN_GROUPS SidsToRestricted
,
1841 OUT PHANDLE NewTokenHandle
1846 ZwFreeUserPhysicalPages(
1847 IN HANDLE ProcessHandle
,
1848 IN OUT PULONG_PTR NumberOfPages
,
1849 IN PULONG_PTR UserPfnArray
1855 IN HANDLE ProcessHandle
,
1857 IN PVOID BaseAddress
,
1858 IN ULONG RegionSize
,
1860 IN OUT PULONG BufferEntries
,
1861 OUT PULONG Granularity
1866 ZwImpersonateAnonymousToken(
1867 IN HANDLE ThreadHandle
1873 IN HANDLE JobHandle
,
1874 IN HANDLE ProcessHandle
1879 ZwMakePermanentObject(
1885 ZwMapUserPhysicalPages(
1886 IN PVOID VirtualAddress
,
1887 IN ULONG_PTR NumberOfPages
,
1888 IN PULONG_PTR PageArray OPTIONAL
1893 ZwMapUserPhysicalPagesScatter(
1894 IN PVOID
*VirtualAddresses
,
1895 IN ULONG_PTR NumberOfPages
,
1896 IN PULONG_PTR PageArray OPTIONAL
1902 OUT PHANDLE JobHandle
,
1903 IN ACCESS_MASK DesiredAccess
,
1904 IN POBJECT_ATTRIBUTES ObjectAttributes
1910 OUT PHANDLE KeyedEventHandle
,
1911 IN PACCESS_MASK DesiredAccess
,
1912 IN PUNICODE_STRING KeyedEventName
1917 ZwOpenProcessTokenEx(
1918 IN HANDLE ProcessHandle
,
1919 IN ACCESS_MASK DesiredAccess
,
1920 IN ULONG HandleAttributes
,
1921 OUT PHANDLE TokenHandle
1926 ZwOpenThreadTokenEx(
1927 IN HANDLE ThreadHandle
,
1928 IN ACCESS_MASK DesiredAccess
,
1929 IN BOOLEAN OpenAsSelf
,
1930 IN ULONG HandleAttributes
,
1931 OUT PHANDLE TokenHandle
1936 ZwQueryInformationJobObject(
1937 IN HANDLE JobHandle
,
1938 IN JOBOBJECTINFOCLASS JobInformationClass
,
1939 OUT PVOID JobInformation
,
1940 IN ULONG JobInformationLength
,
1941 OUT PULONG ReturnLength OPTIONAL
1946 ZwQueryPortInformationProcess(
1952 ZwReleaseKeyedEvent(
1953 IN HANDLE KeyedEventHandle
,
1955 IN BOOLEAN Alertable
,
1956 IN PLARGE_INTEGER Timeout OPTIONAL
1961 ZwReplyWaitReceivePortEx(
1962 IN HANDLE PortHandle
,
1963 OUT PULONG PortIdentifier OPTIONAL
,
1964 IN PPORT_MESSAGE ReplyMessage OPTIONAL
,
1965 OUT PPORT_MESSAGE Message
,
1966 IN PLARGE_INTEGER Timeout
1972 IN HANDLE ProcessHandle
,
1973 IN PVOID BaseAddress
,
1985 ZwSecureConnectPort(
1986 OUT PHANDLE PortHandle
,
1987 IN PUNICODE_STRING PortName
,
1988 IN PSECURITY_QUALITY_OF_SERVICE SecurityQos
,
1989 IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL
,
1990 IN PSID ServerSid OPTIONAL
,
1991 IN OUT PPORT_SECTION_READ ReadSection OPTIONAL
,
1992 OUT PULONG MaxMessageSize OPTIONAL
,
1993 IN OUT PVOID ConnectData OPTIONAL
,
1994 IN OUT PULONG ConnectDataLength OPTIONAL
1999 ZwSetHighWaitLowThread(
2005 ZwSetInformationJobObject(
2006 IN HANDLE JobHandle
,
2007 IN JOBOBJECTINFOCLASS JobInformationClass
,
2008 IN PVOID JobInformation
,
2009 IN ULONG JobInformationLength
2014 ZwSetLowWaitHighThread(
2020 ZwSetQuotaInformationFile(
2021 IN HANDLE FileHandle
,
2022 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2023 IN PFILE_USER_QUOTA_INFORMATION Buffer
,
2024 IN ULONG BufferLength
2041 ZwTerminateJobObject(
2042 IN HANDLE JobHandle
,
2043 IN NTSTATUS ExitStatus
2048 ZwWaitForKeyedEvent(
2049 IN HANDLE KeyedEventHandle
,
2051 IN BOOLEAN Alertable
,
2052 IN PLARGE_INTEGER Timeout OPTIONAL
2056 GetAppCompatFlags2(HTASK hTask
);
2057 VOID STDCALL
InitializeLpkHooks(FARPROC
*hookfuncs
);
2058 BOOL STDCALL
EnterReaderModeHelper(HWND hwnd
);
2059 BOOL STDCALL
CtxInitUser32(VOID
);
2060 BOOL STDCALL
ReasonCodeNeedsBugID(ULONG reasoncode
);
2061 BOOL STDCALL
ReasonCodeNeedsComment(ULONG reasoncode
);
2081 BOOL STDCALL
DisplayExitWindowsWarnings(ULONG flags
);
2082 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PDelayLoadInfo pdli
);
2084 DWORD STDCALL
RtlDeleteSecurityObject(DWORD x1
);
2085 DWORD STDCALL
RtlNewSecurityObject(DWORD x1
,DWORD x2
,DWORD x3
,DWORD x4
,DWORD x5
,DWORD x6
);
2086 NTSTATUS STDCALL
RtlWalkHeap( HANDLE heap
, PVOID entry_ptr
);
2087 NTSTATUS STDCALL
LdrLockLoaderLock(ULONG flags
, ULONG
*result
, ULONG
*magic
);
2088 NTSTATUS STDCALL
LdrUnlockLoaderLock(ULONG flags
, ULONG magic
);
2090 NTSTATUS STDCALL
RtlDuplicateUnicodeString(
2092 const UNICODE_STRING
*source
,
2093 UNICODE_STRING
*destination
);
2094 NTSTATUS STDCALL
RtlFindCharInUnicodeString(
2096 const UNICODE_STRING
*main_str
,
2097 const UNICODE_STRING
*search_chars
,
2099 NTSTATUS STDCALL
RtlInitUnicodeStringEx(PUNICODE_STRING target
,PCWSTR source
);
2103 NtCancelDeviceWakeupRequest(
2110 IN HANDLE KeyArray
[]
2119 NtGetDevicePowerState(
2121 OUT DEVICE_POWER_STATE
*State
2125 NtIsSystemResumeAutomatic(
2130 NtLockProductActivationKeys(
2141 NtNotifyChangeMultipleKeys(
2142 IN HANDLE MasterKeyHandle
,
2144 IN OBJECT_ATTRIBUTES SlaveObjects
[],
2145 IN HANDLE Event OPTIONAL
,
2146 IN PIO_APC_ROUTINE ApcRoutine OPTIONAL
,
2147 IN PVOID ApcContext OPTIONAL
,
2148 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2149 IN ULONG CompletionFilter
,
2152 IN ULONG BufferSize
,
2153 IN BOOL Asynchronous
2158 IN POBJECT_ATTRIBUTES TargetKey
,
2159 OUT PULONG HandleCount
2164 IN HANDLE KeyHandle
,
2165 IN PUNICODE_STRING NewName
2169 NtRequestDeviceWakeup(
2174 NtRequestWakeupLatency(
2175 IN LATENCY_TIME latency
2180 IN HANDLE KeyHandle
,
2181 IN HANDLE FileHandle
,
2187 IN HANDLE HighPrecedenceKeyHandle
,
2188 IN HANDLE LowPrecedenceKeyHandle
,
2189 IN HANDLE FileHandle
2193 NtSetThreadExecutionState(
2194 IN EXECUTION_STATE esFlags
,
2195 OUT EXECUTION_STATE
*PreviousFlags
2200 IN POBJECT_ATTRIBUTES TargetKey
,
2201 IN HANDLE Event OPTIONAL
2206 OUT PRTL_OSVERSIONINFOW lpVersionInformation
2217 IN ULONG ComponentId
,
2223 vDbgPrintExWithPrefix(
2225 IN ULONG ComponentId
,
2232 ZwCancelDeviceWakeupRequest(
2239 IN HANDLE KeyArray
[]
2248 ZwGetDevicePowerState(
2250 OUT DEVICE_POWER_STATE
*State
2254 ZwIsSystemResumeAutomatic(
2259 ZwLockProductActivationKeys(
2270 ZwNotifyChangeMultipleKeys(
2271 IN HANDLE MasterKeyHandle
,
2273 IN OBJECT_ATTRIBUTES SlaveObjects
[],
2274 IN HANDLE Event OPTIONAL
,
2275 IN PIO_APC_ROUTINE ApcRoutine OPTIONAL
,
2276 IN PVOID ApcContext OPTIONAL
,
2277 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2278 IN ULONG CompletionFilter
,
2281 IN ULONG BufferSize
,
2282 IN BOOL Asynchronous
2287 IN POBJECT_ATTRIBUTES TargetKey
,
2288 OUT PULONG HandleCount
2293 IN HANDLE KeyHandle
,
2294 IN PUNICODE_STRING NewName
2298 ZwRequestDeviceWakeup(
2303 ZwRequestWakeupLatency(
2304 IN LATENCY_TIME latency
2309 IN HANDLE KeyHandle
,
2310 IN HANDLE FileHandle
,
2316 IN HANDLE HighPrecedenceKeyHandle
,
2317 IN HANDLE LowPrecedenceKeyHandle
,
2318 IN HANDLE FileHandle
2322 ZwSetThreadExecutionState(
2323 IN EXECUTION_STATE esFlags
,
2324 OUT EXECUTION_STATE
*PreviousFlags
2329 IN POBJECT_ATTRIBUTES TargetKey
,
2330 IN HANDLE Event OPTIONAL
2332 BOOL STDCALL
LdrFlushAlternateResourceModules(VOID
);
2333 BOOL STDCALL
LdrAlternateResourcesEnabled(VOID
);
2335 VOID STDCALL
MD4Init(PMD4_CONTEXT Context
);
2336 VOID STDCALL
MD4Update(PMD4_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2337 VOID STDCALL
MD4Final(PMD4_CONTEXT Context
);
2339 VOID STDCALL
MD5Init(PMD5_CONTEXT Context
);
2340 VOID STDCALL
MD5Update(PMD5_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2341 VOID STDCALL
MD5Final(PMD5_CONTEXT Context
);
2343 VOID STDCALL
A_SHAInit(PSHA_CONTEXT Context
);
2344 VOID STDCALL
A_SHAUpdate(PSHA_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2345 VOID STDCALL
A_SHAFinal(PSHA_CONTEXT Context
, PVOID Result
);
2347 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
);
2348 BOOL STDCALL
SetConsoleIcon(HICON hicon
);
2349 double __cdecl
_CIpow(double x
,double y
);
2350 LPSTR __cdecl
_ui64toa(
2354 LPWSTR __cdecl
_ui64tow(
2358 INT __cdecl
iswdigit( WCHAR wc
);
2359 INT __cdecl
iswlower( WCHAR wc
);
2360 INT __cdecl
iswxdigit( WCHAR wc
);
2361 DWORD STDCALL
GetHandleContext(HANDLE hnd
);
2362 HANDLE STDCALL
CreateSocketHandle(VOID
);
2363 BOOL STDCALL
SetHandleContext(HANDLE hnd
,DWORD context
);
2364 BOOL STDCALL
SetConsoleInputExeNameA(LPCSTR name
);
2365 BOOL STDCALL
SetConsoleInputExeNameW(LPCWSTR name
);
2366 BOOL STDCALL
UTRegister( HMODULE hModule
, LPSTR lpsz16BITDLL
,
2367 LPSTR lpszInitName
, LPSTR lpszProcName
,
2368 FARPROC
*ppfn32Thunk
, FARPROC pfnUT32CallBack
,
2370 VOID STDCALL
UTUnRegister( HMODULE hModule
);
2371 BOOL STDCALL
SynchronizeWindows31FilesAndWindowsNTRegistry( DWORD x1
, DWORD x2
, DWORD x3
,DWORD x4
);
2372 BOOL STDCALL
QueryWindows31FilesMigration( DWORD x1
);
2374 WINBOOL STDCALL
GetConsoleKeyboardLayoutNameA(LPSTR name
);
2375 WINBOOL STDCALL
GetConsoleKeyboardLayoutNameW(LPWSTR name
);
2377 DWORD STDCALL
SetupChangeFontSize(HANDLE HWindow
,
2378 LPCWSTR lpszFontSize
);
2382 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2383 PSID PrincipalSelfSid
,
2385 DWORD DesiredAccess
,
2386 POBJECT_TYPE_LIST ObjectTypeList
,
2387 DWORD ObjectTypeListLength
,
2388 PGENERIC_MAPPING GenericMapping
,
2389 PPRIVILEGE_SET PrivilegeSet
,
2390 LPDWORD PrivilegeSetLength
,
2391 LPDWORD GrantedAccess
,
2397 AccessCheckByTypeResultList(
2398 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2399 PSID PrincipalSelfSid
,
2401 DWORD DesiredAccess
,
2402 POBJECT_TYPE_LIST ObjectTypeList
,
2403 DWORD ObjectTypeListLength
,
2404 PGENERIC_MAPPING GenericMapping
,
2405 PPRIVILEGE_SET PrivilegeSet
,
2406 LPDWORD PrivilegeSetLength
,
2407 LPDWORD GrantedAccessList
,
2408 LPDWORD AccessStatusList
2413 AccessCheckByTypeAndAuditAlarmA(
2414 LPCSTR SubsystemName
,
2416 LPCSTR ObjectTypeName
,
2418 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2419 PSID PrincipalSelfSid
,
2420 DWORD DesiredAccess
,
2421 AUDIT_EVENT_TYPE AuditType
,
2423 POBJECT_TYPE_LIST ObjectTypeList
,
2424 DWORD ObjectTypeListLength
,
2425 PGENERIC_MAPPING GenericMapping
,
2426 WINBOOL ObjectCreation
,
2427 LPDWORD GrantedAccess
,
2428 LPBOOL AccessStatus
,
2429 LPBOOL pfGenerateOnClose
2434 AccessCheckByTypeAndAuditAlarmW(
2435 LPCWSTR SubsystemName
,
2437 LPCWSTR ObjectTypeName
,
2439 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2440 PSID PrincipalSelfSid
,
2441 DWORD DesiredAccess
,
2442 AUDIT_EVENT_TYPE AuditType
,
2444 POBJECT_TYPE_LIST ObjectTypeList
,
2445 DWORD ObjectTypeListLength
,
2446 PGENERIC_MAPPING GenericMapping
,
2447 WINBOOL ObjectCreation
,
2448 LPDWORD GrantedAccess
,
2449 LPBOOL AccessStatus
,
2450 LPBOOL pfGenerateOnClose
2455 AccessCheckByTypeResultListAndAuditAlarmA(
2456 LPCSTR SubsystemName
,
2458 LPCSTR ObjectTypeName
,
2460 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2461 PSID PrincipalSelfSid
,
2462 DWORD DesiredAccess
,
2463 AUDIT_EVENT_TYPE AuditType
,
2465 POBJECT_TYPE_LIST ObjectTypeList
,
2466 DWORD ObjectTypeListLength
,
2467 PGENERIC_MAPPING GenericMapping
,
2468 WINBOOL ObjectCreation
,
2469 LPDWORD GrantedAccess
,
2470 LPDWORD AccessStatusList
,
2471 LPBOOL pfGenerateOnClose
2476 AccessCheckByTypeResultListAndAuditAlarmW(
2477 LPCWSTR SubsystemName
,
2479 LPCWSTR ObjectTypeName
,
2481 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2482 PSID PrincipalSelfSid
,
2483 DWORD DesiredAccess
,
2484 AUDIT_EVENT_TYPE AuditType
,
2486 POBJECT_TYPE_LIST ObjectTypeList
,
2487 DWORD ObjectTypeListLength
,
2488 PGENERIC_MAPPING GenericMapping
,
2489 WINBOOL ObjectCreation
,
2490 LPDWORD GrantedAccess
,
2491 LPDWORD AccessStatusList
,
2492 LPBOOL pfGenerateOnClose
2497 AccessCheckByTypeResultListAndAuditAlarmByHandleA(
2498 LPCSTR SubsystemName
,
2501 LPCSTR ObjectTypeName
,
2503 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2504 PSID PrincipalSelfSid
,
2505 DWORD DesiredAccess
,
2506 AUDIT_EVENT_TYPE AuditType
,
2508 POBJECT_TYPE_LIST ObjectTypeList
,
2509 DWORD ObjectTypeListLength
,
2510 PGENERIC_MAPPING GenericMapping
,
2511 WINBOOL ObjectCreation
,
2512 LPDWORD GrantedAccess
,
2513 LPDWORD AccessStatusList
,
2514 LPBOOL pfGenerateOnClose
2519 AccessCheckByTypeResultListAndAuditAlarmByHandleW(
2520 LPCWSTR SubsystemName
,
2523 LPCWSTR ObjectTypeName
,
2525 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2526 PSID PrincipalSelfSid
,
2527 DWORD DesiredAccess
,
2528 AUDIT_EVENT_TYPE AuditType
,
2530 POBJECT_TYPE_LIST ObjectTypeList
,
2531 DWORD ObjectTypeListLength
,
2532 PGENERIC_MAPPING GenericMapping
,
2533 WINBOOL ObjectCreation
,
2534 LPDWORD GrantedAccess
,
2535 LPDWORD AccessStatusList
,
2536 LPBOOL pfGenerateOnClose
2541 InitiateSystemShutdownExA(LPSTR lpMachineName
,LPSTR lpMessage
,DWORD dwTimeout
,BOOL bForceAppsClosed
,BOOL bRebootAfterShutdown
,DWORD dwReason
);
2544 InitiateSystemShutdownExW(LPWSTR lpMachineName
,LPWSTR lpMessage
,DWORD dwTimeout
,BOOL bForceAppsClosed
,BOOL bRebootAfterShutdown
,DWORD dwReason
);
2547 NotifyBootConfigStatus(WINBOOL BootAcceptable
);
2550 RegDisablePredefinedCache(VOID
);
2553 RegOpenCurrentUser(REGSAM samDesired
,PHKEY phkResult
);
2556 RegOpenUserClassesRoot(HANDLE hToken
,DWORD dwOptions
,REGSAM samDesired
,PHKEY phkResult
);
2559 RegOverridePredefKey (HKEY hKey
,HKEY hNewHKey
);
2562 RegSaveKeyExA (HKEY hKey
,LPCSTR lpFile
,LPSECURITY_ATTRIBUTES lpSecurityAttributes
,DWORD Flags
);
2565 RegSaveKeyExW (HKEY hKey
,LPCWSTR lpFile
,LPSECURITY_ATTRIBUTES lpSecurityAttributes
,DWORD Flags
);
2568 SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus
,DWORD dwServiceBits
,WINBOOL bSetBitsOn
,WINBOOL bUpdateImmediately
);
2571 Wow64Win32ApiEntry (DWORD dwFuncNumber
,DWORD dwFlag
,DWORD dwRes
);
2575 AddAccessAllowedAceEx (
2577 DWORD dwAceRevision
,
2585 AddAccessAllowedObjectAce (
2587 DWORD dwAceRevision
,
2590 GUID
*ObjectTypeGuid
,
2591 GUID
*InheritedObjectTypeGuid
,
2597 AddAccessDeniedAceEx (
2599 DWORD dwAceRevision
,
2607 AddAccessDeniedObjectAce (
2609 DWORD dwAceRevision
,
2612 GUID
*ObjectTypeGuid
,
2613 GUID
*InheritedObjectTypeGuid
,
2619 AddAuditAccessAceEx(
2621 DWORD dwAceRevision
,
2625 WINBOOL bAuditSuccess
,
2626 WINBOOL bAuditFailure
2631 AddAuditAccessObjectAce (
2633 DWORD dwAceRevision
,
2636 GUID
*ObjectTypeGuid
,
2637 GUID
*InheritedObjectTypeGuid
,
2639 WINBOOL bAuditSuccess
,
2640 WINBOOL bAuditFailure
2645 CheckTokenMembership(
2653 CloseEncryptedFileRaw(
2665 ConvertToAutoInheritPrivateObjectSecurity(
2666 PSECURITY_DESCRIPTOR ParentDescriptor
,
2667 PSECURITY_DESCRIPTOR CurrentSecurityDescriptor
,
2668 PSECURITY_DESCRIPTOR
*NewSecurityDescriptor
,
2670 WINBOOL IsDirectoryObject
,
2671 PGENERIC_MAPPING GenericMapping
2676 CreatePrivateObjectSecurity (
2677 PSECURITY_DESCRIPTOR ParentDescriptor
,
2678 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2679 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2680 WINBOOL IsDirectoryObject
,
2682 PGENERIC_MAPPING GenericMapping
2687 CreatePrivateObjectSecurityEx (
2688 PSECURITY_DESCRIPTOR ParentDescriptor
,
2689 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2690 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2692 WINBOOL IsContainerObject
,
2693 ULONG AutoInheritFlags
,
2695 PGENERIC_MAPPING GenericMapping
2700 CreatePrivateObjectSecurityWithMultipleInheritance (
2701 PSECURITY_DESCRIPTOR ParentDescriptor
,
2702 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2703 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2706 WINBOOL IsContainerObject
,
2707 ULONG AutoInheritFlags
,
2709 PGENERIC_MAPPING GenericMapping
2714 CreateProcessWithLogonW(
2719 LPCWSTR lpApplicationName
,
2720 LPWSTR lpCommandLine
,
2721 DWORD dwCreationFlags
,
2722 LPVOID lpEnvironment
,
2723 LPCWSTR lpCurrentDirectory
,
2724 LPSTARTUPINFOW lpStartupInfo
,
2725 LPPROCESS_INFORMATION lpProcessInformation
2730 CreateRestrictedToken(
2731 HANDLE ExistingTokenHandle
,
2733 DWORD DisableSidCount
,
2734 PSID_AND_ATTRIBUTES SidsToDisable
,
2735 DWORD DeletePrivilegeCount
,
2736 PLUID_AND_ATTRIBUTES PrivilegesToDelete
,
2737 DWORD RestrictedSidCount
,
2738 PSID_AND_ATTRIBUTES SidsToRestrict
,
2739 PHANDLE NewTokenHandle
2745 WELL_KNOWN_SID_TYPE WellKnownSidType
,
2753 DestroyPrivateObjectSecurity (
2754 PSECURITY_DESCRIPTOR
* ObjectDescriptor
2767 GetEventLogInformation (
2772 LPDWORD pcbBytesNeeded
2777 GetNumberOfEventLogRecords (
2779 PDWORD NumberOfRecords
2784 GetOldestEventLogRecord (
2791 GetPrivateObjectSecurity (
2792 PSECURITY_DESCRIPTOR ObjectDescriptor
,
2793 SECURITY_INFORMATION SecurityInformation
,
2794 PSECURITY_DESCRIPTOR ResultantDescriptor
,
2795 DWORD DescriptorLength
,
2801 GetSecurityDescriptorRMControl(
2802 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2808 GetWindowsAccountDomainSid(
2816 ImpersonateAnonymousToken(
2822 ImpersonateNamedPipeClient(
2829 CONST VOID
* lpBuffer
,
2850 WELL_KNOWN_SID_TYPE WellKnownSidType
2856 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
2857 LPDWORD lpdwBufferSize
2862 NotifyChangeEventLog(
2869 ReadEncryptedFileRaw(
2870 PFE_EXPORT_FUNC pfExportCallback
,
2871 PVOID pvCallbackContext
,
2877 WriteEncryptedFileRaw(
2878 PFE_IMPORT_FUNC pfImportCallback
,
2879 PVOID pvCallbackContext
,
2885 SetPrivateObjectSecurity (
2886 SECURITY_INFORMATION SecurityInformation
,
2887 PSECURITY_DESCRIPTOR ModificationDescriptor
,
2888 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
2889 PGENERIC_MAPPING GenericMapping
,
2895 SetPrivateObjectSecurityEx (
2896 SECURITY_INFORMATION SecurityInformation
,
2897 PSECURITY_DESCRIPTOR ModificationDescriptor
,
2898 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
2899 ULONG AutoInheritFlags
,
2900 PGENERIC_MAPPING GenericMapping
,
2906 SetSecurityDescriptorControl (
2907 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2908 SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest
,
2909 SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet
2914 SetSecurityDescriptorRMControl(
2915 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2922 PCONTEXT ContextRecord
2927 VerSetConditionMask(
2928 ULONGLONG ConditionMask
,
2948 WINNLSGetIMEHotkey( HWND hwnd
);
2952 WINNLSEnableIME( HWND hwnd
, BOOL enable
);
2956 WINNLSGetEnableStatus( HWND hwnd
);
2960 GetUserDefaultUILanguage(VOID
);
2964 GetSystemDefaultUILanguage(VOID
);
2981 GEO_ENUMPROC lpGeoEnumProc
);
2985 IsValidLanguageGroup(
2986 LGRPID LanguageGroup
,
3004 AllocateUserPhysicalPages(
3006 PULONG_PTR NumberOfPages
,
3007 PULONG_PTR UserPfnArray
3012 AssignProcessToJobObject(
3019 BindIoCompletionCallback (
3021 LPOVERLAPPED_COMPLETION_ROUTINE Function
,
3027 CancelDeviceWakeupRequest(
3033 CancelTimerQueueTimer(
3040 ChangeTimerQueueTimer(
3049 CheckRemoteDebuggerPresent(
3051 PWINBOOL pbDebuggerPresent
3056 ConvertFiberToThread(
3083 SIZE_T dwStackCommitSize
,
3084 SIZE_T dwStackReserveSize
,
3086 LPFIBER_START_ROUTINE lpStartAddress
,
3094 PJOB_SET_ARRAY UserJobSet
,
3099 CreateMemoryResourceNotification(
3100 MEMORY_RESOURCE_NOTIFICATION_TYPE NotificationType
3111 CreateTimerQueueTimer(
3114 WAITORTIMERCALLBACK Callback
,
3130 DebugActiveProcessStop(
3142 DebugSetProcessKillOnExit(
3156 HANDLE CompletionEvent
3161 DeleteTimerQueueTimer(
3164 HANDLE CompletionEvent
3169 FindActCtxSectionGuid(
3171 const GUID
*lpExtensionGuid
,
3173 const GUID
*lpGuidToFind
,
3174 PACTCTX_SECTION_KEYED_DATA ReturnedData
3185 FindVolumeMountPointClose(
3186 HANDLE hFindVolumeMountPoint
3191 FreeUserPhysicalPages(
3193 PULONG_PTR NumberOfPages
,
3194 PULONG_PTR UserPfnArray
3204 GetDevicePowerState(
3213 PLARGE_INTEGER lpFileSize
3218 GetNativeSystemInfo(
3219 LPSYSTEM_INFO lpSystemInfo
3224 GetNumaHighestNodeNumber(
3225 PULONG HighestNodeNumber
3230 GetNumaNodeProcessorMask(
3232 PULONGLONG ProcessorMask
3237 GetNumaProcessorNode(
3244 GetProcessHandleCount(
3246 PDWORD pdwHandleCount
3257 GetProcessIoCounters(
3259 PIO_COUNTERS lpIoCounters
3264 GetProcessPriorityBoost(
3266 PWINBOOL pDisablePriorityBoost
3271 GetSystemRegistryQuota(
3272 PDWORD pdwQuotaAllowed
,
3279 LPFILETIME lpIdleTime
,
3280 LPFILETIME lpKernelTime
,
3281 LPFILETIME lpUserTime
3286 GetThreadIOPendingFlag(
3288 PWINBOOL lpIOIsPending
3295 PVOID lpBaseAddress
,
3296 SIZE_T dwRegionSize
,
3298 PULONG_PTR lpdwCount
,
3299 PULONG lpdwGranularity
3304 GlobalMemoryStatusEx(
3305 LPMEMORYSTATUSEX lpBuffer
3310 HeapQueryInformation (
3312 HEAP_INFORMATION_CLASS HeapInformationClass
,
3313 PVOID HeapInformation OPTIONAL
,
3314 SIZE_T HeapInformationLength OPTIONAL
,
3315 PSIZE_T ReturnLength OPTIONAL
3320 HeapSetInformation (
3322 HEAP_INFORMATION_CLASS HeapInformationClass
,
3323 PVOID HeapInformation OPTIONAL
,
3324 SIZE_T HeapInformationLength OPTIONAL
3329 InitializeCriticalSectionAndSpinCount(
3330 LPCRITICAL_SECTION lpCriticalSection
,
3336 InitializeSListHead (
3337 PSLIST_HEADER ListHead
3342 InterlockedFlushSList (
3343 PSLIST_HEADER ListHead
3346 #ifndef __NTDRIVER__ /* needed to avoid conflicts in win32k */
3349 InterlockedPopEntrySList (
3350 PSLIST_HEADER ListHead
3355 InterlockedPushEntrySList (
3356 PSLIST_HEADER ListHead
,
3357 PSLIST_ENTRY ListEntry
3365 HANDLE ProcessHandle
,
3372 IsSystemResumeAutomatic(
3380 PWINBOOL Wow64Process
3385 MapUserPhysicalPages(
3386 PVOID VirtualAddress
,
3387 ULONG_PTR NumberOfPages
,
3388 PULONG_PTR PageArray OPTIONAL
3393 MapUserPhysicalPagesScatter(
3394 PVOID
*VirtualAddresses
,
3395 ULONG_PTR NumberOfPages
,
3396 PULONG_PTR PageArray OPTIONAL
3402 DWORD dwDesiredAccess
,
3403 WINBOOL bInheritHandle
,
3412 PVOID pvSubInstance
,
3415 SIZE_T cbBuffer OPTIONAL
,
3416 SIZE_T
*pcbWrittenOrRequired OPTIONAL
3422 PSLIST_HEADER ListHead
3427 QueryInformationJobObject(
3429 JOBOBJECTINFOCLASS JobObjectInformationClass
,
3430 LPVOID lpJobObjectInformation
,
3431 DWORD cbJobObjectInformationLength
,
3432 LPDWORD lpReturnLength
3437 QueryMemoryResourceNotification(
3438 HANDLE ResourceNotificationHandle
,
3439 PWINBOOL ResourceState
3453 LPTHREAD_START_ROUTINE Function
,
3460 ReadDirectoryChangesW(
3463 DWORD nBufferLength
,
3464 WINBOOL bWatchSubtree
,
3465 DWORD dwNotifyFilter
,
3466 LPDWORD lpBytesReturned
,
3467 LPOVERLAPPED lpOverlapped
,
3468 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
3475 FILE_SEGMENT_ELEMENT aSegmentArray
[],
3476 DWORD nNumberOfBytesToRead
,
3478 LPOVERLAPPED lpOverlapped
3483 RegisterWaitForSingleObject(
3484 PHANDLE phNewWaitObject
,
3486 WAITORTIMERCALLBACK Callback
,
3488 ULONG dwMilliseconds
,
3494 RegisterWaitForSingleObjectEx(
3496 WAITORTIMERCALLBACK Callback
,
3498 ULONG dwMilliseconds
,
3510 RemoveVectoredExceptionHandler(
3511 PVOID VectoredHandlerHandle
3516 RequestDeviceWakeup(
3522 RequestWakeupLatency(
3523 LATENCY_TIME latency
3529 LPVOID lpBaseAddress
,
3541 SetCriticalSectionSpinCount(
3542 LPCRITICAL_SECTION lpCriticalSection
,
3550 LARGE_INTEGER liDistanceToMove
,
3551 PLARGE_INTEGER lpNewFilePointer
,
3559 LONGLONG ValidDataLength
3564 SetInformationJobObject(
3566 JOBOBJECTINFOCLASS JobObjectInformationClass
,
3567 LPVOID lpJobObjectInformation
,
3568 DWORD cbJobObjectInformationLength
3573 SetMessageWaitingIndicator(
3574 HANDLE hMsgIndicator
,
3580 SetProcessPriorityBoost(
3582 WINBOOL bDisablePriorityBoost
3587 SetThreadExecutionState(
3588 EXECUTION_STATE esFlags
3595 WAITORTIMERCALLBACK Callback
,
3604 SignalObjectAndWait(
3605 HANDLE hObjectToSignal
,
3606 HANDLE hObjectToWaitOn
,
3607 DWORD dwMilliseconds
,
3620 TzSpecificLocalTimeToSystemTime(
3621 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
3622 LPSYSTEMTIME lpLocalTime
,
3623 LPSYSTEMTIME lpUniversalTime
3636 HANDLE CompletionEvent
3643 FILE_SEGMENT_ELEMENT aSegmentArray
[],
3644 DWORD nNumberOfBytesToWrite
,
3646 LPOVERLAPPED lpOverlapped
3651 WTSGetActiveConsoleSessionId(VOID
);
3661 AddVectoredExceptionHandler(
3663 PVECTORED_EXCEPTION_HANDLER VectoredHandler
3668 AddFontMemResourceEx(
3677 AddFontResourceTracking(
3684 AnyLinkedFonts(VOID
);
3688 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
3692 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
3696 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
);
3700 EnableEUDC(WINBOOL enable
);
3704 EndFormPage(HDC hdc
);
3708 EudcLoadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
,INT iPriority
,INT iFontLinkType
);
3712 EudcUnloadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
);
3716 FontIsLinked(HDC hdc
);
3720 GdiAddFontResourceW(LPCWSTR filename
,FLONG f
,DESIGNVECTOR
*pdv
);
3724 GdiAddGlsBounds(HDC hdc
,LPRECT prc
);
3728 GdiAlphaBlend(HDC hdcDst
,LONG DstX
,LONG DstY
,LONG DstCx
,LONG DstCy
,HDC hdcSrc
,LONG SrcX
,LONG SrcY
,LONG SrcCx
,LONG SrcCy
,BLENDFUNCTION BlendFunction
);
3732 GdiArtificialDecrementDriver(LPWSTR pDriverName
,WINBOOL unknown
);
3736 GdiCleanCacheDC(HDC hdc
);
3740 GdiConsoleTextOut(HDC hdc
, POLYTEXTW
*lpto
,UINT nStrings
, RECTL
*prclBounds
);
3744 GdiConvertAndCheckDC(HDC hdc
);
3748 GdiConvertBitmap(HBITMAP hbm
);
3752 GdiConvertBrush(HBRUSH hbr
);
3756 GdiConvertDC(HDC hdc
);
3760 GdiConvertFont(HFONT hfont
);
3764 GdiConvertPalette(HPALETTE hpal
);
3768 GdiConvertRegion(HRGN hregion
);
3772 GdiConvertEnhMetaFile(HENHMETAFILE hmf
);
3776 GdiDeleteLocalDC(HDC hdc
);
3780 GdiDescribePixelFormat(HDC hdc
,int ipfd
,UINT cjpfd
,PPIXELFORMATDESCRIPTOR ppfd
);
3784 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
);
3788 GdiFixUpHandle(HGDIOBJ hobj
);
3792 GdiFullscreenControl(FULLSCREENCONTROL FullscreenCommand
, PVOID FullscreenInput
,
3793 DWORD FullscreenInputLength
, PVOID FullscreenOutput
,
3794 PULONG FullscreenOutputLength
);
3798 GdiGetCodePage(HDC hdc
);
3802 GdiGetLocalBrush(HBRUSH hbr
);
3806 GdiGetLocalDC(HDC hdc
);
3810 GdiGetLocalFont(HFONT hfont
);
3814 GdiGradientFill(HDC hdc
,PTRIVERTEX pVertex
,ULONG uVertex
,PVOID pMesh
,ULONG uMesh
,ULONG ulMode
);
3818 GdiIsMetaFileDC(HDC hdc
);
3822 GdiIsMetaPrintDC(HDC hdc
);
3826 GdiIsPlayMetafileDC(HDC hdc
);
3830 GdiQueryFonts(PUNIVERSAL_FONT_ID pufiFontList
,ULONG nBufferSize
,PLARGE_INTEGER pTimeStamp
);
3834 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
);
3838 GdiReleaseDC(HDC hdc
);
3842 GdiReleaseLocalDC(HDC hdc
);
3846 GdiSetAttrs(HDC hdc
);
3850 GdiSetLastError(DWORD dwErrCode
);
3854 GdiSetPixelFormat(HDC hdc
,int ipfd
);
3858 GdiTransparentBlt(HDC hdcDst
, int xDst
, int yDst
, int cxDst
, int cyDst
,HDC hdcSrc
, int xSrc
, int ySrc
, int cxSrc
, int cySrc
,COLORREF TransColor
);
3862 GdiValidateHandle(HGDIOBJ hobj
);
3866 GdiSwapBuffers(HDC hdc
);
3870 GdiSetServerAttr(HDC hdc
,DWORD attr
);
3874 GetBitmapAttributes(HBITMAP hbm
);
3878 GetBrushAttributes(HBRUSH hbr
);
3902 GetCharWidthInfo(HDC hdc
,PCHWIDTHINFO pChWidthInfo
);
3918 GetFontUnicodeRanges(
3925 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
);
3929 GetEUDCTimeStamp(VOID
);
3933 GetEUDCTimeStampExW(LPCWSTR str
);
3937 GetFontAssocStatus(HDC hdc
);
3951 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
);
3955 GetTextExtentPointI(
3964 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
);
3968 GetTransform(HDC hdc
, DWORD iXform
, LPXFORM pxf
);
3972 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
);
3976 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, WINBOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
);
3980 MirrorRgn(HWND hwnd
,HRGN hrgn
);
3984 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
);
3988 QueryFontAssocStatus(VOID
);
3992 RemoveFontMemResourceEx(
3998 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
);
4002 GetTextExtentExPointI(
4014 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
4018 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
4043 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
);
4047 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
);
4051 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
);
4055 StartFormPage(HDC hdc
);
4059 UnloadNetworkFonts(DWORD unknown
);
4063 bInitSystemAndFontsDirectoriesW(LPWSTR
*SystemDir
,LPWSTR
*FontsDir
);
4067 bMakePathNameW(LPWSTR lpBuffer
,LPCWSTR lpFileName
,LPWSTR
*lpFilePart
,DWORD unknown
);
4071 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
);
4075 GdiConvertMetaFilePict(HGLOBAL hMem
);
4079 GdiConvertToDevmodeW(DEVMODEA
*dm
);
4083 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
);
4087 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
);
4091 GdiGetCharDimensions(HDC hdc
,LPTEXTMETRICW lptm
,BOOL unk
);
4095 GdiQueryTable(VOID
);
4099 GdiGetSpoolFileHandle(
4100 LPWSTR pwszPrinterName
,
4101 LPDEVMODEW pDevmode
,
4102 LPWSTR pwszDocName
);
4106 GdiDeleteSpoolFileHandle(
4107 HANDLE SpoolFileHandle
);
4112 HANDLE SpoolFileHandle
);
4117 HANDLE SpoolFileHandle
);
4122 HANDLE SpoolFileHandle
,
4124 LPDWORD pdwPageType
);
4129 HANDLE SpoolFileHandle
,
4130 DOCINFOW
*pDocInfo
);
4135 HANDLE SpoolFileHandle
);
4140 HANDLE SpoolFileHandle
,
4142 RECT
*prectDocument
,
4149 HANDLE SpoolFileHandle
,
4150 DWORD dwOptimization
);
4155 HANDLE SpoolFileHandle
);
4159 GdiGetDevmodeForPage(
4160 HANDLE SpoolFileHandle
,
4163 PDEVMODEW
*pLastDM
);
4168 HANDLE SpoolFileHandle
,
4175 LPWSTR pwszPrinterName
,
4176 LPDEVMODEW pDevmode
,
4178 EMFPLAYPROC pfnEMFPlayFn
,
4188 GdiPlayPrivatePageEMF
4190 HANDLE SpoolFileHandle
,
4197 AlignRects(LPRECT rect
, DWORD b
, DWORD c
, DWORD d
);
4202 PRAWINPUT
* paRawInput
,
4208 DisableProcessWindowsGhosting(VOID
);
4212 GetLayeredWindowAttributes(
4228 HRAWINPUT hRawInput
,
4236 GetRawInputDeviceList(
4237 PRAWINPUTDEVICELIST pRawInputDeviceList
,
4238 PUINT puiNumDevices
,
4243 GetRegisteredRawInputDevices(
4244 PRAWINPUTDEVICE pRawInputDevices
,
4245 PUINT puiNumDevices
,
4261 IsWinEventHookInstalled(
4273 RegisterRawInputDevices(
4274 PCRAWINPUTDEVICE pRawInputDevices
,
4281 const COLORREF
*pPens
,
4282 const HBRUSH
*pBrushes
,
4288 UserClientDllInitialize(
4306 UserRealizePalette ( HDC hDC
);
4310 DdeFreeStringHandle ( DWORD idInst
, HSZ hsz
);
4314 DeregisterShellHookWindow ( HWND hWnd
);
4318 RegisterShellHookWindow ( HWND hWnd
);
4330 InternalGetWindowText(
4338 IsHungAppWindow ( HWND hwnd
);
4354 HMODULE hmodWinEventProc
,
4355 WINEVENTPROC pfnWinEventProc
,
4369 UnhookWinEvent ( HWINEVENTHOOK hWinEventHook
);
4382 SetDeskWallpaper ( LPCSTR filename
);
4386 GetAppCompatFlags ( HTASK hTask
);
4390 GetInputDesktop ( VOID
);
4394 GetInternalWindowPos(
4402 GetProgmanWindow ( VOID
);
4406 GetTaskmanWindow ( VOID
);
4410 SetWindowStationUser(
4435 SetTaskmanWindow ( HWND x
);
4439 SetProgmanWindow ( HWND x
);
4452 LoadLocalFonts ( VOID
);
4456 LoadRemoteFonts ( VOID
);
4460 SetInternalWindowPos(
4469 RegisterSystemThread(
4476 RegisterLogonProcess(
4490 RegisterTasklist ( DWORD x
);
4494 SetLogonNotifyWindow ( HWINSTA hwinsta
, HWND hwnd
);
4498 CascadeChildWindows ( HWND hWndParent
, WORD wFlags
);
4502 TileChildWindows ( HWND hWndParent
, WORD wFlags
);
4506 TranslateMessageEx ( CONST MSG
*lpMsg
, DWORD unk
);
4519 LockWindowStation ( HWINSTA hWinSta
);
4523 UnlockWindowStation ( HWINSTA hWinSta
);
4527 GetAccCursorInfo ( PCURSORINFO pci
);
4531 MB_GetString ( DWORD string
);
4535 ClientThreadSetup ( VOID
);
4551 LPWSTR UnicodeString
,
4564 LPWSTR
*UnicodeString
,
4571 GetAncestor ( HWND hWnd
, UINT GaFlags
);
4575 AbnormalTermination ( VOID
);
4587 AbortPrinter ( HANDLE
);
4591 AbortProc ( HDC
, int );
4596 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4598 DWORD DesiredAccess
,
4599 PGENERIC_MAPPING GenericMapping
,
4600 PPRIVILEGE_SET PrivilegeSet
,
4601 LPDWORD PrivilegeSetLength
,
4602 LPDWORD GrantedAccess
,
4606 #ifndef __NTDRIVER__
4609 InterlockedIncrement(
4615 InterlockedDecrement(
4621 InterlockedExchange(
4628 InterlockedCompareExchange(
4654 HINSTANCE hInstance
,
4655 HINSTANCE hPrevInstance
,
4663 HINSTANCE hLibModule
4669 FreeLibraryAndExitThread(
4676 DisableThreadLibraryCalls(
4784 LPMEMORYSTATUS lpBuffer
4868 FlushInstructionCache(
4870 LPCVOID lpBaseAddress
,
4880 DWORD flAllocationType
,
4900 PDWORD lpflOldProtect
4908 PMEMORY_BASIC_INFORMATION lpBuffer
,
4920 PDWORD lpflOldProtect
4929 PMEMORY_BASIC_INFORMATION lpBuffer
,
4938 DWORD dwInitialSize
,
4998 GetProcessHeap( VOID
);
5003 DWORD NumberOfHeaps
,
5004 PHANDLE ProcessHeaps
5029 LPPROCESS_HEAP_ENTRY lpEntry
5034 GetProcessAffinityMask(
5036 LPDWORD lpProcessAffinityMask
,
5037 LPDWORD lpSystemAffinityMask
5044 LPFILETIME lpCreationTime
,
5045 LPFILETIME lpExitTime
,
5046 LPFILETIME lpKernelTime
,
5047 LPFILETIME lpUserTime
5052 GetProcessWorkingSetSize(
5054 PSIZE_T lpMinimumWorkingSetSize
,
5055 PSIZE_T lpMaximumWorkingSetSize
5060 SetProcessWorkingSetSize(
5062 SIZE_T dwMinimumWorkingSetSize
,
5063 SIZE_T dwMaximumWorkingSetSize
5069 DWORD dwDesiredAccess
,
5070 WINBOOL bInheritHandle
,
5082 GetCurrentProcessId(
5090 ) __attribute__ ((noreturn
));
5115 DWORD dwExceptionCode
,
5116 DWORD dwExceptionFlags
,
5117 DWORD nNumberOfArguments
,
5118 CONST DWORD
*lpArguments
5123 UnhandledExceptionFilter(
5124 struct _EXCEPTION_POINTERS
*ExceptionInfo
5128 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
5129 LPTOP_LEVEL_EXCEPTION_FILTER
5131 SetUnhandledExceptionFilter(
5132 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
5140 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
5142 LPTHREAD_START_ROUTINE lpStartAddress
,
5144 DWORD dwCreationFlags
,
5153 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
5155 LPTHREAD_START_ROUTINE lpStartAddress
,
5157 DWORD dwCreationFlags
,
5178 SetThreadAffinityMask(
5180 DWORD dwThreadAffinityMask
5203 LPFILETIME lpCreationTime
,
5204 LPFILETIME lpExitTime
,
5205 LPFILETIME lpKernelTime
,
5206 LPFILETIME lpUserTime
5210 __declspec(noreturn
)
5235 GetThreadSelectorEntry(
5238 LPLDT_ENTRY lpSelectorEntry
5258 GetOverlappedResult(
5260 LPOVERLAPPED lpOverlapped
,
5261 LPDWORD lpNumberOfBytesTransferred
,
5268 CreateIoCompletionPort(
5270 HANDLE ExistingCompletionPort
,
5271 DWORD CompletionKey
,
5272 DWORD NumberOfConcurrentThreads
5278 GetQueuedCompletionStatus(
5279 HANDLE CompletionPort
,
5280 LPDWORD lpNumberOfBytesTransferred
,
5281 LPDWORD lpCompletionKey
,
5282 LPOVERLAPPED
*lpOverlapped
,
5283 DWORD dwMilliseconds
5297 LPCVOID lpBaseAddress
,
5300 LPDWORD lpNumberOfBytesRead
5308 LPVOID lpBaseAddress
,
5311 LPDWORD lpNumberOfBytesWritten
5327 CONST CONTEXT
*lpContext
5355 LPDEBUG_EVENT lpDebugEvent
,
5356 DWORD dwMilliseconds
5365 DWORD dwContinueStatus
5378 InitializeCriticalSection(
5379 LPCRITICAL_SECTION lpCriticalSection
5385 EnterCriticalSection(
5386 LPCRITICAL_SECTION lpCriticalSection
5392 LeaveCriticalSection(
5393 LPCRITICAL_SECTION lpCriticalSection
5399 DeleteCriticalSection(
5400 LPCRITICAL_SECTION lpCriticalSection
5430 LPLONG lpPreviousCount
5443 WaitForSingleObject(
5445 DWORD dwMilliseconds
5451 WaitForMultipleObjects(
5453 CONST HANDLE
*lpHandles
,
5455 DWORD dwMilliseconds
5462 DWORD dwMilliseconds
5522 DWORD dwFileOffsetLow
,
5523 DWORD dwFileOffsetHigh
,
5524 DWORD nNumberOfBytesToLockLow
,
5525 DWORD nNumberOfBytesToLockHigh
5533 DWORD dwFileOffsetLow
,
5534 DWORD dwFileOffsetHigh
,
5535 DWORD nNumberOfBytesToUnlockLow
,
5536 DWORD nNumberOfBytesToUnlockHigh
5546 DWORD nNumberOfBytesToLockLow
,
5547 DWORD nNumberOfBytesToLockHigh
,
5548 LPOVERLAPPED lpOverlapped
5556 DWORD nNumberOfBytesToUnlockLow
,
5557 DWORD nNumberOfBytesToUnlockHigh
,
5558 LPOVERLAPPED lpOverlapped
5563 GetFileInformationByHandle(
5565 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
5580 LPDWORD lpFileSizeHigh
5604 DWORD nNumberOfBytesToWrite
,
5605 LPDWORD lpNumberOfBytesWritten
,
5606 LPOVERLAPPED lpOverlapped
5615 DWORD nNumberOfBytesToRead
,
5616 LPDWORD lpNumberOfBytesRead
,
5617 LPOVERLAPPED lpOverlapped
5632 DWORD dwIoControlCode
,
5634 DWORD nInBufferSize
,
5636 DWORD nOutBufferSize
,
5637 LPDWORD lpBytesReturned
,
5638 LPOVERLAPPED lpOverlapped
5653 LONG lDistanceToMove
,
5654 PLONG lpDistanceToMoveHigh
,
5670 LPFILETIME lpCreationTime
,
5671 LPFILETIME lpLastAccessTime
,
5672 LPFILETIME lpLastWriteTime
5680 CONST FILETIME
*lpCreationTime
,
5681 CONST FILETIME
*lpLastAccessTime
,
5682 CONST FILETIME
*lpLastWriteTime
5696 HANDLE hSourceProcessHandle
,
5697 HANDLE hSourceHandle
,
5698 HANDLE hTargetProcessHandle
,
5699 LPHANDLE lpTargetHandle
,
5700 DWORD dwDesiredAccess
,
5701 WINBOOL bInheritHandle
,
5708 GetHandleInformation(
5716 SetHandleInformation(
5725 LPCSTR lpModuleName
,
5726 LPVOID lpParameterBlock
5792 LPCOMMPROP lpCommProp
5816 LPCOMMTIMEOUTS lpCommTimeouts
5864 LPCOMMTIMEOUTS lpCommTimeouts
5881 LPOVERLAPPED lpOverlapped
5890 DWORD dwPositionMethod
,
5902 DWORD dwPositionType
,
5903 LPDWORD lpdwPartition
,
5904 LPDWORD lpdwOffsetLow
,
5905 LPDWORD lpdwOffsetHigh
5919 ProcessIdToSessionId(
5935 CreateTapePartition(
5937 DWORD dwPartitionMethod
,
5947 DWORD dwTapemarkType
,
5948 DWORD dwTapemarkCount
,
5966 LPVOID lpTapeInformation
5974 LPVOID lpTapeInformation
6123 LPSYSTEMTIME lpSystemTime
6128 GetSystemTimeAsFileTime (
6129 LPFILETIME lpSystemTimeAsFileTime
6135 CONST SYSTEMTIME
*lpSystemTime
6142 LPSYSTEMTIME lpSystemTime
6149 CONST SYSTEMTIME
*lpSystemTime
6156 LPSYSTEM_INFO lpSystemInfo
6161 SystemTimeToTzSpecificLocalTime(
6162 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
6163 LPSYSTEMTIME lpUniversalTime
,
6164 LPSYSTEMTIME lpLocalTime
6170 GetTimeZoneInformation(
6171 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
6177 SetTimeZoneInformation(
6178 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
6183 SystemTimeToFileTime(
6184 CONST SYSTEMTIME
*lpSystemTime
,
6185 LPFILETIME lpFileTime
6191 FileTimeToLocalFileTime(
6192 CONST FILETIME
*lpFileTime
,
6193 LPFILETIME lpLocalFileTime
6199 LocalFileTimeToFileTime(
6200 CONST FILETIME
*lpLocalFileTime
,
6201 LPFILETIME lpFileTime
6207 FileTimeToSystemTime(
6208 CONST FILETIME
*lpFileTime
,
6209 LPSYSTEMTIME lpSystemTime
6216 CONST FILETIME
*lpFileTime1
,
6217 CONST FILETIME
*lpFileTime2
6223 FileTimeToDosDateTime(
6224 CONST FILETIME
*lpFileTime
,
6232 DosDateTimeToFileTime(
6235 LPFILETIME lpFileTime
6248 SetSystemTimeAdjustment(
6249 DWORD dwTimeAdjustment
,
6250 WINBOOL bTimeAdjustmentDisabled
6256 GetSystemTimeAdjustment(
6257 PDWORD lpTimeAdjustment
,
6258 PDWORD lpTimeIncrement
,
6259 PWINBOOL lpTimeAdjustmentDisabled
6268 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
6277 LPOVERLAPPED lpOverlapped
6283 DisconnectNamedPipe(
6290 SetNamedPipeHandleState(
6293 LPDWORD lpMaxCollectionCount
,
6294 LPDWORD lpCollectDataTimeout
6303 LPDWORD lpOutBufferSize
,
6304 LPDWORD lpInBufferSize
,
6305 LPDWORD lpMaxInstances
6315 LPDWORD lpBytesRead
,
6316 LPDWORD lpTotalBytesAvail
,
6317 LPDWORD lpBytesLeftThisMessage
6326 DWORD nInBufferSize
,
6328 DWORD nOutBufferSize
,
6329 LPDWORD lpBytesRead
,
6330 LPOVERLAPPED lpOverlapped
6339 LPDWORD lpMaxMessageSize
,
6341 LPDWORD lpMessageCount
,
6342 LPDWORD lpReadTimeout
6357 HANDLE hFileMappingObject
,
6358 DWORD dwDesiredAccess
,
6359 DWORD dwFileOffsetHigh
,
6360 DWORD dwFileOffsetLow
,
6361 DWORD dwNumberOfBytesToMap
6368 LPCVOID lpBaseAddress
,
6369 DWORD dwNumberOfBytesToFlush
6376 LPVOID lpBaseAddress
6383 LPOFSTRUCT lpReOpenBuff
,
6483 typedef VOID
STDCALL_FUNC (*PFLS_CALLBACK_FUNCTION
)(PVOID lpFlsData
);
6485 DWORD STDCALL
FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback
);
6487 BOOL STDCALL
FlsFree(DWORD dwFlsIndex
);
6489 PVOID STDCALL
FlsGetValue(DWORD dwFlsIndex
);
6491 BOOL STDCALL
FlsSetValue(DWORD dwFlsIndex
, PVOID lpFlsData
);
6496 DWORD dwMilliseconds
,
6503 WaitForSingleObjectEx(
6505 DWORD dwMilliseconds
,
6512 WaitForMultipleObjectsEx(
6514 CONST HANDLE
*lpHandles
,
6516 DWORD dwMilliseconds
,
6526 DWORD nNumberOfBytesToRead
,
6527 LPOVERLAPPED lpOverlapped
,
6528 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
6537 DWORD nNumberOfBytesToWrite
,
6538 LPOVERLAPPED lpOverlapped
,
6539 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
6548 DWORD nNumberOfBytesToRead
,
6549 LPDWORD lpNumberOfBytesRead
,
6551 WINBOOL bProcessSecurity
,
6560 DWORD dwLowBytesToSeek
,
6561 DWORD dwHighBytesToSeek
,
6562 LPDWORD lpdwLowByteSeeked
,
6563 LPDWORD lpdwHighByteSeeked
,
6573 DWORD nNumberOfBytesToWrite
,
6574 LPDWORD lpNumberOfBytesWritten
,
6576 WINBOOL bProcessSecurity
,
6582 SetProcessShutdownParameters(
6590 GetProcessShutdownParameters(
6598 SetFileApisToOEM( VOID
);
6603 SetFileApisToANSI( VOID
);
6608 AreFileApisANSI( VOID
);
6619 DeregisterEventSource (
6626 NotifyChangeEventLog (
6634 GetNumberOfEventLogRecords (
6636 PDWORD NumberOfRecords
6642 GetOldestEventLogRecord (
6650 HANDLE ExistingTokenHandle
,
6651 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
6652 PHANDLE DuplicateTokenHandle
6658 GetKernelObjectSecurity (
6660 SECURITY_INFORMATION RequestedInformation
,
6661 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6663 LPDWORD lpnLengthNeeded
6669 ImpersonateNamedPipeClient(
6676 ImpersonateLoggedOnUser(
6684 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
6707 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6709 DWORD DesiredAccess
,
6710 PGENERIC_MAPPING GenericMapping
,
6711 PPRIVILEGE_SET PrivilegeSet
,
6712 LPDWORD PrivilegeSetLength
,
6713 LPDWORD GrantedAccess
,
6722 HANDLE ProcessHandle
,
6723 DWORD DesiredAccess
,
6732 HANDLE ThreadHandle
,
6733 DWORD DesiredAccess
,
6742 GetTokenInformation (
6744 TOKEN_INFORMATION_CLASS TokenInformationClass
,
6745 LPVOID TokenInformation
,
6746 DWORD TokenInformationLength
,
6754 SetTokenInformation (
6756 TOKEN_INFORMATION_CLASS TokenInformationClass
,
6757 LPVOID TokenInformation
,
6758 DWORD TokenInformationLength
6765 AdjustTokenPrivileges (
6767 WINBOOL DisableAllPrivileges
,
6768 PTOKEN_PRIVILEGES NewState
,
6770 PTOKEN_PRIVILEGES PreviousState
,
6780 WINBOOL ResetToDefault
,
6781 PTOKEN_GROUPS NewState
,
6783 PTOKEN_GROUPS PreviousState
,
6793 PPRIVILEGE_SET RequiredPrivileges
,
6827 GetSidLengthRequired (
6828 UCHAR nSubAuthorityCount
6835 AllocateAndInitializeSid (
6836 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
6837 BYTE nSubAuthorityCount
,
6838 DWORD nSubAuthority0
,
6839 DWORD nSubAuthority1
,
6840 DWORD nSubAuthority2
,
6841 DWORD nSubAuthority3
,
6842 DWORD nSubAuthority4
,
6843 DWORD nSubAuthority5
,
6844 DWORD nSubAuthority6
,
6845 DWORD nSubAuthority7
,
6861 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
6862 BYTE nSubAuthorityCount
6867 PSID_IDENTIFIER_AUTHORITY
6869 GetSidIdentifierAuthority (
6877 GetSidSubAuthority (
6886 GetSidSubAuthorityCount (
6903 DWORD nDestinationSidLength
,
6904 PSID pDestinationSid
,
6912 AreAllAccessesGranted (
6913 DWORD GrantedAccess
,
6921 AreAnyAccessesGranted (
6922 DWORD GrantedAccess
,
6932 PGENERIC_MAPPING GenericMapping
6959 LPVOID pAclInformation
,
6960 DWORD nAclInformationLength
,
6961 ACL_INFORMATION_CLASS dwAclInformationClass
6970 LPVOID pAclInformation
,
6971 DWORD nAclInformationLength
,
6972 ACL_INFORMATION_CLASS dwAclInformationClass
6981 DWORD dwAceRevision
,
6982 DWORD dwStartingAceIndex
,
6984 DWORD nAceListLength
7010 AddAccessAllowedAce (
7012 DWORD dwAceRevision
,
7021 AddAccessDeniedAce (
7023 DWORD dwAceRevision
,
7034 DWORD dwAceRevision
,
7037 WINBOOL bAuditSuccess
,
7038 WINBOOL bAuditFailure
7054 InitializeSecurityDescriptor (
7055 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7063 IsValidSecurityDescriptor (
7064 PSECURITY_DESCRIPTOR pSecurityDescriptor
7071 GetSecurityDescriptorLength (
7072 PSECURITY_DESCRIPTOR pSecurityDescriptor
7079 GetSecurityDescriptorControl (
7080 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7081 PSECURITY_DESCRIPTOR_CONTROL pControl
,
7082 LPDWORD lpdwRevision
7089 SetSecurityDescriptorDacl (
7090 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7091 WINBOOL bDaclPresent
,
7093 WINBOOL bDaclDefaulted
7100 GetSecurityDescriptorDacl (
7101 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7102 LPBOOL lpbDaclPresent
,
7104 LPBOOL lpbDaclDefaulted
7111 SetSecurityDescriptorSacl (
7112 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7113 WINBOOL bSaclPresent
,
7115 WINBOOL bSaclDefaulted
7122 GetSecurityDescriptorSacl (
7123 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7124 LPBOOL lpbSaclPresent
,
7126 LPBOOL lpbSaclDefaulted
7133 SetSecurityDescriptorOwner (
7134 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7136 WINBOOL bOwnerDefaulted
7143 GetSecurityDescriptorOwner (
7144 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7146 LPBOOL lpbOwnerDefaulted
7153 SetSecurityDescriptorGroup (
7154 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7156 WINBOOL bGroupDefaulted
7163 GetSecurityDescriptorGroup (
7164 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7166 LPBOOL lpbGroupDefaulted
7173 CreatePrivateObjectSecurity (
7174 PSECURITY_DESCRIPTOR ParentDescriptor
,
7175 PSECURITY_DESCRIPTOR CreatorDescriptor
,
7176 PSECURITY_DESCRIPTOR
* NewDescriptor
,
7177 WINBOOL IsDirectoryObject
,
7179 PGENERIC_MAPPING GenericMapping
7186 SetPrivateObjectSecurity (
7187 SECURITY_INFORMATION SecurityInformation
,
7188 PSECURITY_DESCRIPTOR ModificationDescriptor
,
7189 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
7190 PGENERIC_MAPPING GenericMapping
,
7198 GetPrivateObjectSecurity (
7199 PSECURITY_DESCRIPTOR ObjectDescriptor
,
7200 SECURITY_INFORMATION SecurityInformation
,
7201 PSECURITY_DESCRIPTOR ResultantDescriptor
,
7202 DWORD DescriptorLength
,
7210 DestroyPrivateObjectSecurity (
7211 PSECURITY_DESCRIPTOR
* ObjectDescriptor
7218 MakeSelfRelativeSD (
7219 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
7220 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
7221 LPDWORD lpdwBufferLength
7229 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
7230 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
7231 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
7233 LPDWORD lpdwDaclSize
,
7235 LPDWORD lpdwSaclSize
,
7237 LPDWORD lpdwOwnerSize
,
7239 LPDWORD lpdwPrimaryGroupSize
7246 SetKernelObjectSecurity (
7248 SECURITY_INFORMATION SecurityInformation
,
7249 PSECURITY_DESCRIPTOR SecurityDescriptor
7255 FindNextChangeNotification(
7256 HANDLE hChangeHandle
7262 FindCloseChangeNotification(
7263 HANDLE hChangeHandle
7286 HANDLE hFileMappingObject
,
7287 DWORD dwDesiredAccess
,
7288 DWORD dwFileOffsetHigh
,
7289 DWORD dwFileOffsetLow
,
7290 DWORD dwNumberOfBytesToMap
,
7291 LPVOID lpBaseAddress
7299 DWORD dwPriorityClass
7350 AllocateLocallyUniqueId(
7357 QueryPerformanceCounter(
7358 LARGE_INTEGER
*lpPerformanceCount
7364 QueryPerformanceFrequency(
7365 LARGE_INTEGER
*lpFrequency
7391 /* The memory functions don't seem to be defined in the libraries, so
7392 define macro versions as well. */
7393 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
7394 #define FillMemory(p, c, v) memset ((p), (v), (c))
7395 #define ZeroMemory(p, c) memset ((p), 0, (c))
7400 ActivateKeyboardLayout(
7406 ActivateKeyboardLayout(
7426 UnloadKeyboardLayout(
7432 GetKeyboardLayoutList(
7449 DWORD dwDesiredAccess
);
7455 ENUMWINDOWSPROC lpfn
,
7491 SetProcessWindowStation(
7497 GetProcessWindowStation(
7503 SetUserObjectSecurity(
7505 PSECURITY_INFORMATION pSIRequested
,
7506 PSECURITY_DESCRIPTOR pSID
);
7511 GetUserObjectSecurity(
7513 PSECURITY_INFORMATION pSIRequested
,
7514 PSECURITY_DESCRIPTOR pSID
,
7516 LPDWORD lpnLengthNeeded
);
7572 GetMessageExtraInfo(
7578 SetMessageExtraInfo(
7584 BroadcastSystemMessage(
7615 DWORD dwMilliseconds
);
7721 HWND hWndInsertAfter
,
7733 WINDOWPLACEMENT
*lpwndpl
);
7740 CONST WINDOWPLACEMENT
*lpwndpl
);
7745 BeginDeferWindowPos(
7754 HWND hWndInsertAfter
,
7826 WINBOOL
*lpTranslated
,
7844 int nIDCheckButton
);
7856 GetNextDlgGroupItem(
7878 GetDialogBaseUnits(VOID
);
7901 HWND hWndNewViewer
);
7912 ChangeClipboardChain(
7933 CountClipboardFormats(
7939 EnumClipboardFormats(
7951 IsClipboardFormatAvailable(
7957 GetPriorityClipboardFormat(
7958 UINT
*paFormatPriorityList
,
7964 GetOpenClipboardWindow(
7968 /* Despite the A these are ASCII functions! */
7973 LPCSTR lpCurrentChar
,
7982 LPCSTR lpCurrentChar
,
8063 ToUnicode(UINT wVirtKey
,
8127 MsgWaitForMultipleObjects(
8131 DWORD dwMilliseconds
,
8141 TIMERPROC lpTimerFunc
);
8145 (*PTIMERAPCROUTINE
)(
8146 LPVOID lpArgToCompletionRoutine
,
8147 DWORD dwTimerLowValue
,
8148 DWORD dwTimerHighValue
8152 SetWaitableTimer(HANDLE hTimer
,
8153 const LARGE_INTEGER
*pDueTime
,
8155 PTIMERAPCROUTINE pfnCompletionRoutine
,
8156 LPVOID lpArgToCompletionRoutine
,
8188 DestroyAcceleratorTable(
8313 HBITMAP hBitmapUnchecked
,
8314 HBITMAP hBitmapChecked
);
8319 GetMenuCheckMarkDimensions(
8332 CONST RECT
*prcRect
);
8350 GetMenuItemRect(HWND hWnd
,
8357 MenuItemFromPoint(HWND hWnd
,
8364 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
8369 DragDetect(HWND hwnd
,
8395 GetForegroundWindow(
8400 PaintDesktop(HDC hdc
);
8405 SetForegroundWindow(
8446 LPPAINTSTRUCT lpPaint
);
8453 CONST PAINTSTRUCT
*lpPaint
);
8506 CONST RECT
*lpRect
);
8528 CONST RECT
*lprcUpdate
,
8546 CONST RECT
*lpClipRect
);
8555 CONST RECT
*lprcScroll
,
8556 CONST RECT
*lprcClip
,
8567 CONST RECT
*prcScroll
,
8568 CONST RECT
*prcClip
,
8627 PSCROLLBARINFO psbi
);
8658 SetWindowContextHelpId(
8660 DWORD dwContextHelpId
);
8664 GetWindowContextHelpId(
8669 SetMenuContextHelpId(
8671 DWORD dwContextHelpId
);
8675 GetMenuContextHelpId(
8685 CopyCursor(HCURSOR pcur
);
8714 CONST RECT
*lpRect
);
8812 ChildWindowFromPoint(
8833 CONST INT
* lpaElements
,
8834 CONST COLORREF
* lpaRgbValues
);
8887 CONST RECT
*lprcSrc
);
8902 CONST RECT
*lprcSrc1
,
8903 CONST RECT
*lprcSrc2
);
8910 CONST RECT
*lprcSrc1
,
8911 CONST RECT
*lprcSrc2
);
8918 CONST RECT
*lprcSrc1
,
8919 CONST RECT
*lprcSrc2
);
8987 GetShellWindow(VOID
);
9000 HWND hWndNewParent
);
9007 ENUMWINDOWSPROC lpEnumFunc
,
9014 ENUMWINDOWSPROC lpEnumFunc
,
9022 ENUMWINDOWSPROC lpfn
,
9033 GetWindowThreadProcessId(
9035 LPDWORD lpdwProcessId
);
9049 LPGUITHREADINFO lpgui
);
9068 HOOKPROC pfnFilterProc
);
9072 UnhookWindowsHookEx(
9087 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
9097 CONST VOID
*pvANDPlane
,
9098 CONST VOID
*pvXORPlane
);
9117 HINSTANCE hInstance
,
9122 CONST BYTE
*lpbANDbits
,
9123 CONST BYTE
*lpbXORbits
);
9134 LookupIconIdFromDirectory(
9141 LookupIconIdFromDirectoryEx(
9151 CreateIconFromResource(
9160 CreateIconFromResourceEx(
9183 PICONINFO piconinfo
);
9196 PICONINFO piconinfo
);
9207 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
9211 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
9215 TranslateMDISysAccel(
9222 ArrangeIconicWindows(
9227 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
9231 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
9250 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
9254 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
9266 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
9270 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
9274 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
9278 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
9279 HICON hIcon
, int cxWidth
, int cyWidth
,
9280 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
9284 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
9288 Arc(HDC
, int, int, int, int, int, int, int, int);
9292 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
9300 Chord(HDC
, int, int, int, int, int, int, int, int);
9308 CombineRgn(HRGN
, HRGN
, HRGN
, int);
9312 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
9316 CreateBitmapIndirect(CONST BITMAP
*);
9320 CreateBrushIndirect(CONST LOGBRUSH
*);
9324 CreateCompatibleBitmap(HDC
, int, int);
9328 CreateDiscardableBitmap(HDC
, int, int);
9332 CreateCompatibleDC(HDC
);
9336 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9340 CreateDIBPatternBrush(HGLOBAL
, UINT
);
9344 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
9348 CreateEllipticRgn(int, int, int, int);
9352 CreateEllipticRgnIndirect(CONST RECT
*);
9356 CreateHatchBrush(int, COLORREF
);
9360 CreatePalette(CONST LOGPALETTE
*);
9364 CreatePen(int, int, COLORREF
);
9368 CreatePenIndirect(CONST LOGPEN
*);
9372 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
9376 CreatePatternBrush(HBITMAP
);
9380 CreateRectRgn(int, int, int, int);
9384 CreateRectRgnIndirect(CONST RECT
*);
9388 CreateRoundRectRgn(int, int, int, int, int, int);
9392 CreateSolidBrush(COLORREF
);
9400 DeleteMetaFile(HMETAFILE
);
9404 DeleteObject(HGDIOBJ
);
9408 DrawEscape(HDC
, int, int, LPCSTR
);
9412 Ellipse(HDC
, int, int, int, int);
9416 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
9420 EqualRgn(HRGN
, HRGN
);
9424 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
9428 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
9432 ExcludeClipRect(HDC
, int, int, int, int);
9436 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
9440 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
9444 FillRgn(HDC
, HRGN
, HBRUSH
);
9448 FloodFill(HDC
, int, int, COLORREF
);
9452 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
9456 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
9460 GdiProcessSetup (VOID
);
9468 GetAspectRatioFilterEx(HDC
, LPSIZE
);
9480 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
9484 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
9488 GetBoundsRect(HDC
, LPRECT
, UINT
);
9492 GetBrushOrgEx(HDC
, LPPOINT
);
9496 GetClipBox(HDC
, LPRECT
);
9500 GetClipRgn(HDC
, HRGN
);
9504 GetMetaRgn(HDC
, HRGN
);
9508 GetCurrentObject(HDC
, UINT
);
9512 GetCurrentPositionEx(HDC
, LPPOINT
);
9516 GetDeviceCaps(HDC
, int);
9520 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
9524 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
9528 GetGraphicsMode(HDC
);
9536 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
9540 GetNearestColor(HDC
, COLORREF
);
9544 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
9548 GetObjectType(HGDIOBJ h
);
9552 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
9556 GetPixel(HDC
, int, int);
9560 GetPixelFormat(HDC
);
9564 GetPolyFillMode(HDC
);
9568 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
9572 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
9576 GetRgnBox(HRGN
, LPRECT
);
9580 GetStockObject(int);
9584 GetStretchBltMode(HDC
);
9588 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
9592 GetSystemPaletteUse(HDC
);
9596 GetTextCharacterExtra(HDC
);
9608 GetTextCharset(HDC hdc
);
9612 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
9616 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
9620 GetFontLanguageInfo( HDC
);
9624 GetViewportExtEx(HDC
, LPSIZE
);
9628 GetViewportOrgEx(HDC
, LPPOINT
);
9632 GetWindowExtEx(HDC
, LPSIZE
);
9636 GetWindowOrgEx(HDC
, LPPOINT
);
9640 IntersectClipRect(HDC
, int, int, int, int);
9644 InvertRgn(HDC
, HRGN
);
9648 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
9652 LineTo(HDC
, int, int);
9656 MaskBlt(HDC
, int, int, int, int,
9657 HDC
, int, int, HBITMAP
, int, int, DWORD
);
9661 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
9662 int, HBITMAP
, int, int);
9666 OffsetClipRgn(HDC
, int, int);
9670 OffsetRgn(HRGN
, int, int);
9674 PatBlt(HDC
, int, int, int, int, DWORD
);
9678 Pie(HDC
, int, int, int, int, int, int, int, int);
9682 PlayMetaFile(HDC
, HMETAFILE
);
9686 PaintRgn(HDC
, HRGN
);
9690 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
9694 PtInRegion(HRGN
, int, int);
9698 PtVisible(HDC
, int, int);
9702 RectInRegion(HRGN
, CONST RECT
*);
9706 RectVisible(HDC
, CONST RECT
*);
9710 Rectangle(HDC
, int, int, int, int);
9714 RestoreDC(HDC
, int);
9718 RealizePalette(HDC
);
9722 RoundRect(HDC
, int, int, int, int, int, int);
9726 ResizePalette(HPALETTE
, UINT
);
9734 SelectClipRgn(HDC
, HRGN
);
9738 ExtSelectClipRgn(HDC
, HRGN
, int);
9746 SelectObject(HDC
, HGDIOBJ
);
9750 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
9754 SetBkColor(HDC
, COLORREF
);
9758 SetBkMode(HDC
, int);
9762 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
9766 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
9770 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9774 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
9775 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9779 SetMapperFlags(HDC
, DWORD
);
9783 SetGraphicsMode(HDC hdc
, int iMode
);
9787 SetMapMode(HDC
, int);
9791 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
9795 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
9799 SetPixel(HDC
, int, int, COLORREF
);
9803 SetPixelV(HDC
, int, int, COLORREF
);
9807 SetPolyFillMode(HDC
, int);
9811 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
9815 SetRectRgn(HRGN
, int, int, int, int);
9818 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
9819 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
9827 SetStretchBltMode(HDC
, int);
9831 SetSystemPaletteUse(HDC
, UINT
);
9835 SetTextCharacterExtra(HDC
, int);
9839 SetTextColor(HDC
, COLORREF
);
9843 SetTextAlign(HDC
, UINT
);
9847 SetTextJustification(HDC
, int, int);
9855 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
9859 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
9863 CloseEnhMetaFile(HDC
);
9867 DeleteEnhMetaFile(HENHMETAFILE
);
9871 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
9872 LPVOID
, CONST RECT
*);
9876 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
9880 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
9884 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
9888 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
9892 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
9896 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
9901 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
9906 GdiComment(HDC
, UINT
, CONST BYTE
*);
9910 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
9914 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
9918 GetWorldTransform(HDC
, LPXFORM
);
9922 SetWorldTransform(HDC
, CONST XFORM
*);
9926 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
9930 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
9934 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
9938 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
9942 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
9946 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
9950 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
9954 CreateHalftonePalette(HDC
);
9974 SetAbortProc(HDC
, ABORTPROC
);
9982 ArcTo(HDC
, int, int, int, int, int, int,int, int);
10006 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
10014 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
10018 SelectClipPath(HDC
, int);
10022 SetArcDirection(HDC
, int);
10026 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
10030 StrokeAndFillPath(HDC
);
10042 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
10046 GetMiterLimit(HDC
, PFLOAT
);
10050 GetArcDirection(HDC
);
10054 MoveToEx(HDC
, int, int, LPPOINT
);
10058 CreatePolygonRgn(CONST POINT
*, int, int);
10062 DPtoLP(HDC
, LPPOINT
, int);
10066 LPtoDP(HDC
, LPPOINT
, int);
10070 Polygon(HDC
, CONST POINT
*, int);
10074 Polyline(HDC
, CONST POINT
*, int);
10078 PolyBezier(HDC
, CONST POINT
*, DWORD
);
10082 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
10086 PolylineTo(HDC
, CONST POINT
*, DWORD
);
10090 SetViewportExtEx(HDC
, int, int, LPSIZE
);
10094 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
10098 SetWindowExtEx(HDC
, int, int, LPSIZE
);
10102 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
10106 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
10110 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
10114 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
10118 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
10122 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
10126 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
10130 GetDCOrgEx(HDC
,LPPOINT
);
10134 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
10138 UnrealizeObject(HGDIOBJ
);
10146 GdiSetBatchLimit(DWORD
);
10150 GdiGetBatchLimit(void);
10154 SetICMMode(HDC
, int);
10158 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
10162 GetColorSpace(HDC
);
10166 SetColorSpace(HDC
,HCOLORSPACE
);
10170 DeleteColorSpace(HCOLORSPACE
);
10174 GetDeviceGammaRamp(HDC
,LPVOID
);
10178 SetDeviceGammaRamp(HDC
,LPVOID
);
10182 ColorMatchToTarget(HDC
,HDC
,DWORD
);
10186 CreatePropertySheetPageA(LPCPROPSHEETPAGEA lppsp
);
10190 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
10194 InitCommonControls(void);
10196 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
10200 ImageList_Create(int cx
, int cy
, UINT flags
,
10201 int cInitial
, int cGrow
);
10205 ImageList_Destroy(HIMAGELIST himl
);
10209 ImageList_GetImageCount(HIMAGELIST himl
);
10213 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
10218 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
10222 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
10226 ImageList_GetBkColor(HIMAGELIST himl
);
10230 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
10235 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
10239 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
10243 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
10247 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
10251 ImageList_Remove(HIMAGELIST himl
, int i
);
10255 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
10259 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
10263 ImageList_EndDrag(void);
10267 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
10271 ImageList_DragLeave(HWND hwndLock
);
10275 ImageList_DragMove(int x
, int y
);
10279 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
10283 ImageList_DragShowNolock(WINBOOL fShow
);
10287 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
10291 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
10295 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
10299 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
10303 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
10307 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
10308 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
10309 int iNumButtons
, int dxButton
, int dyButton
,
10310 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
10314 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
10315 UINT wFlags
, LPCOLORMAP lpColorMap
,
10321 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
10325 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
10329 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
10333 MakeDragList(HWND hLB
);
10337 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
10341 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
10345 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
10346 HWND hParent
, int nID
, HINSTANCE hInst
,
10348 int nUpper
, int nLower
, int nPos
);
10352 CommDlgExtendedError(VOID
);
10354 /* Animation controls */
10356 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
10358 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
10360 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
10362 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
10364 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
10366 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
10368 /* Property sheet macros */
10370 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
10372 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
10374 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
10376 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
10378 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
10380 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
10382 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
10384 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
10386 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
10388 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
10390 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
10392 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
10394 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
10396 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
10398 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
10400 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
10402 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
10404 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
10406 /* Header control */
10407 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
10409 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
10411 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
10413 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
10415 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
10417 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
10420 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
10422 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
10424 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
10426 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
10428 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
10430 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
10432 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
10434 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
10436 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
10438 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
10440 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
10442 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
10444 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
10446 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
10448 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
10450 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
10452 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
10454 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
10456 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
10458 #define ListView_GetItemRect(hwnd, i, prc, code) SendMessage(hwnd, LVM_GETITEMRECT, (WPARAM)(int)i, ((prc) ? (((RECT *)(prc))->left = (code), (LPARAM)(RECT *)(prc)) : (LPARAM)(RECT *)NULL))
10460 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
10462 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
10464 #define ListView_GetItemText(hwndLV, i, iSubItem_, pszText_, cchTextMax_) { LV_ITEM _gnu_lvi;_gnu_lvi.iSubItem = iSubItem_;_gnu_lvi.cchTextMax = cchTextMax_;_gnu_lvi.pszText = pszText_;SendMessage((hwndLV), LVM_GETITEMTEXT, (WPARAM)i, (LPARAM)(LV_ITEM *)&_gnu_lvi);}
10466 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
10468 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
10470 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
10472 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
10474 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
10476 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
10478 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
10480 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
10482 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
10484 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
10486 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
10488 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
10490 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
10492 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
10494 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
10496 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
10498 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
10501 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
10503 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
10505 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
10507 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
10509 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
10511 #define ListView_SetItemState(hwndLV, i, data, mask) { LV_ITEM _gnu_lvi; _gnu_lvi.stateMask = mask; _gnu_lvi.state = data; SendMessage((hwndLV), LVM_SETITEMSTATE, (WPARAM)i, (LPARAM)(LV_ITEM *)&_gnu_lvi);}
10513 #define ListView_SetItemText(hwndLV, i, iSubItem_, pszText_) { LV_ITEM _gnu_lvi; _gnu_lvi.iSubItem = iSubItem_; _gnu_lvi.pszText = pszText_; SendMessage((hwndLV), LVM_SETITEMTEXT, (WPARAM)i, (LPARAM)(LV_ITEM *)&_gnu_lvi);}
10515 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
10517 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
10519 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
10521 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
10524 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
10526 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
10528 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
10530 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10532 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
10534 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
10536 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
10538 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
10540 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
10542 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
10544 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10546 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
10548 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
10550 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
10552 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
10554 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
10556 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
10558 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
10560 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
10562 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
10564 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
10566 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10569 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
10571 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
10573 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
10575 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
10577 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
10579 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
10581 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
10583 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
10585 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
10587 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
10589 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
10591 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
10593 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
10595 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
10597 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
10601 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
10603 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
10605 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
10607 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
10609 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
10611 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
10613 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
10615 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
10617 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
10619 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
10621 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
10623 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
10625 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
10627 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
10629 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
10631 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
10633 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
10635 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
10637 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
10639 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
10641 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
10643 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
10645 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10647 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10649 #ifndef _DISABLE_TIDENTS
10651 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
10653 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
10654 #endif /* !UNICODE */
10655 #endif /* _DISABLE_TIDENTS */
10657 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10659 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10661 #ifndef _DISABLE_TIDENTS
10663 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
10665 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
10666 #endif /* !UNICODE */
10667 #endif /* _DISABLE_TIDENTS */
10669 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10671 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10673 #ifndef _DISABLE_TIDENTS
10675 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
10677 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
10678 #endif /* !UNICODE */
10679 #endif /* _DISABLE_TIDENTS */
10681 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
10683 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
10685 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
10687 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
10697 RegSetKeySecurity (
10699 SECURITY_INFORMATION SecurityInformation
,
10700 PSECURITY_DESCRIPTOR pSecurityDescriptor
10711 RegGetKeySecurity (
10713 SECURITY_INFORMATION SecurityInformation
,
10714 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
10715 LPDWORD lpcbSecurityDescriptor
10720 RegNotifyChangeKeyValue (
10722 WINBOOL bWatchSubtree
,
10723 DWORD dwNotifyFilter
,
10725 WINBOOL fAsynchronus
10746 GetCPInfo(UINT
, LPCPINFO
);
10764 MultiByteToWideChar(
10767 LPCSTR lpMultiByteStr
,
10769 LPWSTR lpWideCharStr
,
10775 WideCharToMultiByte(
10778 LPCWSTR lpWideCharStr
,
10780 LPSTR lpMultiByteStr
,
10782 LPCSTR lpDefaultChar
,
10783 LPBOOL lpUsedDefaultChar
);
10794 ConvertDefaultLocale(
10800 GetThreadLocale(void);
10812 GetSystemDefaultLangID(void);
10817 GetUserDefaultLangID(void);
10822 GetSystemDefaultLCID(void);
10827 GetUserDefaultLCID(void);
10832 ReadConsoleOutputAttribute(
10833 HANDLE hConsoleOutput
,
10834 LPWORD lpAttribute
,
10837 LPDWORD lpNumberOfAttrsRead
10843 WriteConsoleOutputAttribute(
10844 HANDLE hConsoleOutput
,
10845 CONST WORD
*lpAttribute
,
10847 COORD dwWriteCoord
,
10848 LPDWORD lpNumberOfAttrsWritten
10854 FillConsoleOutputAttribute(
10855 HANDLE hConsoleOutput
,
10858 COORD dwWriteCoord
,
10859 LPDWORD lpNumberOfAttrsWritten
10866 HANDLE hConsoleHandle
,
10873 GetNumberOfConsoleInputEvents(
10874 HANDLE hConsoleInput
,
10875 LPDWORD lpNumberOfEvents
10881 GetConsoleScreenBufferInfo(
10882 HANDLE hConsoleOutput
,
10883 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
10889 GetLargestConsoleWindowSize(
10890 HANDLE hConsoleOutput
10896 GetConsoleCursorInfo(
10897 HANDLE hConsoleOutput
,
10898 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
10904 GetNumberOfConsoleMouseButtons(
10905 LPDWORD lpNumberOfMouseButtons
10912 HANDLE hConsoleHandle
,
10919 SetConsoleActiveScreenBuffer(
10920 HANDLE hConsoleOutput
10926 FlushConsoleInputBuffer(
10927 HANDLE hConsoleInput
10933 SetConsoleScreenBufferSize(
10934 HANDLE hConsoleOutput
,
10941 SetConsoleCursorPosition(
10942 HANDLE hConsoleOutput
,
10943 COORD dwCursorPosition
10949 SetConsoleCursorInfo(
10950 HANDLE hConsoleOutput
,
10951 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
10956 SetConsoleWindowInfo(
10957 HANDLE hConsoleOutput
,
10959 CONST SMALL_RECT
*lpConsoleWindow
10965 SetConsoleTextAttribute(
10966 HANDLE hConsoleOutput
,
10973 SetConsoleCtrlHandler(
10974 PHANDLER_ROUTINE HandlerRoutine
,
10981 GenerateConsoleCtrlEvent(
10983 DWORD dwProcessGroupId
10989 AllocConsole( VOID
);
10994 FreeConsole( VOID
);
11000 CreateConsoleScreenBuffer(
11001 DWORD dwDesiredAccess
,
11003 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
11005 LPVOID lpScreenBufferData
11011 GetConsoleCP( VOID
);
11023 GetConsoleOutputCP( VOID
);
11028 SetConsoleOutputCP(
11034 VerifyConsoleIoHandle(
11039 WNetConnectionDialog(
11045 WNetDisconnectDialog(
11057 CloseServiceHandle(
11058 SC_HANDLE hSCObject
11065 SC_HANDLE hService
,
11067 LPSERVICE_STATUS lpServiceStatus
11078 LockServiceDatabase(
11079 SC_HANDLE hSCManager
11085 NotifyBootConfigStatus(
11086 WINBOOL BootAcceptable
11091 QueryServiceObjectSecurity(
11092 SC_HANDLE hService
,
11093 SECURITY_INFORMATION dwSecurityInformation
,
11094 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
11096 LPDWORD pcbBytesNeeded
11102 QueryServiceStatus(
11103 SC_HANDLE hService
,
11104 LPSERVICE_STATUS lpServiceStatus
11109 SetServiceObjectSecurity(
11110 SC_HANDLE hService
,
11111 SECURITY_INFORMATION dwSecurityInformation
,
11112 PSECURITY_DESCRIPTOR lpSecurityDescriptor
11119 SERVICE_STATUS_HANDLE hServiceStatus
,
11120 LPSERVICE_STATUS lpServiceStatus
11125 UnlockServiceDatabase(
11131 QueryServiceStatusEx(
11132 SC_HANDLE hService
,
11133 SC_STATUS_TYPE InfoLevel
,
11136 LPDWORD pcbBytesNeeded
11139 /* Extensions to OpenGL */
11142 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
11145 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
11148 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
11149 CONST PIXELFORMATDESCRIPTOR
*);
11152 GetPixelFormat(HDC
);
11155 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
11161 wglCreateContext(HDC
);
11164 wglCreateLayerContext(HDC
, int);
11167 wglCopyContext(HGLRC
, HGLRC
, UINT
);
11170 wglDeleteContext(HGLRC
);
11173 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
11176 wglGetCurrentContext(VOID
);
11179 wglGetCurrentDC(VOID
);
11182 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
11185 wglGetProcAddress(LPCSTR
);
11188 wglMakeCurrent(HDC
, HGLRC
);
11191 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
11194 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
11197 wglShareLists(HGLRC
, HGLRC
);
11200 wglSwapLayerBuffers(HDC
, UINT
);
11203 Why are these different between ANSI and UNICODE?
11204 There doesn't seem to be any difference.
11207 #ifndef _DISABLE_TIDENTS
11209 #define wglUseFontBitmaps wglUseFontBitmapsW
11210 #define wglUseFontOutlines wglUseFontOutlinesW
11212 #define wglUseFontBitmaps wglUseFontBitmapsA
11213 #define wglUseFontOutlines wglUseFontOutlinesA
11214 #endif /* !UNICODE */
11215 #endif /* _DISABLE_TIDENTS */
11217 /* ------------------------------------- */
11218 /* From shellapi.h in old Cygnus headers */
11221 DragQueryPoint (HDROP
, LPPOINT
);
11224 DragFinish (HDROP
);
11227 DragAcceptFiles (HWND
, WINBOOL
);
11230 DuplicateIcon (HINSTANCE
, HICON
);
11232 /* end of stuff from shellapi.h in old Cygnus headers */
11233 /* -------------------------------------------------- */
11234 /* From ddeml.h in old Cygnus headers */
11236 HCONV STDCALL
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
11237 WINBOOL STDCALL
DdeDisconnect (HCONV
);
11238 WINBOOL STDCALL
DdeFreeDataHandle (HDDEDATA
);
11239 DWORD STDCALL
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
11240 UINT STDCALL
DdeGetLastError (DWORD
);
11241 HDDEDATA STDCALL
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
11242 WINBOOL STDCALL
DdePostAdvise (DWORD
, HSZ
, HSZ
);
11243 HCONV STDCALL
DdeReconnect (HCONV
);
11244 WINBOOL STDCALL
DdeUninitialize (DWORD
);
11245 int STDCALL
DdeCmpStringHandles (HSZ
, HSZ
);
11246 HDDEDATA STDCALL
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
11249 /* end of stuff from ddeml.h in old Cygnus headers */
11250 /* ----------------------------------------------- */
11252 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11254 DWORD STDCALL
NetApiBufferFree (LPVOID
);
11255 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
11256 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
11257 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11259 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11263 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
11265 DWORD STDCALL
GetCurrentTime(VOID
);
11268 SHAddToRecentDocs (UINT
, LPCVOID
);
11270 LPITEMIDLIST STDCALL
11271 SHBrowseForFolder (LPBROWSEINFO
);
11274 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
11277 SHFileOperationA (LPSHFILEOPSTRUCTA
);
11280 SHFileOperationW (LPSHFILEOPSTRUCTW
);
11283 SHFreeNameMappings (HANDLE
);
11285 /* Define when SHELLFOLDER is defined.
11287 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
11290 SHGetDesktopFolder (LPSHELLFOLDER);
11293 /* Define when IUnknown is defined.
11295 SHGetInstanceExplorer (IUnknown **);
11298 /* Define when MALLOC is defined.
11300 SHGetMalloc (LPMALLOC *);
11304 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
11306 /* Define when REFCLSID is defined.
11308 SHLoadInProc (REFCLSID);
11313 #define FIBER_FLAG_FLOAT_SWITCH (1)
11315 BOOL STDCALL
ConvertFiberToThread(void);
11317 LPVOID STDCALL
ConvertThreadToFiber(LPVOID lpParameter
);
11319 LPVOID STDCALL
ConvertThreadToFiberEx(LPVOID lpParameter
, DWORD dwFlags
);
11321 LPVOID STDCALL CreateFiber
11323 SIZE_T dwStackSize
,
11324 LPFIBER_START_ROUTINE lpStartAddress
,
11328 LPVOID STDCALL CreateFiberEx
11330 SIZE_T dwStackCommitSize
,
11331 SIZE_T dwStackReserveSize
,
11333 LPFIBER_START_ROUTINE lpStartAddress
,
11337 void STDCALL
DeleteFiber(LPVOID lpFiber
);
11339 void STDCALL
SwitchToFiber(LPVOID lpFiber
);
11341 #define GetFiberData() *(LPVOID *)(((PNT_TIB)NtCurrentTeb())->FiberData)
11344 RegisterServicesProcess(DWORD ServicesProcessId
);
11348 #endif /* __cplusplus */
11350 #endif /* WIN32_LEAN_AND_MEAN */
11352 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */