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 RegSetValueEx RegSetValueExW
90 #define AbortSystemShutdown AbortSystemShutdownW
91 #define InitiateSystemShutdown InitiateSystemShutdownW
92 #define RegUnLoadKey RegUnLoadKeyW
93 #define SetProp SetPropW
94 #define GetProp GetPropW
95 #define RemoveProp RemovePropW
96 #define EnumPropsEx EnumPropsExW
97 #define EnumProps EnumPropsW
98 #define SetWindowText SetWindowTextW
99 #define GetWindowText GetWindowTextW
100 #define GetWindowTextLength GetWindowTextLengthW
101 #define MessageBox MessageBoxW
102 #define MessageBoxEx MessageBoxExW
103 #define MessageBoxIndirect MessageBoxIndirectW
104 #define GetWindowLong GetWindowLongW
105 #define SetWindowLong SetWindowLongW
106 #define GetClassLong GetClassLongW
107 #define SetClassLong SetClassLongW
108 #define FindWindow FindWindowW
109 #define FindWindowEx FindWindowExW
110 #define GetClassName GetClassNameW
111 #define SetWindowsHookEx SetWindowsHookExW
112 #define LoadBitmap LoadBitmapW
113 #define LoadCursor LoadCursorW
114 #define LoadCursorFromFile LoadCursorFromFileW
115 #define LoadIcon LoadIconW
116 #define LoadImage LoadImageW
117 #define LoadString LoadStringW
118 #define IsDialogMessage IsDialogMessageW
119 #define DlgDirList DlgDirListW
120 #define DlgDirSelectEx DlgDirSelectExW
121 #define DlgDirListComboBox DlgDirListComboBoxW
122 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
123 #define DefFrameProc DefFrameProcW
124 #define DefMDIChildProc DefMDIChildProcW
125 #define CreateMDIWindow CreateMDIWindowW
126 #define WinHelp WinHelpW
127 #define ChangeDisplaySettings ChangeDisplaySettingsW
128 #define EnumDisplaySettings EnumDisplaySettingsW
129 #define SystemParametersInfo SystemParametersInfoW
130 #define AddFontResource AddFontResourceW
131 #define CopyMetaFile CopyMetaFileW
132 #define CreateDC CreateDCW
133 #define CreateFontIndirect CreateFontIndirectW
134 #define CreateFont CreateFontW
135 #define CreateIC CreateICW
136 #define CreateMetaFile CreateMetaFileW
137 #define CreateScalableFontResource CreateScalableFontResourceW
138 #define DeviceCapabilities DeviceCapabilitiesW
139 #define EnumFontFamiliesEx EnumFontFamiliesExW
140 #define EnumFontFamilies EnumFontFamiliesW
141 #define EnumFonts EnumFontsW
142 #define GetCharWidth GetCharWidthW
143 #define GetCharWidth32 GetCharWidth32W
144 #define GetCharWidthFloat GetCharWidthFloatW
145 #define GetCharABCWidths GetCharABCWidthsW
146 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
147 #define GetGlyphOutline GetGlyphOutlineW
148 #define GetMetaFile GetMetaFileW
149 #define GetOutlineTextMetrics GetOutlineTextMetricsW
150 #define GetTextExtentPoint GetTextExtentPointW
151 #define GetTextExtentPoint32 GetTextExtentPoint32W
152 #define GetTextExtentExPoint GetTextExtentExPointW
153 #define GetCharacterPlacement GetCharacterPlacementW
154 #define ResetDC ResetDCW
155 #define RemoveFontResource RemoveFontResourceW
156 #define CopyEnhMetaFile CopyEnhMetaFileW
157 #define CreateEnhMetaFile CreateEnhMetaFileW
158 #define GetEnhMetaFile GetEnhMetaFileW
159 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
160 #define GetTextMetrics GetTextMetricsW
161 #define StartDoc StartDocW
162 #define GetObject GetObjectW
163 #define TextOut TextOutW
164 #define ExtTextOut ExtTextOutW
165 #define PolyTextOut PolyTextOutW
166 #define GetTextFace GetTextFaceW
167 #define GetKerningPairs GetKerningPairsW
168 #define GetLogColorSpace GetLogColorSpaceW
169 #define CreateColorSpace CreateColorSpaceW
170 #define GetICMProfile GetICMProfileW
171 #define SetICMProfile SetICMProfileW
172 #define UpdateICMRegKey UpdateICMRegKeyW
173 #define EnumICMProfiles EnumICMProfilesW
174 #define CreatePropertySheetPage CreatePropertySheetPageW
175 #define PropertySheet PropertySheetW
176 #define ImageList_LoadImage ImageList_LoadImageW
177 #define CreateStatusWindow CreateStatusWindowW
178 #define DrawStatusText DrawStatusTextW
179 #define GetOpenFileName GetOpenFileNameW
180 #define GetSaveFileName GetSaveFileNameW
181 #define GetFileTitle GetFileTitleW
182 #define ChooseColor ChooseColorW
183 #define FindText FindTextW
184 #define ReplaceText ReplaceTextW
185 #define ChooseFont ChooseFontW
186 #define PrintDlg PrintDlgW
187 #define PageSetupDlg PageSetupDlgW
188 #define DefWindowProc DefWindowProcW
189 #define CallWindowProc CallWindowProcW
190 #define RegisterClass RegisterClassW
191 #define UnregisterClass UnregisterClassW
192 #define GetClassInfo GetClassInfoW
193 #define RegisterClassEx RegisterClassExW
194 #define GetClassInfoEx GetClassInfoExW
195 #define CreateWindowEx CreateWindowExW
196 #define CreateWindow CreateWindowW
197 #define CreateDialogParam CreateDialogParamW
198 #define CreateDialogIndirectParam CreateDialogIndirectParamW
199 #define CreateDialog CreateDialogW
200 #define CreateDialogIndirect CreateDialogIndirectW
201 #define DialogBoxParam DialogBoxParamW
202 #define DialogBoxIndirectParam DialogBoxIndirectParamW
203 #define DialogBox DialogBoxW
204 #define DialogBoxIndirect DialogBoxIndirectW
205 #define RegisterClipboardFormat RegisterClipboardFormatW
206 #define SetDlgItemText SetDlgItemTextW
207 #define GetDlgItemText GetDlgItemTextW
208 #define SendDlgItemMessage SendDlgItemMessageW
209 #define DefDlgProc DefDlgProcW
210 #define CallMsgFilter CallMsgFilterW
211 #define GetClipboardFormatName GetClipboardFormatNameW
212 #define CharToOem CharToOemW
213 #define OemToChar OemToCharW
214 #define CharToOemBuff CharToOemBuffW
215 #define OemToCharBuff OemToCharBuffW
216 #define CharUpper CharUpperW
217 #define CharUpperBuff CharUpperBuffW
218 #define CharLower CharLowerW
219 #define CharLowerBuff CharLowerBuffW
220 #define CharNext CharNextW
221 #define CharPrev CharPrevW
222 #define IsCharAlpha IsCharAlphaW
223 #define IsCharAlphaNumeric IsCharAlphaNumericW
224 #define IsCharUpper IsCharUpperW
225 #define IsCharLower IsCharLowerW
226 #define GetKeyNameText GetKeyNameTextW
227 #define VkKeyScan VkKeyScanW
228 #define VkKeyScanEx VkKeyScanExW
229 #define MapVirtualKey MapVirtualKeyW
230 #define MapVirtualKeyEx MapVirtualKeyExW
231 #define LoadAccelerators LoadAcceleratorsW
232 #define CreateAcceleratorTable CreateAcceleratorTableW
233 #define CopyAcceleratorTable CopyAcceleratorTableW
234 #define TranslateAccelerator TranslateAcceleratorW
235 #define LoadMenu LoadMenuW
236 #define LoadMenuIndirect LoadMenuIndirectW
237 #define ChangeMenu ChangeMenuW
238 #define GetMenuString GetMenuStringW
239 #define InsertMenu InsertMenuW
240 #define AppendMenu AppendMenuW
241 #define ModifyMenu ModifyMenuW
242 #define InsertMenuItem InsertMenuItemW
243 #define GetMenuItemInfo GetMenuItemInfoW
244 #define SetMenuItemInfo SetMenuItemInfoW
245 #define DrawText DrawTextW
246 #define DrawTextEx DrawTextExW
247 #define GrayString GrayStringW
248 #define DrawState DrawStateW
249 #define TabbedTextOut TabbedTextOutW
250 #define GetTabbedTextExtent GetTabbedTextExtentW
251 #define GetVersionEx GetVersionExW
252 #define wvsprintf wvsprintfW
253 #define wsprintf wsprintfW
254 #define LoadKeyboardLayout LoadKeyboardLayoutW
255 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
256 #define CreateDesktop CreateDesktopW
257 #define OpenDesktop OpenDesktopW
258 #define EnumDesktops EnumDesktopsW
259 #define CreateWindowStation CreateWindowStationW
260 #define OpenWindowStation OpenWindowStationW
261 #define EnumWindowStations EnumWindowStationsW
262 #define IsBadStringPtr IsBadStringPtrW
263 #define LookupAccountSid LookupAccountSidW
264 #define LookupAccountName LookupAccountNameW
265 #define LookupPrivilegeValue LookupPrivilegeValueW
266 #define LookupPrivilegeName LookupPrivilegeNameW
267 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
268 #define BuildCommDCB BuildCommDCBW
269 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
270 #define CommConfigDialog CommConfigDialogW
271 #define GetDefaultCommConfig GetDefaultCommConfigW
272 #define SetDefaultCommConfig SetDefaultCommConfigW
273 #define GetComputerName GetComputerNameW
274 #define SetComputerName SetComputerNameW
275 #define GetUserName GetUserNameW
276 #define CreateMailslot CreateMailslotW
277 #define FormatMessage FormatMessageW
278 #define GetEnvironmentStrings GetEnvironmentStringsW
279 #define FreeEnvironmentStrings FreeEnvironmentStringsW
280 #define lstrcmp lstrcmpW
281 #define lstrcmpi lstrcmpiW
282 #define lstrcpyn lstrcpynW
283 #define lstrcpy lstrcpyW
284 #define lstrcat lstrcatW
285 #define lstrlen lstrlenW
286 #define GetBinaryType GetBinaryTypeW
287 #define GetShortPathName GetShortPathNameW
288 #define SetFileSecurity SetFileSecurityW
289 #define GetFileSecurity GetFileSecurityW
290 #define FindFirstChangeNotification FindFirstChangeNotificationW
291 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
292 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
293 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
294 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
295 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
296 #define OpenEventLog OpenEventLogW
297 #define RegisterEventSource RegisterEventSourceW
298 #define OpenBackupEventLog OpenBackupEventLogW
299 #define ReadEventLog ReadEventLogW
300 #define ReportEvent ReportEventW
301 #define CreateProcess CreateProcessW
302 #define FatalAppExit FatalAppExitW
303 #define GetStartupInfo GetStartupInfoW
304 #define GetEnvironmentVariable GetEnvironmentVariableW
305 #define GetCommandLine GetCommandLineW
306 #define SetEnvironmentVariable SetEnvironmentVariableW
307 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
308 #define OutputDebugString OutputDebugStringW
309 #define FindResource FindResourceW
310 #define FindResourceEx FindResourceExW
311 #define EnumResourceTypes EnumResourceTypesW
312 #define EnumResourceNames EnumResourceNamesW
313 #define EnumResourceLanguages EnumResourceLanguagesW
314 #define BeginUpdateResource BeginUpdateResourceW
315 #define UpdateResource UpdateResourceW
316 #define EndUpdateResource EndUpdateResourceW
317 #define GlobalAddAtom GlobalAddAtomW
318 #define GlobalFindAtom GlobalFindAtomW
319 #define GlobalGetAtomName GlobalGetAtomNameW
320 #define AddAtom AddAtomW
321 #define FindAtom FindAtomW
322 #define GetAtomName GetAtomNameW
323 #define GetProfileInt GetProfileIntW
324 #define GetProfileString GetProfileStringW
325 #define WriteProfileString WriteProfileStringW
326 #define GetProfileSection GetProfileSectionW
327 #define WriteProfileSection WriteProfileSectionW
328 #define GetPrivateProfileInt GetPrivateProfileIntW
329 #define GetPrivateProfileString GetPrivateProfileStringW
330 #define WritePrivateProfileString WritePrivateProfileStringW
331 #define GetPrivateProfileSection GetPrivateProfileSectionW
332 #define WritePrivateProfileSection WritePrivateProfileSectionW
333 #define GetDriveType GetDriveTypeW
334 #define GetSystemDirectory GetSystemDirectoryW
335 #define GetTempPath GetTempPathW
336 #define GetTempFileName GetTempFileNameW
337 #define GetWindowsDirectory GetWindowsDirectoryW
338 #define SetCurrentDirectory SetCurrentDirectoryW
339 #define GetCurrentDirectory GetCurrentDirectoryW
340 #define GetDiskFreeSpace GetDiskFreeSpaceW
341 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
342 #define CreateDirectory CreateDirectoryW
343 #define CreateDirectoryEx CreateDirectoryExW
344 #define RemoveDirectory RemoveDirectoryW
345 #define GetFullPathName GetFullPathNameW
346 #define DefineDosDevice DefineDosDeviceW
347 #define QueryDosDevice QueryDosDeviceW
348 #define CreateFile CreateFileW
349 #define SetFileAttributes SetFileAttributesW
350 #define GetFileAttributes GetFileAttributesW
351 #define GetFileAttributesEx GetFileAttributesExW
352 #define GetCompressedFileSize GetCompressedFileSizeW
353 #define DeleteFile DeleteFileW
354 #define FindFirstFileEx FindFirstFileExW
355 #define FindFirstFile FindFirstFileW
356 #define FindNextFile FindNextFileW
357 #define SearchPath SearchPathW
358 #define CopyFile CopyFileW
359 #define CopyFileEx CopyFileExW
360 #define MoveFile MoveFileW
361 #define MoveFileEx MoveFileExW
362 #define MoveFileWithProgress MoveFileWithProgressW
363 #define CreateNamedPipe CreateNamedPipeW
364 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
365 #define CallNamedPipe CallNamedPipeW
366 #define WaitNamedPipe WaitNamedPipeW
367 #define SetVolumeLabel SetVolumeLabelW
368 #define GetVolumeInformation GetVolumeInformationW
369 #define ClearEventLog ClearEventLogW
370 #define BackupEventLog BackupEventLogW
371 #define CreateMutex CreateMutexW
372 #define OpenMutex OpenMutexW
373 #define CreateEvent CreateEventW
374 #define OpenEvent OpenEventW
375 #define CreateSemaphore CreateSemaphoreW
376 #define OpenSemaphore OpenSemaphoreW
377 #define CreateFileMapping CreateFileMappingW
378 #define OpenFileMapping OpenFileMappingW
379 #define GetLogicalDriveStrings GetLogicalDriveStringsW
380 #define LoadLibrary LoadLibraryW
381 #define LoadLibraryEx LoadLibraryExW
382 #define GetModuleFileName GetModuleFileNameW
383 #define GetModuleHandle GetModuleHandleW
384 #define GetUserObjectInformation GetUserObjectInformationW
385 #define SetUserObjectInformation SetUserObjectInformationW
386 #define RegisterWindowMessage RegisterWindowMessageW
387 #define GetMessage GetMessageW
388 #define DispatchMessage DispatchMessageW
389 #define PeekMessage PeekMessageW
390 #define SendMessage SendMessageW
391 #define SendMessageTimeout SendMessageTimeoutW
392 #define SendNotifyMessage SendNotifyMessageW
393 #define SendMessageCallback SendMessageCallbackW
394 #define PostMessage PostMessageW
395 #define PostThreadMessage PostThreadMessageW
396 #define VerFindFile VerFindFileW
397 #define VerInstallFile VerInstallFileW
398 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
399 #define GetFileVersionInfo GetFileVersionInfoW
400 #define VerLanguageName VerLanguageNameW
401 #define VerQueryValue VerQueryValueW
402 #define CompareString CompareStringW
403 #define LCMapString LCMapStringW
404 #define GetLocaleInfo GetLocaleInfoW
405 #define SetLocaleInfo SetLocaleInfoW
406 #define GetTimeFormat GetTimeFormatW
407 #define GetDateFormat GetDateFormatW
408 #define GetNumberFormat GetNumberFormatW
409 #define GetCurrencyFormat GetCurrencyFormatW
410 #define EnumCalendarInfo EnumCalendarInfoW
411 #define EnumTimeFormats EnumTimeFormatsW
412 #define FoldString FoldStringW
413 #define EnumSystemCodePages EnumSystemCodePagesW
414 #define EnumSystemLocales EnumSystemLocalesW
415 #define GetStringTypeEx GetStringTypeExW
416 #define EnumDateFormats EnumDateFormatsW
417 #define GetConsoleTitle GetConsoleTitleW
418 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
419 #define SetConsoleTitle SetConsoleTitleW
420 #define ReadConsole ReadConsoleW
421 #define WriteConsole WriteConsoleW
422 #define PeekConsoleInput PeekConsoleInputW
423 #define ReadConsoleInput ReadConsoleInputW
424 #define WriteConsoleInput WriteConsoleInputW
425 #define ReadConsoleOutput ReadConsoleOutputW
426 #define WriteConsoleOutput WriteConsoleOutputW
427 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
428 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
429 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
430 #define WNetGetProviderName WNetGetProviderNameW
431 #define WNetGetNetworkInformation WNetGetNetworkInformationW
432 #define WNetGetLastError WNetGetLastErrorW
433 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
434 #define WNetConnectionDialog1 WNetConnectionDialog1W
435 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
436 #define WNetOpenEnum WNetOpenEnumW
437 #define WNetEnumResource WNetEnumResourceW
438 #define WNetGetUniversalName WNetGetUniversalNameW
439 #define WNetGetUser WNetGetUserW
440 #define WNetAddConnection WNetAddConnectionW
441 #define WNetAddConnection2 WNetAddConnection2W
442 #define WNetAddConnection3 WNetAddConnection3W
443 #define WNetCancelConnection WNetCancelConnectionW
444 #define WNetCancelConnection2 WNetCancelConnection2W
445 #define WNetGetConnection WNetGetConnectionW
446 #define WNetUseConnection WNetUseConnectionW
447 #define WNetSetConnection WNetSetConnectionW
448 #define CreateService CreateServiceW
449 #define ChangeServiceConfig ChangeServiceConfigW
450 #define EnumDependentServices EnumDependentServicesW
451 #define EnumServicesStatus EnumServicesStatusW
452 #define GetServiceKeyName GetServiceKeyNameW
453 #define GetServiceDisplayName GetServiceDisplayNameW
454 #define OpenSCManager OpenSCManagerW
455 #define OpenService OpenServiceW
456 #define QueryServiceConfig QueryServiceConfigW
457 #define QueryServiceLockStatus QueryServiceLockStatusW
458 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
459 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
460 #define StartService StartServiceW
461 #define DragQueryFile DragQueryFileW
462 #define ExtractAssociatedIcon ExtractAssociatedIconW
463 #define ExtractIcon ExtractIconW
464 #define FindExecutable FindExecutableW
465 #define ShellAbout ShellAboutW
466 #define ShellExecute ShellExecuteW
467 #define DdeCreateStringHandle DdeCreateStringHandleW
468 #define DdeInitialize DdeInitializeW
469 #define DdeQueryString DdeQueryStringW
470 #define LogonUser LogonUserW
471 #define CreateProcessAsUser CreateProcessAsUserW
472 #define SHGetFileInfo SHGetFileInfoW
473 #define SHGetPathFromIDList SHGetPathFromIDListW
478 #define RegConnectRegistry RegConnectRegistryA
479 #define RegCreateKey RegCreateKeyA
480 #define RegCreateKeyEx RegCreateKeyExA
481 #define RegDeleteKey RegDeleteKeyA
482 #define RegDeleteValue RegDeleteValueA
483 #define RegEnumKey RegEnumKeyA
484 #define RegEnumKeyEx RegEnumKeyExA
485 #define RegEnumValue RegEnumValueA
486 #define RegLoadKey RegLoadKeyA
487 #define RegOpenKey RegOpenKeyA
488 #define RegOpenKeyEx RegOpenKeyExA
489 #define RegQueryInfoKey RegQueryInfoKeyA
490 #define RegQueryValue RegQueryValueA
491 #define RegQueryMultipleValues RegQueryMultipleValuesA
492 #define RegQueryValueEx RegQueryValueExA
493 #define RegReplaceKey RegReplaceKeyA
494 #define RegRestoreKey RegRestoreKeyA
495 #define RegSaveKey RegSaveKeyA
496 #define RegSetValue RegSetValueA
497 #define RegSetValueEx RegSetValueExA
498 #define AbortSystemShutdown AbortSystemShutdownA
499 #define InitiateSystemShutdown InitiateSystemShutdownA
500 #define RegUnLoadKey RegUnLoadKeyA
501 #define LoadIcon LoadIconA
502 #define LoadImage LoadImageA
503 #define LoadString LoadStringA
504 #define IsDialogMessage IsDialogMessageA
505 #define DlgDirList DlgDirListA
506 #define DlgDirSelectEx DlgDirSelectExA
507 #define DlgDirListComboBox DlgDirListComboBoxA
508 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
509 #define DefFrameProc DefFrameProcA
510 #define DefMDIChildProc DefMDIChildProcA
511 #define CreateMDIWindow CreateMDIWindowA
512 #define WinHelp WinHelpA
513 #define ChangeDisplaySettings ChangeDisplaySettingsA
514 #define EnumDisplaySettings EnumDisplaySettingsA
515 #define SystemParametersInfo SystemParametersInfoA
516 #define GetWindowLong GetWindowLongA
517 #define SetWindowLong SetWindowLongA
518 #define GetClassLong GetClassLongA
519 #define SetClassLong SetClassLongA
520 #define FindWindow FindWindowA
521 #define FindWindowEx FindWindowExA
522 #define GetClassName GetClassNameA
523 #define SetWindowsHookEx SetWindowsHookExA
524 #define LoadBitmap LoadBitmapA
525 #define LoadCursor LoadCursorA
526 #define LoadCursorFromFile LoadCursorFromFileA
527 #define SetProp SetPropA
528 #define GetProp GetPropA
529 #define RemoveProp RemovePropA
530 #define EnumPropsEx EnumPropsExA
531 #define EnumProps EnumPropsA
532 #define SetWindowText SetWindowTextA
533 #define GetWindowText GetWindowTextA
534 #define GetWindowTextLength GetWindowTextLengthA
535 #define MessageBox MessageBoxA
536 #define MessageBoxEx MessageBoxExA
537 #define MessageBoxIndirect MessageBoxIndirectA
538 #define AddFontResource AddFontResourceA
539 #define CopyMetaFile CopyMetaFileA
540 #define CreateDC CreateDCA
541 #define CreateFontIndirect CreateFontIndirectA
542 #define CreateFont CreateFontA
543 #define CreateIC CreateICA
544 #define CreateMetaFile CreateMetaFileA
545 #define CreateScalableFontResource CreateScalableFontResourceA
546 #define DeviceCapabilities DeviceCapabilitiesA
547 #define EnumFontFamiliesEx EnumFontFamiliesExA
548 #define EnumFontFamilies EnumFontFamiliesA
549 #define EnumFonts EnumFontsA
550 #define GetCharWidth GetCharWidthA
551 #define GetCharWidth32 GetCharWidth32A
552 #define GetCharWidthFloat GetCharWidthFloatA
553 #define GetCharABCWidths GetCharABCWidthsA
554 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
555 #define GetGlyphOutline GetGlyphOutlineA
556 #define GetMetaFile GetMetaFileA
557 #define GetOutlineTextMetrics GetOutlineTextMetricsA
558 #define GetTextExtentPoint GetTextExtentPointA
559 #define GetTextExtentPoint32 GetTextExtentPoint32A
560 #define GetTextExtentExPoint GetTextExtentExPointA
561 #define GetCharacterPlacement GetCharacterPlacementA
562 #define ResetDC ResetDCA
563 #define RemoveFontResource RemoveFontResourceA
564 #define CopyEnhMetaFile CopyEnhMetaFileA
565 #define CreateEnhMetaFile CreateEnhMetaFileA
566 #define GetEnhMetaFile GetEnhMetaFileA
567 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
568 #define GetTextMetrics GetTextMetricsA
569 #define StartDoc StartDocA
570 #define GetObject GetObjectA
571 #define TextOut TextOutA
572 #define ExtTextOut ExtTextOutA
573 #define PolyTextOut PolyTextOutA
574 #define GetTextFace GetTextFaceA
575 #define GetKerningPairs GetKerningPairsA
576 #define GetLogColorSpace GetLogColorSpaceA
577 #define CreateColorSpace CreateColorSpaceA
578 #define GetICMProfile GetICMProfileA
579 #define SetICMProfile SetICMProfileA
580 #define UpdateICMRegKey UpdateICMRegKeyA
581 #define EnumICMProfiles EnumICMProfilesA
582 #define CreatePropertySheetPage CreatePropertySheetPageA
583 #define PropertySheet PropertySheetA
584 #define ImageList_LoadImage ImageList_LoadImageA
585 #define CreateStatusWindow CreateStatusWindowA
586 #define DrawStatusText DrawStatusTextA
587 #define GetOpenFileName GetOpenFileNameA
588 #define GetSaveFileName GetSaveFileNameA
589 #define GetFileTitle GetFileTitleA
590 #define ChooseColor ChooseColorA
591 #define FindText FindTextA
592 #define ReplaceText ReplaceTextA
593 #define ChooseFont ChooseFontA
594 #define PrintDlg PrintDlgA
595 #define PageSetupDlg PageSetupDlgA
596 #define DefWindowProc DefWindowProcA
597 #define CallWindowProc CallWindowProcA
598 #define RegisterClass RegisterClassA
599 #define UnregisterClass UnregisterClassA
600 #define GetClassInfo GetClassInfoA
601 #define RegisterClassEx RegisterClassExA
602 #define GetClassInfoEx GetClassInfoExA
603 #define CreateWindowEx CreateWindowExA
604 #define CreateWindow CreateWindowA
605 #define CreateDialogParam CreateDialogParamA
606 #define CreateDialogIndirectParam CreateDialogIndirectParamA
607 #define CreateDialog CreateDialogA
608 #define CreateDialogIndirect CreateDialogIndirectA
609 #define CreateWaitableTimer CreateWaitableTimerA
610 #define DialogBoxParam DialogBoxParamA
611 #define DialogBoxIndirectParam DialogBoxIndirectParamA
612 #define DialogBox DialogBoxA
613 #define DialogBoxIndirect DialogBoxIndirectA
614 #define RegisterClipboardFormat RegisterClipboardFormatA
615 #define SetDlgItemText SetDlgItemTextA
616 #define GetDlgItemText GetDlgItemTextA
617 #define SendDlgItemMessage SendDlgItemMessageA
618 #define DefDlgProc DefDlgProcA
619 #define CallMsgFilter CallMsgFilterA
620 #define GetClipboardFormatName GetClipboardFormatNameA
621 #define CharToOem CharToOemA
622 #define OemToChar OemToCharA
623 #define CharToOemBuff CharToOemBuffA
624 #define OemToCharBuff OemToCharBuffA
625 #define CharUpper CharUpperA
626 #define CharUpperBuff CharUpperBuffA
627 #define CharLower CharLowerA
628 #define CharLowerBuff CharLowerBuffA
629 #define CharNext CharNextA
630 #define CharPrev CharPrevA
631 #define IsCharAlpha IsCharAlphaA
632 #define IsCharAlphaNumeric IsCharAlphaNumericA
633 #define IsCharUpper IsCharUpperA
634 #define IsCharLower IsCharLowerA
635 #define GetKeyNameText GetKeyNameTextA
636 #define VkKeyScan VkKeyScanA
637 #define VkKeyScanEx VkKeyScanExA
638 #define MapVirtualKey MapVirtualKeyA
639 #define MapVirtualKeyEx MapVirtualKeyExA
640 #define LoadAccelerators LoadAcceleratorsA
641 #define CreateAcceleratorTable CreateAcceleratorTableA
642 #define CopyAcceleratorTable CopyAcceleratorTableA
643 #define TranslateAccelerator TranslateAcceleratorA
644 #define LoadMenu LoadMenuA
645 #define LoadMenuIndirect LoadMenuIndirectA
646 #define ChangeMenu ChangeMenuA
647 #define GetMenuString GetMenuStringA
648 #define InsertMenu InsertMenuA
649 #define AppendMenu AppendMenuA
650 #define ModifyMenu ModifyMenuA
651 #define InsertMenuItem InsertMenuItemA
652 #define GetMenuItemInfo GetMenuItemInfoA
653 #define SetMenuItemInfo SetMenuItemInfoA
654 #define DrawText DrawTextA
655 #define DrawTextEx DrawTextExA
656 #define GrayString GrayStringA
657 #define DrawState DrawStateA
658 #define TabbedTextOut TabbedTextOutA
659 #define GetTabbedTextExtent GetTabbedTextExtentA
660 #define GetVersionEx GetVersionExA
661 #define wvsprintf wvsprintfA
662 #define wsprintf wsprintfA
663 #define LoadKeyboardLayout LoadKeyboardLayoutA
664 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
665 #define CreateDesktop CreateDesktopA
666 #define OpenDesktop OpenDesktopA
667 #define EnumDesktops EnumDesktopsA
668 #define CreateWindowStation CreateWindowStationA
669 #define OpenWindowStation OpenWindowStationA
670 #define EnumWindowStations EnumWindowStationsA
671 #define IsBadStringPtr IsBadStringPtrA
672 #define LookupAccountSid LookupAccountSidA
673 #define LookupAccountName LookupAccountNameA
674 #define LookupPrivilegeValue LookupPrivilegeValueA
675 #define LookupPrivilegeName LookupPrivilegeNameA
676 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
677 #define BuildCommDCB BuildCommDCBA
678 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
679 #define CommConfigDialog CommConfigDialogA
680 #define GetDefaultCommConfig GetDefaultCommConfigA
681 #define SetDefaultCommConfig SetDefaultCommConfigA
682 #define GetComputerName GetComputerNameA
683 #define SetComputerName SetComputerNameA
684 #define GetUserName GetUserNameA
685 #define CreateMailslot CreateMailslotA
686 #define FormatMessage FormatMessageA
687 #define GetEnvironmentStrings GetEnvironmentStringsA
688 #define FreeEnvironmentStrings FreeEnvironmentStringsA
689 #define lstrcmp lstrcmpA
690 #define lstrcmpi lstrcmpiA
691 #define lstrcpyn lstrcpynA
692 #define lstrcpy lstrcpyA
693 #define lstrcat lstrcatA
694 #define lstrlen lstrlenA
695 #define GetBinaryType GetBinaryTypeA
696 #define GetShortPathName GetShortPathNameA
697 #define SetFileSecurity SetFileSecurityA
698 #define GetFileSecurity GetFileSecurityA
699 #define FindFirstChangeNotification FindFirstChangeNotificationA
700 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
701 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
702 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
703 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
704 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
705 #define OpenEventLog OpenEventLogA
706 #define RegisterEventSource RegisterEventSourceA
707 #define OpenBackupEventLog OpenBackupEventLogA
708 #define ReadEventLog ReadEventLogA
709 #define ReportEvent ReportEventA
710 #define CreateProcess CreateProcessA
711 #define FatalAppExit FatalAppExitA
712 #define GetStartupInfo GetStartupInfoA
713 #define GetCommandLine GetCommandLineA
714 #define GetEnvironmentVariable GetEnvironmentVariableA
715 #define SetEnvironmentVariable SetEnvironmentVariableA
716 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
717 #define OutputDebugString OutputDebugStringA
718 #define FindResource FindResourceA
719 #define FindResourceEx FindResourceExA
720 #define EnumResourceTypes EnumResourceTypesA
721 #define EnumResourceNames EnumResourceNamesA
722 #define EnumResourceLanguages EnumResourceLanguagesA
723 #define BeginUpdateResource BeginUpdateResourceA
724 #define UpdateResource UpdateResourceA
725 #define EndUpdateResource EndUpdateResourceA
726 #define GlobalAddAtom GlobalAddAtomA
727 #define GlobalFindAtom GlobalFindAtomA
728 #define GlobalGetAtomName GlobalGetAtomNameA
729 #define AddAtom AddAtomA
730 #define FindAtom FindAtomA
731 #define GetProfileInt GetProfileIntA
732 #define GetAtomName GetAtomNameA
733 #define GetProfileString GetProfileStringA
734 #define WriteProfileString WriteProfileStringA
735 #define GetProfileSection GetProfileSectionA
736 #define WriteProfileSection WriteProfileSectionA
737 #define GetPrivateProfileInt GetPrivateProfileIntA
738 #define GetPrivateProfileString GetPrivateProfileStringA
739 #define WritePrivateProfileString WritePrivateProfileStringA
740 #define GetPrivateProfileSection GetPrivateProfileSectionA
741 #define WritePrivateProfileSection WritePrivateProfileSectionA
742 #define GetDriveType GetDriveTypeA
743 #define GetSystemDirectory GetSystemDirectoryA
744 #define GetTempPath GetTempPathA
745 #define GetTempFileName GetTempFileNameA
746 #define GetWindowsDirectory GetWindowsDirectoryA
747 #define SetCurrentDirectory SetCurrentDirectoryA
748 #define GetCurrentDirectory GetCurrentDirectoryA
749 #define GetDiskFreeSpace GetDiskFreeSpaceA
750 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
751 #define CreateDirectory CreateDirectoryA
752 #define CreateDirectoryEx CreateDirectoryExA
753 #define RemoveDirectory RemoveDirectoryA
754 #define GetFullPathName GetFullPathNameA
755 #define DefineDosDevice DefineDosDeviceA
756 #define QueryDosDevice QueryDosDeviceA
757 #define CreateFile CreateFileA
758 #define SetFileAttributes SetFileAttributesA
759 #define GetFileAttributes GetFileAttributesA
760 #define GetFileAttributesEx GetFileAttributesExA
761 #define GetCompressedFileSize GetCompressedFileSizeA
762 #define DeleteFile DeleteFileA
763 #define FindFirstFileEx FindFirstFileExA
764 #define FindFirstFile FindFirstFileA
765 #define FindNextFile FindNextFileA
766 #define SearchPath SearchPathA
767 #define CopyFile CopyFileA
768 #define CopyFileEx CopyFileExA
769 #define MoveFile MoveFileA
770 #define MoveFileEx MoveFileExA
771 #define MoveFileWithProgress MoveFileWithProgressA
772 #define CreateNamedPipe CreateNamedPipeA
773 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
774 #define CallNamedPipe CallNamedPipeA
775 #define WaitNamedPipe WaitNamedPipeA
776 #define SetVolumeLabel SetVolumeLabelA
777 #define GetVolumeInformation GetVolumeInformationA
778 #define ClearEventLog ClearEventLogA
779 #define BackupEventLog BackupEventLogA
780 #define CreateMutex CreateMutexA
781 #define OpenMutex OpenMutexA
782 #define CreateEvent CreateEventA
783 #define OpenEvent OpenEventA
784 #define CreateSemaphore CreateSemaphoreA
785 #define OpenSemaphore OpenSemaphoreA
786 #define CreateFileMapping CreateFileMappingA
787 #define OpenFileMapping OpenFileMappingA
788 #define GetLogicalDriveStrings GetLogicalDriveStringsA
789 #define LoadLibrary LoadLibraryA
790 #define LoadLibraryEx LoadLibraryExA
791 #define GetModuleFileName GetModuleFileNameA
792 #define GetModuleHandle GetModuleHandleA
793 #define GetUserObjectInformation GetUserObjectInformationA
794 #define SetUserObjectInformation SetUserObjectInformationA
795 #define RegisterWindowMessage RegisterWindowMessageA
796 #define GetMessage GetMessageA
797 #define DispatchMessage DispatchMessageA
798 #define PeekMessage PeekMessageA
799 #define SendMessage SendMessageA
800 #define SendMessageTimeout SendMessageTimeoutA
801 #define SendNotifyMessage SendNotifyMessageA
802 #define SendMessageCallback SendMessageCallbackA
803 #define PostMessage PostMessageA
804 #define PostThreadMessage PostThreadMessageA
805 #define VerFindFile VerFindFileA
806 #define VerInstallFile VerInstallFileA
807 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
808 #define GetFileVersionInfo GetFileVersionInfoA
809 #define VerLanguageName VerLanguageNameA
810 #define VerQueryValue VerQueryValueA
811 #define CompareString CompareStringA
812 #define LCMapString LCMapStringA
813 #define GetLocaleInfo GetLocaleInfoA
814 #define SetLocaleInfo SetLocaleInfoA
815 #define GetTimeFormat GetTimeFormatA
816 #define GetDateFormat GetDateFormatA
817 #define GetNumberFormat GetNumberFormatA
818 #define GetCurrencyFormat GetCurrencyFormatA
819 #define EnumCalendarInfo EnumCalendarInfoA
820 #define EnumTimeFormats EnumTimeFormatsA
821 #define FoldString FoldStringA
822 #define EnumSystemCodePages EnumSystemCodePagesA
823 #define EnumSystemLocales EnumSystemLocalesA
824 #define GetStringTypeEx GetStringTypeExA
825 #define EnumDateFormats EnumDateFormatsA
826 #define GetConsoleTitle GetConsoleTitleA
827 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
828 #define SetConsoleTitle SetConsoleTitleA
829 #define ReadConsole ReadConsoleA
830 #define WriteConsole WriteConsoleA
831 #define PeekConsoleInput PeekConsoleInputA
832 #define ReadConsoleInput ReadConsoleInputA
833 #define WriteConsoleInput WriteConsoleInputA
834 #define ReadConsoleOutput ReadConsoleOutputA
835 #define WriteConsoleOutput WriteConsoleOutputA
836 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
837 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
838 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
839 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
840 #define WNetGetLastError WNetGetLastErrorA
841 #define WNetGetProviderName WNetGetProviderNameA
842 #define WNetGetNetworkInformation WNetGetNetworkInformationA
843 #define WNetConnectionDialog1 WNetConnectionDialog1A
844 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
845 #define WNetOpenEnum WNetOpenEnumA
846 #define WNetEnumResource WNetEnumResourceA
847 #define WNetGetUniversalName WNetGetUniversalNameA
848 #define WNetGetUser WNetGetUserA
849 #define WNetAddConnection WNetAddConnectionA
850 #define WNetAddConnection2 WNetAddConnection2A
851 #define WNetAddConnection3 WNetAddConnection3A
852 #define WNetCancelConnection WNetCancelConnectionA
853 #define WNetCancelConnection2 WNetCancelConnection2A
854 #define WNetGetConnection WNetGetConnectionA
855 #define WNetUseConnection WNetUseConnectionA
856 #define WNetSetConnection WNetSetConnectionA
857 #define OpenService OpenServiceA
858 #define QueryServiceConfig QueryServiceConfigA
859 #define QueryServiceLockStatus QueryServiceLockStatusA
860 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
861 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
862 #define StartService StartServiceA
863 #define ChangeServiceConfig ChangeServiceConfigA
864 #define CreateService CreateServiceA
865 #define EnumDependentServices EnumDependentServicesA
866 #define EnumServicesStatus EnumServicesStatusA
867 #define GetServiceKeyName GetServiceKeyNameA
868 #define GetServiceDisplayName GetServiceDisplayNameA
869 #define OpenSCManager OpenSCManagerA
870 #define DragQueryFile DragQueryFileA
871 #define ExtractAssociatedIcon ExtractAssociatedIconA
872 #define ExtractIcon ExtractIconA
873 #define FindExecutable FindExecutableA
874 #define ShellAbout ShellAboutA
875 #define ShellExecute ShellExecuteA
876 #define DdeCreateStringHandle DdeCreateStringHandleA
877 #define DdeInitialize DdeInitializeA
878 #define DdeQueryString DdeQueryStringA
879 #define LogonUser LogonUserA
880 #define CreateProcessAsUser CreateProcessAsUserA
881 #define SHGetFileInfo SHGetFileInfoA
882 #define SHGetPathFromIDList SHGetPathFromIDListA
884 #endif /* UNICODE and ASCII defines */
885 #endif /* _DISABLE_TIDENTS */
887 HWND STDCALL
GetAncestor(HWND hWnd
, UINT GaFlags
);
888 WINBOOL STDCALL
AbnormalTermination(VOID
);
889 int STDCALL
AbortDoc(HDC
);
890 WINBOOL STDCALL
AbortPath(HDC
);
891 WINBOOL STDCALL
AbortPrinter(HANDLE
);
892 WINBOOL CALLBACK
AbortProc(HDC
, int);
893 WINBOOL STDCALL
AccessCheck(
894 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
897 PGENERIC_MAPPING GenericMapping
,
898 PPRIVILEGE_SET PrivilegeSet
,
899 LPDWORD PrivilegeSetLength
,
900 LPDWORD GrantedAccess
,
907 InterlockedIncrement(
913 InterlockedDecrement(
926 InterlockedCompareExchange(
953 HINSTANCE hPrevInstance
,
967 FreeLibraryAndExitThread(
974 DisableThreadLibraryCalls(
1086 LPMEMORYSTATUS lpBuffer
1170 FlushInstructionCache(
1172 LPCVOID lpBaseAddress
,
1182 DWORD flAllocationType
,
1202 PDWORD lpflOldProtect
1210 PMEMORY_BASIC_INFORMATION lpBuffer
,
1222 PDWORD lpflOldProtect
1231 PMEMORY_BASIC_INFORMATION lpBuffer
,
1240 DWORD dwInitialSize
,
1300 GetProcessHeap( VOID
);
1305 DWORD NumberOfHeaps
,
1306 PHANDLE ProcessHeaps
1331 LPPROCESS_HEAP_ENTRY lpEntry
1336 GetProcessAffinityMask(
1338 LPDWORD lpProcessAffinityMask
,
1339 LPDWORD lpSystemAffinityMask
1346 LPFILETIME lpCreationTime
,
1347 LPFILETIME lpExitTime
,
1348 LPFILETIME lpKernelTime
,
1349 LPFILETIME lpUserTime
1354 GetProcessWorkingSetSize(
1356 LPDWORD lpMinimumWorkingSetSize
,
1357 LPDWORD lpMaximumWorkingSetSize
1362 SetProcessWorkingSetSize(
1364 DWORD dwMinimumWorkingSetSize
,
1365 DWORD dwMaximumWorkingSetSize
1371 DWORD dwDesiredAccess
,
1372 WINBOOL bInheritHandle
,
1384 GetCurrentProcessId(
1392 ) __attribute__ ((noreturn
));
1417 DWORD dwExceptionCode
,
1418 DWORD dwExceptionFlags
,
1419 DWORD nNumberOfArguments
,
1420 CONST DWORD
*lpArguments
1425 UnhandledExceptionFilter(
1426 struct _EXCEPTION_POINTERS
*ExceptionInfo
1430 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1431 LPTOP_LEVEL_EXCEPTION_FILTER
1433 SetUnhandledExceptionFilter(
1434 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1442 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1444 LPTHREAD_START_ROUTINE lpStartAddress
,
1446 DWORD dwCreationFlags
,
1455 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1457 LPTHREAD_START_ROUTINE lpStartAddress
,
1459 DWORD dwCreationFlags
,
1480 SetThreadAffinityMask(
1482 DWORD dwThreadAffinityMask
1505 LPFILETIME lpCreationTime
,
1506 LPFILETIME lpExitTime
,
1507 LPFILETIME lpKernelTime
,
1508 LPFILETIME lpUserTime
1512 __declspec(noreturn
)
1537 GetThreadSelectorEntry(
1540 LPLDT_ENTRY lpSelectorEntry
1560 GetOverlappedResult(
1562 LPOVERLAPPED lpOverlapped
,
1563 LPDWORD lpNumberOfBytesTransferred
,
1570 CreateIoCompletionPort(
1572 HANDLE ExistingCompletionPort
,
1573 DWORD CompletionKey
,
1574 DWORD NumberOfConcurrentThreads
1580 GetQueuedCompletionStatus(
1581 HANDLE CompletionPort
,
1582 LPDWORD lpNumberOfBytesTransferred
,
1583 LPDWORD lpCompletionKey
,
1584 LPOVERLAPPED
*lpOverlapped
,
1585 DWORD dwMilliseconds
1599 LPCVOID lpBaseAddress
,
1602 LPDWORD lpNumberOfBytesRead
1610 LPVOID lpBaseAddress
,
1613 LPDWORD lpNumberOfBytesWritten
1629 CONST CONTEXT
*lpContext
1657 LPDEBUG_EVENT lpDebugEvent
,
1658 DWORD dwMilliseconds
1667 DWORD dwContinueStatus
1680 InitializeCriticalSection(
1681 LPCRITICAL_SECTION lpCriticalSection
1687 EnterCriticalSection(
1688 LPCRITICAL_SECTION lpCriticalSection
1694 LeaveCriticalSection(
1695 LPCRITICAL_SECTION lpCriticalSection
1701 DeleteCriticalSection(
1702 LPCRITICAL_SECTION lpCriticalSection
1732 LPLONG lpPreviousCount
1745 WaitForSingleObject(
1747 DWORD dwMilliseconds
1753 WaitForMultipleObjects(
1755 CONST HANDLE
*lpHandles
,
1757 DWORD dwMilliseconds
1764 DWORD dwMilliseconds
1824 DWORD dwFileOffsetLow
,
1825 DWORD dwFileOffsetHigh
,
1826 DWORD nNumberOfBytesToLockLow
,
1827 DWORD nNumberOfBytesToLockHigh
1835 DWORD dwFileOffsetLow
,
1836 DWORD dwFileOffsetHigh
,
1837 DWORD nNumberOfBytesToUnlockLow
,
1838 DWORD nNumberOfBytesToUnlockHigh
1848 DWORD nNumberOfBytesToLockLow
,
1849 DWORD nNumberOfBytesToLockHigh
,
1850 LPOVERLAPPED lpOverlapped
1858 DWORD nNumberOfBytesToUnlockLow
,
1859 DWORD nNumberOfBytesToUnlockHigh
,
1860 LPOVERLAPPED lpOverlapped
1865 GetFileInformationByHandle(
1867 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1882 LPDWORD lpFileSizeHigh
1906 DWORD nNumberOfBytesToWrite
,
1907 LPDWORD lpNumberOfBytesWritten
,
1908 LPOVERLAPPED lpOverlapped
1917 DWORD nNumberOfBytesToRead
,
1918 LPDWORD lpNumberOfBytesRead
,
1919 LPOVERLAPPED lpOverlapped
1934 DWORD dwIoControlCode
,
1936 DWORD nInBufferSize
,
1938 DWORD nOutBufferSize
,
1939 LPDWORD lpBytesReturned
,
1940 LPOVERLAPPED lpOverlapped
1955 LONG lDistanceToMove
,
1956 PLONG lpDistanceToMoveHigh
,
1972 LPFILETIME lpCreationTime
,
1973 LPFILETIME lpLastAccessTime
,
1974 LPFILETIME lpLastWriteTime
1982 CONST FILETIME
*lpCreationTime
,
1983 CONST FILETIME
*lpLastAccessTime
,
1984 CONST FILETIME
*lpLastWriteTime
1998 HANDLE hSourceProcessHandle
,
1999 HANDLE hSourceHandle
,
2000 HANDLE hTargetProcessHandle
,
2001 LPHANDLE lpTargetHandle
,
2002 DWORD dwDesiredAccess
,
2003 WINBOOL bInheritHandle
,
2010 GetHandleInformation(
2018 SetHandleInformation(
2027 LPCSTR lpModuleName
,
2028 LPVOID lpParameterBlock
2094 LPCOMMPROP lpCommProp
2118 LPCOMMTIMEOUTS lpCommTimeouts
2166 LPCOMMTIMEOUTS lpCommTimeouts
2183 LPOVERLAPPED lpOverlapped
2192 DWORD dwPositionMethod
,
2204 DWORD dwPositionType
,
2205 LPDWORD lpdwPartition
,
2206 LPDWORD lpdwOffsetLow
,
2207 LPDWORD lpdwOffsetHigh
2221 ProcessIdToSessionId(
2237 CreateTapePartition(
2239 DWORD dwPartitionMethod
,
2249 DWORD dwTapemarkType
,
2250 DWORD dwTapemarkCount
,
2268 LPVOID lpTapeInformation
2276 LPVOID lpTapeInformation
2425 LPSYSTEMTIME lpSystemTime
2430 GetSystemTimeAsFileTime (
2431 LPFILETIME lpSystemTimeAsFileTime
2437 CONST SYSTEMTIME
*lpSystemTime
2444 LPSYSTEMTIME lpSystemTime
2451 CONST SYSTEMTIME
*lpSystemTime
2458 LPSYSTEM_INFO lpSystemInfo
2463 SystemTimeToTzSpecificLocalTime(
2464 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2465 LPSYSTEMTIME lpUniversalTime
,
2466 LPSYSTEMTIME lpLocalTime
2472 GetTimeZoneInformation(
2473 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2479 SetTimeZoneInformation(
2480 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2485 SystemTimeToFileTime(
2486 CONST SYSTEMTIME
*lpSystemTime
,
2487 LPFILETIME lpFileTime
2493 FileTimeToLocalFileTime(
2494 CONST FILETIME
*lpFileTime
,
2495 LPFILETIME lpLocalFileTime
2501 LocalFileTimeToFileTime(
2502 CONST FILETIME
*lpLocalFileTime
,
2503 LPFILETIME lpFileTime
2509 FileTimeToSystemTime(
2510 CONST FILETIME
*lpFileTime
,
2511 LPSYSTEMTIME lpSystemTime
2518 CONST FILETIME
*lpFileTime1
,
2519 CONST FILETIME
*lpFileTime2
2525 FileTimeToDosDateTime(
2526 CONST FILETIME
*lpFileTime
,
2534 DosDateTimeToFileTime(
2537 LPFILETIME lpFileTime
2550 SetSystemTimeAdjustment(
2551 DWORD dwTimeAdjustment
,
2552 WINBOOL bTimeAdjustmentDisabled
2558 GetSystemTimeAdjustment(
2559 PDWORD lpTimeAdjustment
,
2560 PDWORD lpTimeIncrement
,
2561 PWINBOOL lpTimeAdjustmentDisabled
2570 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2579 LPOVERLAPPED lpOverlapped
2585 DisconnectNamedPipe(
2592 SetNamedPipeHandleState(
2595 LPDWORD lpMaxCollectionCount
,
2596 LPDWORD lpCollectDataTimeout
2605 LPDWORD lpOutBufferSize
,
2606 LPDWORD lpInBufferSize
,
2607 LPDWORD lpMaxInstances
2617 LPDWORD lpBytesRead
,
2618 LPDWORD lpTotalBytesAvail
,
2619 LPDWORD lpBytesLeftThisMessage
2628 DWORD nInBufferSize
,
2630 DWORD nOutBufferSize
,
2631 LPDWORD lpBytesRead
,
2632 LPOVERLAPPED lpOverlapped
2641 LPDWORD lpMaxMessageSize
,
2643 LPDWORD lpMessageCount
,
2644 LPDWORD lpReadTimeout
2659 HANDLE hFileMappingObject
,
2660 DWORD dwDesiredAccess
,
2661 DWORD dwFileOffsetHigh
,
2662 DWORD dwFileOffsetLow
,
2663 DWORD dwNumberOfBytesToMap
2670 LPCVOID lpBaseAddress
,
2671 DWORD dwNumberOfBytesToFlush
2678 LPVOID lpBaseAddress
2685 LPOFSTRUCT lpReOpenBuff
,
2761 CONST LPVOID lpBuffer
,
2794 typedef VOID
WINAPI (*PFLS_CALLBACK_FUNCTION
)(PVOID lpFlsData
);
2796 DWORD WINAPI
FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback
);
2798 BOOL WINAPI
FlsFree(DWORD dwFlsIndex
);
2800 PVOID WINAPI
FlsGetValue(DWORD dwFlsIndex
);
2802 BOOL WINAPI
FlsSetValue(DWORD dwFlsIndex
, PVOID lpFlsData
);
2807 DWORD dwMilliseconds
,
2814 WaitForSingleObjectEx(
2816 DWORD dwMilliseconds
,
2823 WaitForMultipleObjectsEx(
2825 CONST HANDLE
*lpHandles
,
2827 DWORD dwMilliseconds
,
2837 DWORD nNumberOfBytesToRead
,
2838 LPOVERLAPPED lpOverlapped
,
2839 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2848 DWORD nNumberOfBytesToWrite
,
2849 LPOVERLAPPED lpOverlapped
,
2850 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2859 DWORD nNumberOfBytesToRead
,
2860 LPDWORD lpNumberOfBytesRead
,
2862 WINBOOL bProcessSecurity
,
2871 DWORD dwLowBytesToSeek
,
2872 DWORD dwHighBytesToSeek
,
2873 LPDWORD lpdwLowByteSeeked
,
2874 LPDWORD lpdwHighByteSeeked
,
2884 DWORD nNumberOfBytesToWrite
,
2885 LPDWORD lpNumberOfBytesWritten
,
2887 WINBOOL bProcessSecurity
,
2893 SetProcessShutdownParameters(
2901 GetProcessShutdownParameters(
2909 SetFileApisToOEM( VOID
);
2914 SetFileApisToANSI( VOID
);
2919 AreFileApisANSI( VOID
);
2930 DeregisterEventSource (
2937 NotifyChangeEventLog (
2945 GetNumberOfEventLogRecords (
2947 PDWORD NumberOfRecords
2953 GetOldestEventLogRecord (
2961 HANDLE ExistingTokenHandle
,
2962 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2963 PHANDLE DuplicateTokenHandle
2969 GetKernelObjectSecurity (
2971 SECURITY_INFORMATION RequestedInformation
,
2972 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2974 LPDWORD lpnLengthNeeded
2980 ImpersonateNamedPipeClient(
2987 ImpersonateLoggedOnUser(
2995 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
3018 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3020 DWORD DesiredAccess
,
3021 PGENERIC_MAPPING GenericMapping
,
3022 PPRIVILEGE_SET PrivilegeSet
,
3023 LPDWORD PrivilegeSetLength
,
3024 LPDWORD GrantedAccess
,
3033 HANDLE ProcessHandle
,
3034 DWORD DesiredAccess
,
3043 HANDLE ThreadHandle
,
3044 DWORD DesiredAccess
,
3053 GetTokenInformation (
3055 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3056 LPVOID TokenInformation
,
3057 DWORD TokenInformationLength
,
3065 SetTokenInformation (
3067 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3068 LPVOID TokenInformation
,
3069 DWORD TokenInformationLength
3076 AdjustTokenPrivileges (
3078 WINBOOL DisableAllPrivileges
,
3079 PTOKEN_PRIVILEGES NewState
,
3081 PTOKEN_PRIVILEGES PreviousState
,
3091 WINBOOL ResetToDefault
,
3092 PTOKEN_GROUPS NewState
,
3094 PTOKEN_GROUPS PreviousState
,
3104 PPRIVILEGE_SET RequiredPrivileges
,
3138 GetSidLengthRequired (
3139 UCHAR nSubAuthorityCount
3146 AllocateAndInitializeSid (
3147 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3148 BYTE nSubAuthorityCount
,
3149 DWORD nSubAuthority0
,
3150 DWORD nSubAuthority1
,
3151 DWORD nSubAuthority2
,
3152 DWORD nSubAuthority3
,
3153 DWORD nSubAuthority4
,
3154 DWORD nSubAuthority5
,
3155 DWORD nSubAuthority6
,
3156 DWORD nSubAuthority7
,
3172 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3173 BYTE nSubAuthorityCount
3178 PSID_IDENTIFIER_AUTHORITY
3180 GetSidIdentifierAuthority (
3188 GetSidSubAuthority (
3197 GetSidSubAuthorityCount (
3214 DWORD nDestinationSidLength
,
3215 PSID pDestinationSid
,
3223 AreAllAccessesGranted (
3224 DWORD GrantedAccess
,
3232 AreAnyAccessesGranted (
3233 DWORD GrantedAccess
,
3243 PGENERIC_MAPPING GenericMapping
3270 LPVOID pAclInformation
,
3271 DWORD nAclInformationLength
,
3272 ACL_INFORMATION_CLASS dwAclInformationClass
3281 LPVOID pAclInformation
,
3282 DWORD nAclInformationLength
,
3283 ACL_INFORMATION_CLASS dwAclInformationClass
3292 DWORD dwAceRevision
,
3293 DWORD dwStartingAceIndex
,
3295 DWORD nAceListLength
3321 AddAccessAllowedAce (
3323 DWORD dwAceRevision
,
3332 AddAccessDeniedAce (
3334 DWORD dwAceRevision
,
3345 DWORD dwAceRevision
,
3348 WINBOOL bAuditSuccess
,
3349 WINBOOL bAuditFailure
3365 InitializeSecurityDescriptor (
3366 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3374 IsValidSecurityDescriptor (
3375 PSECURITY_DESCRIPTOR pSecurityDescriptor
3382 GetSecurityDescriptorLength (
3383 PSECURITY_DESCRIPTOR pSecurityDescriptor
3390 GetSecurityDescriptorControl (
3391 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3392 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3393 LPDWORD lpdwRevision
3400 SetSecurityDescriptorDacl (
3401 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3402 WINBOOL bDaclPresent
,
3404 WINBOOL bDaclDefaulted
3411 GetSecurityDescriptorDacl (
3412 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3413 LPBOOL lpbDaclPresent
,
3415 LPBOOL lpbDaclDefaulted
3422 SetSecurityDescriptorSacl (
3423 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3424 WINBOOL bSaclPresent
,
3426 WINBOOL bSaclDefaulted
3433 GetSecurityDescriptorSacl (
3434 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3435 LPBOOL lpbSaclPresent
,
3437 LPBOOL lpbSaclDefaulted
3444 SetSecurityDescriptorOwner (
3445 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3447 WINBOOL bOwnerDefaulted
3454 GetSecurityDescriptorOwner (
3455 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3457 LPBOOL lpbOwnerDefaulted
3464 SetSecurityDescriptorGroup (
3465 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3467 WINBOOL bGroupDefaulted
3474 GetSecurityDescriptorGroup (
3475 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3477 LPBOOL lpbGroupDefaulted
3484 CreatePrivateObjectSecurity (
3485 PSECURITY_DESCRIPTOR ParentDescriptor
,
3486 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3487 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3488 WINBOOL IsDirectoryObject
,
3490 PGENERIC_MAPPING GenericMapping
3497 SetPrivateObjectSecurity (
3498 SECURITY_INFORMATION SecurityInformation
,
3499 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3500 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3501 PGENERIC_MAPPING GenericMapping
,
3509 GetPrivateObjectSecurity (
3510 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3511 SECURITY_INFORMATION SecurityInformation
,
3512 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3513 DWORD DescriptorLength
,
3521 DestroyPrivateObjectSecurity (
3522 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3529 MakeSelfRelativeSD (
3530 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3531 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3532 LPDWORD lpdwBufferLength
3540 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3541 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3542 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3544 LPDWORD lpdwDaclSize
,
3546 LPDWORD lpdwSaclSize
,
3548 LPDWORD lpdwOwnerSize
,
3550 LPDWORD lpdwPrimaryGroupSize
3557 SetKernelObjectSecurity (
3559 SECURITY_INFORMATION SecurityInformation
,
3560 PSECURITY_DESCRIPTOR SecurityDescriptor
3566 FindNextChangeNotification(
3567 HANDLE hChangeHandle
3573 FindCloseChangeNotification(
3574 HANDLE hChangeHandle
3597 HANDLE hFileMappingObject
,
3598 DWORD dwDesiredAccess
,
3599 DWORD dwFileOffsetHigh
,
3600 DWORD dwFileOffsetLow
,
3601 DWORD dwNumberOfBytesToMap
,
3602 LPVOID lpBaseAddress
3610 DWORD dwPriorityClass
3661 AllocateLocallyUniqueId(
3668 QueryPerformanceCounter(
3669 LARGE_INTEGER
*lpPerformanceCount
3675 QueryPerformanceFrequency(
3676 LARGE_INTEGER
*lpFrequency
3702 /* The memory functions don't seem to be defined in the libraries, so
3703 define macro versions as well. */
3704 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3705 #define FillMemory(p, c, v) memset ((p), (v), (c))
3706 #define ZeroMemory(p, c) memset ((p), 0, (c))
3711 ActivateKeyboardLayout(
3717 ActivateKeyboardLayout(
3737 UnloadKeyboardLayout(
3743 GetKeyboardLayoutList(
3760 DWORD dwDesiredAccess
);
3766 ENUMWINDOWSPROC lpfn
,
3802 SetProcessWindowStation(
3808 GetProcessWindowStation(
3814 SetUserObjectSecurity(
3816 PSECURITY_INFORMATION pSIRequested
,
3817 PSECURITY_DESCRIPTOR pSID
);
3822 GetUserObjectSecurity(
3824 PSECURITY_INFORMATION pSIRequested
,
3825 PSECURITY_DESCRIPTOR pSID
,
3827 LPDWORD lpnLengthNeeded
);
3883 GetMessageExtraInfo(
3889 SetMessageExtraInfo(
3895 BroadcastSystemMessage(
3926 DWORD dwMilliseconds
);
4032 HWND hWndInsertAfter
,
4044 WINDOWPLACEMENT
*lpwndpl
);
4051 CONST WINDOWPLACEMENT
*lpwndpl
);
4056 BeginDeferWindowPos(
4065 HWND hWndInsertAfter
,
4137 WINBOOL
*lpTranslated
,
4155 int nIDCheckButton
);
4167 GetNextDlgGroupItem(
4189 GetDialogBaseUnits(VOID
);
4212 HWND hWndNewViewer
);
4223 ChangeClipboardChain(
4244 CountClipboardFormats(
4250 EnumClipboardFormats(
4262 IsClipboardFormatAvailable(
4268 GetPriorityClipboardFormat(
4269 UINT
*paFormatPriorityList
,
4275 GetOpenClipboardWindow(
4279 /* Despite the A these are ASCII functions! */
4284 LPCSTR lpCurrentChar
,
4293 LPCSTR lpCurrentChar
,
4439 MsgWaitForMultipleObjects(
4443 DWORD dwMilliseconds
,
4453 TIMERPROC lpTimerFunc
);
4458 SetWaitableTimer(HANDLE hTimer
,
4459 const LARGE_INTEGER
*pDueTime
,
4461 PTIMERAPCROUTINE pfnCompletionRoutine
,
4462 LPVOID lpArgToCompletionRoutine
,
4494 DestroyAcceleratorTable(
4619 HBITMAP hBitmapUnchecked
,
4620 HBITMAP hBitmapChecked
);
4625 GetMenuCheckMarkDimensions(
4638 CONST RECT
*prcRect
);
4656 GetMenuItemRect(HWND hWnd
,
4663 MenuItemFromPoint(HWND hWnd
,
4670 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4675 DragDetect(HWND hwnd
,
4701 GetForegroundWindow(
4706 PaintDesktop(HDC hdc
);
4711 SetForegroundWindow(
4752 LPPAINTSTRUCT lpPaint
);
4759 CONST PAINTSTRUCT
*lpPaint
);
4812 CONST RECT
*lpRect
);
4834 CONST RECT
*lprcUpdate
,
4852 CONST RECT
*lpClipRect
);
4861 CONST RECT
*lprcScroll
,
4862 CONST RECT
*lprcClip
,
4873 CONST RECT
*prcScroll
,
4874 CONST RECT
*prcClip
,
4933 PSCROLLBARINFO psbi
);
4964 SetWindowContextHelpId(
4966 DWORD dwContextHelpId
);
4970 GetWindowContextHelpId(
4975 SetMenuContextHelpId(
4977 DWORD dwContextHelpId
);
4981 GetMenuContextHelpId(
5016 CONST RECT
*lpRect
);
5114 ChildWindowFromPoint(
5135 CONST INT
* lpaElements
,
5136 CONST COLORREF
* lpaRgbValues
);
5189 CONST RECT
*lprcSrc
);
5204 CONST RECT
*lprcSrc1
,
5205 CONST RECT
*lprcSrc2
);
5212 CONST RECT
*lprcSrc1
,
5213 CONST RECT
*lprcSrc2
);
5220 CONST RECT
*lprcSrc1
,
5221 CONST RECT
*lprcSrc2
);
5297 HWND hWndNewParent
);
5304 ENUMWINDOWSPROC lpEnumFunc
,
5311 ENUMWINDOWSPROC lpEnumFunc
,
5319 ENUMWINDOWSPROC lpfn
,
5330 GetWindowThreadProcessId(
5332 LPDWORD lpdwProcessId
);
5351 HOOKPROC pfnFilterProc
);
5355 UnhookWindowsHookEx(
5370 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5380 CONST VOID
*pvANDPlane
,
5381 CONST VOID
*pvXORPlane
);
5400 HINSTANCE hInstance
,
5405 CONST BYTE
*lpbANDbits
,
5406 CONST BYTE
*lpbXORbits
);
5417 LookupIconIdFromDirectory(
5424 LookupIconIdFromDirectoryEx(
5434 CreateIconFromResource(
5443 CreateIconFromResourceEx(
5466 PICONINFO piconinfo
);
5479 PICONINFO piconinfo
);
5490 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5494 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5498 TranslateMDISysAccel(
5505 ArrangeIconicWindows(
5510 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5514 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5533 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5537 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5549 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5553 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5557 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5561 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5562 HICON hIcon
, int cxWidth
, int cyWidth
,
5563 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5567 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5571 Arc(HDC
, int, int, int, int, int, int, int, int);
5575 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5583 Chord(HDC
, int, int, int, int, int, int, int, int);
5591 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5595 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5599 CreateBitmapIndirect(CONST BITMAP
*);
5603 CreateBrushIndirect(CONST LOGBRUSH
*);
5607 CreateCompatibleBitmap(HDC
, int, int);
5611 CreateDiscardableBitmap(HDC
, int, int);
5615 CreateCompatibleDC(HDC
);
5619 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5623 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5627 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5631 CreateEllipticRgn(int, int, int, int);
5635 CreateEllipticRgnIndirect(CONST RECT
*);
5639 CreateHatchBrush(int, COLORREF
);
5643 CreatePalette(CONST LOGPALETTE
*);
5647 CreatePen(int, int, COLORREF
);
5651 CreatePenIndirect(CONST LOGPEN
*);
5655 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5659 CreatePatternBrush(HBITMAP
);
5663 CreateRectRgn(int, int, int, int);
5667 CreateRectRgnIndirect(CONST RECT
*);
5671 CreateRoundRectRgn(int, int, int, int, int, int);
5675 CreateSolidBrush(COLORREF
);
5683 DeleteMetaFile(HMETAFILE
);
5687 DeleteObject(HGDIOBJ
);
5691 DrawEscape(HDC
, int, int, LPCSTR
);
5695 Ellipse(HDC
, int, int, int, int);
5699 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5703 EqualRgn(HRGN
, HRGN
);
5707 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5711 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5715 ExcludeClipRect(HDC
, int, int, int, int);
5719 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5723 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5727 FillRgn(HDC
, HRGN
, HBRUSH
);
5731 FloodFill(HDC
, int, int, COLORREF
);
5735 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5739 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5743 GdiProcessSetup (VOID
);
5751 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5763 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5767 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5771 GetBoundsRect(HDC
, LPRECT
, UINT
);
5775 GetBrushOrgEx(HDC
, LPPOINT
);
5779 GetClipBox(HDC
, LPRECT
);
5783 GetClipRgn(HDC
, HRGN
);
5787 GetMetaRgn(HDC
, HRGN
);
5791 GetCurrentObject(HDC
, UINT
);
5795 GetCurrentPositionEx(HDC
, LPPOINT
);
5799 GetDeviceCaps(HDC
, int);
5803 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5807 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5811 GetGraphicsMode(HDC
);
5819 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5823 GetNearestColor(HDC
, COLORREF
);
5827 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5831 GetObjectType(HGDIOBJ h
);
5835 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5839 GetPixel(HDC
, int, int);
5843 GetPixelFormat(HDC
);
5847 GetPolyFillMode(HDC
);
5851 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5855 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5859 GetRgnBox(HRGN
, LPRECT
);
5863 GetStockObject(int);
5867 GetStretchBltMode(HDC
);
5871 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5875 GetSystemPaletteUse(HDC
);
5879 GetTextCharacterExtra(HDC
);
5891 GetTextCharset(HDC hdc
);
5895 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5899 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5903 GetFontLanguageInfo( HDC
);
5907 GetViewportExtEx(HDC
, LPSIZE
);
5911 GetViewportOrgEx(HDC
, LPPOINT
);
5915 GetWindowExtEx(HDC
, LPSIZE
);
5919 GetWindowOrgEx(HDC
, LPPOINT
);
5923 IntersectClipRect(HDC
, int, int, int, int);
5927 InvertRgn(HDC
, HRGN
);
5931 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5935 LineTo(HDC
, int, int);
5939 MaskBlt(HDC
, int, int, int, int,
5940 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5944 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5945 int, HBITMAP
, int, int);
5949 OffsetClipRgn(HDC
, int, int);
5953 OffsetRgn(HRGN
, int, int);
5957 PatBlt(HDC
, int, int, int, int, DWORD
);
5961 Pie(HDC
, int, int, int, int, int, int, int, int);
5965 PlayMetaFile(HDC
, HMETAFILE
);
5969 PaintRgn(HDC
, HRGN
);
5973 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5977 PtInRegion(HRGN
, int, int);
5981 PtVisible(HDC
, int, int);
5985 RectInRegion(HRGN
, CONST RECT
*);
5989 RectVisible(HDC
, CONST RECT
*);
5993 Rectangle(HDC
, int, int, int, int);
5997 RestoreDC(HDC
, int);
6001 RealizePalette(HDC
);
6005 RoundRect(HDC
, int, int, int, int, int, int);
6009 ResizePalette(HPALETTE
, UINT
);
6017 SelectClipRgn(HDC
, HRGN
);
6021 ExtSelectClipRgn(HDC
, HRGN
, int);
6029 SelectObject(HDC
, HGDIOBJ
);
6033 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
6037 SetBkColor(HDC
, COLORREF
);
6041 SetBkMode(HDC
, int);
6045 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
6049 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
6053 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6057 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
6058 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6062 SetMapperFlags(HDC
, DWORD
);
6066 SetGraphicsMode(HDC hdc
, int iMode
);
6070 SetMapMode(HDC
, int);
6074 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6078 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6082 SetPixel(HDC
, int, int, COLORREF
);
6086 SetPixelV(HDC
, int, int, COLORREF
);
6090 SetPolyFillMode(HDC
, int);
6094 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6098 SetRectRgn(HRGN
, int, int, int, int);
6101 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6102 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6110 SetStretchBltMode(HDC
, int);
6114 SetSystemPaletteUse(HDC
, UINT
);
6118 SetTextCharacterExtra(HDC
, int);
6122 SetTextColor(HDC
, COLORREF
);
6126 SetTextAlign(HDC
, UINT
);
6130 SetTextJustification(HDC
, int, int);
6138 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6142 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6146 CloseEnhMetaFile(HDC
);
6150 DeleteEnhMetaFile(HENHMETAFILE
);
6154 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6155 LPVOID
, CONST RECT
*);
6159 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6163 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6167 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6171 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6175 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6179 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6184 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6189 GdiComment(HDC
, UINT
, CONST BYTE
*);
6193 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6197 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6201 GetWorldTransform(HDC
, LPXFORM
);
6205 SetWorldTransform(HDC
, CONST XFORM
*);
6209 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6213 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6217 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
6221 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6225 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6229 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6233 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6237 CreateHalftonePalette(HDC
);
6257 SetAbortProc(HDC
, ABORTPROC
);
6265 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6289 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6297 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6301 SelectClipPath(HDC
, int);
6305 SetArcDirection(HDC
, int);
6309 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6313 StrokeAndFillPath(HDC
);
6325 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6329 GetMiterLimit(HDC
, PFLOAT
);
6333 GetArcDirection(HDC
);
6337 MoveToEx(HDC
, int, int, LPPOINT
);
6341 CreatePolygonRgn(CONST POINT
*, int, int);
6345 DPtoLP(HDC
, LPPOINT
, int);
6349 LPtoDP(HDC
, LPPOINT
, int);
6353 Polygon(HDC
, CONST POINT
*, int);
6357 Polyline(HDC
, CONST POINT
*, int);
6361 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6365 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6369 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6373 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6377 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6381 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6385 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6389 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6393 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6397 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6401 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6405 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6409 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6413 GetDCOrgEx(HDC
,LPPOINT
);
6417 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6421 UnrealizeObject(HGDIOBJ
);
6429 GdiSetBatchLimit(DWORD
);
6433 GdiGetBatchLimit(void);
6437 SetICMMode(HDC
, int);
6441 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6449 SetColorSpace(HDC
,HCOLORSPACE
);
6453 DeleteColorSpace(HCOLORSPACE
);
6457 GetDeviceGammaRamp(HDC
,LPVOID
);
6461 SetDeviceGammaRamp(HDC
,LPVOID
);
6465 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6469 CreatePropertySheetPageA(LPCPROPSHEETPAGEA lppsp
);
6473 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6477 InitCommonControls(void);
6479 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6483 ImageList_Create(int cx
, int cy
, UINT flags
,
6484 int cInitial
, int cGrow
);
6488 ImageList_Destroy(HIMAGELIST himl
);
6492 ImageList_GetImageCount(HIMAGELIST himl
);
6496 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6501 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6505 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6509 ImageList_GetBkColor(HIMAGELIST himl
);
6513 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6518 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6522 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6526 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6530 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6534 ImageList_Remove(HIMAGELIST himl
, int i
);
6538 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6542 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6546 ImageList_EndDrag(void);
6550 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6554 ImageList_DragLeave(HWND hwndLock
);
6558 ImageList_DragMove(int x
, int y
);
6562 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6566 ImageList_DragShowNolock(WINBOOL fShow
);
6570 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6574 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6578 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6582 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6586 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6590 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6591 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6592 int iNumButtons
, int dxButton
, int dyButton
,
6593 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6597 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6598 UINT wFlags
, LPCOLORMAP lpColorMap
,
6604 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6608 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6612 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6616 MakeDragList(HWND hLB
);
6620 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6624 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6628 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6629 HWND hParent
, int nID
, HINSTANCE hInst
,
6631 int nUpper
, int nLower
, int nPos
);
6635 CommDlgExtendedError(VOID
);
6637 /* Animation controls */
6639 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6641 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6643 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6645 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6647 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6649 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6651 /* Property sheet macros */
6653 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6655 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6657 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6659 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6661 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6663 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6665 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6667 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6669 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6671 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6673 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6675 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6677 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6679 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6681 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6683 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6685 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6687 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6689 /* Header control */
6690 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6692 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6694 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6696 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6698 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6700 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6703 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6705 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6707 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6709 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6711 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6713 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6715 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6717 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6719 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6721 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6723 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6725 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6727 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6729 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6731 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6733 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6735 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6737 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6739 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6741 #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))
6743 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6745 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6747 #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);}
6749 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6751 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6753 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6755 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6757 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6759 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6761 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6763 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6765 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6767 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6769 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6771 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6773 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6775 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6777 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6779 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6781 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6784 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6786 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6788 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6790 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6792 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6794 #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);}
6796 #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);}
6798 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6800 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6802 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6804 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6807 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6809 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6811 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6813 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6815 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6817 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6819 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6821 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6823 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6825 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6827 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6829 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6831 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6833 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6835 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6837 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6839 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6841 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6843 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6845 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6847 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6849 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6852 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6854 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6856 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6858 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6860 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6862 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6864 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6866 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6868 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6870 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6872 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6874 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6876 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6878 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6880 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6884 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6886 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6888 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6890 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6892 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6894 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6896 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6898 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6900 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6902 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6904 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6906 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6908 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6910 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6912 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6914 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6916 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6918 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6920 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6922 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6924 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6926 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6928 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6930 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6932 #ifndef _DISABLE_TIDENTS
6934 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6936 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6937 #endif /* !UNICODE */
6938 #endif /* _DISABLE_TIDENTS */
6940 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6942 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6944 #ifndef _DISABLE_TIDENTS
6946 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6948 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6949 #endif /* !UNICODE */
6950 #endif /* _DISABLE_TIDENTS */
6952 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6954 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6956 #ifndef _DISABLE_TIDENTS
6958 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6960 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6961 #endif /* !UNICODE */
6962 #endif /* _DISABLE_TIDENTS */
6964 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6966 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6968 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6970 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6982 SECURITY_INFORMATION SecurityInformation
,
6983 PSECURITY_DESCRIPTOR pSecurityDescriptor
6996 SECURITY_INFORMATION SecurityInformation
,
6997 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6998 LPDWORD lpcbSecurityDescriptor
7003 RegNotifyChangeKeyValue (
7005 WINBOOL bWatchSubtree
,
7006 DWORD dwNotifyFilter
,
7008 WINBOOL fAsynchronus
7029 GetCPInfo(UINT
, LPCPINFO
);
7047 MultiByteToWideChar(
7050 LPCSTR lpMultiByteStr
,
7052 LPWSTR lpWideCharStr
,
7058 WideCharToMultiByte(
7061 LPCWSTR lpWideCharStr
,
7063 LPSTR lpMultiByteStr
,
7065 LPCSTR lpDefaultChar
,
7066 LPBOOL lpUsedDefaultChar
);
7077 ConvertDefaultLocale(
7083 GetThreadLocale(void);
7095 GetSystemDefaultLangID(void);
7100 GetUserDefaultLangID(void);
7105 GetSystemDefaultLCID(void);
7110 GetUserDefaultLCID(void);
7115 ReadConsoleOutputAttribute(
7116 HANDLE hConsoleOutput
,
7120 LPDWORD lpNumberOfAttrsRead
7126 WriteConsoleOutputAttribute(
7127 HANDLE hConsoleOutput
,
7128 CONST WORD
*lpAttribute
,
7131 LPDWORD lpNumberOfAttrsWritten
7137 FillConsoleOutputAttribute(
7138 HANDLE hConsoleOutput
,
7142 LPDWORD lpNumberOfAttrsWritten
7149 HANDLE hConsoleHandle
,
7156 GetNumberOfConsoleInputEvents(
7157 HANDLE hConsoleInput
,
7158 LPDWORD lpNumberOfEvents
7164 GetConsoleScreenBufferInfo(
7165 HANDLE hConsoleOutput
,
7166 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7172 GetLargestConsoleWindowSize(
7173 HANDLE hConsoleOutput
7179 GetConsoleCursorInfo(
7180 HANDLE hConsoleOutput
,
7181 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7187 GetNumberOfConsoleMouseButtons(
7188 LPDWORD lpNumberOfMouseButtons
7195 HANDLE hConsoleHandle
,
7202 SetConsoleActiveScreenBuffer(
7203 HANDLE hConsoleOutput
7209 FlushConsoleInputBuffer(
7210 HANDLE hConsoleInput
7216 SetConsoleScreenBufferSize(
7217 HANDLE hConsoleOutput
,
7224 SetConsoleCursorPosition(
7225 HANDLE hConsoleOutput
,
7226 COORD dwCursorPosition
7232 SetConsoleCursorInfo(
7233 HANDLE hConsoleOutput
,
7234 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7239 SetConsoleWindowInfo(
7240 HANDLE hConsoleOutput
,
7242 CONST SMALL_RECT
*lpConsoleWindow
7248 SetConsoleTextAttribute(
7249 HANDLE hConsoleOutput
,
7256 SetConsoleCtrlHandler(
7257 PHANDLER_ROUTINE HandlerRoutine
,
7264 GenerateConsoleCtrlEvent(
7266 DWORD dwProcessGroupId
7272 AllocConsole( VOID
);
7277 FreeConsole( VOID
);
7283 CreateConsoleScreenBuffer(
7284 DWORD dwDesiredAccess
,
7286 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7288 LPVOID lpScreenBufferData
7294 GetConsoleCP( VOID
);
7306 GetConsoleOutputCP( VOID
);
7317 VerifyConsoleIoHandle(
7322 WNetConnectionDialog(
7328 WNetDisconnectDialog(
7350 LPSERVICE_STATUS lpServiceStatus
7361 LockServiceDatabase(
7362 SC_HANDLE hSCManager
7368 NotifyBootConfigStatus(
7369 WINBOOL BootAcceptable
7374 QueryServiceObjectSecurity(
7376 SECURITY_INFORMATION dwSecurityInformation
,
7377 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7379 LPDWORD pcbBytesNeeded
7387 LPSERVICE_STATUS lpServiceStatus
7392 SetServiceObjectSecurity(
7394 SECURITY_INFORMATION dwSecurityInformation
,
7395 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7402 SERVICE_STATUS_HANDLE hServiceStatus
,
7403 LPSERVICE_STATUS lpServiceStatus
7408 UnlockServiceDatabase(
7412 /* Extensions to OpenGL */
7415 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7418 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7421 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7422 CONST PIXELFORMATDESCRIPTOR
*);
7425 GetPixelFormat(HDC
);
7428 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7434 wglCreateContext(HDC
);
7437 wglCreateLayerContext(HDC
, int);
7440 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7443 wglDeleteContext(HGLRC
);
7446 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7449 wglGetCurrentContext(VOID
);
7452 wglGetCurrentDC(VOID
);
7455 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7458 wglGetProcAddress(LPCSTR
);
7461 wglMakeCurrent(HDC
, HGLRC
);
7464 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7467 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7470 wglShareLists(HGLRC
, HGLRC
);
7473 wglSwapLayerBuffers(HDC
, UINT
);
7476 Why are these different between ANSI and UNICODE?
7477 There doesn't seem to be any difference.
7480 #ifndef _DISABLE_TIDENTS
7482 #define wglUseFontBitmaps wglUseFontBitmapsW
7483 #define wglUseFontOutlines wglUseFontOutlinesW
7485 #define wglUseFontBitmaps wglUseFontBitmapsA
7486 #define wglUseFontOutlines wglUseFontOutlinesA
7487 #endif /* !UNICODE */
7488 #endif /* _DISABLE_TIDENTS */
7490 /* ------------------------------------- */
7491 /* From shellapi.h in old Cygnus headers */
7494 DragQueryPoint (HDROP
, LPPOINT
);
7500 DragAcceptFiles (HWND
, WINBOOL
);
7503 DuplicateIcon (HINSTANCE
, HICON
);
7505 /* end of stuff from shellapi.h in old Cygnus headers */
7506 /* -------------------------------------------------- */
7507 /* From ddeml.h in old Cygnus headers */
7509 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7510 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7511 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7512 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7513 UINT WINAPI
DdeGetLastError (DWORD
);
7514 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7515 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7516 HCONV WINAPI
DdeReconnect (HCONV
);
7517 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7518 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7519 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7522 /* end of stuff from ddeml.h in old Cygnus headers */
7523 /* ----------------------------------------------- */
7525 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7527 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7528 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7529 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7530 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7532 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7536 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7538 DWORD STDCALL
GetCurrentTime(VOID
);
7541 SHAddToRecentDocs (UINT
, LPCVOID
);
7544 SHBrowseForFolder (LPBROWSEINFO
);
7547 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7550 SHFileOperationA (LPSHFILEOPSTRUCTA
);
7553 SHFileOperationW (LPSHFILEOPSTRUCTW
);
7556 SHFreeNameMappings (HANDLE
);
7558 /* Define when SHELLFOLDER is defined.
7560 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7563 SHGetDesktopFolder (LPSHELLFOLDER);
7566 /* Define when IUnknown is defined.
7568 SHGetInstanceExplorer (IUnknown **);
7571 /* Define when MALLOC is defined.
7573 SHGetMalloc (LPMALLOC *);
7577 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7579 /* Define when REFCLSID is defined.
7581 SHLoadInProc (REFCLSID);
7586 typedef VOID (WINAPI
* PFIBER_START_ROUTINE
) (IN LPVOID lpFiberArgument
);
7587 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
;
7589 #define FIBER_FLAG_FLOAT_SWITCH (1)
7591 BOOL WINAPI
ConvertFiberToThread(void);
7593 LPVOID WINAPI
ConvertThreadToFiber(LPVOID lpParameter
);
7595 LPVOID WINAPI
ConvertThreadToFiberEx(LPVOID lpParameter
, DWORD dwFlags
);
7597 LPVOID WINAPI CreateFiber
7600 LPFIBER_START_ROUTINE lpStartAddress
,
7604 LPVOID WINAPI CreateFiberEx
7606 SIZE_T dwStackCommitSize
,
7607 SIZE_T dwStackReserveSize
,
7609 LPFIBER_START_ROUTINE lpStartAddress
,
7613 void WINAPI
DeleteFiber(LPVOID lpFiber
);
7615 void WINAPI
SwitchToFiber(LPVOID lpFiber
);
7617 #define GetFiberData() *(LPVOID *)(((PNT_TIB)NtCurrentTeb())->Fib.FiberData)
7620 RegisterServicesProcess(DWORD ServicesProcessId
);
7624 #endif /* __cplusplus */
7626 #endif /* WIN32_LEAN_AND_MEAN */
7628 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */