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 GetClassLong GetClassLongW
111 #define SetClassLong SetClassLongW
112 #define FindWindow FindWindowW
113 #define FindWindowEx FindWindowExW
114 #define GetClassName GetClassNameW
115 #define SetWindowsHookEx SetWindowsHookExW
116 #define SetWindowsHook SetWindowsHookW
117 #define LoadBitmap LoadBitmapW
118 #define LoadCursor LoadCursorW
119 #define LoadCursorFromFile LoadCursorFromFileW
120 #define LoadIcon LoadIconW
121 #define LoadImage LoadImageW
122 #define LoadString LoadStringW
123 #define IsDialogMessage IsDialogMessageW
124 #define DlgDirList DlgDirListW
125 #define DlgDirSelectEx DlgDirSelectExW
126 #define DlgDirListComboBox DlgDirListComboBoxW
127 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
128 #define DefFrameProc DefFrameProcW
129 #define DefMDIChildProc DefMDIChildProcW
130 #define CreateMDIWindow CreateMDIWindowW
131 #define WinHelp WinHelpW
132 #define ChangeDisplaySettings ChangeDisplaySettingsW
133 #define EnumDisplaySettings EnumDisplaySettingsW
134 #define SystemParametersInfo SystemParametersInfoW
135 #define AddFontResource AddFontResourceW
136 #define CopyMetaFile CopyMetaFileW
137 #define CreateDC CreateDCW
138 #define CreateFontIndirect CreateFontIndirectW
139 #define CreateFont CreateFontW
140 #define CreateIC CreateICW
141 #define CreateMetaFile CreateMetaFileW
142 #define CreateScalableFontResource CreateScalableFontResourceW
143 #define DeviceCapabilities DeviceCapabilitiesW
144 #define EnumFontFamiliesEx EnumFontFamiliesExW
145 #define EnumFontFamilies EnumFontFamiliesW
146 #define EnumFonts EnumFontsW
147 #define GetCharWidth GetCharWidthW
148 #define GetCharWidth32 GetCharWidth32W
149 #define GetCharWidthFloat GetCharWidthFloatW
150 #define GetCharABCWidths GetCharABCWidthsW
151 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
152 #define GetGlyphOutline GetGlyphOutlineW
153 #define GetMetaFile GetMetaFileW
154 #define GetOutlineTextMetrics GetOutlineTextMetricsW
155 #define GetTextExtentPoint GetTextExtentPointW
156 #define GetTextExtentPoint32 GetTextExtentPoint32W
157 #define GetTextExtentExPoint GetTextExtentExPointW
158 #define GetCharacterPlacement GetCharacterPlacementW
159 #define ResetDC ResetDCW
160 #define RemoveFontResource RemoveFontResourceW
161 #define CopyEnhMetaFile CopyEnhMetaFileW
162 #define CreateEnhMetaFile CreateEnhMetaFileW
163 #define GetEnhMetaFile GetEnhMetaFileW
164 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
165 #define GetTextMetrics GetTextMetricsW
166 #define StartDoc StartDocW
167 #define GetObject GetObjectW
168 #define TextOut TextOutW
169 #define ExtTextOut ExtTextOutW
170 #define PolyTextOut PolyTextOutW
171 #define GetTextFace GetTextFaceW
172 #define GetKerningPairs GetKerningPairsW
173 #define GetLogColorSpace GetLogColorSpaceW
174 #define CreateColorSpace CreateColorSpaceW
175 #define GetICMProfile GetICMProfileW
176 #define SetICMProfile SetICMProfileW
177 #define UpdateICMRegKey UpdateICMRegKeyW
178 #define EnumICMProfiles EnumICMProfilesW
179 #define CreatePropertySheetPage CreatePropertySheetPageW
180 #define PropertySheet PropertySheetW
181 #define ImageList_LoadImage ImageList_LoadImageW
182 #define CreateStatusWindow CreateStatusWindowW
183 #define DrawStatusText DrawStatusTextW
184 #define GetOpenFileName GetOpenFileNameW
185 #define GetSaveFileName GetSaveFileNameW
186 #define GetFileTitle GetFileTitleW
187 #define ChooseColor ChooseColorW
188 #define FindText FindTextW
189 #define ReplaceText ReplaceTextW
190 #define ChooseFont ChooseFontW
191 #define PrintDlg PrintDlgW
192 #define PageSetupDlg PageSetupDlgW
193 #define DefWindowProc DefWindowProcW
194 #define CallWindowProc CallWindowProcW
195 #define RegisterClass RegisterClassW
196 #define UnregisterClass UnregisterClassW
197 #define GetClassInfo GetClassInfoW
198 #define RegisterClassEx RegisterClassExW
199 #define GetClassInfoEx GetClassInfoExW
200 #define CreateWindowEx CreateWindowExW
201 #define CreateWindow CreateWindowW
202 #define CreateDialogParam CreateDialogParamW
203 #define CreateDialogIndirectParam CreateDialogIndirectParamW
204 #define CreateDialog CreateDialogW
205 #define CreateDialogIndirect CreateDialogIndirectW
206 #define DialogBoxParam DialogBoxParamW
207 #define DialogBoxIndirectParam DialogBoxIndirectParamW
208 #define DialogBox DialogBoxW
209 #define DialogBoxIndirect DialogBoxIndirectW
210 #define RegisterClipboardFormat RegisterClipboardFormatW
211 #define SetDlgItemText SetDlgItemTextW
212 #define GetDlgItemText GetDlgItemTextW
213 #define SendDlgItemMessage SendDlgItemMessageW
214 #define DefDlgProc DefDlgProcW
215 #define GetClipboardFormatName GetClipboardFormatNameW
216 #define CharToOem CharToOemW
217 #define OemToChar OemToCharW
218 #define CharToOemBuff CharToOemBuffW
219 #define OemToCharBuff OemToCharBuffW
220 #define CharUpper CharUpperW
221 #define CharUpperBuff CharUpperBuffW
222 #define CharLower CharLowerW
223 #define CharLowerBuff CharLowerBuffW
224 #define CharNext CharNextW
225 #define CharPrev CharPrevW
226 #define IsCharAlpha IsCharAlphaW
227 #define IsCharAlphaNumeric IsCharAlphaNumericW
228 #define IsCharUpper IsCharUpperW
229 #define IsCharLower IsCharLowerW
230 #define GetKeyNameText GetKeyNameTextW
231 #define VkKeyScan VkKeyScanW
232 #define VkKeyScanEx VkKeyScanExW
233 #define MapVirtualKey MapVirtualKeyW
234 #define MapVirtualKeyEx MapVirtualKeyExW
235 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointW
236 #define FindNextVolume FindNextVolumeW
237 #define LoadAccelerators LoadAcceleratorsW
238 #define CreateAcceleratorTable CreateAcceleratorTableW
239 #define CopyAcceleratorTable CopyAcceleratorTableW
240 #define TranslateAccelerator TranslateAcceleratorW
241 #define LoadMenu LoadMenuW
242 #define LoadMenuIndirect LoadMenuIndirectW
243 #define ChangeMenu ChangeMenuW
244 #define GetMenuString GetMenuStringW
245 #define InsertMenu InsertMenuW
246 #define AppendMenu AppendMenuW
247 #define ModifyMenu ModifyMenuW
248 #define InsertMenuItem InsertMenuItemW
249 #define GetMenuItemInfo GetMenuItemInfoW
250 #define SetMenuItemInfo SetMenuItemInfoW
251 #define DrawText DrawTextW
252 #define DrawTextEx DrawTextExW
253 #define GrayString GrayStringW
254 #define CreateJobObject CreateJobObjectW
255 #define DrawState DrawStateW
256 #define TabbedTextOut TabbedTextOutW
257 #define GetTabbedTextExtent GetTabbedTextExtentW
258 #define GetVersionEx GetVersionExW
259 #define wvsprintf wvsprintfW
260 #define wsprintf wsprintfW
261 #define LoadKeyboardLayout LoadKeyboardLayoutW
262 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
263 #define CreateDesktop CreateDesktopW
264 #define OpenDesktop OpenDesktopW
265 #define EnumDesktops EnumDesktopsW
266 #define CreateWindowStation CreateWindowStationW
267 #define OpenWindowStation OpenWindowStationW
268 #define EnumWindowStations EnumWindowStationsW
269 #define IsBadStringPtr IsBadStringPtrW
270 #define LookupAccountSid LookupAccountSidW
271 #define LookupAccountName LookupAccountNameW
272 #define LookupPrivilegeValue LookupPrivilegeValueW
273 #define LookupPrivilegeName LookupPrivilegeNameW
274 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
275 #define BuildCommDCB BuildCommDCBW
276 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
277 #define CommConfigDialog CommConfigDialogW
278 #define GetDefaultCommConfig GetDefaultCommConfigW
279 #define SetDefaultCommConfig SetDefaultCommConfigW
280 #define GetComputerName GetComputerNameW
281 #define SetComputerName SetComputerNameW
282 #define GetUserName GetUserNameW
283 #define CreateMailslot CreateMailslotW
284 #define FormatMessage FormatMessageW
285 #define GetEnvironmentStrings GetEnvironmentStringsW
286 #define FreeEnvironmentStrings FreeEnvironmentStringsW
287 #define lstrcmp lstrcmpW
288 #define GetRawInputDeviceInfo GetRawInputDeviceInfoW
289 #define BroadcastSystemMessageEx BroadcastSystemMessageExW
290 #define lstrcmpi lstrcmpiW
291 #define lstrcpyn lstrcpynW
292 #define lstrcpy lstrcpyW
293 #define lstrcat lstrcatW
294 #define lstrlen lstrlenW
295 #define GetBinaryType GetBinaryTypeW
296 #define GetShortPathName GetShortPathNameW
297 #define SetFileSecurity SetFileSecurityW
298 #define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3W
299 #define CreateHardLink CreateHardLinkW
300 #define GetFileSecurity GetFileSecurityW
301 #define FindFirstChangeNotification FindFirstChangeNotificationW
302 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
303 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
304 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
305 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
306 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
307 #define OpenEventLog OpenEventLogW
308 #define RegisterEventSource RegisterEventSourceW
309 #define OpenBackupEventLog OpenBackupEventLogW
310 #define ReadEventLog ReadEventLogW
311 #define ReportEvent ReportEventW
312 #define CreateProcess CreateProcessW
313 #define FatalAppExit FatalAppExitW
314 #define CallMessageFilter CallMessageFilterW
315 #define GetAltTabInfo GetAltTabInfoW
316 #define GetStartupInfo GetStartupInfoW
317 #define GetEnvironmentVariable GetEnvironmentVariableW
318 #define GetCommandLine GetCommandLineW
319 #define SetEnvironmentVariable SetEnvironmentVariableW
320 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
321 #define OutputDebugString OutputDebugStringW
322 #define FindResource FindResourceW
323 #define FindResourceEx FindResourceExW
324 #define EnumResourceTypes EnumResourceTypesW
325 #define CreateActCtx CreateActCtxW
326 #define EnumResourceNames EnumResourceNamesW
327 #define EnumResourceLanguages EnumResourceLanguagesW
328 #define BeginUpdateResource BeginUpdateResourceW
329 #define UpdateResource UpdateResourceW
330 #define PrivateExtractIcons PrivateExtractIconsW
331 #define EndUpdateResource EndUpdateResourceW
332 #define GlobalAddAtom GlobalAddAtomW
333 #define GlobalFindAtom GlobalFindAtomW
334 #define GlobalGetAtomName GlobalGetAtomNameW
335 #define AddAtom AddAtomW
336 #define RemoveFontResourceEx RemoveFontResourceExW
337 #define FindAtom FindAtomW
338 #define GetAtomName GetAtomNameW
339 #define GetProfileInt GetProfileIntW
340 #define GetProfileString GetProfileStringW
341 #define WriteProfileString WriteProfileStringW
342 #define ReadEventLog ReadEventLogW
343 #define GetProfileSection GetProfileSectionW
344 #define WriteProfileSection WriteProfileSectionW
345 #define GetPrivateProfileInt GetPrivateProfileIntW
346 #define GetPrivateProfileString GetPrivateProfileStringW
347 #define WritePrivateProfileString WritePrivateProfileStringW
348 #define GetPrivateProfileSection GetPrivateProfileSectionW
349 #define WritePrivateProfileSection WritePrivateProfileSectionW
350 #define GetDriveType GetDriveTypeW
351 #define GetSystemDirectory GetSystemDirectoryW
352 #define FindFirstFileEx FindFirstFileExW
353 #define FindFirstVolume FindFirstVolumeW
354 #define GetTempPath GetTempPathW
355 #define GetTempFileName GetTempFileNameW
356 #define GetWindowsDirectory GetWindowsDirectoryW
357 #define SetCurrentDirectory SetCurrentDirectoryW
358 #define GetCurrentDirectory GetCurrentDirectoryW
359 #define GetDiskFreeSpace GetDiskFreeSpaceW
360 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
361 #define CreateDirectory CreateDirectoryW
362 #define CreateDirectoryEx CreateDirectoryExW
363 #define RemoveDirectory RemoveDirectoryW
364 #define GetLongPathName GetLongPathNameW
365 #define GetModuleHandleEx GetModuleHandleExW
366 #define GetFullPathName GetFullPathNameW
367 #define DefineDosDevice DefineDosDeviceW
368 #define QueryDosDevice QueryDosDeviceW
369 #define EnumLanguageGroupLocales EnumLanguageGroupLocalesW
370 #define EnumSystemLanguageGroups EnumSystemLanguageGroupsW
371 #define CreateFile CreateFileW
372 #define SetFileAttributes SetFileAttributesW
373 #define GetFileAttributes GetFileAttributesW
374 #define EncryptFile EncryptFileW
375 #define FileEncryptionStatus FileEncryptionStatusW
376 #define GetFileAttributesEx GetFileAttributesExW
377 #define GetCompressedFileSize GetCompressedFileSizeW
378 #define DeleteFile DeleteFileW
379 #define FindFirstFileEx FindFirstFileExW
380 #define SetFileShortName SetFileShortNameW
381 #define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableW
382 #define FindFirstFile FindFirstFileW
383 #define FindNextFile FindNextFileW
384 #define SearchPath SearchPathW
385 #define CopyFile CopyFileW
386 #define CopyFileEx CopyFileExW
387 #define MoveFile MoveFileW
388 #define MoveFileEx MoveFileExW
389 #define MoveFileWithProgress MoveFileWithProgressW
390 #define CreateFontIndirectEx CreateFontIndirectExW
391 #define CreateNamedPipe CreateNamedPipeW
392 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
393 #define CallNamedPipe CallNamedPipeW
394 #define IMPGetIME IMPGetIMEW
395 #define WaitNamedPipe WaitNamedPipeW
396 #define SetVolumeLabel SetVolumeLabelW
397 #define GetVolumeInformation GetVolumeInformationW
398 #define ClearEventLog ClearEventLogW
399 #define BackupEventLog BackupEventLogW
400 #define CreateMutex CreateMutexW
401 #define OpenMutex OpenMutexW
402 #define CreateEvent CreateEventW
403 #define OpenEvent OpenEventW
404 #define CreateSemaphore CreateSemaphoreW
405 #define OpenSemaphore OpenSemaphoreW
406 #define CreateFileMapping CreateFileMappingW
407 #define OpenFileMapping OpenFileMappingW
408 #define GetLogicalDriveStrings GetLogicalDriveStringsW
409 #define LoadLibrary LoadLibraryW
410 #define LoadLibraryEx LoadLibraryExW
411 #define FindNextVolumeMountPoint FindNextVolumeMountPointW
412 #define GetComputerNameEx GetComputerNameExW
413 #define GetModuleFileName GetModuleFileNameW
414 #define GetModuleHandle GetModuleHandleW
415 #define GetUserObjectInformation GetUserObjectInformationW
416 #define SetUserObjectInformation SetUserObjectInformationW
417 #define RegisterWindowMessage RegisterWindowMessageW
418 #define GetMessage GetMessageW
419 #define DispatchMessage DispatchMessageW
420 #define SendIMEMessageEx SendIMEMessageExW
421 #define PeekMessage PeekMessageW
422 #define SendMessage SendMessageW
423 #define SendMessageTimeout SendMessageTimeoutW
424 #define IMPSetIME IMPSetIMEW
425 #define IMPQueryIME IMPQueryIMEW
426 #define SendNotifyMessage SendNotifyMessageW
427 #define SendMessageCallback SendMessageCallbackW
428 #define BackupEventLog BackupEventLogW
429 #define ClearEventLog ClearEventLogW
430 #define PostMessage PostMessageW
431 #define PostThreadMessage PostThreadMessageW
432 #define OpenBackupEventLog OpenBackupEventLogW
433 #define OpenEncryptedFileRaw OpenEncryptedFileRawW
434 #define VerFindFile VerFindFileW
435 #define VerInstallFile VerInstallFileW
436 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
437 #define GetStringBitmap GetStringBitmapW
438 #define GetGlyphIndices GetGlyphIndicesW
439 #define GetFileVersionInfo GetFileVersionInfoW
440 #define VerLanguageName VerLanguageNameW
441 #define VerQueryValue VerQueryValueW
442 #define CompareString CompareStringW
443 #define LCMapString LCMapStringW
444 #define GetLocaleInfo GetLocaleInfoW
445 #define GetDllDirectory GetDllDirectoryW
446 #define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableW
447 #define SetLocaleInfo SetLocaleInfoW
448 #define GetTimeFormat GetTimeFormatW
449 #define GetDateFormat GetDateFormatW
450 #define GetNumberFormat GetNumberFormatW
451 #define GetCurrencyFormat GetCurrencyFormatW
452 #define EnumCalendarInfo EnumCalendarInfoW
453 #define EnumTimeFormats EnumTimeFormatsW
454 #define CreateProcessAsUser CreateProcessAsUserW
455 #define DecryptFile DecryptFileW
456 #define FoldString FoldStringW
457 #define EnumSystemCodePages EnumSystemCodePagesW
458 #define EnumSystemLocales EnumSystemLocalesW
459 #define GetStringTypeEx GetStringTypeExW
460 #define EnumDateFormats EnumDateFormatsW
461 #define GetConsoleTitle GetConsoleTitleW
462 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
463 #define SetConsoleTitle SetConsoleTitleW
464 #define ReadConsole ReadConsoleW
465 #define WriteConsole WriteConsoleW
466 #define PeekConsoleInput PeekConsoleInputW
467 #define ReadConsoleInput ReadConsoleInputW
468 #define WriteConsoleInput WriteConsoleInputW
469 #define ReadConsoleOutput ReadConsoleOutputW
470 #define WriteConsoleOutput WriteConsoleOutputW
471 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
472 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
473 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
474 #define WNetGetProviderName WNetGetProviderNameW
475 #define SetCalendarInfo SetCalendarInfoW
476 #define EnumUILanguages EnumUILanguagesW
477 #define GetSystemWow64Directory GetSystemWow64DirectoryW
478 #define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointW
479 #define WNetGetNetworkInformation WNetGetNetworkInformationW
480 #define GetCurrentHwProfile GetCurrentHwProfileW
481 #define LogonUser LogonUserW
482 #define WNetGetLastError WNetGetLastErrorW
483 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
484 #define WNetConnectionDialog1 WNetConnectionDialog1W
485 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
486 #define WNetOpenEnum WNetOpenEnumW
487 #define WNetEnumResource WNetEnumResourceW
488 #define WNetGetUniversalName WNetGetUniversalNameW
489 #define WNetGetUser WNetGetUserW
490 #define WNetAddConnection WNetAddConnectionW
491 #define WNetAddConnection2 WNetAddConnection2W
492 #define WNetAddConnection3 WNetAddConnection3W
493 #define DnsHostnameToComputerName DnsHostnameToComputerNameW
494 #define FindActCtxSectionString FindActCtxSectionStringW
495 #define WNetCancelConnection WNetCancelConnectionW
496 #define OpenEventLog OpenEventLogW
497 #define WNetCancelConnection2 WNetCancelConnection2W
498 #define WNetGetConnection WNetGetConnectionW
499 #define WNetUseConnection WNetUseConnectionW
500 #define WNetSetConnection WNetSetConnectionW
501 #define CreateService CreateServiceW
502 #define ChangeServiceConfig ChangeServiceConfigW
503 #define LogonUserEx LogonUserExW
504 #define EnumDependentServices EnumDependentServicesW
505 #define EnumServicesStatus EnumServicesStatusW
506 #define GetServiceKeyName GetServiceKeyNameW
507 #define GetVolumePathName GetVolumePathNameW
508 #define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameW
509 #define GetServiceDisplayName GetServiceDisplayNameW
510 #define OpenSCManager OpenSCManagerW
511 #define SetVolumeMountPoint SetVolumeMountPointW
512 #define VerifyVersionInfo VerifyVersionInfoW
513 #define RegisterDeviceNotification RegisterDeviceNotificationW
514 #define OpenService OpenServiceW
515 #define QueryServiceConfig QueryServiceConfigW
516 #define QueryServiceLockStatus QueryServiceLockStatusW
517 #define GetGeoInfo GetGeoInfoW
518 #define EnumDateFormatsEx EnumDateFormatsExW
519 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
520 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
521 #define EnumCalendarInfoEx EnumCalendarInfoExW
522 #define GetCalendarInfo GetCalendarInfoW
523 #define StartService StartServiceW
524 #define DragQueryFile DragQueryFileW
525 #define GetCPInfoEx GetCPInfoExW
526 #define ExtractAssociatedIcon ExtractAssociatedIconW
527 #define ExtractIcon ExtractIconW
528 #define FindExecutable FindExecutableW
529 #define RegSaveKeyEx RegSaveKeyExW
530 #define InitiateSystemShutdownEx InitiateSystemShutdownExW
531 #define ShellAbout ShellAboutW
532 #define DeleteVolumeMountPoint DeleteVolumeMountPointW
533 #define ShellExecute ShellExecuteW
534 #define DdeCreateStringHandle DdeCreateStringHandleW
535 #define DdeInitialize DdeInitializeW
536 #define DdeQueryString DdeQueryStringW
537 #define OpenJobObject OpenJobObjectW
538 #define ReplaceFile ReplaceFileW
539 #define CreateProcessAsUser CreateProcessAsUserW
540 #define SHGetFileInfo SHGetFileInfoW
541 #define SetComputerNameEx SetComputerNameExW
542 #define SetDllDirectory SetDllDirectoryW
543 #define SHGetPathFromIDList SHGetPathFromIDListW
548 #define RegConnectRegistry RegConnectRegistryA
549 #define RegCreateKey RegCreateKeyA
550 #define InitiateSystemShutdownEx InitiateSystemShutdownExA
551 #define RegCreateKeyEx RegCreateKeyExA
552 #define RegDeleteKey RegDeleteKeyA
553 #define RegDeleteValue RegDeleteValueA
554 #define EnumSystemLanguageGroups EnumSystemLanguageGroupsA
555 #define GetGeoInfo GetGeoInfoA
556 #define RegEnumKey RegEnumKeyA
557 #define RegEnumKeyEx RegEnumKeyExA
558 #define GetCalendarInfo GetCalendarInfoA
559 #define LogonUser LogonUserA
560 #define GetCPInfoEx GetCPInfoExA
561 #define RegEnumValue RegEnumValueA
562 #define RegLoadKey RegLoadKeyA
563 #define RegOpenKey RegOpenKeyA
564 #define RegOpenKeyEx RegOpenKeyExA
565 #define FileEncryptionStatus FileEncryptionStatusA
566 #define GetCurrentHwProfile GetCurrentHwProfileA
567 #define LogonUserEx LogonUserExA
568 #define RegQueryInfoKey RegQueryInfoKeyA
569 #define RegQueryValue RegQueryValueA
570 #define RegQueryMultipleValues RegQueryMultipleValuesA
571 #define RegQueryValueEx RegQueryValueExA
572 #define GetFirmwareEnvironmentVariable GetFirmwareEnvironmentVariableA
573 #define GetLongPathName GetLongPathNameA
574 #define RegReplaceKey RegReplaceKeyA
575 #define RegRestoreKey RegRestoreKeyA
576 #define RegSaveKey RegSaveKeyA
577 #define RegSetValue RegSetValueA
578 #define RegSetValueEx RegSetValueExA
579 #define AbortSystemShutdown AbortSystemShutdownA
580 #define InitiateSystemShutdown InitiateSystemShutdownA
581 #define RegUnLoadKey RegUnLoadKeyA
582 #define LoadIcon LoadIconA
583 #define LoadImage LoadImageA
584 #define LoadString LoadStringA
585 #define IsDialogMessage IsDialogMessageA
586 #define DlgDirList DlgDirListA
587 #define DlgDirSelectEx DlgDirSelectExA
588 #define DlgDirListComboBox DlgDirListComboBoxA
589 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
590 #define DefFrameProc DefFrameProcA
591 #define DefMDIChildProc DefMDIChildProcA
592 #define EnumUILanguages EnumUILanguagesA
593 #define EnumLanguageGroupLocales EnumLanguageGroupLocalesA
594 #define CreateMDIWindow CreateMDIWindowA
595 #define FindNextVolume FindNextVolumeA
596 #define FindNextVolumeMountPoint FindNextVolumeMountPointA
597 #define GetComputerNameEx GetComputerNameExA
598 #define OpenEncryptedFileRaw OpenEncryptedFileRawA
599 #define OpenEventLog OpenEventLogA
600 #define VerifyVersionInfo VerifyVersionInfoA
601 #define SetFirmwareEnvironmentVariable SetFirmwareEnvironmentVariableA
602 #define SetVolumeMountPoint SetVolumeMountPointA
603 #define GetModuleHandleEx GetModuleHandleExA
604 #define GetSystemWow64Directory GetSystemWow64DirectoryA
605 #define GetVolumeNameForVolumeMountPoint GetVolumeNameForVolumeMountPointA
606 #define GetVolumePathNamesForVolumeName GetVolumePathNamesForVolumeNameA
607 #define OpenJobObject OpenJobObjectA
608 #define GetVolumePathName GetVolumePathNameA
609 #define GetDllDirectory GetDllDirectoryA
610 #define WinHelp WinHelpA
611 #define ChangeDisplaySettings ChangeDisplaySettingsA
612 #define EnumDisplaySettings EnumDisplaySettingsA
613 #define SystemParametersInfo SystemParametersInfoA
614 #define GetWindowLong GetWindowLongA
615 #define SetWindowLong SetWindowLongA
616 #define GetClassLong GetClassLongA
617 #define SetClassLong SetClassLongA
618 #define FindWindow FindWindowA
619 #define FindWindowEx FindWindowExA
620 #define GetClassName GetClassNameA
621 #define SetWindowsHookEx SetWindowsHookExA
622 #define SetWindowsHook SetWindowsHookA
623 #define LoadBitmap LoadBitmapA
624 #define LoadCursor LoadCursorA
625 #define LoadCursorFromFile LoadCursorFromFileA
626 #define ReadEventLog ReadEventLogA
627 #define ReplaceFile ReplaceFileA
628 #define SetDllDirectory SetDllDirectoryA
629 #define EnumDateFormatsEx EnumDateFormatsExA
630 #define EnumCalendarInfoEx EnumCalendarInfoExA
631 #define SetFileShortName SetFileShortNameA
632 #define SetComputerNameEx SetComputerNameExA
633 #define SetProp SetPropA
634 #define GetProp GetPropA
635 #define RemoveProp RemovePropA
636 #define EnumPropsEx EnumPropsExA
637 #define EnumProps EnumPropsA
638 #define CreateHardLink CreateHardLinkA
639 #define CreateJobObject CreateJobObjectA
640 #define SetWindowText SetWindowTextA
641 #define GetWindowText GetWindowTextA
642 #define GetWindowTextLength GetWindowTextLengthA
643 #define MessageBox MessageBoxA
644 #define MessageBoxEx MessageBoxExA
645 #define MessageBoxIndirect MessageBoxIndirectA
646 #define AddFontResource AddFontResourceA
647 #define CopyMetaFile CopyMetaFileA
648 #define CreateDC CreateDCA
649 #define CreateFontIndirect CreateFontIndirectA
650 #define CreateFont CreateFontA
651 #define CreateIC CreateICA
652 #define CreateMetaFile CreateMetaFileA
653 #define CreateScalableFontResource CreateScalableFontResourceA
654 #define DeviceCapabilities DeviceCapabilitiesA
655 #define EnumFontFamiliesEx EnumFontFamiliesExA
656 #define EnumFontFamilies EnumFontFamiliesA
657 #define EnumFonts EnumFontsA
658 #define GetCharWidth GetCharWidthA
659 #define GetCharWidth32 GetCharWidth32A
660 #define GetCharWidthFloat GetCharWidthFloatA
661 #define FindFirstVolume FindFirstVolumeA
662 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
663 #define GetCharABCWidths GetCharABCWidthsA
664 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
665 #define GetGlyphOutline GetGlyphOutlineA
666 #define GetMetaFile GetMetaFileA
667 #define GetOutlineTextMetrics GetOutlineTextMetricsA
668 #define GetTextExtentPoint GetTextExtentPointA
669 #define GetTextExtentPoint32 GetTextExtentPoint32A
670 #define GetTextExtentExPoint GetTextExtentExPointA
671 #define GetCharacterPlacement GetCharacterPlacementA
672 #define ResetDC ResetDCA
673 #define RemoveFontResource RemoveFontResourceA
674 #define CopyEnhMetaFile CopyEnhMetaFileA
675 #define CreateEnhMetaFile CreateEnhMetaFileA
676 #define GetEnhMetaFile GetEnhMetaFileA
677 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
678 #define GetTextMetrics GetTextMetricsA
679 #define StartDoc StartDocA
680 #define GetObject GetObjectA
681 #define TextOut TextOutA
682 #define ExtTextOut ExtTextOutA
683 #define PolyTextOut PolyTextOutA
684 #define GetTextFace GetTextFaceA
685 #define GetKerningPairs GetKerningPairsA
686 #define GetLogColorSpace GetLogColorSpaceA
687 #define CreateColorSpace CreateColorSpaceA
688 #define GetICMProfile GetICMProfileA
689 #define DecryptFile DecryptFileA
690 #define EncryptFile EncryptFileA
691 #define SetICMProfile SetICMProfileA
692 #define UpdateICMRegKey UpdateICMRegKeyA
693 #define EnumICMProfiles EnumICMProfilesA
694 #define CreatePropertySheetPage CreatePropertySheetPageA
695 #define PropertySheet PropertySheetA
696 #define ImageList_LoadImage ImageList_LoadImageA
697 #define CreateStatusWindow CreateStatusWindowA
698 #define DrawStatusText DrawStatusTextA
699 #define GetOpenFileName GetOpenFileNameA
700 #define GetSaveFileName GetSaveFileNameA
701 #define GetFileTitle GetFileTitleA
702 #define IMPSetIME IMPSetIMEA
703 #define ChooseColor ChooseColorA
704 #define FindText FindTextA
705 #define ReplaceText ReplaceTextA
706 #define ChooseFont ChooseFontA
707 #define PrintDlg PrintDlgA
708 #define PageSetupDlg PageSetupDlgA
709 #define DefWindowProc DefWindowProcA
710 #define CallWindowProc CallWindowProcA
711 #define GetGlyphIndices GetGlyphIndicesA
712 #define CreateFontIndirectEx CreateFontIndirectExA
713 #define RegisterClass RegisterClassA
714 #define UnregisterClass UnregisterClassA
715 #define GetClassInfo GetClassInfoA
716 #define CreateActCtx CreateActCtxA
717 #define RegisterClassEx RegisterClassExA
718 #define GetClassInfoEx GetClassInfoExA
719 #define CreateWindowEx CreateWindowExA
720 #define CreateWindow CreateWindowA
721 #define CreateDialogParam CreateDialogParamA
722 #define CreateDialogIndirectParam CreateDialogIndirectParamA
723 #define CreateDialog CreateDialogA
724 #define CreateDialogIndirect CreateDialogIndirectA
725 #define CreateWaitableTimer CreateWaitableTimerA
726 #define DialogBoxParam DialogBoxParamA
727 #define DialogBoxIndirectParam DialogBoxIndirectParamA
728 #define DialogBox DialogBoxA
729 #define ClearEventLog ClearEventLogA
730 #define CreateProcessAsUser CreateProcessAsUserA
731 #define DialogBoxIndirect DialogBoxIndirectA
732 #define RegisterClipboardFormat RegisterClipboardFormatA
733 #define SetDlgItemText SetDlgItemTextA
734 #define GetDlgItemText GetDlgItemTextA
735 #define SendDlgItemMessage SendDlgItemMessageA
736 #define DefDlgProc DefDlgProcA
737 #define GetClipboardFormatName GetClipboardFormatNameA
738 #define CharToOem CharToOemA
739 #define OemToChar OemToCharA
740 #define CharToOemBuff CharToOemBuffA
741 #define OemToCharBuff OemToCharBuffA
742 #define CharUpper CharUpperA
743 #define CharUpperBuff CharUpperBuffA
744 #define CharLower CharLowerA
745 #define CharLowerBuff CharLowerBuffA
746 #define CharNext CharNextA
747 #define CharPrev CharPrevA
748 #define IsCharAlpha IsCharAlphaA
749 #define IsCharAlphaNumeric IsCharAlphaNumericA
750 #define IsCharUpper IsCharUpperA
751 #define IsCharLower IsCharLowerA
752 #define GetKeyNameText GetKeyNameTextA
753 #define VkKeyScan VkKeyScanA
754 #define RegisterDeviceNotification RegisterDeviceNotificationA
755 #define GetRawInputDeviceInfo GetRawInputDeviceInfoA
756 #define VkKeyScanEx VkKeyScanExA
757 #define MapVirtualKey MapVirtualKeyA
758 #define MapVirtualKeyEx MapVirtualKeyExA
759 #define LoadAccelerators LoadAcceleratorsA
760 #define CreateAcceleratorTable CreateAcceleratorTableA
761 #define CopyAcceleratorTable CopyAcceleratorTableA
762 #define TranslateAccelerator TranslateAcceleratorA
763 #define LoadMenu LoadMenuA
764 #define LoadMenuIndirect LoadMenuIndirectA
765 #define ChangeMenu ChangeMenuA
766 #define GetMenuString GetMenuStringA
767 #define InsertMenu InsertMenuA
768 #define AppendMenu AppendMenuA
769 #define ModifyMenu ModifyMenuA
770 #define InsertMenuItem InsertMenuItemA
771 #define GetMenuItemInfo GetMenuItemInfoA
772 #define SetMenuItemInfo SetMenuItemInfoA
773 #define DrawText DrawTextA
774 #define BroadcastSystemMessageEx BroadcastSystemMessageExA
775 #define DrawTextEx DrawTextExA
776 #define GrayString GrayStringA
777 #define DrawState DrawStateA
778 #define TabbedTextOut TabbedTextOutA
779 #define GetTabbedTextExtent GetTabbedTextExtentA
780 #define GetVersionEx GetVersionExA
781 #define wvsprintf wvsprintfA
782 #define wsprintf wsprintfA
783 #define FindActCtxSectionString FindActCtxSectionStringA
784 #define LoadKeyboardLayout LoadKeyboardLayoutA
785 #define FindFirstFileEx FindFirstFileExA
786 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
787 #define CreateDesktop CreateDesktopA
788 #define OpenDesktop OpenDesktopA
789 #define EnumDesktops EnumDesktopsA
790 #define CreateWindowStation CreateWindowStationA
791 #define OpenWindowStation OpenWindowStationA
792 #define EnumWindowStations EnumWindowStationsA
793 #define IsBadStringPtr IsBadStringPtrA
794 #define LookupAccountSid LookupAccountSidA
795 #define LookupAccountName LookupAccountNameA
796 #define LookupPrivilegeValue LookupPrivilegeValueA
797 #define LookupPrivilegeName LookupPrivilegeNameA
798 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
799 #define BuildCommDCB BuildCommDCBA
800 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
801 #define CommConfigDialog CommConfigDialogA
802 #define GetDefaultCommConfig GetDefaultCommConfigA
803 #define SetDefaultCommConfig SetDefaultCommConfigA
804 #define GetComputerName GetComputerNameA
805 #define SetComputerName SetComputerNameA
806 #define GetUserName GetUserNameA
807 #define CreateMailslot CreateMailslotA
808 #define CallMessageFilter CallMessageFilterA
809 #define GetAltTabInfo GetAltTabInfoA
810 #define BackupEventLog BackupEventLogA
811 #define FormatMessage FormatMessageA
812 #define CheckNameLegalDOS8Dot3 CheckNameLegalDOS8Dot3A
813 #define GetEnvironmentStrings GetEnvironmentStringsA
814 #define FreeEnvironmentStrings FreeEnvironmentStringsA
815 #define lstrcmp lstrcmpA
816 #define lstrcmpi lstrcmpiA
817 #define lstrcpyn lstrcpynA
818 #define lstrcpy lstrcpyA
819 #define lstrcat lstrcatA
820 #define lstrlen lstrlenA
821 #define GetBinaryType GetBinaryTypeA
822 #define GetStringBitmap GetStringBitmapA
823 #define GetShortPathName GetShortPathNameA
824 #define SetFileSecurity SetFileSecurityA
825 #define GetFileSecurity GetFileSecurityA
826 #define FindFirstChangeNotification FindFirstChangeNotificationA
827 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
828 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
829 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
830 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
831 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
832 #define DeleteVolumeMountPoint DeleteVolumeMountPointA
833 #define DnsHostnameToComputerName DnsHostnameToComputerNameA
834 #define OpenEventLog OpenEventLogA
835 #define RegisterEventSource RegisterEventSourceA
836 #define OpenBackupEventLog OpenBackupEventLogA
837 #define ReadEventLog ReadEventLogA
838 #define ReportEvent ReportEventA
839 #define CreateProcess CreateProcessA
840 #define FatalAppExit FatalAppExitA
841 #define RemoveFontResourceEx RemoveFontResourceExA
842 #define GetStartupInfo GetStartupInfoA
843 #define GetCommandLine GetCommandLineA
844 #define GetEnvironmentVariable GetEnvironmentVariableA
845 #define SetEnvironmentVariable SetEnvironmentVariableA
846 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
847 #define OutputDebugString OutputDebugStringA
848 #define FindResource FindResourceA
849 #define FindResourceEx FindResourceExA
850 #define EnumResourceTypes EnumResourceTypesA
851 #define EnumResourceNames EnumResourceNamesA
852 #define EnumResourceLanguages EnumResourceLanguagesA
853 #define BeginUpdateResource BeginUpdateResourceA
854 #define UpdateResource UpdateResourceA
855 #define EndUpdateResource EndUpdateResourceA
856 #define GlobalAddAtom GlobalAddAtomA
857 #define GlobalFindAtom GlobalFindAtomA
858 #define GlobalGetAtomName GlobalGetAtomNameA
859 #define AddAtom AddAtomA
860 #define FindAtom FindAtomA
861 #define GetProfileInt GetProfileIntA
862 #define GetAtomName GetAtomNameA
863 #define GetProfileString GetProfileStringA
864 #define WriteProfileString WriteProfileStringA
865 #define GetProfileSection GetProfileSectionA
866 #define WriteProfileSection WriteProfileSectionA
867 #define GetPrivateProfileInt GetPrivateProfileIntA
868 #define GetPrivateProfileString GetPrivateProfileStringA
869 #define WritePrivateProfileString WritePrivateProfileStringA
870 #define GetPrivateProfileSection GetPrivateProfileSectionA
871 #define WritePrivateProfileSection WritePrivateProfileSectionA
872 #define GetDriveType GetDriveTypeA
873 #define GetSystemDirectory GetSystemDirectoryA
874 #define GetTempPath GetTempPathA
875 #define GetTempFileName GetTempFileNameA
876 #define GetWindowsDirectory GetWindowsDirectoryA
877 #define SetCurrentDirectory SetCurrentDirectoryA
878 #define GetCurrentDirectory GetCurrentDirectoryA
879 #define GetDiskFreeSpace GetDiskFreeSpaceA
880 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
881 #define CreateDirectory CreateDirectoryA
882 #define CreateDirectoryEx CreateDirectoryExA
883 #define RemoveDirectory RemoveDirectoryA
884 #define GetFullPathName GetFullPathNameA
885 #define DefineDosDevice DefineDosDeviceA
886 #define QueryDosDevice QueryDosDeviceA
887 #define CreateFile CreateFileA
888 #define SetFileAttributes SetFileAttributesA
889 #define GetFileAttributes GetFileAttributesA
890 #define GetFileAttributesEx GetFileAttributesExA
891 #define GetCompressedFileSize GetCompressedFileSizeA
892 #define DeleteFile DeleteFileA
893 #define FindFirstFileEx FindFirstFileExA
894 #define FindFirstFile FindFirstFileA
895 #define FindNextFile FindNextFileA
896 #define SearchPath SearchPathA
897 #define CopyFile CopyFileA
898 #define CopyFileEx CopyFileExA
899 #define MoveFile MoveFileA
900 #define MoveFileEx MoveFileExA
901 #define MoveFileWithProgress MoveFileWithProgressA
902 #define CreateNamedPipe CreateNamedPipeA
903 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
904 #define CallNamedPipe CallNamedPipeA
905 #define WaitNamedPipe WaitNamedPipeA
906 #define SetVolumeLabel SetVolumeLabelA
907 #define GetVolumeInformation GetVolumeInformationA
908 #define ClearEventLog ClearEventLogA
909 #define BackupEventLog BackupEventLogA
910 #define CreateMutex CreateMutexA
911 #define OpenMutex OpenMutexA
912 #define CreateEvent CreateEventA
913 #define OpenEvent OpenEventA
914 #define CreateSemaphore CreateSemaphoreA
915 #define OpenSemaphore OpenSemaphoreA
916 #define CreateFileMapping CreateFileMappingA
917 #define OpenFileMapping OpenFileMappingA
918 #define GetLogicalDriveStrings GetLogicalDriveStringsA
919 #define LoadLibrary LoadLibraryA
920 #define LoadLibraryEx LoadLibraryExA
921 #define GetModuleFileName GetModuleFileNameA
922 #define GetModuleHandle GetModuleHandleA
923 #define GetUserObjectInformation GetUserObjectInformationA
924 #define PrivateExtractIcons PrivateExtractIconsA
925 #define SetUserObjectInformation SetUserObjectInformationA
926 #define RegisterWindowMessage RegisterWindowMessageA
927 #define GetMessage GetMessageA
928 #define DispatchMessage DispatchMessageA
929 #define PeekMessage PeekMessageA
930 #define SendMessage SendMessageA
931 #define SendMessageTimeout SendMessageTimeoutA
932 #define SendNotifyMessage SendNotifyMessageA
933 #define SendMessageCallback SendMessageCallbackA
934 #define PostMessage PostMessageA
935 #define PostThreadMessage PostThreadMessageA
936 #define VerFindFile VerFindFileA
937 #define VerInstallFile VerInstallFileA
938 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
939 #define GetFileVersionInfo GetFileVersionInfoA
940 #define VerLanguageName VerLanguageNameA
941 #define VerQueryValue VerQueryValueA
942 #define CompareString CompareStringA
943 #define LCMapString LCMapStringA
944 #define GetLocaleInfo GetLocaleInfoA
945 #define SetLocaleInfo SetLocaleInfoA
946 #define GetTimeFormat GetTimeFormatA
947 #define GetDateFormat GetDateFormatA
948 #define GetNumberFormat GetNumberFormatA
949 #define GetCurrencyFormat GetCurrencyFormatA
950 #define EnumCalendarInfo EnumCalendarInfoA
951 #define EnumTimeFormats EnumTimeFormatsA
952 #define FoldString FoldStringA
953 #define EnumSystemCodePages EnumSystemCodePagesA
954 #define EnumSystemLocales EnumSystemLocalesA
955 #define GetStringTypeEx GetStringTypeExA
956 #define SetCalendarInfo SetCalendarInfoA
957 #define EnumDateFormats EnumDateFormatsA
958 #define GetConsoleTitle GetConsoleTitleA
959 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
960 #define SetConsoleTitle SetConsoleTitleA
961 #define ReadConsole ReadConsoleA
962 #define RegisterServiceCtrlHandlerEx RegisterServiceCtrlHandlerExA
963 #define QueryServiceConfig2 QueryServiceConfig2A
964 #define EnumServicesStatusEx EnumServicesStatusExA
965 #define ChangeServiceConfig2 ChangeServiceConfig2A
966 #define SendIMEMessageEx SendIMEMessageExA
967 #define IMPQueryIME IMPQueryIMEA
968 #define IMPGetIME IMPGetIMEA
969 #define WriteConsole WriteConsoleA
970 #define PeekConsoleInput PeekConsoleInputA
971 #define ReadConsoleInput ReadConsoleInputA
972 #define WriteConsoleInput WriteConsoleInputA
973 #define ReadConsoleOutput ReadConsoleOutputA
974 #define WriteConsoleOutput WriteConsoleOutputA
975 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
976 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
977 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
978 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
979 #define WNetGetLastError WNetGetLastErrorA
980 #define WNetGetProviderName WNetGetProviderNameA
981 #define WNetGetNetworkInformation WNetGetNetworkInformationA
982 #define WNetConnectionDialog1 WNetConnectionDialog1A
983 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
984 #define WNetOpenEnum WNetOpenEnumA
985 #define WNetEnumResource WNetEnumResourceA
986 #define WNetGetUniversalName WNetGetUniversalNameA
987 #define WNetGetUser WNetGetUserA
988 #define WNetAddConnection WNetAddConnectionA
989 #define WNetAddConnection2 WNetAddConnection2A
990 #define WNetAddConnection3 WNetAddConnection3A
991 #define WNetCancelConnection WNetCancelConnectionA
992 #define WNetCancelConnection2 WNetCancelConnection2A
993 #define WNetGetConnection WNetGetConnectionA
994 #define WNetUseConnection WNetUseConnectionA
995 #define WNetSetConnection WNetSetConnectionA
996 #define OpenService OpenServiceA
997 #define QueryServiceConfig QueryServiceConfigA
998 #define QueryServiceLockStatus QueryServiceLockStatusA
999 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
1000 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
1001 #define StartService StartServiceA
1002 #define ChangeServiceConfig ChangeServiceConfigA
1003 #define CreateService CreateServiceA
1004 #define EnumDependentServices EnumDependentServicesA
1005 #define EnumServicesStatus EnumServicesStatusA
1006 #define GetServiceKeyName GetServiceKeyNameA
1007 #define GetServiceDisplayName GetServiceDisplayNameA
1008 #define OpenSCManager OpenSCManagerA
1009 #define DragQueryFile DragQueryFileA
1010 #define ExtractAssociatedIcon ExtractAssociatedIconA
1011 #define RegSaveKeyEx RegSaveKeyExA
1012 #define ExtractIcon ExtractIconA
1013 #define FindFirstVolumeMountPoint FindFirstVolumeMountPointA
1014 #define FindExecutable FindExecutableA
1015 #define ShellAbout ShellAboutA
1016 #define ShellExecute ShellExecuteA
1017 #define DdeCreateStringHandle DdeCreateStringHandleA
1018 #define DdeInitialize DdeInitializeA
1019 #define DdeQueryString DdeQueryStringA
1020 #define CreateProcessAsUser CreateProcessAsUserA
1021 #define OpenBackupEventLog OpenBackupEventLogA
1022 #define SHGetFileInfo SHGetFileInfoA
1023 #define SHGetPathFromIDList SHGetPathFromIDListA
1025 #endif /* UNICODE and ASCII defines */
1026 #endif /* _DISABLE_TIDENTS */
1028 NTSTATUS STDCALL
CreateNlsSecurityDescriptor(PSECURITY_DESCRIPTOR SecurityDescriptor
,ULONG Size
,ULONG AccessMask
);
1030 BOOL STDCALL
GetConsoleInputExeNameA(ULONG length
,LPCSTR name
);
1032 BOOL STDCALL
GetConsoleInputExeNameW(ULONG length
,LPCWSTR name
);
1034 BOOL STDCALL
IsValidUILanguage(LANGID langid
);
1036 VOID STDCALL
NlsConvertIntegerToString(ULONG Value
,ULONG Base
,ULONG strsize
, LPWSTR str
, ULONG strsize2
);
1038 UINT STDCALL
SetCPGlobal(UINT CodePage
);
1042 SetClientTimeZoneInformation(
1043 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
1046 NTSTATUS STDCALL
DbgUiDebugActiveProcess(HANDLE process
);
1048 NTSTATUS STDCALL
DbgUiStopDebugging(HANDLE process
);
1052 RtlInitializeSListHead (
1053 PSLIST_HEADER ListHead
1057 RtlInterlockedFlushSList (
1058 PSLIST_HEADER ListHead
1062 RtlInterlockedPopEntrySList (
1063 PSLIST_HEADER ListHead
1067 RtlInterlockedPushEntrySList (
1068 PSLIST_HEADER ListHead
,
1069 PSLIST_ENTRY ListEntry
1073 RtlQueryDepthSList (
1074 PSLIST_HEADER ListHead
1079 RtlRegisterWait(PHANDLE hOutput
, HANDLE hObject
,WAITORTIMERCALLBACK Callback
,PVOID Context
,ULONG dwMilliseconds
,ULONG dwFlags
);
1089 RtlDeregisterWaitEx(
1091 HANDLE CompletionEvent
1096 RtlSetHeapInformation(
1098 HEAP_INFORMATION_CLASS HeapInformationClass
,
1099 PVOID HeapInformation OPTIONAL
,
1100 SIZE_T HeapInformationLength OPTIONAL
1105 RtlQueryHeapInformation(
1107 HEAP_INFORMATION_CLASS HeapInformationClass
,
1108 PVOID HeapInformation OPTIONAL
,
1109 SIZE_T HeapInformationLength OPTIONAL
,
1110 PSIZE_T ReturnLength OPTIONAL
1117 PJOB_SET_ARRAY UserJobSet
,
1124 PJOB_SET_ARRAY UserJobSet
,
1129 RtlReleaseActivationContext(
1135 RtlQueryInformationActivationContext(
1138 PVOID pvSubInstance
,
1141 SIZE_T cbBuffer OPTIONAL
,
1142 SIZE_T
*pcbWrittenOrRequired OPTIONAL
1147 RtlAddRefActivationContext(
1153 RtlGetActiveActivationContext(
1158 RtlZombifyActivationContext(
1164 RtlDeactivateActivationContext(
1172 IN HANDLE HeapHandle
,
1175 IN PCWSTR TagSubName
1181 IN PRTL_SPLAY_LINKS Links
1186 RtlDeleteElementGenericTable(
1187 IN PRTL_GENERIC_TABLE Table
,
1194 IN PRTL_SPLAY_LINKS Links
,
1195 OUT PRTL_SPLAY_LINKS
*Root
1200 RtlEnumerateGenericTable(
1201 IN PRTL_GENERIC_TABLE Table
,
1207 RtlEnumerateGenericTableWithoutSplaying(
1208 IN PRTL_GENERIC_TABLE Table
,
1209 IN PVOID
*RestartKey
1214 RtlGetElementGenericTable(
1215 IN PRTL_GENERIC_TABLE Table
,
1221 RtlLookupElementGenericTable(
1222 IN PRTL_GENERIC_TABLE Table
,
1236 IN HANDLE HeapHandle
,
1238 IN USHORT TagNumber
,
1239 IN BOOLEAN ZeroInternalTagInfo
,
1240 OUT PRTL_HEAP_TAG_INFO HeapTagInfo OPTIONAL
1246 IN PRTL_SPLAY_LINKS Links
1252 IN PRTL_SPLAY_LINKS Links
1258 IN PRTL_SPLAY_LINKS Links
1263 NtAccessCheckByType(
1264 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1265 IN PSID PrincipalSelfSid
,
1266 IN HANDLE TokenHandle
,
1267 IN ULONG DesiredAccess
,
1268 IN POBJECT_TYPE_LIST ObjectTypeList
,
1269 IN ULONG ObjectTypeListLength
,
1270 IN PGENERIC_MAPPING GenericMapping
,
1271 IN PPRIVILEGE_SET PrivilegeSet
,
1272 IN PULONG PrivilegeSetLength
,
1273 OUT PACCESS_MASK GrantedAccess
,
1274 OUT PULONG AccessStatus
1279 NtAccessCheckByTypeAndAuditAlarm(
1280 IN PUNICODE_STRING SubsystemName
,
1282 IN PUNICODE_STRING ObjectTypeName
,
1283 IN PUNICODE_STRING ObjectName
,
1284 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1285 IN PSID PrincipalSelfSid
,
1286 IN ACCESS_MASK DesiredAccess
,
1287 IN AUDIT_EVENT_TYPE AuditType
,
1289 IN POBJECT_TYPE_LIST ObjectTypeList
,
1290 IN ULONG ObjectTypeListLength
,
1291 IN PGENERIC_MAPPING GenericMapping
,
1292 IN BOOLEAN ObjectCreation
,
1293 OUT PACCESS_MASK GrantedAccess
,
1294 OUT PULONG AccessStatus
,
1295 OUT PBOOLEAN GenerateOnClose
1300 NtAccessCheckByTypeResultList(
1301 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1302 IN PSID PrincipalSelfSid
,
1303 IN HANDLE TokenHandle
,
1304 IN ACCESS_MASK DesiredAccess
,
1305 IN POBJECT_TYPE_LIST ObjectTypeList
,
1306 IN ULONG ObjectTypeListLength
,
1307 IN PGENERIC_MAPPING GenericMapping
,
1308 IN PPRIVILEGE_SET PrivilegeSet
,
1309 IN PULONG PrivilegeSetLength
,
1310 OUT PACCESS_MASK GrantedAccessList
,
1311 OUT PULONG AccessStatusList
1316 NtAccessCheckByTypeResultListAndAuditAlarm(
1317 IN PUNICODE_STRING SubsystemName
,
1319 IN PUNICODE_STRING ObjectTypeName
,
1320 IN PUNICODE_STRING ObjectName
,
1321 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1322 IN PSID PrincipalSelfSid
,
1323 IN ACCESS_MASK DesiredAccess
,
1324 IN AUDIT_EVENT_TYPE AuditType
,
1326 IN POBJECT_TYPE_LIST ObjectTypeList
,
1327 IN ULONG ObjectTypeListLength
,
1328 IN PGENERIC_MAPPING GenericMapping
,
1329 IN BOOLEAN ObjectCreation
,
1330 OUT PACCESS_MASK GrantedAccessList
,
1331 OUT PULONG AccessStatusList
,
1332 OUT PULONG GenerateOnClose
1337 NtAccessCheckByTypeResultListAndAuditAlarmByHandle(
1338 IN PUNICODE_STRING SubsystemName
,
1340 IN HANDLE TokenHandle
,
1341 IN PUNICODE_STRING ObjectTypeName
,
1342 IN PUNICODE_STRING ObjectName
,
1343 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1344 IN PSID PrincipalSelfSid
,
1345 IN ACCESS_MASK DesiredAccess
,
1346 IN AUDIT_EVENT_TYPE AuditType
,
1348 IN POBJECT_TYPE_LIST ObjectTypeList
,
1349 IN ULONG ObjectTypeListLength
,
1350 IN PGENERIC_MAPPING GenericMapping
,
1351 IN BOOLEAN ObjectCreation
,
1352 OUT PACCESS_MASK GrantedAccessList
,
1353 OUT PULONG AccessStatusList
,
1354 OUT PULONG GenerateOnClose
1359 NtAllocateUserPhysicalPages(
1360 IN HANDLE ProcessHandle
,
1361 IN PULONG NumberOfPages
,
1362 OUT PULONG PageFrameNumbers
1367 NtAreMappedFilesTheSame(
1375 OUT PHANDLE JobHandle
,
1376 IN ACCESS_MASK DesiredAccess
,
1377 IN POBJECT_ATTRIBUTES ObjectAttributes
1383 OUT PHANDLE KeyedEventHandle
,
1384 IN ACCESS_MASK DesiredAccess
,
1385 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1392 IN HANDLE ExistingTokenHandle
,
1394 IN PTOKEN_GROUPS SidsToDisable
,
1395 IN PTOKEN_PRIVILEGES PrivilegesToDelete
,
1396 IN PTOKEN_GROUPS SidsToRestricted
,
1397 OUT PHANDLE NewTokenHandle
1402 NtFreeUserPhysicalPages(
1403 IN HANDLE ProcessHandle
,
1404 IN OUT PULONG NumberOfPages
,
1405 IN PULONG PageFrameNumbers
1411 IN HANDLE ProcessHandle
,
1413 IN PVOID BaseAddress
,
1414 IN ULONG RegionSize
,
1416 IN OUT PULONG BufferEntries
,
1417 OUT PULONG Granularity
1422 NtImpersonateAnonymousToken(
1423 IN HANDLE ThreadHandle
1429 IN HANDLE JobHandle
,
1430 IN HANDLE ProcessHandle
1435 NtMakePermanentObject(
1441 NtMapUserPhysicalPages(
1442 IN PVOID BaseAddress
,
1443 IN PULONG NumberOfPages
,
1444 IN PULONG PageFrameNumbers
1449 NtMapUserPhysicalPagesScatter(
1450 IN PVOID
*BaseAddresses
,
1451 IN PULONG NumberOfPages
,
1452 IN PULONG PageFrameNumbers
1458 OUT PHANDLE JobHandle
,
1459 IN ACCESS_MASK DesiredAccess
,
1460 IN POBJECT_ATTRIBUTES ObjectAttributes
1466 OUT PHANDLE KeyedEventHandle
,
1467 IN PACCESS_MASK DesiredAccess
,
1468 IN PUNICODE_STRING KeyedEventName
1473 NtOpenProcessTokenEx(
1474 IN HANDLE ProcessHandle
,
1475 IN ACCESS_MASK DesiredAccess
,
1476 IN ULONG HandleAttributes
,
1477 OUT PHANDLE TokenHandle
1482 NtOpenThreadTokenEx(
1483 IN HANDLE ThreadHandle
,
1484 IN ACCESS_MASK DesiredAccess
,
1485 IN BOOLEAN OpenAsSelf
,
1486 IN ULONG HandleAttributes
,
1487 OUT PHANDLE TokenHandle
1492 NtQueryDefaultUILanguage(
1493 OUT PLANGID LanguageId
1498 NtQueryInformationJobObject(
1499 IN HANDLE JobHandle
,
1500 IN JOBOBJECTINFOCLASS JobInformationClass
,
1501 OUT PVOID JobInformation
,
1502 IN ULONG JobInformationLength
,
1503 OUT PULONG ReturnLength OPTIONAL
1508 NtQueryInstallUILanguage(
1509 OUT PLANGID LanguageId
1514 NtQueryPortInformationProcess(
1520 NtReleaseKeyedEvent(
1521 IN HANDLE KeyedEventHandle
,
1523 IN BOOLEAN Alertable
,
1524 IN PLARGE_INTEGER Timeout OPTIONAL
1529 NtReplyWaitReceivePortEx(
1530 IN HANDLE PortHandle
,
1531 OUT PULONG PortIdentifier OPTIONAL
,
1532 IN PPORT_MESSAGE ReplyMessage OPTIONAL
,
1533 OUT PPORT_MESSAGE Message
,
1534 IN PLARGE_INTEGER Timeout
1540 IN HANDLE ProcessHandle
,
1541 IN PVOID BaseAddress
,
1553 NtSecureConnectPort(
1554 OUT PHANDLE PortHandle
,
1555 IN PUNICODE_STRING PortName
,
1556 IN PSECURITY_QUALITY_OF_SERVICE SecurityQos
,
1557 IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL
,
1558 IN PSID ServerSid OPTIONAL
,
1559 IN OUT PPORT_SECTION_READ ReadSection OPTIONAL
,
1560 OUT PULONG MaxMessageSize OPTIONAL
,
1561 IN OUT PVOID ConnectData OPTIONAL
,
1562 IN OUT PULONG ConnectDataLength OPTIONAL
1567 NtSetDefaultUILanguage(
1568 IN LANGID LanguageId
1573 NtSetHighWaitLowThread(
1579 NtSetInformationJobObject(
1580 IN HANDLE JobHandle
,
1581 IN JOBOBJECTINFOCLASS JobInformationClass
,
1582 IN PVOID JobInformation
,
1583 IN ULONG JobInformationLength
1588 NtSetLowWaitHighThread(
1594 NtSetQuotaInformationFile(
1595 IN HANDLE FileHandle
,
1596 OUT PIO_STATUS_BLOCK IoStatusBlock
,
1597 IN PFILE_USER_QUOTA_INFORMATION Buffer
,
1598 IN ULONG BufferLength
1615 NtTerminateJobObject(
1616 IN HANDLE JobHandle
,
1617 IN NTSTATUS ExitStatus
1622 NtWaitForKeyedEvent(
1623 IN HANDLE KeyedEventHandle
,
1625 IN BOOLEAN Alertable
,
1626 IN PLARGE_INTEGER Timeout OPTIONAL
1631 RtlDllShutdownInProgress(
1649 RtlGetLastWin32Error(
1655 RtlGetNativeSystemInformation(
1656 IN SYSTEM_INFORMATION_CLASS SystemInformationClass
,
1657 IN OUT PVOID SystemInformation
,
1658 IN ULONG SystemInformationLength
,
1659 OUT PULONG ReturnLength OPTIONAL
1664 RtlLogStackBackTrace(
1671 LPTHREAD_START_ROUTINE Function
,
1678 RtlRestoreLastWin32Error(
1684 RtlSetCriticalSectionSpinCount(
1685 IN PRTL_CRITICAL_SECTION CriticalSection
1690 (CALLBACK
*POVERLAPPED_COMPLETION_ROUTINE
)(
1692 DWORD dwNumberOfBytesTransfered
,
1693 LPOVERLAPPED lpOverlapped
1699 RtlSetIoCompletionCallback(
1700 IN HANDLE FileHandle
,
1701 IN POVERLAPPED_COMPLETION_ROUTINE CompletionRoutine
,
1707 RtlSetLastWin32Error(
1713 RtlSetLastWin32ErrorAndNtStatusFromNtStatus(
1714 IN NTSTATUS NtStatus
1719 ZwAccessCheckByType(
1720 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1721 IN PSID PrincipalSelfSid
,
1722 IN HANDLE TokenHandle
,
1723 IN ULONG DesiredAccess
,
1724 IN POBJECT_TYPE_LIST ObjectTypeList
,
1725 IN ULONG ObjectTypeListLength
,
1726 IN PGENERIC_MAPPING GenericMapping
,
1727 IN PPRIVILEGE_SET PrivilegeSet
,
1728 IN PULONG PrivilegeSetLength
,
1729 OUT PACCESS_MASK GrantedAccess
,
1730 OUT PULONG AccessStatus
1735 ZwAccessCheckByTypeAndAuditAlarm(
1736 IN PUNICODE_STRING SubsystemName
,
1738 IN PUNICODE_STRING ObjectTypeName
,
1739 IN PUNICODE_STRING ObjectName
,
1740 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1741 IN PSID PrincipalSelfSid
,
1742 IN ACCESS_MASK DesiredAccess
,
1743 IN AUDIT_EVENT_TYPE AuditType
,
1745 IN POBJECT_TYPE_LIST ObjectTypeList
,
1746 IN ULONG ObjectTypeListLength
,
1747 IN PGENERIC_MAPPING GenericMapping
,
1748 IN BOOLEAN ObjectCreation
,
1749 OUT PACCESS_MASK GrantedAccess
,
1750 OUT PULONG AccessStatus
,
1751 OUT PBOOLEAN GenerateOnClose
1756 ZwAccessCheckByTypeResultList(
1757 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1758 IN PSID PrincipalSelfSid
,
1759 IN HANDLE TokenHandle
,
1760 IN ACCESS_MASK DesiredAccess
,
1761 IN POBJECT_TYPE_LIST ObjectTypeList
,
1762 IN ULONG ObjectTypeListLength
,
1763 IN PGENERIC_MAPPING GenericMapping
,
1764 IN PPRIVILEGE_SET PrivilegeSet
,
1765 IN PULONG PrivilegeSetLength
,
1766 OUT PACCESS_MASK GrantedAccessList
,
1767 OUT PULONG AccessStatusList
1772 ZwAccessCheckByTypeResultListAndAuditAlarm(
1773 IN PUNICODE_STRING SubsystemName
,
1775 IN PUNICODE_STRING ObjectTypeName
,
1776 IN PUNICODE_STRING ObjectName
,
1777 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1778 IN PSID PrincipalSelfSid
,
1779 IN ACCESS_MASK DesiredAccess
,
1780 IN AUDIT_EVENT_TYPE AuditType
,
1782 IN POBJECT_TYPE_LIST ObjectTypeList
,
1783 IN ULONG ObjectTypeListLength
,
1784 IN PGENERIC_MAPPING GenericMapping
,
1785 IN BOOLEAN ObjectCreation
,
1786 OUT PACCESS_MASK GrantedAccessList
,
1787 OUT PULONG AccessStatusList
,
1788 OUT PULONG GenerateOnClose
1793 ZwAccessCheckByTypeResultListAndAuditAlarmByHandle(
1794 IN PUNICODE_STRING SubsystemName
,
1796 IN HANDLE TokenHandle
,
1797 IN PUNICODE_STRING ObjectTypeName
,
1798 IN PUNICODE_STRING ObjectName
,
1799 IN PSECURITY_DESCRIPTOR SecurityDescriptor
,
1800 IN PSID PrincipalSelfSid
,
1801 IN ACCESS_MASK DesiredAccess
,
1802 IN AUDIT_EVENT_TYPE AuditType
,
1804 IN POBJECT_TYPE_LIST ObjectTypeList
,
1805 IN ULONG ObjectTypeListLength
,
1806 IN PGENERIC_MAPPING GenericMapping
,
1807 IN BOOLEAN ObjectCreation
,
1808 OUT PACCESS_MASK GrantedAccessList
,
1809 OUT PULONG AccessStatusList
,
1810 OUT PULONG GenerateOnClose
1815 ZwAllocateUserPhysicalPages(
1816 IN HANDLE ProcessHandle
,
1817 IN PULONG NumberOfPages
,
1818 OUT PULONG PageFrameNumbers
1823 ZwAreMappedFilesTheSame(
1830 ZwAssignProcessToJobObject(
1831 IN HANDLE JobHandle
,
1832 IN HANDLE ProcessHandle
1838 OUT PHANDLE JobHandle
,
1839 IN ACCESS_MASK DesiredAccess
,
1840 IN POBJECT_ATTRIBUTES ObjectAttributes
1846 OUT PHANDLE KeyedEventHandle
,
1847 IN ACCESS_MASK DesiredAccess
,
1848 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1854 ZwCreateWaitablePort(
1855 OUT PHANDLE PortHandle
,
1856 IN POBJECT_ATTRIBUTES ObjectAttributes
,
1857 IN ULONG MaxDataSize
,
1858 IN ULONG MaxMessageSize
,
1865 IN HANDLE ExistingTokenHandle
,
1867 IN PTOKEN_GROUPS SidsToDisable
,
1868 IN PTOKEN_PRIVILEGES PrivilegesToDelete
,
1869 IN PTOKEN_GROUPS SidsToRestricted
,
1870 OUT PHANDLE NewTokenHandle
1875 ZwFreeUserPhysicalPages(
1876 IN HANDLE ProcessHandle
,
1877 IN OUT PULONG NumberOfPages
,
1878 IN PULONG PageFrameNumbers
1884 IN HANDLE ProcessHandle
,
1886 IN PVOID BaseAddress
,
1887 IN ULONG RegionSize
,
1889 IN OUT PULONG BufferEntries
,
1890 OUT PULONG Granularity
1895 ZwImpersonateAnonymousToken(
1896 IN HANDLE ThreadHandle
1902 IN HANDLE JobHandle
,
1903 IN HANDLE ProcessHandle
1908 ZwMakePermanentObject(
1914 ZwMapUserPhysicalPages(
1915 IN PVOID BaseAddress
,
1916 IN PULONG NumberOfPages
,
1917 IN PULONG PageFrameNumbers
1922 ZwMapUserPhysicalPagesScatter(
1923 IN PVOID
*BaseAddresses
,
1924 IN PULONG NumberOfPages
,
1925 IN PULONG PageFrameNumbers
1931 OUT PHANDLE JobHandle
,
1932 IN ACCESS_MASK DesiredAccess
,
1933 IN POBJECT_ATTRIBUTES ObjectAttributes
1939 OUT PHANDLE KeyedEventHandle
,
1940 IN PACCESS_MASK DesiredAccess
,
1941 IN PUNICODE_STRING KeyedEventName
1946 ZwOpenProcessTokenEx(
1947 IN HANDLE ProcessHandle
,
1948 IN ACCESS_MASK DesiredAccess
,
1949 IN ULONG HandleAttributes
,
1950 OUT PHANDLE TokenHandle
1955 ZwOpenThreadTokenEx(
1956 IN HANDLE ThreadHandle
,
1957 IN ACCESS_MASK DesiredAccess
,
1958 IN BOOLEAN OpenAsSelf
,
1959 IN ULONG HandleAttributes
,
1960 OUT PHANDLE TokenHandle
1965 ZwQueryDefaultUILanguage(
1966 OUT PLANGID LanguageId
1971 ZwQueryInformationJobObject(
1972 IN HANDLE JobHandle
,
1973 IN JOBOBJECTINFOCLASS JobInformationClass
,
1974 OUT PVOID JobInformation
,
1975 IN ULONG JobInformationLength
,
1976 OUT PULONG ReturnLength OPTIONAL
1981 ZwQueryInstallUILanguage(
1982 OUT PLANGID LanguageId
1987 ZwQueryPortInformationProcess(
1993 ZwQueryQuotaInformationFile(
1994 IN HANDLE FileHandle
,
1995 OUT PIO_STATUS_BLOCK IoStatusBlock
,
1996 OUT PFILE_USER_QUOTA_INFORMATION Buffer
,
1997 IN ULONG BufferLength
,
1998 IN BOOLEAN ReturnSingleEntry
,
1999 IN PFILE_QUOTA_LIST_INFORMATION QuotaList OPTIONAL
,
2000 IN ULONG QuotaListLength
,
2001 IN PSID ResumeSid OPTIONAL
,
2002 IN BOOLEAN RestartScan
2007 ZwReleaseKeyedEvent(
2008 IN HANDLE KeyedEventHandle
,
2010 IN BOOLEAN Alertable
,
2011 IN PLARGE_INTEGER Timeout OPTIONAL
2016 ZwReplyWaitReceivePortEx(
2017 IN HANDLE PortHandle
,
2018 OUT PULONG PortIdentifier OPTIONAL
,
2019 IN PPORT_MESSAGE ReplyMessage OPTIONAL
,
2020 OUT PPORT_MESSAGE Message
,
2021 IN PLARGE_INTEGER Timeout
2027 IN HANDLE ProcessHandle
,
2028 IN PVOID BaseAddress
,
2040 ZwSecureConnectPort(
2041 OUT PHANDLE PortHandle
,
2042 IN PUNICODE_STRING PortName
,
2043 IN PSECURITY_QUALITY_OF_SERVICE SecurityQos
,
2044 IN OUT PPORT_SECTION_WRITE WriteSection OPTIONAL
,
2045 IN PSID ServerSid OPTIONAL
,
2046 IN OUT PPORT_SECTION_READ ReadSection OPTIONAL
,
2047 OUT PULONG MaxMessageSize OPTIONAL
,
2048 IN OUT PVOID ConnectData OPTIONAL
,
2049 IN OUT PULONG ConnectDataLength OPTIONAL
2054 ZwSetDefaultUILanguage(
2055 IN LANGID LanguageId
2060 ZwSetHighWaitLowThread(
2066 ZwSetInformationJobObject(
2067 IN HANDLE JobHandle
,
2068 IN JOBOBJECTINFOCLASS JobInformationClass
,
2069 IN PVOID JobInformation
,
2070 IN ULONG JobInformationLength
2075 ZwSetLowWaitHighThread(
2081 ZwSetQuotaInformationFile(
2082 IN HANDLE FileHandle
,
2083 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2084 IN PFILE_USER_QUOTA_INFORMATION Buffer
,
2085 IN ULONG BufferLength
2102 ZwTerminateJobObject(
2103 IN HANDLE JobHandle
,
2104 IN NTSTATUS ExitStatus
2109 ZwWaitForKeyedEvent(
2110 IN HANDLE KeyedEventHandle
,
2112 IN BOOLEAN Alertable
,
2113 IN PLARGE_INTEGER Timeout OPTIONAL
2117 GetAppCompatFlags2(HTASK hTask
);
2118 VOID STDCALL
InitializeLpkHooks(FARPROC
*hookfuncs
);
2119 BOOL STDCALL
EnterReaderModeHelper(HWND hwnd
);
2120 BOOL STDCALL
CtxInitUser32(VOID
);
2121 BOOL STDCALL
ReasonCodeNeedsBugID(ULONG reasoncode
);
2122 BOOL STDCALL
ReasonCodeNeedsComment(ULONG reasoncode
);
2142 BOOL STDCALL
DisplayExitWindowsWarnings(ULONG flags
);
2143 FARPROC STDCALL
DelayLoadFailureHook(unsigned int dliNotify
, PDelayLoadInfo pdli
);
2145 DWORD STDCALL
RtlDeleteSecurityObject(DWORD x1
);
2146 DWORD STDCALL
RtlNewSecurityObject(DWORD x1
,DWORD x2
,DWORD x3
,DWORD x4
,DWORD x5
,DWORD x6
);
2147 NTSTATUS STDCALL
RtlWalkHeap( HANDLE heap
, PVOID entry_ptr
);
2148 NTSTATUS STDCALL
RtlpUnWaitCriticalSection(RTL_CRITICAL_SECTION
*crit
);
2149 NTSTATUS STDCALL
RtlpWaitForCriticalSection(RTL_CRITICAL_SECTION
*crit
);
2150 NTSTATUS STDCALL
LdrLockLoaderLock(ULONG flags
, ULONG
*result
, ULONG
*magic
);
2151 NTSTATUS STDCALL
LdrUnlockLoaderLock(ULONG flags
, ULONG magic
);
2153 NTSTATUS STDCALL
RtlDuplicateUnicodeString(
2155 const UNICODE_STRING
*source
,
2156 UNICODE_STRING
*destination
);
2157 NTSTATUS STDCALL
RtlFindCharInUnicodeString(
2159 const UNICODE_STRING
*main_str
,
2160 const UNICODE_STRING
*search_chars
,
2162 NTSTATUS STDCALL
RtlInitUnicodeStringEx(PUNICODE_STRING target
,PCWSTR source
);
2167 IN ULONG ComponentId
,
2174 DbgPrintReturnControlC(
2180 DbgQueryDebugFilterState(
2181 IN ULONG ComponentId
,
2186 DbgSetDebugFilterState(
2187 IN ULONG ComponentId
,
2193 NtCancelDeviceWakeupRequest(
2200 IN HANDLE KeyArray
[]
2209 NtGetDevicePowerState(
2211 OUT DEVICE_POWER_STATE
*State
2215 NtInitiatePowerAction(
2216 IN POWER_ACTION SystemAction
,
2217 IN SYSTEM_POWER_STATE MinSystemState
,
2219 IN BOOL Asynchronous
2223 NtIsSystemResumeAutomatic(
2228 NtLockProductActivationKeys(
2239 NtNotifyChangeMultipleKeys(
2240 IN HANDLE MasterKeyHandle
,
2242 IN OBJECT_ATTRIBUTES SlaveObjects
[],
2243 IN HANDLE Event OPTIONAL
,
2244 IN PIO_APC_ROUTINE ApcRoutine OPTIONAL
,
2245 IN PVOID ApcContext OPTIONAL
,
2246 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2247 IN ULONG CompletionFilter
,
2250 IN ULONG BufferSize
,
2251 IN BOOL Asynchronous
2256 IN POBJECT_ATTRIBUTES TargetKey
,
2257 OUT PULONG HandleCount
2262 IN HANDLE KeyHandle
,
2263 IN PUNICODE_STRING NewName
2267 NtRequestDeviceWakeup(
2272 NtRequestWakeupLatency(
2273 IN LATENCY_TIME latency
2278 IN HANDLE KeyHandle
,
2279 IN HANDLE FileHandle
,
2285 IN HANDLE HighPrecedenceKeyHandle
,
2286 IN HANDLE LowPrecedenceKeyHandle
,
2287 IN HANDLE FileHandle
2291 NtSetThreadExecutionState(
2292 IN EXECUTION_STATE esFlags
,
2293 OUT EXECUTION_STATE
*PreviousFlags
2298 IN POBJECT_ATTRIBUTES TargetKey
,
2299 IN HANDLE Event OPTIONAL
2304 OUT PRTL_OSVERSIONINFOW lpVersionInformation
2308 RtlHashUnicodeString(
2309 IN
const UNICODE_STRING
*String
,
2310 IN BOOL CaseInSensitive
,
2311 IN ULONG HashAlgorithm
,
2312 OUT PULONG HashValue
2316 RtlValidRelativeSecurityDescriptor (
2317 IN PSECURITY_DESCRIPTOR SecurityDescriptorInput
,
2318 IN ULONG SecurityDescriptorLength
,
2319 IN SECURITY_INFORMATION RequiredInformation
2323 RtlVerifyVersionInfo(
2324 IN PRTL_OSVERSIONINFOEXW VersionInfo
,
2326 IN ULONGLONG ConditionMask
2337 IN ULONG ComponentId
,
2343 vDbgPrintExWithPrefix(
2345 IN ULONG ComponentId
,
2352 ZwCancelDeviceWakeupRequest(
2359 IN HANDLE KeyArray
[]
2368 ZwGetDevicePowerState(
2370 OUT DEVICE_POWER_STATE
*State
2374 ZwInitiatePowerAction(
2375 IN POWER_ACTION SystemAction
,
2376 IN SYSTEM_POWER_STATE MinSystemState
,
2378 IN BOOL Asynchronous
2382 ZwIsSystemResumeAutomatic(
2387 ZwLockProductActivationKeys(
2398 ZwNotifyChangeMultipleKeys(
2399 IN HANDLE MasterKeyHandle
,
2401 IN OBJECT_ATTRIBUTES SlaveObjects
[],
2402 IN HANDLE Event OPTIONAL
,
2403 IN PIO_APC_ROUTINE ApcRoutine OPTIONAL
,
2404 IN PVOID ApcContext OPTIONAL
,
2405 OUT PIO_STATUS_BLOCK IoStatusBlock
,
2406 IN ULONG CompletionFilter
,
2409 IN ULONG BufferSize
,
2410 IN BOOL Asynchronous
2415 IN POBJECT_ATTRIBUTES TargetKey
,
2416 OUT PULONG HandleCount
2421 IN HANDLE KeyHandle
,
2422 IN PUNICODE_STRING NewName
2426 ZwRequestDeviceWakeup(
2431 ZwRequestWakeupLatency(
2432 IN LATENCY_TIME latency
2437 IN HANDLE KeyHandle
,
2438 IN HANDLE FileHandle
,
2444 IN HANDLE HighPrecedenceKeyHandle
,
2445 IN HANDLE LowPrecedenceKeyHandle
,
2446 IN HANDLE FileHandle
2450 ZwSetThreadExecutionState(
2451 IN EXECUTION_STATE esFlags
,
2452 OUT EXECUTION_STATE
*PreviousFlags
2457 IN POBJECT_ATTRIBUTES TargetKey
,
2458 IN HANDLE Event OPTIONAL
2460 BOOL STDCALL
LdrFlushAlternateResourceModules(VOID
);
2461 BOOL STDCALL
LdrAlternateResourcesEnabled(VOID
);
2463 VOID STDCALL
MD4Init(PMD4_CONTEXT Context
);
2464 VOID STDCALL
MD4Update(PMD4_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2465 VOID STDCALL
MD4Final(PMD4_CONTEXT Context
);
2467 VOID STDCALL
MD5Init(PMD5_CONTEXT Context
);
2468 VOID STDCALL
MD5Update(PMD5_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2469 VOID STDCALL
MD5Final(PMD5_CONTEXT Context
);
2471 VOID STDCALL
A_SHAInit(PSHA_CONTEXT Context
);
2472 VOID STDCALL
A_SHAUpdate(PSHA_CONTEXT Context
, PVOID Buffer
, UINT BufferSize
);
2473 VOID STDCALL
A_SHAFinal(PSHA_CONTEXT Context
, PVOID Result
);
2475 VOID STDCALL
GdiInitializeLanguagePack(DWORD InitParam
);
2476 BOOL STDCALL
SetConsoleIcon(HICON hicon
);
2477 NTSTATUS STDCALL
NtPowerInformation(DWORD x1
,DWORD x2
,DWORD x3
,DWORD x4
,DWORD x5
);
2478 NTSTATUS STDCALL
ZwPowerInformation(DWORD x1
,DWORD x2
,DWORD x3
,DWORD x4
,DWORD x5
);
2479 double __cdecl
_CIpow(double x
,double y
);
2480 LPSTR __cdecl
_ui64toa(
2484 LPWSTR __cdecl
_ui64tow(
2488 INT __cdecl
iswdigit( WCHAR wc
);
2489 INT __cdecl
iswlower( WCHAR wc
);
2490 INT __cdecl
iswxdigit( WCHAR wc
);
2491 DWORD STDCALL
GetHandleContext(HANDLE hnd
);
2492 HANDLE STDCALL
CreateSocketHandle(VOID
);
2493 BOOL STDCALL
SetHandleContext(HANDLE hnd
,DWORD context
);
2494 BOOL STDCALL
SetConsoleInputExeNameA(LPCSTR name
);
2495 BOOL STDCALL
SetConsoleInputExeNameW(LPCWSTR name
);
2496 BOOL STDCALL
UTRegister( HMODULE hModule
, LPSTR lpsz16BITDLL
,
2497 LPSTR lpszInitName
, LPSTR lpszProcName
,
2498 FARPROC
*ppfn32Thunk
, FARPROC pfnUT32CallBack
,
2500 VOID STDCALL
UTUnRegister( HMODULE hModule
);
2501 BOOL STDCALL
SynchronizeWindows31FilesAndWindowsNTRegistry( DWORD x1
, DWORD x2
, DWORD x3
,DWORD x4
);
2502 BOOL STDCALL
QueryWindows31FilesMigration( DWORD x1
);
2504 WINBOOL STDCALL
GetConsoleKeyboardLayoutNameA(LPSTR name
);
2505 WINBOOL STDCALL
GetConsoleKeyboardLayoutNameW(LPWSTR name
);
2507 DWORD STDCALL
SetupChangeFontSize(HANDLE HWindow
,
2508 LPCWSTR lpszFontSize
);
2512 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2513 PSID PrincipalSelfSid
,
2515 DWORD DesiredAccess
,
2516 POBJECT_TYPE_LIST ObjectTypeList
,
2517 DWORD ObjectTypeListLength
,
2518 PGENERIC_MAPPING GenericMapping
,
2519 PPRIVILEGE_SET PrivilegeSet
,
2520 LPDWORD PrivilegeSetLength
,
2521 LPDWORD GrantedAccess
,
2527 AccessCheckByTypeResultList(
2528 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2529 PSID PrincipalSelfSid
,
2531 DWORD DesiredAccess
,
2532 POBJECT_TYPE_LIST ObjectTypeList
,
2533 DWORD ObjectTypeListLength
,
2534 PGENERIC_MAPPING GenericMapping
,
2535 PPRIVILEGE_SET PrivilegeSet
,
2536 LPDWORD PrivilegeSetLength
,
2537 LPDWORD GrantedAccessList
,
2538 LPDWORD AccessStatusList
2543 AccessCheckByTypeAndAuditAlarmA(
2544 LPCSTR SubsystemName
,
2546 LPCSTR ObjectTypeName
,
2548 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2549 PSID PrincipalSelfSid
,
2550 DWORD DesiredAccess
,
2551 AUDIT_EVENT_TYPE AuditType
,
2553 POBJECT_TYPE_LIST ObjectTypeList
,
2554 DWORD ObjectTypeListLength
,
2555 PGENERIC_MAPPING GenericMapping
,
2556 WINBOOL ObjectCreation
,
2557 LPDWORD GrantedAccess
,
2558 LPBOOL AccessStatus
,
2559 LPBOOL pfGenerateOnClose
2564 AccessCheckByTypeAndAuditAlarmW(
2565 LPCWSTR SubsystemName
,
2567 LPCWSTR ObjectTypeName
,
2569 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2570 PSID PrincipalSelfSid
,
2571 DWORD DesiredAccess
,
2572 AUDIT_EVENT_TYPE AuditType
,
2574 POBJECT_TYPE_LIST ObjectTypeList
,
2575 DWORD ObjectTypeListLength
,
2576 PGENERIC_MAPPING GenericMapping
,
2577 WINBOOL ObjectCreation
,
2578 LPDWORD GrantedAccess
,
2579 LPBOOL AccessStatus
,
2580 LPBOOL pfGenerateOnClose
2585 AccessCheckByTypeResultListAndAuditAlarmA(
2586 LPCSTR SubsystemName
,
2588 LPCSTR ObjectTypeName
,
2590 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2591 PSID PrincipalSelfSid
,
2592 DWORD DesiredAccess
,
2593 AUDIT_EVENT_TYPE AuditType
,
2595 POBJECT_TYPE_LIST ObjectTypeList
,
2596 DWORD ObjectTypeListLength
,
2597 PGENERIC_MAPPING GenericMapping
,
2598 WINBOOL ObjectCreation
,
2599 LPDWORD GrantedAccess
,
2600 LPDWORD AccessStatusList
,
2601 LPBOOL pfGenerateOnClose
2606 AccessCheckByTypeResultListAndAuditAlarmW(
2607 LPCWSTR SubsystemName
,
2609 LPCWSTR ObjectTypeName
,
2611 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2612 PSID PrincipalSelfSid
,
2613 DWORD DesiredAccess
,
2614 AUDIT_EVENT_TYPE AuditType
,
2616 POBJECT_TYPE_LIST ObjectTypeList
,
2617 DWORD ObjectTypeListLength
,
2618 PGENERIC_MAPPING GenericMapping
,
2619 WINBOOL ObjectCreation
,
2620 LPDWORD GrantedAccess
,
2621 LPDWORD AccessStatusList
,
2622 LPBOOL pfGenerateOnClose
2627 AccessCheckByTypeResultListAndAuditAlarmByHandleA(
2628 LPCSTR SubsystemName
,
2631 LPCSTR ObjectTypeName
,
2633 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2634 PSID PrincipalSelfSid
,
2635 DWORD DesiredAccess
,
2636 AUDIT_EVENT_TYPE AuditType
,
2638 POBJECT_TYPE_LIST ObjectTypeList
,
2639 DWORD ObjectTypeListLength
,
2640 PGENERIC_MAPPING GenericMapping
,
2641 WINBOOL ObjectCreation
,
2642 LPDWORD GrantedAccess
,
2643 LPDWORD AccessStatusList
,
2644 LPBOOL pfGenerateOnClose
2649 AccessCheckByTypeResultListAndAuditAlarmByHandleW(
2650 LPCWSTR SubsystemName
,
2653 LPCWSTR ObjectTypeName
,
2655 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2656 PSID PrincipalSelfSid
,
2657 DWORD DesiredAccess
,
2658 AUDIT_EVENT_TYPE AuditType
,
2660 POBJECT_TYPE_LIST ObjectTypeList
,
2661 DWORD ObjectTypeListLength
,
2662 PGENERIC_MAPPING GenericMapping
,
2663 WINBOOL ObjectCreation
,
2664 LPDWORD GrantedAccess
,
2665 LPDWORD AccessStatusList
,
2666 LPBOOL pfGenerateOnClose
2671 InitiateSystemShutdownExA(LPSTR lpMachineName
,LPSTR lpMessage
,DWORD dwTimeout
,BOOL bForceAppsClosed
,BOOL bRebootAfterShutdown
,DWORD dwReason
);
2674 InitiateSystemShutdownExW(LPWSTR lpMachineName
,LPWSTR lpMessage
,DWORD dwTimeout
,BOOL bForceAppsClosed
,BOOL bRebootAfterShutdown
,DWORD dwReason
);
2677 NotifyBootConfigStatus(WINBOOL BootAcceptable
);
2680 RegDisablePredefinedCache(VOID
);
2683 RegOpenCurrentUser(REGSAM samDesired
,PHKEY phkResult
);
2686 RegOpenUserClassesRoot(HANDLE hToken
,DWORD dwOptions
,REGSAM samDesired
,PHKEY phkResult
);
2689 RegOverridePredefKey (HKEY hKey
,HKEY hNewHKey
);
2692 RegSaveKeyExA (HKEY hKey
,LPCSTR lpFile
,LPSECURITY_ATTRIBUTES lpSecurityAttributes
,DWORD Flags
);
2695 RegSaveKeyExW (HKEY hKey
,LPCWSTR lpFile
,LPSECURITY_ATTRIBUTES lpSecurityAttributes
,DWORD Flags
);
2698 SetServiceBits(SERVICE_STATUS_HANDLE hServiceStatus
,DWORD dwServiceBits
,WINBOOL bSetBitsOn
,WINBOOL bUpdateImmediately
);
2701 Wow64Win32ApiEntry (DWORD dwFuncNumber
,DWORD dwFlag
,DWORD dwRes
);
2705 AddAccessAllowedAceEx (
2707 DWORD dwAceRevision
,
2715 AddAccessAllowedObjectAce (
2717 DWORD dwAceRevision
,
2720 GUID
*ObjectTypeGuid
,
2721 GUID
*InheritedObjectTypeGuid
,
2727 AddAccessDeniedAceEx (
2729 DWORD dwAceRevision
,
2737 AddAccessDeniedObjectAce (
2739 DWORD dwAceRevision
,
2742 GUID
*ObjectTypeGuid
,
2743 GUID
*InheritedObjectTypeGuid
,
2749 AddAuditAccessAceEx(
2751 DWORD dwAceRevision
,
2755 WINBOOL bAuditSuccess
,
2756 WINBOOL bAuditFailure
2761 AddAuditAccessObjectAce (
2763 DWORD dwAceRevision
,
2766 GUID
*ObjectTypeGuid
,
2767 GUID
*InheritedObjectTypeGuid
,
2769 WINBOOL bAuditSuccess
,
2770 WINBOOL bAuditFailure
2775 CheckTokenMembership(
2783 CloseEncryptedFileRaw(
2795 ConvertToAutoInheritPrivateObjectSecurity(
2796 PSECURITY_DESCRIPTOR ParentDescriptor
,
2797 PSECURITY_DESCRIPTOR CurrentSecurityDescriptor
,
2798 PSECURITY_DESCRIPTOR
*NewSecurityDescriptor
,
2800 WINBOOL IsDirectoryObject
,
2801 PGENERIC_MAPPING GenericMapping
2806 CreatePrivateObjectSecurity (
2807 PSECURITY_DESCRIPTOR ParentDescriptor
,
2808 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2809 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2810 WINBOOL IsDirectoryObject
,
2812 PGENERIC_MAPPING GenericMapping
2817 CreatePrivateObjectSecurityEx (
2818 PSECURITY_DESCRIPTOR ParentDescriptor
,
2819 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2820 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2822 WINBOOL IsContainerObject
,
2823 ULONG AutoInheritFlags
,
2825 PGENERIC_MAPPING GenericMapping
2830 CreatePrivateObjectSecurityWithMultipleInheritance (
2831 PSECURITY_DESCRIPTOR ParentDescriptor
,
2832 PSECURITY_DESCRIPTOR CreatorDescriptor
,
2833 PSECURITY_DESCRIPTOR
* NewDescriptor
,
2836 WINBOOL IsContainerObject
,
2837 ULONG AutoInheritFlags
,
2839 PGENERIC_MAPPING GenericMapping
2844 CreateProcessWithLogonW(
2849 LPCWSTR lpApplicationName
,
2850 LPWSTR lpCommandLine
,
2851 DWORD dwCreationFlags
,
2852 LPVOID lpEnvironment
,
2853 LPCWSTR lpCurrentDirectory
,
2854 LPSTARTUPINFOW lpStartupInfo
,
2855 LPPROCESS_INFORMATION lpProcessInformation
2860 CreateRestrictedToken(
2861 HANDLE ExistingTokenHandle
,
2863 DWORD DisableSidCount
,
2864 PSID_AND_ATTRIBUTES SidsToDisable
,
2865 DWORD DeletePrivilegeCount
,
2866 PLUID_AND_ATTRIBUTES PrivilegesToDelete
,
2867 DWORD RestrictedSidCount
,
2868 PSID_AND_ATTRIBUTES SidsToRestrict
,
2869 PHANDLE NewTokenHandle
2875 WELL_KNOWN_SID_TYPE WellKnownSidType
,
2883 DestroyPrivateObjectSecurity (
2884 PSECURITY_DESCRIPTOR
* ObjectDescriptor
2897 GetEventLogInformation (
2902 LPDWORD pcbBytesNeeded
2907 GetNumberOfEventLogRecords (
2909 PDWORD NumberOfRecords
2914 GetOldestEventLogRecord (
2921 GetPrivateObjectSecurity (
2922 PSECURITY_DESCRIPTOR ObjectDescriptor
,
2923 SECURITY_INFORMATION SecurityInformation
,
2924 PSECURITY_DESCRIPTOR ResultantDescriptor
,
2925 DWORD DescriptorLength
,
2931 GetSecurityDescriptorRMControl(
2932 PSECURITY_DESCRIPTOR SecurityDescriptor
,
2938 GetWindowsAccountDomainSid(
2946 ImpersonateAnonymousToken(
2952 ImpersonateNamedPipeClient(
2959 CONST VOID
* lpBuffer
,
2980 WELL_KNOWN_SID_TYPE WellKnownSidType
2986 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
2987 LPDWORD lpdwBufferSize
2992 NotifyChangeEventLog(
2999 ReadEncryptedFileRaw(
3000 PFE_EXPORT_FUNC pfExportCallback
,
3001 PVOID pvCallbackContext
,
3007 WriteEncryptedFileRaw(
3008 PFE_IMPORT_FUNC pfImportCallback
,
3009 PVOID pvCallbackContext
,
3015 SetPrivateObjectSecurity (
3016 SECURITY_INFORMATION SecurityInformation
,
3017 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3018 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3019 PGENERIC_MAPPING GenericMapping
,
3025 SetPrivateObjectSecurityEx (
3026 SECURITY_INFORMATION SecurityInformation
,
3027 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3028 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3029 ULONG AutoInheritFlags
,
3030 PGENERIC_MAPPING GenericMapping
,
3036 SetSecurityDescriptorControl (
3037 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3038 SECURITY_DESCRIPTOR_CONTROL ControlBitsOfInterest
,
3039 SECURITY_DESCRIPTOR_CONTROL ControlBitsToSet
3044 SetSecurityDescriptorRMControl(
3045 PSECURITY_DESCRIPTOR SecurityDescriptor
,
3052 PCONTEXT ContextRecord
3057 VerSetConditionMask(
3058 ULONGLONG ConditionMask
,
3078 WINNLSGetIMEHotkey( HWND hwnd
);
3082 WINNLSEnableIME( HWND hwnd
, BOOL enable
);
3086 WINNLSGetEnableStatus( HWND hwnd
);
3090 GetUserDefaultUILanguage(VOID
);
3094 GetSystemDefaultUILanguage(VOID
);
3111 GEO_ENUMPROC lpGeoEnumProc
);
3115 IsValidLanguageGroup(
3116 LGRPID LanguageGroup
,
3134 AllocateUserPhysicalPages(
3136 PULONG_PTR NumberOfPages
,
3137 PULONG_PTR PageArray
3142 AssignProcessToJobObject(
3149 BindIoCompletionCallback (
3151 LPOVERLAPPED_COMPLETION_ROUTINE Function
,
3157 CancelDeviceWakeupRequest(
3163 CancelTimerQueueTimer(
3170 ChangeTimerQueueTimer(
3179 CheckRemoteDebuggerPresent(
3181 PWINBOOL pbDebuggerPresent
3186 ConvertFiberToThread(
3213 SIZE_T dwStackCommitSize
,
3214 SIZE_T dwStackReserveSize
,
3216 LPFIBER_START_ROUTINE lpStartAddress
,
3224 PJOB_SET_ARRAY UserJobSet
,
3229 CreateMemoryResourceNotification(
3230 MEMORY_RESOURCE_NOTIFICATION_TYPE NotificationType
3241 CreateTimerQueueTimer(
3244 WAITORTIMERCALLBACK Callback
,
3260 DebugActiveProcessStop(
3272 DebugSetProcessKillOnExit(
3286 HANDLE CompletionEvent
3291 DeleteTimerQueueTimer(
3294 HANDLE CompletionEvent
3299 FindActCtxSectionGuid(
3301 const GUID
*lpExtensionGuid
,
3303 const GUID
*lpGuidToFind
,
3304 PACTCTX_SECTION_KEYED_DATA ReturnedData
3315 FindVolumeMountPointClose(
3316 HANDLE hFindVolumeMountPoint
3321 FreeUserPhysicalPages(
3323 PULONG_PTR NumberOfPages
,
3324 PULONG_PTR PageArray
3334 GetDevicePowerState(
3343 PLARGE_INTEGER lpFileSize
3348 GetNativeSystemInfo(
3349 LPSYSTEM_INFO lpSystemInfo
3354 GetNumaHighestNodeNumber(
3355 PULONG HighestNodeNumber
3360 GetNumaNodeProcessorMask(
3362 PULONGLONG ProcessorMask
3367 GetNumaProcessorNode(
3374 GetProcessHandleCount(
3376 PDWORD pdwHandleCount
3387 GetProcessIoCounters(
3389 PIO_COUNTERS lpIoCounters
3394 GetProcessPriorityBoost(
3396 PWINBOOL pDisablePriorityBoost
3401 GetSystemRegistryQuota(
3402 PDWORD pdwQuotaAllowed
,
3409 LPFILETIME lpIdleTime
,
3410 LPFILETIME lpKernelTime
,
3411 LPFILETIME lpUserTime
3416 GetThreadIOPendingFlag(
3418 PWINBOOL lpIOIsPending
3425 PVOID lpBaseAddress
,
3426 SIZE_T dwRegionSize
,
3428 PULONG_PTR lpdwCount
,
3429 PULONG lpdwGranularity
3434 GlobalMemoryStatusEx(
3435 LPMEMORYSTATUSEX lpBuffer
3440 HeapQueryInformation (
3442 HEAP_INFORMATION_CLASS HeapInformationClass
,
3443 PVOID HeapInformation OPTIONAL
,
3444 SIZE_T HeapInformationLength OPTIONAL
,
3445 PSIZE_T ReturnLength OPTIONAL
3450 HeapSetInformation (
3452 HEAP_INFORMATION_CLASS HeapInformationClass
,
3453 PVOID HeapInformation OPTIONAL
,
3454 SIZE_T HeapInformationLength OPTIONAL
3459 InitializeCriticalSectionAndSpinCount(
3460 LPCRITICAL_SECTION lpCriticalSection
,
3466 InitializeSListHead (
3467 PSLIST_HEADER ListHead
3472 InterlockedFlushSList (
3473 PSLIST_HEADER ListHead
3476 #ifndef __NTDRIVER__ /* needed to avoid conflicts in win32k */
3479 InterlockedPopEntrySList (
3480 PSLIST_HEADER ListHead
3485 InterlockedPushEntrySList (
3486 PSLIST_HEADER ListHead
,
3487 PSLIST_ENTRY ListEntry
3495 HANDLE ProcessHandle
,
3502 IsSystemResumeAutomatic(
3510 PWINBOOL Wow64Process
3515 MapUserPhysicalPages(
3516 PVOID VirtualAddress
,
3517 ULONG_PTR NumberOfPages
,
3518 PULONG_PTR PageArray OPTIONAL
3523 MapUserPhysicalPagesScatter(
3524 PVOID
*VirtualAddresses
,
3525 ULONG_PTR NumberOfPages
,
3526 PULONG_PTR PageArray OPTIONAL
3532 DWORD dwDesiredAccess
,
3533 WINBOOL bInheritHandle
,
3542 PVOID pvSubInstance
,
3545 SIZE_T cbBuffer OPTIONAL
,
3546 SIZE_T
*pcbWrittenOrRequired OPTIONAL
3552 PSLIST_HEADER ListHead
3557 QueryInformationJobObject(
3559 JOBOBJECTINFOCLASS JobObjectInformationClass
,
3560 LPVOID lpJobObjectInformation
,
3561 DWORD cbJobObjectInformationLength
,
3562 LPDWORD lpReturnLength
3567 QueryMemoryResourceNotification(
3568 HANDLE ResourceNotificationHandle
,
3569 PWINBOOL ResourceState
3583 LPTHREAD_START_ROUTINE Function
,
3590 ReadDirectoryChangesW(
3593 DWORD nBufferLength
,
3594 WINBOOL bWatchSubtree
,
3595 DWORD dwNotifyFilter
,
3596 LPDWORD lpBytesReturned
,
3597 LPOVERLAPPED lpOverlapped
,
3598 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
3605 FILE_SEGMENT_ELEMENT aSegmentArray
[],
3606 DWORD nNumberOfBytesToRead
,
3608 LPOVERLAPPED lpOverlapped
3613 RegisterWaitForSingleObject(
3614 PHANDLE phNewWaitObject
,
3616 WAITORTIMERCALLBACK Callback
,
3618 ULONG dwMilliseconds
,
3624 RegisterWaitForSingleObjectEx(
3626 WAITORTIMERCALLBACK Callback
,
3628 ULONG dwMilliseconds
,
3640 RemoveVectoredExceptionHandler(
3641 PVOID VectoredHandlerHandle
3646 RequestDeviceWakeup(
3652 RequestWakeupLatency(
3653 LATENCY_TIME latency
3659 LPVOID lpBaseAddress
,
3671 SetCriticalSectionSpinCount(
3672 LPCRITICAL_SECTION lpCriticalSection
,
3680 LARGE_INTEGER liDistanceToMove
,
3681 PLARGE_INTEGER lpNewFilePointer
,
3689 LONGLONG ValidDataLength
3694 SetInformationJobObject(
3696 JOBOBJECTINFOCLASS JobObjectInformationClass
,
3697 LPVOID lpJobObjectInformation
,
3698 DWORD cbJobObjectInformationLength
3703 SetMessageWaitingIndicator(
3704 HANDLE hMsgIndicator
,
3710 SetProcessPriorityBoost(
3712 WINBOOL bDisablePriorityBoost
3717 SetThreadExecutionState(
3718 EXECUTION_STATE esFlags
3725 WAITORTIMERCALLBACK Callback
,
3734 SignalObjectAndWait(
3735 HANDLE hObjectToSignal
,
3736 HANDLE hObjectToWaitOn
,
3737 DWORD dwMilliseconds
,
3750 TzSpecificLocalTimeToSystemTime(
3751 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
3752 LPSYSTEMTIME lpLocalTime
,
3753 LPSYSTEMTIME lpUniversalTime
3766 HANDLE CompletionEvent
3773 FILE_SEGMENT_ELEMENT aSegmentArray
[],
3774 DWORD nNumberOfBytesToWrite
,
3776 LPOVERLAPPED lpOverlapped
3781 WTSGetActiveConsoleSessionId(VOID
);
3791 AddVectoredExceptionHandler(
3793 PVECTORED_EXCEPTION_HANDLER VectoredHandler
3798 AddFontMemResourceEx(
3807 AddFontResourceTracking(
3814 AnyLinkedFonts(VOID
);
3818 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
3822 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
3826 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
);
3830 EnableEUDC(WINBOOL enable
);
3834 EndFormPage(HDC hdc
);
3838 EudcLoadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
,INT iPriority
,INT iFontLinkType
);
3842 EudcUnloadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
);
3846 FontIsLinked(HDC hdc
);
3850 GdiAddFontResourceW(LPCWSTR filename
,FLONG f
,DESIGNVECTOR
*pdv
);
3854 GdiAddGlsBounds(HDC hdc
,LPRECT prc
);
3858 GdiAlphaBlend(HDC hdcDst
,LONG DstX
,LONG DstY
,LONG DstCx
,LONG DstCy
,HDC hdcSrc
,LONG SrcX
,LONG SrcY
,LONG SrcCx
,LONG SrcCy
,BLENDFUNCTION BlendFunction
);
3862 GdiArtificialDecrementDriver(LPWSTR pDriverName
,WINBOOL unknown
);
3866 GdiCleanCacheDC(HDC hdc
);
3870 GdiConsoleTextOut(HDC hdc
, POLYTEXTW
*lpto
,UINT nStrings
, RECTL
*prclBounds
);
3874 GdiConvertAndCheckDC(HDC hdc
);
3878 GdiConvertBitmap(HBITMAP hbm
);
3882 GdiConvertBrush(HBRUSH hbr
);
3886 GdiConvertDC(HDC hdc
);
3890 GdiConvertFont(HFONT hfont
);
3894 GdiConvertPalette(HPALETTE hpal
);
3898 GdiConvertRegion(HRGN hregion
);
3902 GdiConvertEnhMetaFile(HENHMETAFILE hmf
);
3906 GdiDeleteLocalDC(HDC hdc
);
3910 GdiDescribePixelFormat(HDC hdc
,int ipfd
,UINT cjpfd
,PPIXELFORMATDESCRIPTOR ppfd
);
3914 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
);
3918 GdiFixUpHandle(HGDIOBJ hobj
);
3922 GdiFullscreenControl(FULLSCREENCONTROL FullscreenCommand
, PVOID FullscreenInput
,
3923 DWORD FullscreenInputLength
, PVOID FullscreenOutput
,
3924 PULONG FullscreenOutputLength
);
3928 GdiGetCodePage(HDC hdc
);
3932 GdiGetLocalBrush(HBRUSH hbr
);
3936 GdiGetLocalDC(HDC hdc
);
3940 GdiGetLocalFont(HFONT hfont
);
3944 GdiGradientFill(HDC hdc
,PTRIVERTEX pVertex
,ULONG uVertex
,PVOID pMesh
,ULONG uMesh
,ULONG ulMode
);
3948 GdiIsMetaFileDC(HDC hdc
);
3952 GdiIsMetaPrintDC(HDC hdc
);
3956 GdiIsPlayMetafileDC(HDC hdc
);
3960 GdiQueryFonts(PUNIVERSAL_FONT_ID pufiFontList
,ULONG nBufferSize
,PLARGE_INTEGER pTimeStamp
);
3964 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
);
3968 GdiReleaseDC(HDC hdc
);
3972 GdiReleaseLocalDC(HDC hdc
);
3976 GdiSetAttrs(HDC hdc
);
3980 GdiSetLastError(DWORD dwErrCode
);
3984 GdiSetPixelFormat(HDC hdc
,int ipfd
);
3988 GdiTransparentBlt(HDC hdcDst
, int xDst
, int yDst
, int cxDst
, int cyDst
,HDC hdcSrc
, int xSrc
, int ySrc
, int cxSrc
, int cySrc
,COLORREF TransColor
);
3992 GdiValidateHandle(HGDIOBJ hobj
);
3996 GdiSwapBuffers(HDC hdc
);
4000 GdiSetServerAttr(HDC hdc
,DWORD attr
);
4004 GetBitmapAttributes(HBITMAP hbm
);
4008 GetBrushAttributes(HBRUSH hbr
);
4032 GetCharWidthInfo(HDC hdc
,PCHWIDTHINFO pChWidthInfo
);
4048 GetFontUnicodeRanges(
4055 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
);
4059 GetEUDCTimeStamp(VOID
);
4063 GetEUDCTimeStampExW(LPCWSTR str
);
4067 GetFontAssocStatus(HDC hdc
);
4081 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
);
4085 GetTextExtentPointI(
4094 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
);
4098 GetTransform(HDC hdc
, DWORD iXform
, LPXFORM pxf
);
4102 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
);
4106 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, WINBOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
);
4110 MirrorRgn(HWND hwnd
,HRGN hrgn
);
4114 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
);
4118 QueryFontAssocStatus(VOID
);
4122 RemoveFontMemResourceEx(
4128 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
);
4132 GetTextExtentExPointI(
4144 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
4148 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
4173 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
);
4177 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
);
4181 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
);
4185 StartFormPage(HDC hdc
);
4189 UnloadNetworkFonts(DWORD unknown
);
4193 bInitSystemAndFontsDirectoriesW(LPWSTR
*SystemDir
,LPWSTR
*FontsDir
);
4197 bMakePathNameW(LPWSTR lpBuffer
,LPCWSTR lpFileName
,LPWSTR
*lpFilePart
,DWORD unknown
);
4201 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
);
4205 GdiConvertMetaFilePict(HGLOBAL hMem
);
4209 GdiConvertToDevmodeW(DEVMODEA
*dm
);
4213 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
);
4217 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
);
4221 GdiGetCharDimensions(HDC hdc
,LPTEXTMETRICW lptm
,BOOL unk
);
4225 GdiQueryTable(VOID
);
4229 GdiGetSpoolFileHandle(
4230 LPWSTR pwszPrinterName
,
4231 LPDEVMODEW pDevmode
,
4232 LPWSTR pwszDocName
);
4236 GdiDeleteSpoolFileHandle(
4237 HANDLE SpoolFileHandle
);
4242 HANDLE SpoolFileHandle
);
4247 HANDLE SpoolFileHandle
);
4252 HANDLE SpoolFileHandle
,
4254 LPDWORD pdwPageType
);
4259 HANDLE SpoolFileHandle
,
4260 DOCINFOW
*pDocInfo
);
4265 HANDLE SpoolFileHandle
);
4270 HANDLE SpoolFileHandle
,
4272 RECT
*prectDocument
,
4279 HANDLE SpoolFileHandle
,
4280 DWORD dwOptimization
);
4285 HANDLE SpoolFileHandle
);
4289 GdiGetDevmodeForPage(
4290 HANDLE SpoolFileHandle
,
4293 PDEVMODEW
*pLastDM
);
4298 HANDLE SpoolFileHandle
,
4305 LPWSTR pwszPrinterName
,
4306 LPDEVMODEW pDevmode
,
4308 EMFPLAYPROC pfnEMFPlayFn
,
4318 GdiPlayPrivatePageEMF
4320 HANDLE SpoolFileHandle
,
4327 AlignRects(LPRECT rect
, DWORD b
, DWORD c
, DWORD d
);
4332 PRAWINPUT
* paRawInput
,
4338 DisableProcessWindowsGhosting(VOID
);
4342 GetLayeredWindowAttributes(
4358 HRAWINPUT hRawInput
,
4366 GetRawInputDeviceList(
4367 PRAWINPUTDEVICELIST pRawInputDeviceList
,
4368 PUINT puiNumDevices
,
4373 GetRegisteredRawInputDevices(
4374 PRAWINPUTDEVICE pRawInputDevices
,
4375 PUINT puiNumDevices
,
4391 IsWinEventHookInstalled(
4403 RegisterRawInputDevices(
4404 PCRAWINPUTDEVICE pRawInputDevices
,
4411 const COLORREF
*pPens
,
4412 const HBRUSH
*pBrushes
,
4418 UserClientDllInitialize(
4436 UserRealizePalette ( HDC hDC
);
4440 DdeFreeStringHandle ( DWORD idInst
, HSZ hsz
);
4444 DeregisterShellHookWindow ( HWND hWnd
);
4448 RegisterShellHookWindow ( HWND hWnd
);
4460 InternalGetWindowText(
4468 IsHungAppWindow ( HWND hwnd
);
4484 HMODULE hmodWinEventProc
,
4485 WINEVENTPROC pfnWinEventProc
,
4499 UnhookWinEvent ( HWINEVENTHOOK hWinEventHook
);
4512 SetDeskWallpaper ( LPCSTR filename
);
4516 GetAppCompatFlags ( HTASK hTask
);
4520 GetInputDesktop ( VOID
);
4524 GetInternalWindowPos(
4532 GetProgmanWindow ( VOID
);
4536 GetTaskmanWindow ( VOID
);
4540 SetWindowStationUser(
4565 SetTaskmanWindow ( HWND x
);
4569 SetProgmanWindow ( HWND x
);
4582 LoadLocalFonts ( VOID
);
4586 LoadRemoteFonts ( VOID
);
4590 SetInternalWindowPos(
4599 RegisterSystemThread(
4606 RegisterLogonProcess(
4620 RegisterTasklist ( DWORD x
);
4624 SetLogonNotifyWindow ( HWINSTA hwinsta
, HWND hwnd
);
4628 CascadeChildWindows ( HWND hWndParent
, WORD wFlags
);
4632 TileChildWindows ( HWND hWndParent
, WORD wFlags
);
4636 TranslateMessageEx ( CONST MSG
*lpMsg
, DWORD unk
);
4649 LockWindowStation ( HWINSTA hWinSta
);
4653 UnlockWindowStation ( HWINSTA hWinSta
);
4657 GetAccCursorInfo ( PCURSORINFO pci
);
4661 MB_GetString ( DWORD string
);
4665 ClientThreadSetup ( VOID
);
4681 LPWSTR UnicodeString
,
4694 LPWSTR
*UnicodeString
,
4701 GetAncestor ( HWND hWnd
, UINT GaFlags
);
4705 AbnormalTermination ( VOID
);
4717 AbortPrinter ( HANDLE
);
4721 AbortProc ( HDC
, int );
4726 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4728 DWORD DesiredAccess
,
4729 PGENERIC_MAPPING GenericMapping
,
4730 PPRIVILEGE_SET PrivilegeSet
,
4731 LPDWORD PrivilegeSetLength
,
4732 LPDWORD GrantedAccess
,
4736 #ifndef __NTDRIVER__
4739 InterlockedIncrement(
4745 InterlockedDecrement(
4751 InterlockedExchange(
4758 InterlockedCompareExchange(
4784 HINSTANCE hInstance
,
4785 HINSTANCE hPrevInstance
,
4793 HINSTANCE hLibModule
4799 FreeLibraryAndExitThread(
4806 DisableThreadLibraryCalls(
4914 LPMEMORYSTATUS lpBuffer
4998 FlushInstructionCache(
5000 LPCVOID lpBaseAddress
,
5010 DWORD flAllocationType
,
5030 PDWORD lpflOldProtect
5038 PMEMORY_BASIC_INFORMATION lpBuffer
,
5050 PDWORD lpflOldProtect
5059 PMEMORY_BASIC_INFORMATION lpBuffer
,
5068 DWORD dwInitialSize
,
5128 GetProcessHeap( VOID
);
5133 DWORD NumberOfHeaps
,
5134 PHANDLE ProcessHeaps
5159 LPPROCESS_HEAP_ENTRY lpEntry
5164 GetProcessAffinityMask(
5166 LPDWORD lpProcessAffinityMask
,
5167 LPDWORD lpSystemAffinityMask
5174 LPFILETIME lpCreationTime
,
5175 LPFILETIME lpExitTime
,
5176 LPFILETIME lpKernelTime
,
5177 LPFILETIME lpUserTime
5182 GetProcessWorkingSetSize(
5184 LPDWORD lpMinimumWorkingSetSize
,
5185 LPDWORD lpMaximumWorkingSetSize
5190 SetProcessWorkingSetSize(
5192 DWORD dwMinimumWorkingSetSize
,
5193 DWORD dwMaximumWorkingSetSize
5199 DWORD dwDesiredAccess
,
5200 WINBOOL bInheritHandle
,
5212 GetCurrentProcessId(
5220 ) __attribute__ ((noreturn
));
5245 DWORD dwExceptionCode
,
5246 DWORD dwExceptionFlags
,
5247 DWORD nNumberOfArguments
,
5248 CONST DWORD
*lpArguments
5253 UnhandledExceptionFilter(
5254 struct _EXCEPTION_POINTERS
*ExceptionInfo
5258 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
5259 LPTOP_LEVEL_EXCEPTION_FILTER
5261 SetUnhandledExceptionFilter(
5262 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
5270 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
5272 LPTHREAD_START_ROUTINE lpStartAddress
,
5274 DWORD dwCreationFlags
,
5283 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
5285 LPTHREAD_START_ROUTINE lpStartAddress
,
5287 DWORD dwCreationFlags
,
5308 SetThreadAffinityMask(
5310 DWORD dwThreadAffinityMask
5333 LPFILETIME lpCreationTime
,
5334 LPFILETIME lpExitTime
,
5335 LPFILETIME lpKernelTime
,
5336 LPFILETIME lpUserTime
5340 __declspec(noreturn
)
5365 GetThreadSelectorEntry(
5368 LPLDT_ENTRY lpSelectorEntry
5388 GetOverlappedResult(
5390 LPOVERLAPPED lpOverlapped
,
5391 LPDWORD lpNumberOfBytesTransferred
,
5398 CreateIoCompletionPort(
5400 HANDLE ExistingCompletionPort
,
5401 DWORD CompletionKey
,
5402 DWORD NumberOfConcurrentThreads
5408 GetQueuedCompletionStatus(
5409 HANDLE CompletionPort
,
5410 LPDWORD lpNumberOfBytesTransferred
,
5411 LPDWORD lpCompletionKey
,
5412 LPOVERLAPPED
*lpOverlapped
,
5413 DWORD dwMilliseconds
5427 LPCVOID lpBaseAddress
,
5430 LPDWORD lpNumberOfBytesRead
5438 LPVOID lpBaseAddress
,
5441 LPDWORD lpNumberOfBytesWritten
5457 CONST CONTEXT
*lpContext
5485 LPDEBUG_EVENT lpDebugEvent
,
5486 DWORD dwMilliseconds
5495 DWORD dwContinueStatus
5508 InitializeCriticalSection(
5509 LPCRITICAL_SECTION lpCriticalSection
5515 EnterCriticalSection(
5516 LPCRITICAL_SECTION lpCriticalSection
5522 LeaveCriticalSection(
5523 LPCRITICAL_SECTION lpCriticalSection
5529 DeleteCriticalSection(
5530 LPCRITICAL_SECTION lpCriticalSection
5560 LPLONG lpPreviousCount
5573 WaitForSingleObject(
5575 DWORD dwMilliseconds
5581 WaitForMultipleObjects(
5583 CONST HANDLE
*lpHandles
,
5585 DWORD dwMilliseconds
5592 DWORD dwMilliseconds
5652 DWORD dwFileOffsetLow
,
5653 DWORD dwFileOffsetHigh
,
5654 DWORD nNumberOfBytesToLockLow
,
5655 DWORD nNumberOfBytesToLockHigh
5663 DWORD dwFileOffsetLow
,
5664 DWORD dwFileOffsetHigh
,
5665 DWORD nNumberOfBytesToUnlockLow
,
5666 DWORD nNumberOfBytesToUnlockHigh
5676 DWORD nNumberOfBytesToLockLow
,
5677 DWORD nNumberOfBytesToLockHigh
,
5678 LPOVERLAPPED lpOverlapped
5686 DWORD nNumberOfBytesToUnlockLow
,
5687 DWORD nNumberOfBytesToUnlockHigh
,
5688 LPOVERLAPPED lpOverlapped
5693 GetFileInformationByHandle(
5695 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
5710 LPDWORD lpFileSizeHigh
5734 DWORD nNumberOfBytesToWrite
,
5735 LPDWORD lpNumberOfBytesWritten
,
5736 LPOVERLAPPED lpOverlapped
5745 DWORD nNumberOfBytesToRead
,
5746 LPDWORD lpNumberOfBytesRead
,
5747 LPOVERLAPPED lpOverlapped
5762 DWORD dwIoControlCode
,
5764 DWORD nInBufferSize
,
5766 DWORD nOutBufferSize
,
5767 LPDWORD lpBytesReturned
,
5768 LPOVERLAPPED lpOverlapped
5783 LONG lDistanceToMove
,
5784 PLONG lpDistanceToMoveHigh
,
5800 LPFILETIME lpCreationTime
,
5801 LPFILETIME lpLastAccessTime
,
5802 LPFILETIME lpLastWriteTime
5810 CONST FILETIME
*lpCreationTime
,
5811 CONST FILETIME
*lpLastAccessTime
,
5812 CONST FILETIME
*lpLastWriteTime
5826 HANDLE hSourceProcessHandle
,
5827 HANDLE hSourceHandle
,
5828 HANDLE hTargetProcessHandle
,
5829 LPHANDLE lpTargetHandle
,
5830 DWORD dwDesiredAccess
,
5831 WINBOOL bInheritHandle
,
5838 GetHandleInformation(
5846 SetHandleInformation(
5855 LPCSTR lpModuleName
,
5856 LPVOID lpParameterBlock
5922 LPCOMMPROP lpCommProp
5946 LPCOMMTIMEOUTS lpCommTimeouts
5994 LPCOMMTIMEOUTS lpCommTimeouts
6011 LPOVERLAPPED lpOverlapped
6020 DWORD dwPositionMethod
,
6032 DWORD dwPositionType
,
6033 LPDWORD lpdwPartition
,
6034 LPDWORD lpdwOffsetLow
,
6035 LPDWORD lpdwOffsetHigh
6049 ProcessIdToSessionId(
6065 CreateTapePartition(
6067 DWORD dwPartitionMethod
,
6077 DWORD dwTapemarkType
,
6078 DWORD dwTapemarkCount
,
6096 LPVOID lpTapeInformation
6104 LPVOID lpTapeInformation
6253 LPSYSTEMTIME lpSystemTime
6258 GetSystemTimeAsFileTime (
6259 LPFILETIME lpSystemTimeAsFileTime
6265 CONST SYSTEMTIME
*lpSystemTime
6272 LPSYSTEMTIME lpSystemTime
6279 CONST SYSTEMTIME
*lpSystemTime
6286 LPSYSTEM_INFO lpSystemInfo
6291 SystemTimeToTzSpecificLocalTime(
6292 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
6293 LPSYSTEMTIME lpUniversalTime
,
6294 LPSYSTEMTIME lpLocalTime
6300 GetTimeZoneInformation(
6301 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
6307 SetTimeZoneInformation(
6308 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
6313 SystemTimeToFileTime(
6314 CONST SYSTEMTIME
*lpSystemTime
,
6315 LPFILETIME lpFileTime
6321 FileTimeToLocalFileTime(
6322 CONST FILETIME
*lpFileTime
,
6323 LPFILETIME lpLocalFileTime
6329 LocalFileTimeToFileTime(
6330 CONST FILETIME
*lpLocalFileTime
,
6331 LPFILETIME lpFileTime
6337 FileTimeToSystemTime(
6338 CONST FILETIME
*lpFileTime
,
6339 LPSYSTEMTIME lpSystemTime
6346 CONST FILETIME
*lpFileTime1
,
6347 CONST FILETIME
*lpFileTime2
6353 FileTimeToDosDateTime(
6354 CONST FILETIME
*lpFileTime
,
6362 DosDateTimeToFileTime(
6365 LPFILETIME lpFileTime
6378 SetSystemTimeAdjustment(
6379 DWORD dwTimeAdjustment
,
6380 WINBOOL bTimeAdjustmentDisabled
6386 GetSystemTimeAdjustment(
6387 PDWORD lpTimeAdjustment
,
6388 PDWORD lpTimeIncrement
,
6389 PWINBOOL lpTimeAdjustmentDisabled
6398 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
6407 LPOVERLAPPED lpOverlapped
6413 DisconnectNamedPipe(
6420 SetNamedPipeHandleState(
6423 LPDWORD lpMaxCollectionCount
,
6424 LPDWORD lpCollectDataTimeout
6433 LPDWORD lpOutBufferSize
,
6434 LPDWORD lpInBufferSize
,
6435 LPDWORD lpMaxInstances
6445 LPDWORD lpBytesRead
,
6446 LPDWORD lpTotalBytesAvail
,
6447 LPDWORD lpBytesLeftThisMessage
6456 DWORD nInBufferSize
,
6458 DWORD nOutBufferSize
,
6459 LPDWORD lpBytesRead
,
6460 LPOVERLAPPED lpOverlapped
6469 LPDWORD lpMaxMessageSize
,
6471 LPDWORD lpMessageCount
,
6472 LPDWORD lpReadTimeout
6487 HANDLE hFileMappingObject
,
6488 DWORD dwDesiredAccess
,
6489 DWORD dwFileOffsetHigh
,
6490 DWORD dwFileOffsetLow
,
6491 DWORD dwNumberOfBytesToMap
6498 LPCVOID lpBaseAddress
,
6499 DWORD dwNumberOfBytesToFlush
6506 LPVOID lpBaseAddress
6513 LPOFSTRUCT lpReOpenBuff
,
6613 typedef VOID
STDCALL_FUNC (*PFLS_CALLBACK_FUNCTION
)(PVOID lpFlsData
);
6615 DWORD STDCALL
FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback
);
6617 BOOL STDCALL
FlsFree(DWORD dwFlsIndex
);
6619 PVOID STDCALL
FlsGetValue(DWORD dwFlsIndex
);
6621 BOOL STDCALL
FlsSetValue(DWORD dwFlsIndex
, PVOID lpFlsData
);
6626 DWORD dwMilliseconds
,
6633 WaitForSingleObjectEx(
6635 DWORD dwMilliseconds
,
6642 WaitForMultipleObjectsEx(
6644 CONST HANDLE
*lpHandles
,
6646 DWORD dwMilliseconds
,
6656 DWORD nNumberOfBytesToRead
,
6657 LPOVERLAPPED lpOverlapped
,
6658 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
6667 DWORD nNumberOfBytesToWrite
,
6668 LPOVERLAPPED lpOverlapped
,
6669 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
6678 DWORD nNumberOfBytesToRead
,
6679 LPDWORD lpNumberOfBytesRead
,
6681 WINBOOL bProcessSecurity
,
6690 DWORD dwLowBytesToSeek
,
6691 DWORD dwHighBytesToSeek
,
6692 LPDWORD lpdwLowByteSeeked
,
6693 LPDWORD lpdwHighByteSeeked
,
6703 DWORD nNumberOfBytesToWrite
,
6704 LPDWORD lpNumberOfBytesWritten
,
6706 WINBOOL bProcessSecurity
,
6712 SetProcessShutdownParameters(
6720 GetProcessShutdownParameters(
6728 SetFileApisToOEM( VOID
);
6733 SetFileApisToANSI( VOID
);
6738 AreFileApisANSI( VOID
);
6749 DeregisterEventSource (
6756 NotifyChangeEventLog (
6764 GetNumberOfEventLogRecords (
6766 PDWORD NumberOfRecords
6772 GetOldestEventLogRecord (
6780 HANDLE ExistingTokenHandle
,
6781 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
6782 PHANDLE DuplicateTokenHandle
6788 GetKernelObjectSecurity (
6790 SECURITY_INFORMATION RequestedInformation
,
6791 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6793 LPDWORD lpnLengthNeeded
6799 ImpersonateNamedPipeClient(
6806 ImpersonateLoggedOnUser(
6814 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
6837 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6839 DWORD DesiredAccess
,
6840 PGENERIC_MAPPING GenericMapping
,
6841 PPRIVILEGE_SET PrivilegeSet
,
6842 LPDWORD PrivilegeSetLength
,
6843 LPDWORD GrantedAccess
,
6852 HANDLE ProcessHandle
,
6853 DWORD DesiredAccess
,
6862 HANDLE ThreadHandle
,
6863 DWORD DesiredAccess
,
6872 GetTokenInformation (
6874 TOKEN_INFORMATION_CLASS TokenInformationClass
,
6875 LPVOID TokenInformation
,
6876 DWORD TokenInformationLength
,
6884 SetTokenInformation (
6886 TOKEN_INFORMATION_CLASS TokenInformationClass
,
6887 LPVOID TokenInformation
,
6888 DWORD TokenInformationLength
6895 AdjustTokenPrivileges (
6897 WINBOOL DisableAllPrivileges
,
6898 PTOKEN_PRIVILEGES NewState
,
6900 PTOKEN_PRIVILEGES PreviousState
,
6910 WINBOOL ResetToDefault
,
6911 PTOKEN_GROUPS NewState
,
6913 PTOKEN_GROUPS PreviousState
,
6923 PPRIVILEGE_SET RequiredPrivileges
,
6957 GetSidLengthRequired (
6958 UCHAR nSubAuthorityCount
6965 AllocateAndInitializeSid (
6966 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
6967 BYTE nSubAuthorityCount
,
6968 DWORD nSubAuthority0
,
6969 DWORD nSubAuthority1
,
6970 DWORD nSubAuthority2
,
6971 DWORD nSubAuthority3
,
6972 DWORD nSubAuthority4
,
6973 DWORD nSubAuthority5
,
6974 DWORD nSubAuthority6
,
6975 DWORD nSubAuthority7
,
6991 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
6992 BYTE nSubAuthorityCount
6997 PSID_IDENTIFIER_AUTHORITY
6999 GetSidIdentifierAuthority (
7007 GetSidSubAuthority (
7016 GetSidSubAuthorityCount (
7033 DWORD nDestinationSidLength
,
7034 PSID pDestinationSid
,
7042 AreAllAccessesGranted (
7043 DWORD GrantedAccess
,
7051 AreAnyAccessesGranted (
7052 DWORD GrantedAccess
,
7062 PGENERIC_MAPPING GenericMapping
7089 LPVOID pAclInformation
,
7090 DWORD nAclInformationLength
,
7091 ACL_INFORMATION_CLASS dwAclInformationClass
7100 LPVOID pAclInformation
,
7101 DWORD nAclInformationLength
,
7102 ACL_INFORMATION_CLASS dwAclInformationClass
7111 DWORD dwAceRevision
,
7112 DWORD dwStartingAceIndex
,
7114 DWORD nAceListLength
7140 AddAccessAllowedAce (
7142 DWORD dwAceRevision
,
7151 AddAccessDeniedAce (
7153 DWORD dwAceRevision
,
7164 DWORD dwAceRevision
,
7167 WINBOOL bAuditSuccess
,
7168 WINBOOL bAuditFailure
7184 InitializeSecurityDescriptor (
7185 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7193 IsValidSecurityDescriptor (
7194 PSECURITY_DESCRIPTOR pSecurityDescriptor
7201 GetSecurityDescriptorLength (
7202 PSECURITY_DESCRIPTOR pSecurityDescriptor
7209 GetSecurityDescriptorControl (
7210 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7211 PSECURITY_DESCRIPTOR_CONTROL pControl
,
7212 LPDWORD lpdwRevision
7219 SetSecurityDescriptorDacl (
7220 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7221 WINBOOL bDaclPresent
,
7223 WINBOOL bDaclDefaulted
7230 GetSecurityDescriptorDacl (
7231 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7232 LPBOOL lpbDaclPresent
,
7234 LPBOOL lpbDaclDefaulted
7241 SetSecurityDescriptorSacl (
7242 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7243 WINBOOL bSaclPresent
,
7245 WINBOOL bSaclDefaulted
7252 GetSecurityDescriptorSacl (
7253 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7254 LPBOOL lpbSaclPresent
,
7256 LPBOOL lpbSaclDefaulted
7263 SetSecurityDescriptorOwner (
7264 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7266 WINBOOL bOwnerDefaulted
7273 GetSecurityDescriptorOwner (
7274 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7276 LPBOOL lpbOwnerDefaulted
7283 SetSecurityDescriptorGroup (
7284 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7286 WINBOOL bGroupDefaulted
7293 GetSecurityDescriptorGroup (
7294 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7296 LPBOOL lpbGroupDefaulted
7303 CreatePrivateObjectSecurity (
7304 PSECURITY_DESCRIPTOR ParentDescriptor
,
7305 PSECURITY_DESCRIPTOR CreatorDescriptor
,
7306 PSECURITY_DESCRIPTOR
* NewDescriptor
,
7307 WINBOOL IsDirectoryObject
,
7309 PGENERIC_MAPPING GenericMapping
7316 SetPrivateObjectSecurity (
7317 SECURITY_INFORMATION SecurityInformation
,
7318 PSECURITY_DESCRIPTOR ModificationDescriptor
,
7319 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
7320 PGENERIC_MAPPING GenericMapping
,
7328 GetPrivateObjectSecurity (
7329 PSECURITY_DESCRIPTOR ObjectDescriptor
,
7330 SECURITY_INFORMATION SecurityInformation
,
7331 PSECURITY_DESCRIPTOR ResultantDescriptor
,
7332 DWORD DescriptorLength
,
7340 DestroyPrivateObjectSecurity (
7341 PSECURITY_DESCRIPTOR
* ObjectDescriptor
7348 MakeSelfRelativeSD (
7349 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
7350 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
7351 LPDWORD lpdwBufferLength
7359 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
7360 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
7361 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
7363 LPDWORD lpdwDaclSize
,
7365 LPDWORD lpdwSaclSize
,
7367 LPDWORD lpdwOwnerSize
,
7369 LPDWORD lpdwPrimaryGroupSize
7376 SetKernelObjectSecurity (
7378 SECURITY_INFORMATION SecurityInformation
,
7379 PSECURITY_DESCRIPTOR SecurityDescriptor
7385 FindNextChangeNotification(
7386 HANDLE hChangeHandle
7392 FindCloseChangeNotification(
7393 HANDLE hChangeHandle
7416 HANDLE hFileMappingObject
,
7417 DWORD dwDesiredAccess
,
7418 DWORD dwFileOffsetHigh
,
7419 DWORD dwFileOffsetLow
,
7420 DWORD dwNumberOfBytesToMap
,
7421 LPVOID lpBaseAddress
7429 DWORD dwPriorityClass
7480 AllocateLocallyUniqueId(
7487 QueryPerformanceCounter(
7488 LARGE_INTEGER
*lpPerformanceCount
7494 QueryPerformanceFrequency(
7495 LARGE_INTEGER
*lpFrequency
7521 /* The memory functions don't seem to be defined in the libraries, so
7522 define macro versions as well. */
7523 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
7524 #define FillMemory(p, c, v) memset ((p), (v), (c))
7525 #define ZeroMemory(p, c) memset ((p), 0, (c))
7530 ActivateKeyboardLayout(
7536 ActivateKeyboardLayout(
7556 UnloadKeyboardLayout(
7562 GetKeyboardLayoutList(
7579 DWORD dwDesiredAccess
);
7585 ENUMWINDOWSPROC lpfn
,
7621 SetProcessWindowStation(
7627 GetProcessWindowStation(
7633 SetUserObjectSecurity(
7635 PSECURITY_INFORMATION pSIRequested
,
7636 PSECURITY_DESCRIPTOR pSID
);
7641 GetUserObjectSecurity(
7643 PSECURITY_INFORMATION pSIRequested
,
7644 PSECURITY_DESCRIPTOR pSID
,
7646 LPDWORD lpnLengthNeeded
);
7702 GetMessageExtraInfo(
7708 SetMessageExtraInfo(
7714 BroadcastSystemMessage(
7745 DWORD dwMilliseconds
);
7851 HWND hWndInsertAfter
,
7863 WINDOWPLACEMENT
*lpwndpl
);
7870 CONST WINDOWPLACEMENT
*lpwndpl
);
7875 BeginDeferWindowPos(
7884 HWND hWndInsertAfter
,
7956 WINBOOL
*lpTranslated
,
7974 int nIDCheckButton
);
7986 GetNextDlgGroupItem(
8008 GetDialogBaseUnits(VOID
);
8031 HWND hWndNewViewer
);
8042 ChangeClipboardChain(
8063 CountClipboardFormats(
8069 EnumClipboardFormats(
8081 IsClipboardFormatAvailable(
8087 GetPriorityClipboardFormat(
8088 UINT
*paFormatPriorityList
,
8094 GetOpenClipboardWindow(
8098 /* Despite the A these are ASCII functions! */
8103 LPCSTR lpCurrentChar
,
8112 LPCSTR lpCurrentChar
,
8193 ToUnicode(UINT wVirtKey
,
8257 MsgWaitForMultipleObjects(
8261 DWORD dwMilliseconds
,
8271 TIMERPROC lpTimerFunc
);
8276 SetWaitableTimer(HANDLE hTimer
,
8277 const LARGE_INTEGER
*pDueTime
,
8279 PTIMERAPCROUTINE pfnCompletionRoutine
,
8280 LPVOID lpArgToCompletionRoutine
,
8312 DestroyAcceleratorTable(
8437 HBITMAP hBitmapUnchecked
,
8438 HBITMAP hBitmapChecked
);
8443 GetMenuCheckMarkDimensions(
8456 CONST RECT
*prcRect
);
8474 GetMenuItemRect(HWND hWnd
,
8481 MenuItemFromPoint(HWND hWnd
,
8488 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
8493 DragDetect(HWND hwnd
,
8519 GetForegroundWindow(
8524 PaintDesktop(HDC hdc
);
8529 SetForegroundWindow(
8570 LPPAINTSTRUCT lpPaint
);
8577 CONST PAINTSTRUCT
*lpPaint
);
8630 CONST RECT
*lpRect
);
8652 CONST RECT
*lprcUpdate
,
8670 CONST RECT
*lpClipRect
);
8679 CONST RECT
*lprcScroll
,
8680 CONST RECT
*lprcClip
,
8691 CONST RECT
*prcScroll
,
8692 CONST RECT
*prcClip
,
8751 PSCROLLBARINFO psbi
);
8782 SetWindowContextHelpId(
8784 DWORD dwContextHelpId
);
8788 GetWindowContextHelpId(
8793 SetMenuContextHelpId(
8795 DWORD dwContextHelpId
);
8799 GetMenuContextHelpId(
8809 CopyCursor(HCURSOR pcur
);
8838 CONST RECT
*lpRect
);
8936 ChildWindowFromPoint(
8957 CONST INT
* lpaElements
,
8958 CONST COLORREF
* lpaRgbValues
);
9011 CONST RECT
*lprcSrc
);
9026 CONST RECT
*lprcSrc1
,
9027 CONST RECT
*lprcSrc2
);
9034 CONST RECT
*lprcSrc1
,
9035 CONST RECT
*lprcSrc2
);
9042 CONST RECT
*lprcSrc1
,
9043 CONST RECT
*lprcSrc2
);
9111 GetShellWindow(VOID
);
9124 HWND hWndNewParent
);
9131 ENUMWINDOWSPROC lpEnumFunc
,
9138 ENUMWINDOWSPROC lpEnumFunc
,
9146 ENUMWINDOWSPROC lpfn
,
9157 GetWindowThreadProcessId(
9159 LPDWORD lpdwProcessId
);
9173 LPGUITHREADINFO lpgui
);
9192 HOOKPROC pfnFilterProc
);
9196 UnhookWindowsHookEx(
9211 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
9221 CONST VOID
*pvANDPlane
,
9222 CONST VOID
*pvXORPlane
);
9241 HINSTANCE hInstance
,
9246 CONST BYTE
*lpbANDbits
,
9247 CONST BYTE
*lpbXORbits
);
9258 LookupIconIdFromDirectory(
9265 LookupIconIdFromDirectoryEx(
9275 CreateIconFromResource(
9284 CreateIconFromResourceEx(
9307 PICONINFO piconinfo
);
9320 PICONINFO piconinfo
);
9331 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
9335 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
9339 TranslateMDISysAccel(
9346 ArrangeIconicWindows(
9351 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
9355 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
9374 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
9378 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
9390 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
9394 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
9398 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
9402 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
9403 HICON hIcon
, int cxWidth
, int cyWidth
,
9404 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
9408 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
9412 Arc(HDC
, int, int, int, int, int, int, int, int);
9416 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
9424 Chord(HDC
, int, int, int, int, int, int, int, int);
9432 CombineRgn(HRGN
, HRGN
, HRGN
, int);
9436 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
9440 CreateBitmapIndirect(CONST BITMAP
*);
9444 CreateBrushIndirect(CONST LOGBRUSH
*);
9448 CreateCompatibleBitmap(HDC
, int, int);
9452 CreateDiscardableBitmap(HDC
, int, int);
9456 CreateCompatibleDC(HDC
);
9460 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9464 CreateDIBPatternBrush(HGLOBAL
, UINT
);
9468 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
9472 CreateEllipticRgn(int, int, int, int);
9476 CreateEllipticRgnIndirect(CONST RECT
*);
9480 CreateHatchBrush(int, COLORREF
);
9484 CreatePalette(CONST LOGPALETTE
*);
9488 CreatePen(int, int, COLORREF
);
9492 CreatePenIndirect(CONST LOGPEN
*);
9496 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
9500 CreatePatternBrush(HBITMAP
);
9504 CreateRectRgn(int, int, int, int);
9508 CreateRectRgnIndirect(CONST RECT
*);
9512 CreateRoundRectRgn(int, int, int, int, int, int);
9516 CreateSolidBrush(COLORREF
);
9524 DeleteMetaFile(HMETAFILE
);
9528 DeleteObject(HGDIOBJ
);
9532 DrawEscape(HDC
, int, int, LPCSTR
);
9536 Ellipse(HDC
, int, int, int, int);
9540 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
9544 EqualRgn(HRGN
, HRGN
);
9548 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
9552 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
9556 ExcludeClipRect(HDC
, int, int, int, int);
9560 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
9564 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
9568 FillRgn(HDC
, HRGN
, HBRUSH
);
9572 FloodFill(HDC
, int, int, COLORREF
);
9576 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
9580 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
9584 GdiProcessSetup (VOID
);
9592 GetAspectRatioFilterEx(HDC
, LPSIZE
);
9604 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
9608 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
9612 GetBoundsRect(HDC
, LPRECT
, UINT
);
9616 GetBrushOrgEx(HDC
, LPPOINT
);
9620 GetClipBox(HDC
, LPRECT
);
9624 GetClipRgn(HDC
, HRGN
);
9628 GetMetaRgn(HDC
, HRGN
);
9632 GetCurrentObject(HDC
, UINT
);
9636 GetCurrentPositionEx(HDC
, LPPOINT
);
9640 GetDeviceCaps(HDC
, int);
9644 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
9648 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
9652 GetGraphicsMode(HDC
);
9660 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
9664 GetNearestColor(HDC
, COLORREF
);
9668 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
9672 GetObjectType(HGDIOBJ h
);
9676 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
9680 GetPixel(HDC
, int, int);
9684 GetPixelFormat(HDC
);
9688 GetPolyFillMode(HDC
);
9692 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
9696 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
9700 GetRgnBox(HRGN
, LPRECT
);
9704 GetStockObject(int);
9708 GetStretchBltMode(HDC
);
9712 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
9716 GetSystemPaletteUse(HDC
);
9720 GetTextCharacterExtra(HDC
);
9732 GetTextCharset(HDC hdc
);
9736 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
9740 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
9744 GetFontLanguageInfo( HDC
);
9748 GetViewportExtEx(HDC
, LPSIZE
);
9752 GetViewportOrgEx(HDC
, LPPOINT
);
9756 GetWindowExtEx(HDC
, LPSIZE
);
9760 GetWindowOrgEx(HDC
, LPPOINT
);
9764 IntersectClipRect(HDC
, int, int, int, int);
9768 InvertRgn(HDC
, HRGN
);
9772 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
9776 LineTo(HDC
, int, int);
9780 MaskBlt(HDC
, int, int, int, int,
9781 HDC
, int, int, HBITMAP
, int, int, DWORD
);
9785 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
9786 int, HBITMAP
, int, int);
9790 OffsetClipRgn(HDC
, int, int);
9794 OffsetRgn(HRGN
, int, int);
9798 PatBlt(HDC
, int, int, int, int, DWORD
);
9802 Pie(HDC
, int, int, int, int, int, int, int, int);
9806 PlayMetaFile(HDC
, HMETAFILE
);
9810 PaintRgn(HDC
, HRGN
);
9814 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
9818 PtInRegion(HRGN
, int, int);
9822 PtVisible(HDC
, int, int);
9826 RectInRegion(HRGN
, CONST RECT
*);
9830 RectVisible(HDC
, CONST RECT
*);
9834 Rectangle(HDC
, int, int, int, int);
9838 RestoreDC(HDC
, int);
9842 RealizePalette(HDC
);
9846 RoundRect(HDC
, int, int, int, int, int, int);
9850 ResizePalette(HPALETTE
, UINT
);
9858 SelectClipRgn(HDC
, HRGN
);
9862 ExtSelectClipRgn(HDC
, HRGN
, int);
9870 SelectObject(HDC
, HGDIOBJ
);
9874 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
9878 SetBkColor(HDC
, COLORREF
);
9882 SetBkMode(HDC
, int);
9886 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
9890 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
9894 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9898 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
9899 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
9903 SetMapperFlags(HDC
, DWORD
);
9907 SetGraphicsMode(HDC hdc
, int iMode
);
9911 SetMapMode(HDC
, int);
9915 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
9919 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
9923 SetPixel(HDC
, int, int, COLORREF
);
9927 SetPixelV(HDC
, int, int, COLORREF
);
9931 SetPolyFillMode(HDC
, int);
9935 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
9939 SetRectRgn(HRGN
, int, int, int, int);
9942 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
9943 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
9951 SetStretchBltMode(HDC
, int);
9955 SetSystemPaletteUse(HDC
, UINT
);
9959 SetTextCharacterExtra(HDC
, int);
9963 SetTextColor(HDC
, COLORREF
);
9967 SetTextAlign(HDC
, UINT
);
9971 SetTextJustification(HDC
, int, int);
9979 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
9983 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
9987 CloseEnhMetaFile(HDC
);
9991 DeleteEnhMetaFile(HENHMETAFILE
);
9995 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
9996 LPVOID
, CONST RECT
*);
10000 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
10004 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
10008 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
10012 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
10016 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
10020 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
10025 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
10030 GdiComment(HDC
, UINT
, CONST BYTE
*);
10034 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
10038 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
10042 GetWorldTransform(HDC
, LPXFORM
);
10046 SetWorldTransform(HDC
, CONST XFORM
*);
10050 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
10054 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
10058 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
10062 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
10066 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
10070 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
10074 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
10078 CreateHalftonePalette(HDC
);
10098 SetAbortProc(HDC
, ABORTPROC
);
10106 ArcTo(HDC
, int, int, int, int, int, int,int, int);
10130 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
10138 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
10142 SelectClipPath(HDC
, int);
10146 SetArcDirection(HDC
, int);
10150 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
10154 StrokeAndFillPath(HDC
);
10166 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
10170 GetMiterLimit(HDC
, PFLOAT
);
10174 GetArcDirection(HDC
);
10178 MoveToEx(HDC
, int, int, LPPOINT
);
10182 CreatePolygonRgn(CONST POINT
*, int, int);
10186 DPtoLP(HDC
, LPPOINT
, int);
10190 LPtoDP(HDC
, LPPOINT
, int);
10194 Polygon(HDC
, CONST POINT
*, int);
10198 Polyline(HDC
, CONST POINT
*, int);
10202 PolyBezier(HDC
, CONST POINT
*, DWORD
);
10206 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
10210 PolylineTo(HDC
, CONST POINT
*, DWORD
);
10214 SetViewportExtEx(HDC
, int, int, LPSIZE
);
10218 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
10222 SetWindowExtEx(HDC
, int, int, LPSIZE
);
10226 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
10230 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
10234 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
10238 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
10242 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
10246 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
10250 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
10254 GetDCOrgEx(HDC
,LPPOINT
);
10258 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
10262 UnrealizeObject(HGDIOBJ
);
10270 GdiSetBatchLimit(DWORD
);
10274 GdiGetBatchLimit(void);
10278 SetICMMode(HDC
, int);
10282 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
10286 GetColorSpace(HDC
);
10290 SetColorSpace(HDC
,HCOLORSPACE
);
10294 DeleteColorSpace(HCOLORSPACE
);
10298 GetDeviceGammaRamp(HDC
,LPVOID
);
10302 SetDeviceGammaRamp(HDC
,LPVOID
);
10306 ColorMatchToTarget(HDC
,HDC
,DWORD
);
10310 CreatePropertySheetPageA(LPCPROPSHEETPAGEA lppsp
);
10314 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
10318 InitCommonControls(void);
10320 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
10324 ImageList_Create(int cx
, int cy
, UINT flags
,
10325 int cInitial
, int cGrow
);
10329 ImageList_Destroy(HIMAGELIST himl
);
10333 ImageList_GetImageCount(HIMAGELIST himl
);
10337 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
10342 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
10346 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
10350 ImageList_GetBkColor(HIMAGELIST himl
);
10354 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
10359 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
10363 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
10367 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
10371 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
10375 ImageList_Remove(HIMAGELIST himl
, int i
);
10379 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
10383 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
10387 ImageList_EndDrag(void);
10391 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
10395 ImageList_DragLeave(HWND hwndLock
);
10399 ImageList_DragMove(int x
, int y
);
10403 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
10407 ImageList_DragShowNolock(WINBOOL fShow
);
10411 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
10415 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
10419 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
10423 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
10427 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
10431 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
10432 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
10433 int iNumButtons
, int dxButton
, int dyButton
,
10434 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
10438 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
10439 UINT wFlags
, LPCOLORMAP lpColorMap
,
10445 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
10449 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
10453 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
10457 MakeDragList(HWND hLB
);
10461 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
10465 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
10469 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
10470 HWND hParent
, int nID
, HINSTANCE hInst
,
10472 int nUpper
, int nLower
, int nPos
);
10476 CommDlgExtendedError(VOID
);
10478 /* Animation controls */
10480 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
10482 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
10484 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
10486 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
10488 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
10490 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
10492 /* Property sheet macros */
10494 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
10496 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
10498 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
10500 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
10502 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
10504 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
10506 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
10508 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
10510 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
10512 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
10514 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
10516 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
10518 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
10520 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
10522 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
10524 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
10526 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
10528 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
10530 /* Header control */
10531 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
10533 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
10535 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
10537 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
10539 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
10541 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
10544 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
10546 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
10548 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
10550 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
10552 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
10554 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
10556 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
10558 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
10560 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
10562 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
10564 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
10566 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
10568 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
10570 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
10572 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
10574 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
10576 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
10578 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
10580 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
10582 #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))
10584 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
10586 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
10588 #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);}
10590 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
10592 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
10594 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
10596 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
10598 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
10600 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
10602 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
10604 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
10606 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
10608 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
10610 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
10612 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
10614 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
10616 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
10618 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
10620 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
10622 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
10625 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
10627 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
10629 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
10631 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
10633 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
10635 #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);}
10637 #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);}
10639 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
10641 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
10643 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
10645 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
10648 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
10650 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
10652 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
10654 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10656 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
10658 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
10660 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
10662 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
10664 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
10666 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
10668 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10670 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
10672 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
10674 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
10676 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
10678 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
10680 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
10682 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
10684 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
10686 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
10688 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
10690 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
10693 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
10695 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
10697 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
10699 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
10701 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
10703 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
10705 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
10707 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
10709 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
10711 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
10713 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
10715 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
10717 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
10719 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
10721 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
10725 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
10727 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
10729 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
10731 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
10733 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
10735 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
10737 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
10739 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
10741 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
10743 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
10745 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
10747 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
10749 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
10751 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
10753 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
10755 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
10757 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
10759 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
10761 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
10763 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
10765 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
10767 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
10769 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10771 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10773 #ifndef _DISABLE_TIDENTS
10775 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
10777 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
10778 #endif /* !UNICODE */
10779 #endif /* _DISABLE_TIDENTS */
10781 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10783 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10785 #ifndef _DISABLE_TIDENTS
10787 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
10789 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
10790 #endif /* !UNICODE */
10791 #endif /* _DISABLE_TIDENTS */
10793 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
10795 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
10797 #ifndef _DISABLE_TIDENTS
10799 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
10801 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
10802 #endif /* !UNICODE */
10803 #endif /* _DISABLE_TIDENTS */
10805 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
10807 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
10809 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
10811 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
10821 RegSetKeySecurity (
10823 SECURITY_INFORMATION SecurityInformation
,
10824 PSECURITY_DESCRIPTOR pSecurityDescriptor
10835 RegGetKeySecurity (
10837 SECURITY_INFORMATION SecurityInformation
,
10838 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
10839 LPDWORD lpcbSecurityDescriptor
10844 RegNotifyChangeKeyValue (
10846 WINBOOL bWatchSubtree
,
10847 DWORD dwNotifyFilter
,
10849 WINBOOL fAsynchronus
10870 GetCPInfo(UINT
, LPCPINFO
);
10888 MultiByteToWideChar(
10891 LPCSTR lpMultiByteStr
,
10893 LPWSTR lpWideCharStr
,
10899 WideCharToMultiByte(
10902 LPCWSTR lpWideCharStr
,
10904 LPSTR lpMultiByteStr
,
10906 LPCSTR lpDefaultChar
,
10907 LPBOOL lpUsedDefaultChar
);
10918 ConvertDefaultLocale(
10924 GetThreadLocale(void);
10936 GetSystemDefaultLangID(void);
10941 GetUserDefaultLangID(void);
10946 GetSystemDefaultLCID(void);
10951 GetUserDefaultLCID(void);
10956 ReadConsoleOutputAttribute(
10957 HANDLE hConsoleOutput
,
10958 LPWORD lpAttribute
,
10961 LPDWORD lpNumberOfAttrsRead
10967 WriteConsoleOutputAttribute(
10968 HANDLE hConsoleOutput
,
10969 CONST WORD
*lpAttribute
,
10971 COORD dwWriteCoord
,
10972 LPDWORD lpNumberOfAttrsWritten
10978 FillConsoleOutputAttribute(
10979 HANDLE hConsoleOutput
,
10982 COORD dwWriteCoord
,
10983 LPDWORD lpNumberOfAttrsWritten
10990 HANDLE hConsoleHandle
,
10997 GetNumberOfConsoleInputEvents(
10998 HANDLE hConsoleInput
,
10999 LPDWORD lpNumberOfEvents
11005 GetConsoleScreenBufferInfo(
11006 HANDLE hConsoleOutput
,
11007 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
11013 GetLargestConsoleWindowSize(
11014 HANDLE hConsoleOutput
11020 GetConsoleCursorInfo(
11021 HANDLE hConsoleOutput
,
11022 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
11028 GetNumberOfConsoleMouseButtons(
11029 LPDWORD lpNumberOfMouseButtons
11036 HANDLE hConsoleHandle
,
11043 SetConsoleActiveScreenBuffer(
11044 HANDLE hConsoleOutput
11050 FlushConsoleInputBuffer(
11051 HANDLE hConsoleInput
11057 SetConsoleScreenBufferSize(
11058 HANDLE hConsoleOutput
,
11065 SetConsoleCursorPosition(
11066 HANDLE hConsoleOutput
,
11067 COORD dwCursorPosition
11073 SetConsoleCursorInfo(
11074 HANDLE hConsoleOutput
,
11075 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
11080 SetConsoleWindowInfo(
11081 HANDLE hConsoleOutput
,
11083 CONST SMALL_RECT
*lpConsoleWindow
11089 SetConsoleTextAttribute(
11090 HANDLE hConsoleOutput
,
11097 SetConsoleCtrlHandler(
11098 PHANDLER_ROUTINE HandlerRoutine
,
11105 GenerateConsoleCtrlEvent(
11107 DWORD dwProcessGroupId
11113 AllocConsole( VOID
);
11118 FreeConsole( VOID
);
11124 CreateConsoleScreenBuffer(
11125 DWORD dwDesiredAccess
,
11127 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
11129 LPVOID lpScreenBufferData
11135 GetConsoleCP( VOID
);
11147 GetConsoleOutputCP( VOID
);
11152 SetConsoleOutputCP(
11158 VerifyConsoleIoHandle(
11163 WNetConnectionDialog(
11169 WNetDisconnectDialog(
11181 CloseServiceHandle(
11182 SC_HANDLE hSCObject
11189 SC_HANDLE hService
,
11191 LPSERVICE_STATUS lpServiceStatus
11202 LockServiceDatabase(
11203 SC_HANDLE hSCManager
11209 NotifyBootConfigStatus(
11210 WINBOOL BootAcceptable
11215 QueryServiceObjectSecurity(
11216 SC_HANDLE hService
,
11217 SECURITY_INFORMATION dwSecurityInformation
,
11218 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
11220 LPDWORD pcbBytesNeeded
11226 QueryServiceStatus(
11227 SC_HANDLE hService
,
11228 LPSERVICE_STATUS lpServiceStatus
11233 SetServiceObjectSecurity(
11234 SC_HANDLE hService
,
11235 SECURITY_INFORMATION dwSecurityInformation
,
11236 PSECURITY_DESCRIPTOR lpSecurityDescriptor
11243 SERVICE_STATUS_HANDLE hServiceStatus
,
11244 LPSERVICE_STATUS lpServiceStatus
11249 UnlockServiceDatabase(
11255 QueryServiceStatusEx(
11256 SC_HANDLE hService
,
11257 SC_STATUS_TYPE InfoLevel
,
11260 LPDWORD pcbBytesNeeded
11263 /* Extensions to OpenGL */
11266 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
11269 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
11272 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
11273 CONST PIXELFORMATDESCRIPTOR
*);
11276 GetPixelFormat(HDC
);
11279 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
11285 wglCreateContext(HDC
);
11288 wglCreateLayerContext(HDC
, int);
11291 wglCopyContext(HGLRC
, HGLRC
, UINT
);
11294 wglDeleteContext(HGLRC
);
11297 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
11300 wglGetCurrentContext(VOID
);
11303 wglGetCurrentDC(VOID
);
11306 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
11309 wglGetProcAddress(LPCSTR
);
11312 wglMakeCurrent(HDC
, HGLRC
);
11315 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
11318 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
11321 wglShareLists(HGLRC
, HGLRC
);
11324 wglSwapLayerBuffers(HDC
, UINT
);
11327 Why are these different between ANSI and UNICODE?
11328 There doesn't seem to be any difference.
11331 #ifndef _DISABLE_TIDENTS
11333 #define wglUseFontBitmaps wglUseFontBitmapsW
11334 #define wglUseFontOutlines wglUseFontOutlinesW
11336 #define wglUseFontBitmaps wglUseFontBitmapsA
11337 #define wglUseFontOutlines wglUseFontOutlinesA
11338 #endif /* !UNICODE */
11339 #endif /* _DISABLE_TIDENTS */
11341 /* ------------------------------------- */
11342 /* From shellapi.h in old Cygnus headers */
11345 DragQueryPoint (HDROP
, LPPOINT
);
11348 DragFinish (HDROP
);
11351 DragAcceptFiles (HWND
, WINBOOL
);
11354 DuplicateIcon (HINSTANCE
, HICON
);
11356 /* end of stuff from shellapi.h in old Cygnus headers */
11357 /* -------------------------------------------------- */
11358 /* From ddeml.h in old Cygnus headers */
11360 HCONV STDCALL
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
11361 WINBOOL STDCALL
DdeDisconnect (HCONV
);
11362 WINBOOL STDCALL
DdeFreeDataHandle (HDDEDATA
);
11363 DWORD STDCALL
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
11364 UINT STDCALL
DdeGetLastError (DWORD
);
11365 HDDEDATA STDCALL
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
11366 WINBOOL STDCALL
DdePostAdvise (DWORD
, HSZ
, HSZ
);
11367 HCONV STDCALL
DdeReconnect (HCONV
);
11368 WINBOOL STDCALL
DdeUninitialize (DWORD
);
11369 int STDCALL
DdeCmpStringHandles (HSZ
, HSZ
);
11370 HDDEDATA STDCALL
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
11373 /* end of stuff from ddeml.h in old Cygnus headers */
11374 /* ----------------------------------------------- */
11376 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11378 DWORD STDCALL
NetApiBufferFree (LPVOID
);
11379 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
11380 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
11381 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11383 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
11387 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
11389 DWORD STDCALL
GetCurrentTime(VOID
);
11392 SHAddToRecentDocs (UINT
, LPCVOID
);
11394 LPITEMIDLIST STDCALL
11395 SHBrowseForFolder (LPBROWSEINFO
);
11398 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
11401 SHFileOperationA (LPSHFILEOPSTRUCTA
);
11404 SHFileOperationW (LPSHFILEOPSTRUCTW
);
11407 SHFreeNameMappings (HANDLE
);
11409 /* Define when SHELLFOLDER is defined.
11411 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
11414 SHGetDesktopFolder (LPSHELLFOLDER);
11417 /* Define when IUnknown is defined.
11419 SHGetInstanceExplorer (IUnknown **);
11422 /* Define when MALLOC is defined.
11424 SHGetMalloc (LPMALLOC *);
11428 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
11430 /* Define when REFCLSID is defined.
11432 SHLoadInProc (REFCLSID);
11437 #define FIBER_FLAG_FLOAT_SWITCH (1)
11439 BOOL STDCALL
ConvertFiberToThread(void);
11441 LPVOID STDCALL
ConvertThreadToFiber(LPVOID lpParameter
);
11443 LPVOID STDCALL
ConvertThreadToFiberEx(LPVOID lpParameter
, DWORD dwFlags
);
11445 LPVOID STDCALL CreateFiber
11447 SIZE_T dwStackSize
,
11448 LPFIBER_START_ROUTINE lpStartAddress
,
11452 LPVOID STDCALL CreateFiberEx
11454 SIZE_T dwStackCommitSize
,
11455 SIZE_T dwStackReserveSize
,
11457 LPFIBER_START_ROUTINE lpStartAddress
,
11461 void STDCALL
DeleteFiber(LPVOID lpFiber
);
11463 void STDCALL
SwitchToFiber(LPVOID lpFiber
);
11465 #define GetFiberData() *(LPVOID *)(((PNT_TIB)NtCurrentTeb())->FiberData)
11468 RegisterServicesProcess(DWORD ServicesProcessId
);
11472 #endif /* __cplusplus */
11474 #endif /* WIN32_LEAN_AND_MEAN */
11476 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */