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 */
69 #define RegConnectRegistry RegConnectRegistryW
70 #define RegCreateKey RegCreateKeyW
71 #define RegCreateKeyEx RegCreateKeyExW
72 #define RegDeleteKey RegDeleteKeyW
73 #define RegDeleteValue RegDeleteValueW
74 #define RegEnumKey RegEnumKeyW
75 #define RegEnumKeyEx RegEnumKeyExW
76 #define RegEnumValue RegEnumValueW
77 #define RegLoadKey RegLoadKeyW
78 #define RegOpenKey RegOpenKeyW
79 #define RegOpenKeyEx RegOpenKeyExW
80 #define RegQueryInfoKey RegQueryInfoKeyW
81 #define RegQueryValue RegQueryValueW
82 #define RegQueryMultipleValues RegQueryMultipleValuesW
83 #define RegQueryValueEx RegQueryValueExW
84 #define RegReplaceKey RegReplaceKeyW
85 #define RegRestoreKey RegRestoreKeyW
86 #define RegSaveKey RegSaveKeyW
87 #define RegSetValue RegSetValueW
88 #define RegSetValueEx RegSetValueExW
89 #define AbortSystemShutdown AbortSystemShutdownW
90 #define InitiateSystemShutdown InitiateSystemShutdownW
91 #define RegUnLoadKey RegUnLoadKeyW
92 #define SetProp SetPropW
93 #define GetProp GetPropW
94 #define RemoveProp RemovePropW
95 #define EnumPropsEx EnumPropsExW
96 #define EnumProps EnumPropsW
97 #define SetWindowText SetWindowTextW
98 #define GetWindowText GetWindowTextW
99 #define GetWindowTextLength GetWindowTextLengthW
100 #define MessageBox MessageBoxW
101 #define MessageBoxEx MessageBoxExW
102 #define MessageBoxIndirect MessageBoxIndirectW
103 #define GetWindowLong GetWindowLongW
104 #define SetWindowLong SetWindowLongW
105 #define GetClassLong GetClassLongW
106 #define SetClassLong SetClassLongW
107 #define FindWindow FindWindowW
108 #define FindWindowEx FindWindowExW
109 #define GetClassName GetClassNameW
110 #define SetWindowsHookEx SetWindowsHookExW
111 #define LoadBitmap LoadBitmapW
112 #define LoadCursor LoadCursorW
113 #define LoadCursorFromFile LoadCursorFromFileW
114 #define LoadIcon LoadIconW
115 #define LoadImage LoadImageW
116 #define LoadString LoadStringW
117 #define IsDialogMessage IsDialogMessageW
118 #define DlgDirList DlgDirListW
119 #define DlgDirSelectEx DlgDirSelectExW
120 #define DlgDirListComboBox DlgDirListComboBoxW
121 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
122 #define DefFrameProc DefFrameProcW
123 #define DefMDIChildProc DefMDIChildProcW
124 #define CreateMDIWindow CreateMDIWindowW
125 #define WinHelp WinHelpW
126 #define ChangeDisplaySettings ChangeDisplaySettingsW
127 #define EnumDisplaySettings EnumDisplaySettingsW
128 #define SystemParametersInfo SystemParametersInfoW
129 #define AddFontResource AddFontResourceW
130 #define CopyMetaFile CopyMetaFileW
131 #define CreateDC CreateDCW
132 #define CreateFontIndirect CreateFontIndirectW
133 #define CreateFont CreateFontW
134 #define CreateIC CreateICW
135 #define CreateMetaFile CreateMetaFileW
136 #define CreateScalableFontResource CreateScalableFontResourceW
137 #define DeviceCapabilities DeviceCapabilitiesW
138 #define EnumFontFamiliesEx EnumFontFamiliesExW
139 #define EnumFontFamilies EnumFontFamiliesW
140 #define EnumFonts EnumFontsW
141 #define GetCharWidth GetCharWidthW
142 #define GetCharWidth32 GetCharWidth32W
143 #define GetCharWidthFloat GetCharWidthFloatW
144 #define GetCharABCWidths GetCharABCWidthsW
145 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
146 #define GetGlyphOutline GetGlyphOutlineW
147 #define GetMetaFile GetMetaFileW
148 #define GetOutlineTextMetrics GetOutlineTextMetricsW
149 #define GetTextExtentPoint GetTextExtentPointW
150 #define GetTextExtentPoint32 GetTextExtentPoint32W
151 #define GetTextExtentExPoint GetTextExtentExPointW
152 #define GetCharacterPlacement GetCharacterPlacementW
153 #define ResetDC ResetDCW
154 #define RemoveFontResource RemoveFontResourceW
155 #define CopyEnhMetaFile CopyEnhMetaFileW
156 #define CreateEnhMetaFile CreateEnhMetaFileW
157 #define GetEnhMetaFile GetEnhMetaFileW
158 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
159 #define GetTextMetrics GetTextMetricsW
160 #define StartDoc StartDocW
161 #define GetObject GetObjectW
162 #define TextOut TextOutW
163 #define ExtTextOut ExtTextOutW
164 #define PolyTextOut PolyTextOutW
165 #define GetTextFace GetTextFaceW
166 #define GetKerningPairs GetKerningPairsW
167 #define GetLogColorSpace GetLogColorSpaceW
168 #define CreateColorSpace CreateColorSpaceW
169 #define GetICMProfile GetICMProfileW
170 #define SetICMProfile SetICMProfileW
171 #define UpdateICMRegKey UpdateICMRegKeyW
172 #define EnumICMProfiles EnumICMProfilesW
173 #define CreatePropertySheetPage CreatePropertySheetPageW
174 #define PropertySheet PropertySheetW
175 #define ImageList_LoadImage ImageList_LoadImageW
176 #define CreateStatusWindow CreateStatusWindowW
177 #define DrawStatusText DrawStatusTextW
178 #define GetOpenFileName GetOpenFileNameW
179 #define GetSaveFileName GetSaveFileNameW
180 #define GetFileTitle GetFileTitleW
181 #define ChooseColor ChooseColorW
182 #define FindText FindTextW
183 #define ReplaceText ReplaceTextW
184 #define ChooseFont ChooseFontW
185 #define PrintDlg PrintDlgW
186 #define PageSetupDlg PageSetupDlgW
187 #define DefWindowProc DefWindowProcW
188 #define CallWindowProc CallWindowProcW
189 #define RegisterClass RegisterClassW
190 #define UnregisterClass UnregisterClassW
191 #define GetClassInfo GetClassInfoW
192 #define RegisterClassEx RegisterClassExW
193 #define GetClassInfoEx GetClassInfoExW
194 #define CreateWindowEx CreateWindowExW
195 #define CreateWindow CreateWindowW
196 #define CreateDialogParam CreateDialogParamW
197 #define CreateDialogIndirectParam CreateDialogIndirectParamW
198 #define CreateDialog CreateDialogW
199 #define CreateDialogIndirect CreateDialogIndirectW
200 #define DialogBoxParam DialogBoxParamW
201 #define DialogBoxIndirectParam DialogBoxIndirectParamW
202 #define DialogBox DialogBoxW
203 #define DialogBoxIndirect DialogBoxIndirectW
204 #define RegisterClipboardFormat RegisterClipboardFormatW
205 #define SetDlgItemText SetDlgItemTextW
206 #define GetDlgItemText GetDlgItemTextW
207 #define SendDlgItemMessage SendDlgItemMessageW
208 #define DefDlgProc DefDlgProcW
209 #define CallMsgFilter CallMsgFilterW
210 #define GetClipboardFormatName GetClipboardFormatNameW
211 #define CharToOem CharToOemW
212 #define OemToChar OemToCharW
213 #define CharToOemBuff CharToOemBuffW
214 #define OemToCharBuff OemToCharBuffW
215 #define CharUpper CharUpperW
216 #define CharUpperBuff CharUpperBuffW
217 #define CharLower CharLowerW
218 #define CharLowerBuff CharLowerBuffW
219 #define CharNext CharNextW
220 #define CharPrev CharPrevW
221 #define IsCharAlpha IsCharAlphaW
222 #define IsCharAlphaNumeric IsCharAlphaNumericW
223 #define IsCharUpper IsCharUpperW
224 #define IsCharLower IsCharLowerW
225 #define GetKeyNameText GetKeyNameTextW
226 #define VkKeyScan VkKeyScanW
227 #define VkKeyScanEx VkKeyScanExW
228 #define MapVirtualKey MapVirtualKeyW
229 #define MapVirtualKeyEx MapVirtualKeyExW
230 #define LoadAccelerators LoadAcceleratorsW
231 #define CreateAcceleratorTable CreateAcceleratorTableW
232 #define CopyAcceleratorTable CopyAcceleratorTableW
233 #define TranslateAccelerator TranslateAcceleratorW
234 #define LoadMenu LoadMenuW
235 #define LoadMenuIndirect LoadMenuIndirectW
236 #define ChangeMenu ChangeMenuW
237 #define GetMenuString GetMenuStringW
238 #define InsertMenu InsertMenuW
239 #define AppendMenu AppendMenuW
240 #define ModifyMenu ModifyMenuW
241 #define InsertMenuItem InsertMenuItemW
242 #define GetMenuItemInfo GetMenuItemInfoW
243 #define SetMenuItemInfo SetMenuItemInfoW
244 #define DrawText DrawTextW
245 #define DrawTextEx DrawTextExW
246 #define GrayString GrayStringW
247 #define DrawState DrawStateW
248 #define TabbedTextOut TabbedTextOutW
249 #define GetTabbedTextExtent GetTabbedTextExtentW
250 #define GetVersionEx GetVersionExW
251 #define wvsprintf wvsprintfW
252 #define wsprintf wsprintfW
253 #define LoadKeyboardLayout LoadKeyboardLayoutW
254 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
255 #define CreateDesktop CreateDesktopW
256 #define OpenDesktop OpenDesktopW
257 #define EnumDesktops EnumDesktopsW
258 #define CreateWindowStation CreateWindowStationW
259 #define OpenWindowStation OpenWindowStationW
260 #define EnumWindowStations EnumWindowStationsW
261 #define IsBadStringPtr IsBadStringPtrW
262 #define LookupAccountSid LookupAccountSidW
263 #define LookupAccountName LookupAccountNameW
264 #define LookupPrivilegeValue LookupPrivilegeValueW
265 #define LookupPrivilegeName LookupPrivilegeNameW
266 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
267 #define BuildCommDCB BuildCommDCBW
268 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
269 #define CommConfigDialog CommConfigDialogW
270 #define GetDefaultCommConfig GetDefaultCommConfigW
271 #define SetDefaultCommConfig SetDefaultCommConfigW
272 #define GetComputerName GetComputerNameW
273 #define SetComputerName SetComputerNameW
274 #define GetUserName GetUserNameW
275 #define CreateMailslot CreateMailslotW
276 #define FormatMessage FormatMessageW
277 #define GetEnvironmentStrings GetEnvironmentStringsW
278 #define FreeEnvironmentStrings FreeEnvironmentStringsW
279 #define lstrcmp lstrcmpW
280 #define lstrcmpi lstrcmpiW
281 #define lstrcpyn lstrcpynW
282 #define lstrcpy lstrcpyW
283 #define lstrcat lstrcatW
284 #define lstrlen lstrlenW
285 #define GetBinaryType GetBinaryTypeW
286 #define GetShortPathName GetShortPathNameW
287 #define SetFileSecurity SetFileSecurityW
288 #define GetFileSecurity GetFileSecurityW
289 #define FindFirstChangeNotification FindFirstChangeNotificationW
290 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
291 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
292 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
293 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
294 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
295 #define OpenEventLog OpenEventLogW
296 #define RegisterEventSource RegisterEventSourceW
297 #define OpenBackupEventLog OpenBackupEventLogW
298 #define ReadEventLog ReadEventLogW
299 #define ReportEvent ReportEventW
300 #define CreateProcess CreateProcessW
301 #define FatalAppExit FatalAppExitW
302 #define GetStartupInfo GetStartupInfoW
303 #define GetEnvironmentVariable GetEnvironmentVariableW
304 #define GetCommandLine GetCommandLineW
305 #define SetEnvironmentVariable SetEnvironmentVariableW
306 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
307 #define OutputDebugString OutputDebugStringW
308 #define FindResource FindResourceW
309 #define FindResourceEx FindResourceExW
310 #define EnumResourceTypes EnumResourceTypesW
311 #define EnumResourceNames EnumResourceNamesW
312 #define EnumResourceLanguages EnumResourceLanguagesW
313 #define BeginUpdateResource BeginUpdateResourceW
314 #define UpdateResource UpdateResourceW
315 #define EndUpdateResource EndUpdateResourceW
316 #define GlobalAddAtom GlobalAddAtomW
317 #define GlobalFindAtom GlobalFindAtomW
318 #define GlobalGetAtomName GlobalGetAtomNameW
319 #define AddAtom AddAtomW
320 #define FindAtom FindAtomW
321 #define GetAtomName GetAtomNameW
322 #define GetProfileInt GetProfileIntW
323 #define GetProfileString GetProfileStringW
324 #define WriteProfileString WriteProfileStringW
325 #define GetProfileSection GetProfileSectionW
326 #define WriteProfileSection WriteProfileSectionW
327 #define GetPrivateProfileInt GetPrivateProfileIntW
328 #define GetPrivateProfileString GetPrivateProfileStringW
329 #define WritePrivateProfileString WritePrivateProfileStringW
330 #define GetPrivateProfileSection GetPrivateProfileSectionW
331 #define WritePrivateProfileSection WritePrivateProfileSectionW
332 #define GetDriveType GetDriveTypeW
333 #define GetSystemDirectory GetSystemDirectoryW
334 #define GetTempPath GetTempPathW
335 #define GetTempFileName GetTempFileNameW
336 #define GetWindowsDirectory GetWindowsDirectoryW
337 #define SetCurrentDirectory SetCurrentDirectoryW
338 #define GetCurrentDirectory GetCurrentDirectoryW
339 #define GetDiskFreeSpace GetDiskFreeSpaceW
340 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
341 #define CreateDirectory CreateDirectoryW
342 #define CreateDirectoryEx CreateDirectoryExW
343 #define RemoveDirectory RemoveDirectoryW
344 #define GetFullPathName GetFullPathNameW
345 #define DefineDosDevice DefineDosDeviceW
346 #define QueryDosDevice QueryDosDeviceW
347 #define CreateFile CreateFileW
348 #define SetFileAttributes SetFileAttributesW
349 #define GetFileAttributes GetFileAttributesW
350 #define GetCompressedFileSize GetCompressedFileSizeW
351 #define DeleteFile DeleteFileW
352 #define FindFirstFileEx FindFirstFileExW
353 #define FindFirstFile FindFirstFileW
354 #define FindNextFile FindNextFileW
355 #define SearchPath SearchPathW
356 #define CopyFile CopyFileW
357 #define CopyFileEx CopyFileExW
358 #define MoveFile MoveFileW
359 #define MoveFileEx MoveFileExW
360 #define MoveFileWithProgress MoveFileWithProgressW
361 #define CreateNamedPipe CreateNamedPipeW
362 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
363 #define CallNamedPipe CallNamedPipeW
364 #define WaitNamedPipe WaitNamedPipeW
365 #define SetVolumeLabel SetVolumeLabelW
366 #define GetVolumeInformation GetVolumeInformationW
367 #define ClearEventLog ClearEventLogW
368 #define BackupEventLog BackupEventLogW
369 #define CreateMutex CreateMutexW
370 #define OpenMutex OpenMutexW
371 #define CreateEvent CreateEventW
372 #define OpenEvent OpenEventW
373 #define CreateSemaphore CreateSemaphoreW
374 #define OpenSemaphore OpenSemaphoreW
375 #define CreateFileMapping CreateFileMappingW
376 #define OpenFileMapping OpenFileMappingW
377 #define GetLogicalDriveStrings GetLogicalDriveStringsW
378 #define LoadLibrary LoadLibraryW
379 #define LoadLibraryEx LoadLibraryExW
380 #define GetModuleFileName GetModuleFileNameW
381 #define GetModuleHandle GetModuleHandleW
382 #define GetUserObjectInformation GetUserObjectInformationW
383 #define SetUserObjectInformation SetUserObjectInformationW
384 #define RegisterWindowMessage RegisterWindowMessageW
385 #define GetMessage GetMessageW
386 #define DispatchMessage DispatchMessageW
387 #define PeekMessage PeekMessageW
388 #define SendMessage SendMessageW
389 #define SendMessageTimeout SendMessageTimeoutW
390 #define SendNotifyMessage SendNotifyMessageW
391 #define SendMessageCallback SendMessageCallbackW
392 #define PostMessage PostMessageW
393 #define PostThreadMessage PostThreadMessageW
394 #define VerFindFile VerFindFileW
395 #define VerInstallFile VerInstallFileW
396 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
397 #define GetFileVersionInfo GetFileVersionInfoW
398 #define VerLanguageName VerLanguageNameW
399 #define VerQueryValue VerQueryValueW
400 #define CompareString CompareStringW
401 #define LCMapString LCMapStringW
402 #define GetLocaleInfo GetLocaleInfoW
403 #define SetLocaleInfo SetLocaleInfoW
404 #define GetTimeFormat GetTimeFormatW
405 #define GetDateFormat GetDateFormatW
406 #define GetNumberFormat GetNumberFormatW
407 #define GetCurrencyFormat GetCurrencyFormatW
408 #define EnumCalendarInfo EnumCalendarInfoW
409 #define EnumTimeFormats EnumTimeFormatsW
410 #define FoldString FoldStringW
411 #define EnumSystemCodePages EnumSystemCodePagesW
412 #define EnumSystemLocales EnumSystemLocalesW
413 #define GetStringTypeEx GetStringTypeExW
414 #define EnumDateFormats EnumDateFormatsW
415 #define GetConsoleTitle GetConsoleTitleW
416 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
417 #define SetConsoleTitle SetConsoleTitleW
418 #define ReadConsole ReadConsoleW
419 #define WriteConsole WriteConsoleW
420 #define PeekConsoleInput PeekConsoleInputW
421 #define ReadConsoleInput ReadConsoleInputW
422 #define WriteConsoleInput WriteConsoleInputW
423 #define ReadConsoleOutput ReadConsoleOutputW
424 #define WriteConsoleOutput WriteConsoleOutputW
425 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
426 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
427 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
428 #define WNetGetProviderName WNetGetProviderNameW
429 #define WNetGetNetworkInformation WNetGetNetworkInformationW
430 #define WNetGetLastError WNetGetLastErrorW
431 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
432 #define WNetConnectionDialog1 WNetConnectionDialog1W
433 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
434 #define WNetOpenEnum WNetOpenEnumW
435 #define WNetEnumResource WNetEnumResourceW
436 #define WNetGetUniversalName WNetGetUniversalNameW
437 #define WNetGetUser WNetGetUserW
438 #define WNetAddConnection WNetAddConnectionW
439 #define WNetAddConnection2 WNetAddConnection2W
440 #define WNetAddConnection3 WNetAddConnection3W
441 #define WNetCancelConnection WNetCancelConnectionW
442 #define WNetCancelConnection2 WNetCancelConnection2W
443 #define WNetGetConnection WNetGetConnectionW
444 #define WNetUseConnection WNetUseConnectionW
445 #define WNetSetConnection WNetSetConnectionW
446 #define CreateService CreateServiceW
447 #define ChangeServiceConfig ChangeServiceConfigW
448 #define EnumDependentServices EnumDependentServicesW
449 #define EnumServicesStatus EnumServicesStatusW
450 #define GetServiceKeyName GetServiceKeyNameW
451 #define GetServiceDisplayName GetServiceDisplayNameW
452 #define OpenSCManager OpenSCManagerW
453 #define OpenService OpenServiceW
454 #define QueryServiceConfig QueryServiceConfigW
455 #define QueryServiceLockStatus QueryServiceLockStatusW
456 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
457 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
458 #define StartService StartServiceW
459 #define DragQueryFile DragQueryFileW
460 #define ExtractAssociatedIcon ExtractAssociatedIconW
461 #define ExtractIcon ExtractIconW
462 #define FindExecutable FindExecutableW
463 #define ShellAbout ShellAboutW
464 #define ShellExecute ShellExecuteW
465 #define DdeCreateStringHandle DdeCreateStringHandleW
466 #define DdeInitialize DdeInitializeW
467 #define DdeQueryString DdeQueryStringW
468 #define LogonUser LogonUserW
469 #define CreateProcessAsUser CreateProcessAsUserW
474 #define RegConnectRegistry RegConnectRegistryA
475 #define RegCreateKey RegCreateKeyA
476 #define RegCreateKeyEx RegCreateKeyExA
477 #define RegDeleteKey RegDeleteKeyA
478 #define RegDeleteValue RegDeleteValueA
479 #define RegEnumKey RegEnumKeyA
480 #define RegEnumKeyEx RegEnumKeyExA
481 #define RegEnumValue RegEnumValueA
482 #define RegLoadKey RegLoadKeyA
483 #define RegOpenKey RegOpenKeyA
484 #define RegOpenKeyEx RegOpenKeyExA
485 #define RegQueryInfoKey RegQueryInfoKeyA
486 #define RegQueryValue RegQueryValueA
487 #define RegQueryMultipleValues RegQueryMultipleValuesA
488 #define RegQueryValueEx RegQueryValueExA
489 #define RegReplaceKey RegReplaceKeyA
490 #define RegRestoreKey RegRestoreKeyA
491 #define RegSaveKey RegSaveKeyA
492 #define RegSetValue RegSetValueA
493 #define RegSetValueEx RegSetValueExA
494 #define AbortSystemShutdown AbortSystemShutdownA
495 #define InitiateSystemShutdown InitiateSystemShutdownA
496 #define RegUnLoadKey RegUnLoadKeyA
497 #define LoadIcon LoadIconA
498 #define LoadImage LoadImageA
499 #define LoadString LoadStringA
500 #define IsDialogMessage IsDialogMessageA
501 #define DlgDirList DlgDirListA
502 #define DlgDirSelectEx DlgDirSelectExA
503 #define DlgDirListComboBox DlgDirListComboBoxA
504 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
505 #define DefFrameProc DefFrameProcA
506 #define DefMDIChildProc DefMDIChildProcA
507 #define CreateMDIWindow CreateMDIWindowA
508 #define WinHelp WinHelpA
509 #define ChangeDisplaySettings ChangeDisplaySettingsA
510 #define EnumDisplaySettings EnumDisplaySettingsA
511 #define SystemParametersInfo SystemParametersInfoA
512 #define GetWindowLong GetWindowLongA
513 #define SetWindowLong SetWindowLongA
514 #define GetClassLong GetClassLongA
515 #define SetClassLong SetClassLongA
516 #define FindWindow FindWindowA
517 #define FindWindowEx FindWindowExA
518 #define GetClassName GetClassNameA
519 #define SetWindowsHookEx SetWindowsHookExA
520 #define LoadBitmap LoadBitmapA
521 #define LoadCursor LoadCursorA
522 #define LoadCursorFromFile LoadCursorFromFileA
523 #define SetProp SetPropA
524 #define GetProp GetPropA
525 #define RemoveProp RemovePropA
526 #define EnumPropsEx EnumPropsExA
527 #define EnumProps EnumPropsA
528 #define SetWindowText SetWindowTextA
529 #define GetWindowText GetWindowTextA
530 #define GetWindowTextLength GetWindowTextLengthA
531 #define MessageBox MessageBoxA
532 #define MessageBoxEx MessageBoxExA
533 #define MessageBoxIndirect MessageBoxIndirectA
534 #define AddFontResource AddFontResourceA
535 #define CopyMetaFile CopyMetaFileA
536 #define CreateDC CreateDCA
537 #define CreateFontIndirect CreateFontIndirectA
538 #define CreateFont CreateFontA
539 #define CreateIC CreateICA
540 #define CreateMetaFile CreateMetaFileA
541 #define CreateScalableFontResource CreateScalableFontResourceA
542 #define DeviceCapabilities DeviceCapabilitiesA
543 #define EnumFontFamiliesEx EnumFontFamiliesExA
544 #define EnumFontFamilies EnumFontFamiliesA
545 #define EnumFonts EnumFontsA
546 #define GetCharWidth GetCharWidthA
547 #define GetCharWidth32 GetCharWidth32A
548 #define GetCharWidthFloat GetCharWidthFloatA
549 #define GetCharABCWidths GetCharABCWidthsA
550 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
551 #define GetGlyphOutline GetGlyphOutlineA
552 #define GetMetaFile GetMetaFileA
553 #define GetOutlineTextMetrics GetOutlineTextMetricsA
554 #define GetTextExtentPoint GetTextExtentPointA
555 #define GetTextExtentPoint32 GetTextExtentPoint32A
556 #define GetTextExtentExPoint GetTextExtentExPointA
557 #define GetCharacterPlacement GetCharacterPlacementA
558 #define ResetDC ResetDCA
559 #define RemoveFontResource RemoveFontResourceA
560 #define CopyEnhMetaFile CopyEnhMetaFileA
561 #define CreateEnhMetaFile CreateEnhMetaFileA
562 #define GetEnhMetaFile GetEnhMetaFileA
563 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
564 #define GetTextMetrics GetTextMetricsA
565 #define StartDoc StartDocA
566 #define GetObject GetObjectA
567 #define TextOut TextOutA
568 #define ExtTextOut ExtTextOutA
569 #define PolyTextOut PolyTextOutA
570 #define GetTextFace GetTextFaceA
571 #define GetKerningPairs GetKerningPairsA
572 #define GetLogColorSpace GetLogColorSpaceA
573 #define CreateColorSpace CreateColorSpaceA
574 #define GetICMProfile GetICMProfileA
575 #define SetICMProfile SetICMProfileA
576 #define UpdateICMRegKey UpdateICMRegKeyA
577 #define EnumICMProfiles EnumICMProfilesA
578 #define CreatePropertySheetPage CreatePropertySheetPageA
579 #define PropertySheet PropertySheetA
580 #define ImageList_LoadImage ImageList_LoadImageA
581 #define CreateStatusWindow CreateStatusWindowA
582 #define DrawStatusText DrawStatusTextA
583 #define GetOpenFileName GetOpenFileNameA
584 #define GetSaveFileName GetSaveFileNameA
585 #define GetFileTitle GetFileTitleA
586 #define ChooseColor ChooseColorA
587 #define FindText FindTextA
588 #define ReplaceText ReplaceTextA
589 #define ChooseFont ChooseFontA
590 #define PrintDlg PrintDlgA
591 #define PageSetupDlg PageSetupDlgA
592 #define DefWindowProc DefWindowProcA
593 #define CallWindowProc CallWindowProcA
594 #define RegisterClass RegisterClassA
595 #define UnregisterClass UnregisterClassA
596 #define GetClassInfo GetClassInfoA
597 #define RegisterClassEx RegisterClassExA
598 #define GetClassInfoEx GetClassInfoExA
599 #define CreateWindowEx CreateWindowExA
600 #define CreateWindow CreateWindowA
601 #define CreateDialogParam CreateDialogParamA
602 #define CreateDialogIndirectParam CreateDialogIndirectParamA
603 #define CreateDialog CreateDialogA
604 #define CreateDialogIndirect CreateDialogIndirectA
605 #define CreateWaitableTimer CreateWaitableTimerA
606 #define DialogBoxParam DialogBoxParamA
607 #define DialogBoxIndirectParam DialogBoxIndirectParamA
608 #define DialogBox DialogBoxA
609 #define DialogBoxIndirect DialogBoxIndirectA
610 #define RegisterClipboardFormat RegisterClipboardFormatA
611 #define SetDlgItemText SetDlgItemTextA
612 #define GetDlgItemText GetDlgItemTextA
613 #define SendDlgItemMessage SendDlgItemMessageA
614 #define DefDlgProc DefDlgProcA
615 #define CallMsgFilter CallMsgFilterA
616 #define GetClipboardFormatName GetClipboardFormatNameA
617 #define CharToOem CharToOemA
618 #define OemToChar OemToCharA
619 #define CharToOemBuff CharToOemBuffA
620 #define OemToCharBuff OemToCharBuffA
621 #define CharUpper CharUpperA
622 #define CharUpperBuff CharUpperBuffA
623 #define CharLower CharLowerA
624 #define CharLowerBuff CharLowerBuffA
625 #define CharNext CharNextA
626 #define CharPrev CharPrevA
627 #define IsCharAlpha IsCharAlphaA
628 #define IsCharAlphaNumeric IsCharAlphaNumericA
629 #define IsCharUpper IsCharUpperA
630 #define IsCharLower IsCharLowerA
631 #define GetKeyNameText GetKeyNameTextA
632 #define VkKeyScan VkKeyScanA
633 #define VkKeyScanEx VkKeyScanExA
634 #define MapVirtualKey MapVirtualKeyA
635 #define MapVirtualKeyEx MapVirtualKeyExA
636 #define LoadAccelerators LoadAcceleratorsA
637 #define CreateAcceleratorTable CreateAcceleratorTableA
638 #define CopyAcceleratorTable CopyAcceleratorTableA
639 #define TranslateAccelerator TranslateAcceleratorA
640 #define LoadMenu LoadMenuA
641 #define LoadMenuIndirect LoadMenuIndirectA
642 #define ChangeMenu ChangeMenuA
643 #define GetMenuString GetMenuStringA
644 #define InsertMenu InsertMenuA
645 #define AppendMenu AppendMenuA
646 #define ModifyMenu ModifyMenuA
647 #define InsertMenuItem InsertMenuItemA
648 #define GetMenuItemInfo GetMenuItemInfoA
649 #define SetMenuItemInfo SetMenuItemInfoA
650 #define DrawText DrawTextA
651 #define DrawTextEx DrawTextExA
652 #define GrayString GrayStringA
653 #define DrawState DrawStateA
654 #define TabbedTextOut TabbedTextOutA
655 #define GetTabbedTextExtent GetTabbedTextExtentA
656 #define GetVersionEx GetVersionExA
657 #define wvsprintf wvsprintfA
658 #define wsprintf wsprintfA
659 #define LoadKeyboardLayout LoadKeyboardLayoutA
660 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
661 #define CreateDesktop CreateDesktopA
662 #define OpenDesktop OpenDesktopA
663 #define EnumDesktops EnumDesktopsA
664 #define CreateWindowStation CreateWindowStationA
665 #define OpenWindowStation OpenWindowStationA
666 #define EnumWindowStations EnumWindowStationsA
667 #define IsBadStringPtr IsBadStringPtrA
668 #define LookupAccountSid LookupAccountSidA
669 #define LookupAccountName LookupAccountNameA
670 #define LookupPrivilegeValue LookupPrivilegeValueA
671 #define LookupPrivilegeName LookupPrivilegeNameA
672 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
673 #define BuildCommDCB BuildCommDCBA
674 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
675 #define CommConfigDialog CommConfigDialogA
676 #define GetDefaultCommConfig GetDefaultCommConfigA
677 #define SetDefaultCommConfig SetDefaultCommConfigA
678 #define GetComputerName GetComputerNameA
679 #define SetComputerName SetComputerNameA
680 #define GetUserName GetUserNameA
681 #define CreateMailslot CreateMailslotA
682 #define FormatMessage FormatMessageA
683 #define GetEnvironmentStrings GetEnvironmentStringsA
684 #define FreeEnvironmentStrings FreeEnvironmentStringsA
685 #define lstrcmp lstrcmpA
686 #define lstrcmpi lstrcmpiA
687 #define lstrcpyn lstrcpynA
688 #define lstrcpy lstrcpyA
689 #define lstrcat lstrcatA
690 #define lstrlen lstrlenA
691 #define GetBinaryType GetBinaryTypeA
692 #define GetShortPathName GetShortPathNameA
693 #define SetFileSecurity SetFileSecurityA
694 #define GetFileSecurity GetFileSecurityA
695 #define FindFirstChangeNotification FindFirstChangeNotificationA
696 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
697 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
698 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
699 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
700 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
701 #define OpenEventLog OpenEventLogA
702 #define RegisterEventSource RegisterEventSourceA
703 #define OpenBackupEventLog OpenBackupEventLogA
704 #define ReadEventLog ReadEventLogA
705 #define ReportEvent ReportEventA
706 #define CreateProcess CreateProcessA
707 #define FatalAppExit FatalAppExitA
708 #define GetStartupInfo GetStartupInfoA
709 #define GetCommandLine GetCommandLineA
710 #define GetEnvironmentVariable GetEnvironmentVariableA
711 #define SetEnvironmentVariable SetEnvironmentVariableA
712 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
713 #define OutputDebugString OutputDebugStringA
714 #define FindResource FindResourceA
715 #define FindResourceEx FindResourceExA
716 #define EnumResourceTypes EnumResourceTypesA
717 #define EnumResourceNames EnumResourceNamesA
718 #define EnumResourceLanguages EnumResourceLanguagesA
719 #define BeginUpdateResource BeginUpdateResourceA
720 #define UpdateResource UpdateResourceA
721 #define EndUpdateResource EndUpdateResourceA
722 #define GlobalAddAtom GlobalAddAtomA
723 #define GlobalFindAtom GlobalFindAtomA
724 #define GlobalGetAtomName GlobalGetAtomNameA
725 #define AddAtom AddAtomA
726 #define FindAtom FindAtomA
727 #define GetProfileInt GetProfileIntA
728 #define GetAtomName GetAtomNameA
729 #define GetProfileString GetProfileStringA
730 #define WriteProfileString WriteProfileStringA
731 #define GetProfileSection GetProfileSectionA
732 #define WriteProfileSection WriteProfileSectionA
733 #define GetPrivateProfileInt GetPrivateProfileIntA
734 #define GetPrivateProfileString GetPrivateProfileStringA
735 #define WritePrivateProfileString WritePrivateProfileStringA
736 #define GetPrivateProfileSection GetPrivateProfileSectionA
737 #define WritePrivateProfileSection WritePrivateProfileSectionA
738 #define GetDriveType GetDriveTypeA
739 #define GetSystemDirectory GetSystemDirectoryA
740 #define GetTempPath GetTempPathA
741 #define GetTempFileName GetTempFileNameA
742 #define GetWindowsDirectory GetWindowsDirectoryA
743 #define SetCurrentDirectory SetCurrentDirectoryA
744 #define GetCurrentDirectory GetCurrentDirectoryA
745 #define GetDiskFreeSpace GetDiskFreeSpaceA
746 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
747 #define CreateDirectory CreateDirectoryA
748 #define CreateDirectoryEx CreateDirectoryExA
749 #define RemoveDirectory RemoveDirectoryA
750 #define GetFullPathName GetFullPathNameA
751 #define DefineDosDevice DefineDosDeviceA
752 #define QueryDosDevice QueryDosDeviceA
753 #define CreateFile CreateFileA
754 #define SetFileAttributes SetFileAttributesA
755 #define GetFileAttributes GetFileAttributesA
756 #define GetCompressedFileSize GetCompressedFileSizeA
757 #define DeleteFile DeleteFileA
758 #define FindFirstFileEx FindFirstFileExA
759 #define FindFirstFile FindFirstFileA
760 #define FindNextFile FindNextFileA
761 #define SearchPath SearchPathA
762 #define CopyFile CopyFileA
763 #define CopyFileEx CopyFileExA
764 #define MoveFile MoveFileA
765 #define MoveFileEx MoveFileExA
766 #define MoveFileWithProgress MoveFileWithProgressA
767 #define CreateNamedPipe CreateNamedPipeA
768 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
769 #define CallNamedPipe CallNamedPipeA
770 #define WaitNamedPipe WaitNamedPipeA
771 #define SetVolumeLabel SetVolumeLabelA
772 #define GetVolumeInformation GetVolumeInformationA
773 #define ClearEventLog ClearEventLogA
774 #define BackupEventLog BackupEventLogA
775 #define CreateMutex CreateMutexA
776 #define OpenMutex OpenMutexA
777 #define CreateEvent CreateEventA
778 #define OpenEvent OpenEventA
779 #define CreateSemaphore CreateSemaphoreA
780 #define OpenSemaphore OpenSemaphoreA
781 #define CreateFileMapping CreateFileMappingA
782 #define OpenFileMapping OpenFileMappingA
783 #define GetLogicalDriveStrings GetLogicalDriveStringsA
784 #define LoadLibrary LoadLibraryA
785 #define LoadLibraryEx LoadLibraryExA
786 #define GetModuleFileName GetModuleFileNameA
787 #define GetModuleHandle GetModuleHandleA
788 #define GetUserObjectInformation GetUserObjectInformationA
789 #define SetUserObjectInformation SetUserObjectInformationA
790 #define RegisterWindowMessage RegisterWindowMessageA
791 #define GetMessage GetMessageA
792 #define DispatchMessage DispatchMessageA
793 #define PeekMessage PeekMessageA
794 #define SendMessage SendMessageA
795 #define SendMessageTimeout SendMessageTimeoutA
796 #define SendNotifyMessage SendNotifyMessageA
797 #define SendMessageCallback SendMessageCallbackA
798 #define PostMessage PostMessageA
799 #define PostThreadMessage PostThreadMessageA
800 #define VerFindFile VerFindFileA
801 #define VerInstallFile VerInstallFileA
802 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
803 #define GetFileVersionInfo GetFileVersionInfoA
804 #define VerLanguageName VerLanguageNameA
805 #define VerQueryValue VerQueryValueA
806 #define CompareString CompareStringA
807 #define LCMapString LCMapStringA
808 #define GetLocaleInfo GetLocaleInfoA
809 #define SetLocaleInfo SetLocaleInfoA
810 #define GetTimeFormat GetTimeFormatA
811 #define GetDateFormat GetDateFormatA
812 #define GetNumberFormat GetNumberFormatA
813 #define GetCurrencyFormat GetCurrencyFormatA
814 #define EnumCalendarInfo EnumCalendarInfoA
815 #define EnumTimeFormats EnumTimeFormatsA
816 #define FoldString FoldStringA
817 #define EnumSystemCodePages EnumSystemCodePagesA
818 #define EnumSystemLocales EnumSystemLocalesA
819 #define GetStringTypeEx GetStringTypeExA
820 #define EnumDateFormats EnumDateFormatsA
821 #define GetConsoleTitle GetConsoleTitleA
822 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
823 #define SetConsoleTitle SetConsoleTitleA
824 #define ReadConsole ReadConsoleA
825 #define WriteConsole WriteConsoleA
826 #define PeekConsoleInput PeekConsoleInputA
827 #define ReadConsoleInput ReadConsoleInputA
828 #define WriteConsoleInput WriteConsoleInputA
829 #define ReadConsoleOutput ReadConsoleOutputA
830 #define WriteConsoleOutput WriteConsoleOutputA
831 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
832 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
833 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
834 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
835 #define WNetGetLastError WNetGetLastErrorA
836 #define WNetGetProviderName WNetGetProviderNameA
837 #define WNetGetNetworkInformation WNetGetNetworkInformationA
838 #define WNetConnectionDialog1 WNetConnectionDialog1A
839 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
840 #define WNetOpenEnum WNetOpenEnumA
841 #define WNetEnumResource WNetEnumResourceA
842 #define WNetGetUniversalName WNetGetUniversalNameA
843 #define WNetGetUser WNetGetUserA
844 #define WNetAddConnection WNetAddConnectionA
845 #define WNetAddConnection2 WNetAddConnection2A
846 #define WNetAddConnection3 WNetAddConnection3A
847 #define WNetCancelConnection WNetCancelConnectionA
848 #define WNetCancelConnection2 WNetCancelConnection2A
849 #define WNetGetConnection WNetGetConnectionA
850 #define WNetUseConnection WNetUseConnectionA
851 #define WNetSetConnection WNetSetConnectionA
852 #define OpenService OpenServiceA
853 #define QueryServiceConfig QueryServiceConfigA
854 #define QueryServiceLockStatus QueryServiceLockStatusA
855 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
856 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
857 #define StartService StartServiceA
858 #define ChangeServiceConfig ChangeServiceConfigA
859 #define CreateService CreateServiceA
860 #define EnumDependentServices EnumDependentServicesA
861 #define EnumServicesStatus EnumServicesStatusA
862 #define GetServiceKeyName GetServiceKeyNameA
863 #define GetServiceDisplayName GetServiceDisplayNameA
864 #define OpenSCManager OpenSCManagerA
865 #define DragQueryFile DragQueryFileA
866 #define ExtractAssociatedIcon ExtractAssociatedIconA
867 #define ExtractIcon ExtractIconA
868 #define FindExecutable FindExecutableA
869 #define ShellAbout ShellAboutA
870 #define ShellExecute ShellExecuteA
871 #define DdeCreateStringHandle DdeCreateStringHandleA
872 #define DdeInitialize DdeInitializeA
873 #define DdeQueryString DdeQueryStringA
874 #define LogonUser LogonUserA
875 #define CreateProcessAsUser CreateProcessAsUserA
877 #endif /* UNICODE and ASCII defines */
879 HWND STDCALL
GetAncestor(HWND hWnd
, UINT GaFlags
);
880 WINBOOL STDCALL
AbnormalTermination(VOID
);
881 int STDCALL
AbortDoc(HDC
);
882 WINBOOL STDCALL
AbortPath(HDC
);
883 WINBOOL STDCALL
AbortPrinter(HANDLE
);
884 WINBOOL CALLBACK
AbortProc(HDC
, int);
885 WINBOOL STDCALL
AccessCheck(
886 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
889 PGENERIC_MAPPING GenericMapping
,
890 PPRIVILEGE_SET PrivilegeSet
,
891 LPDWORD PrivilegeSetLength
,
892 LPDWORD GrantedAccess
,
896 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
897 LPCTSTR SubsystemName
,
899 LPTSTR ObjectTypeName
,
901 PSECURITY_DESCRIPTOR SecurityDescriptor
,
903 PGENERIC_MAPPING GenericMapping
,
904 WINBOOL ObjectCreation
,
905 LPDWORD GrantedAccess
,
907 LPBOOL pfGenerateOnClose
913 InterlockedIncrement(
919 InterlockedDecrement(
932 InterlockedCompareExchange(
959 HINSTANCE hPrevInstance
,
973 FreeLibraryAndExitThread(
980 DisableThreadLibraryCalls(
1092 LPMEMORYSTATUS lpBuffer
1176 FlushInstructionCache(
1178 LPCVOID lpBaseAddress
,
1188 DWORD flAllocationType
,
1208 PDWORD lpflOldProtect
1216 PMEMORY_BASIC_INFORMATION lpBuffer
,
1228 PDWORD lpflOldProtect
1237 PMEMORY_BASIC_INFORMATION lpBuffer
,
1246 DWORD dwInitialSize
,
1306 GetProcessHeap( VOID
);
1311 DWORD NumberOfHeaps
,
1312 PHANDLE ProcessHeaps
1337 LPPROCESS_HEAP_ENTRY lpEntry
1342 GetProcessAffinityMask(
1344 LPDWORD lpProcessAffinityMask
,
1345 LPDWORD lpSystemAffinityMask
1352 LPFILETIME lpCreationTime
,
1353 LPFILETIME lpExitTime
,
1354 LPFILETIME lpKernelTime
,
1355 LPFILETIME lpUserTime
1360 GetProcessWorkingSetSize(
1362 LPDWORD lpMinimumWorkingSetSize
,
1363 LPDWORD lpMaximumWorkingSetSize
1368 SetProcessWorkingSetSize(
1370 DWORD dwMinimumWorkingSetSize
,
1371 DWORD dwMaximumWorkingSetSize
1377 DWORD dwDesiredAccess
,
1378 WINBOOL bInheritHandle
,
1390 GetCurrentProcessId(
1398 ) __attribute__ ((noreturn
));
1423 DWORD dwExceptionCode
,
1424 DWORD dwExceptionFlags
,
1425 DWORD nNumberOfArguments
,
1426 CONST DWORD
*lpArguments
1431 UnhandledExceptionFilter(
1432 struct _EXCEPTION_POINTERS
*ExceptionInfo
1436 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1437 LPTOP_LEVEL_EXCEPTION_FILTER
1439 SetUnhandledExceptionFilter(
1440 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1448 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1450 LPTHREAD_START_ROUTINE lpStartAddress
,
1452 DWORD dwCreationFlags
,
1461 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1463 LPTHREAD_START_ROUTINE lpStartAddress
,
1465 DWORD dwCreationFlags
,
1486 SetThreadAffinityMask(
1488 DWORD dwThreadAffinityMask
1511 LPFILETIME lpCreationTime
,
1512 LPFILETIME lpExitTime
,
1513 LPFILETIME lpKernelTime
,
1514 LPFILETIME lpUserTime
1542 GetThreadSelectorEntry(
1545 LPLDT_ENTRY lpSelectorEntry
1565 GetOverlappedResult(
1567 LPOVERLAPPED lpOverlapped
,
1568 LPDWORD lpNumberOfBytesTransferred
,
1575 CreateIoCompletionPort(
1577 HANDLE ExistingCompletionPort
,
1578 DWORD CompletionKey
,
1579 DWORD NumberOfConcurrentThreads
1585 GetQueuedCompletionStatus(
1586 HANDLE CompletionPort
,
1587 LPDWORD lpNumberOfBytesTransferred
,
1588 LPDWORD lpCompletionKey
,
1589 LPOVERLAPPED
*lpOverlapped
,
1590 DWORD dwMilliseconds
1604 LPCVOID lpBaseAddress
,
1607 LPDWORD lpNumberOfBytesRead
1615 LPVOID lpBaseAddress
,
1618 LPDWORD lpNumberOfBytesWritten
1634 CONST CONTEXT
*lpContext
1662 LPDEBUG_EVENT lpDebugEvent
,
1663 DWORD dwMilliseconds
1672 DWORD dwContinueStatus
1685 InitializeCriticalSection(
1686 LPCRITICAL_SECTION lpCriticalSection
1692 EnterCriticalSection(
1693 LPCRITICAL_SECTION lpCriticalSection
1699 LeaveCriticalSection(
1700 LPCRITICAL_SECTION lpCriticalSection
1706 DeleteCriticalSection(
1707 LPCRITICAL_SECTION lpCriticalSection
1737 LPLONG lpPreviousCount
1750 WaitForSingleObject(
1752 DWORD dwMilliseconds
1758 WaitForMultipleObjects(
1760 CONST HANDLE
*lpHandles
,
1762 DWORD dwMilliseconds
1769 DWORD dwMilliseconds
1829 DWORD dwFileOffsetLow
,
1830 DWORD dwFileOffsetHigh
,
1831 DWORD nNumberOfBytesToLockLow
,
1832 DWORD nNumberOfBytesToLockHigh
1840 DWORD dwFileOffsetLow
,
1841 DWORD dwFileOffsetHigh
,
1842 DWORD nNumberOfBytesToUnlockLow
,
1843 DWORD nNumberOfBytesToUnlockHigh
1853 DWORD nNumberOfBytesToLockLow
,
1854 DWORD nNumberOfBytesToLockHigh
,
1855 LPOVERLAPPED lpOverlapped
1863 DWORD nNumberOfBytesToUnlockLow
,
1864 DWORD nNumberOfBytesToUnlockHigh
,
1865 LPOVERLAPPED lpOverlapped
1870 GetFileInformationByHandle(
1872 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1887 LPDWORD lpFileSizeHigh
1911 DWORD nNumberOfBytesToWrite
,
1912 LPDWORD lpNumberOfBytesWritten
,
1913 LPOVERLAPPED lpOverlapped
1922 DWORD nNumberOfBytesToRead
,
1923 LPDWORD lpNumberOfBytesRead
,
1924 LPOVERLAPPED lpOverlapped
1939 DWORD dwIoControlCode
,
1941 DWORD nInBufferSize
,
1943 DWORD nOutBufferSize
,
1944 LPDWORD lpBytesReturned
,
1945 LPOVERLAPPED lpOverlapped
1960 LONG lDistanceToMove
,
1961 PLONG lpDistanceToMoveHigh
,
1977 LPFILETIME lpCreationTime
,
1978 LPFILETIME lpLastAccessTime
,
1979 LPFILETIME lpLastWriteTime
1987 CONST FILETIME
*lpCreationTime
,
1988 CONST FILETIME
*lpLastAccessTime
,
1989 CONST FILETIME
*lpLastWriteTime
2003 HANDLE hSourceProcessHandle
,
2004 HANDLE hSourceHandle
,
2005 HANDLE hTargetProcessHandle
,
2006 LPHANDLE lpTargetHandle
,
2007 DWORD dwDesiredAccess
,
2008 WINBOOL bInheritHandle
,
2015 GetHandleInformation(
2023 SetHandleInformation(
2032 LPCSTR lpModuleName
,
2033 LPVOID lpParameterBlock
2099 LPCOMMPROP lpCommProp
2123 LPCOMMTIMEOUTS lpCommTimeouts
2171 LPCOMMTIMEOUTS lpCommTimeouts
2188 LPOVERLAPPED lpOverlapped
2197 DWORD dwPositionMethod
,
2209 DWORD dwPositionType
,
2210 LPDWORD lpdwPartition
,
2211 LPDWORD lpdwOffsetLow
,
2212 LPDWORD lpdwOffsetHigh
2226 ProcessIdToSessionId(
2242 CreateTapePartition(
2244 DWORD dwPartitionMethod
,
2254 DWORD dwTapemarkType
,
2255 DWORD dwTapemarkCount
,
2273 LPVOID lpTapeInformation
2281 LPVOID lpTapeInformation
2430 LPSYSTEMTIME lpSystemTime
2435 GetSystemTimeAsFileTime (
2436 LPFILETIME lpSystemTimeAsFileTime
2442 CONST SYSTEMTIME
*lpSystemTime
2449 LPSYSTEMTIME lpSystemTime
2456 CONST SYSTEMTIME
*lpSystemTime
2463 LPSYSTEM_INFO lpSystemInfo
2468 SystemTimeToTzSpecificLocalTime(
2469 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2470 LPSYSTEMTIME lpUniversalTime
,
2471 LPSYSTEMTIME lpLocalTime
2477 GetTimeZoneInformation(
2478 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2484 SetTimeZoneInformation(
2485 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2490 SystemTimeToFileTime(
2491 CONST SYSTEMTIME
*lpSystemTime
,
2492 LPFILETIME lpFileTime
2498 FileTimeToLocalFileTime(
2499 CONST FILETIME
*lpFileTime
,
2500 LPFILETIME lpLocalFileTime
2506 LocalFileTimeToFileTime(
2507 CONST FILETIME
*lpLocalFileTime
,
2508 LPFILETIME lpFileTime
2514 FileTimeToSystemTime(
2515 CONST FILETIME
*lpFileTime
,
2516 LPSYSTEMTIME lpSystemTime
2523 CONST FILETIME
*lpFileTime1
,
2524 CONST FILETIME
*lpFileTime2
2530 FileTimeToDosDateTime(
2531 CONST FILETIME
*lpFileTime
,
2539 DosDateTimeToFileTime(
2542 LPFILETIME lpFileTime
2555 SetSystemTimeAdjustment(
2556 DWORD dwTimeAdjustment
,
2557 WINBOOL bTimeAdjustmentDisabled
2563 GetSystemTimeAdjustment(
2564 PDWORD lpTimeAdjustment
,
2565 PDWORD lpTimeIncrement
,
2566 PWINBOOL lpTimeAdjustmentDisabled
2575 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2584 LPOVERLAPPED lpOverlapped
2590 DisconnectNamedPipe(
2597 SetNamedPipeHandleState(
2600 LPDWORD lpMaxCollectionCount
,
2601 LPDWORD lpCollectDataTimeout
2610 LPDWORD lpOutBufferSize
,
2611 LPDWORD lpInBufferSize
,
2612 LPDWORD lpMaxInstances
2622 LPDWORD lpBytesRead
,
2623 LPDWORD lpTotalBytesAvail
,
2624 LPDWORD lpBytesLeftThisMessage
2633 DWORD nInBufferSize
,
2635 DWORD nOutBufferSize
,
2636 LPDWORD lpBytesRead
,
2637 LPOVERLAPPED lpOverlapped
2646 LPDWORD lpMaxMessageSize
,
2648 LPDWORD lpMessageCount
,
2649 LPDWORD lpReadTimeout
2664 HANDLE hFileMappingObject
,
2665 DWORD dwDesiredAccess
,
2666 DWORD dwFileOffsetHigh
,
2667 DWORD dwFileOffsetLow
,
2668 DWORD dwNumberOfBytesToMap
2675 LPCVOID lpBaseAddress
,
2676 DWORD dwNumberOfBytesToFlush
2683 LPVOID lpBaseAddress
2690 LPOFSTRUCT lpReOpenBuff
,
2766 CONST LPVOID lpBuffer
,
2802 DWORD dwMilliseconds
,
2809 WaitForSingleObjectEx(
2811 DWORD dwMilliseconds
,
2818 WaitForMultipleObjectsEx(
2820 CONST HANDLE
*lpHandles
,
2822 DWORD dwMilliseconds
,
2832 DWORD nNumberOfBytesToRead
,
2833 LPOVERLAPPED lpOverlapped
,
2834 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2843 DWORD nNumberOfBytesToWrite
,
2844 LPOVERLAPPED lpOverlapped
,
2845 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2854 DWORD nNumberOfBytesToRead
,
2855 LPDWORD lpNumberOfBytesRead
,
2857 WINBOOL bProcessSecurity
,
2866 DWORD dwLowBytesToSeek
,
2867 DWORD dwHighBytesToSeek
,
2868 LPDWORD lpdwLowByteSeeked
,
2869 LPDWORD lpdwHighByteSeeked
,
2879 DWORD nNumberOfBytesToWrite
,
2880 LPDWORD lpNumberOfBytesWritten
,
2882 WINBOOL bProcessSecurity
,
2888 SetProcessShutdownParameters(
2896 GetProcessShutdownParameters(
2904 SetFileApisToOEM( VOID
);
2909 SetFileApisToANSI( VOID
);
2914 AreFileApisANSI( VOID
);
2925 DeregisterEventSource (
2932 NotifyChangeEventLog (
2940 GetNumberOfEventLogRecords (
2942 PDWORD NumberOfRecords
2948 GetOldestEventLogRecord (
2956 HANDLE ExistingTokenHandle
,
2957 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2958 PHANDLE DuplicateTokenHandle
2964 GetKernelObjectSecurity (
2966 SECURITY_INFORMATION RequestedInformation
,
2967 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2969 LPDWORD lpnLengthNeeded
2975 ImpersonateNamedPipeClient(
2982 ImpersonateLoggedOnUser(
2990 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
3013 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3015 DWORD DesiredAccess
,
3016 PGENERIC_MAPPING GenericMapping
,
3017 PPRIVILEGE_SET PrivilegeSet
,
3018 LPDWORD PrivilegeSetLength
,
3019 LPDWORD GrantedAccess
,
3028 HANDLE ProcessHandle
,
3029 DWORD DesiredAccess
,
3038 HANDLE ThreadHandle
,
3039 DWORD DesiredAccess
,
3048 GetTokenInformation (
3050 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3051 LPVOID TokenInformation
,
3052 DWORD TokenInformationLength
,
3060 SetTokenInformation (
3062 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3063 LPVOID TokenInformation
,
3064 DWORD TokenInformationLength
3071 AdjustTokenPrivileges (
3073 WINBOOL DisableAllPrivileges
,
3074 PTOKEN_PRIVILEGES NewState
,
3076 PTOKEN_PRIVILEGES PreviousState
,
3086 WINBOOL ResetToDefault
,
3087 PTOKEN_GROUPS NewState
,
3089 PTOKEN_GROUPS PreviousState
,
3099 PPRIVILEGE_SET RequiredPrivileges
,
3133 GetSidLengthRequired (
3134 UCHAR nSubAuthorityCount
3141 AllocateAndInitializeSid (
3142 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3143 BYTE nSubAuthorityCount
,
3144 DWORD nSubAuthority0
,
3145 DWORD nSubAuthority1
,
3146 DWORD nSubAuthority2
,
3147 DWORD nSubAuthority3
,
3148 DWORD nSubAuthority4
,
3149 DWORD nSubAuthority5
,
3150 DWORD nSubAuthority6
,
3151 DWORD nSubAuthority7
,
3167 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3168 BYTE nSubAuthorityCount
3173 PSID_IDENTIFIER_AUTHORITY
3175 GetSidIdentifierAuthority (
3183 GetSidSubAuthority (
3192 GetSidSubAuthorityCount (
3209 DWORD nDestinationSidLength
,
3210 PSID pDestinationSid
,
3218 AreAllAccessesGranted (
3219 DWORD GrantedAccess
,
3227 AreAnyAccessesGranted (
3228 DWORD GrantedAccess
,
3238 PGENERIC_MAPPING GenericMapping
3265 LPVOID pAclInformation
,
3266 DWORD nAclInformationLength
,
3267 ACL_INFORMATION_CLASS dwAclInformationClass
3276 LPVOID pAclInformation
,
3277 DWORD nAclInformationLength
,
3278 ACL_INFORMATION_CLASS dwAclInformationClass
3287 DWORD dwAceRevision
,
3288 DWORD dwStartingAceIndex
,
3290 DWORD nAceListLength
3316 AddAccessAllowedAce (
3318 DWORD dwAceRevision
,
3327 AddAccessDeniedAce (
3329 DWORD dwAceRevision
,
3340 DWORD dwAceRevision
,
3343 WINBOOL bAuditSuccess
,
3344 WINBOOL bAuditFailure
3360 InitializeSecurityDescriptor (
3361 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3369 IsValidSecurityDescriptor (
3370 PSECURITY_DESCRIPTOR pSecurityDescriptor
3377 GetSecurityDescriptorLength (
3378 PSECURITY_DESCRIPTOR pSecurityDescriptor
3385 GetSecurityDescriptorControl (
3386 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3387 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3388 LPDWORD lpdwRevision
3395 SetSecurityDescriptorDacl (
3396 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3397 WINBOOL bDaclPresent
,
3399 WINBOOL bDaclDefaulted
3406 GetSecurityDescriptorDacl (
3407 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3408 LPBOOL lpbDaclPresent
,
3410 LPBOOL lpbDaclDefaulted
3417 SetSecurityDescriptorSacl (
3418 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3419 WINBOOL bSaclPresent
,
3421 WINBOOL bSaclDefaulted
3428 GetSecurityDescriptorSacl (
3429 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3430 LPBOOL lpbSaclPresent
,
3432 LPBOOL lpbSaclDefaulted
3439 SetSecurityDescriptorOwner (
3440 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3442 WINBOOL bOwnerDefaulted
3449 GetSecurityDescriptorOwner (
3450 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3452 LPBOOL lpbOwnerDefaulted
3459 SetSecurityDescriptorGroup (
3460 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3462 WINBOOL bGroupDefaulted
3469 GetSecurityDescriptorGroup (
3470 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3472 LPBOOL lpbGroupDefaulted
3479 CreatePrivateObjectSecurity (
3480 PSECURITY_DESCRIPTOR ParentDescriptor
,
3481 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3482 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3483 WINBOOL IsDirectoryObject
,
3485 PGENERIC_MAPPING GenericMapping
3492 SetPrivateObjectSecurity (
3493 SECURITY_INFORMATION SecurityInformation
,
3494 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3495 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3496 PGENERIC_MAPPING GenericMapping
,
3504 GetPrivateObjectSecurity (
3505 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3506 SECURITY_INFORMATION SecurityInformation
,
3507 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3508 DWORD DescriptorLength
,
3516 DestroyPrivateObjectSecurity (
3517 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3524 MakeSelfRelativeSD (
3525 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3526 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3527 LPDWORD lpdwBufferLength
3535 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3536 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3537 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3539 LPDWORD lpdwDaclSize
,
3541 LPDWORD lpdwSaclSize
,
3543 LPDWORD lpdwOwnerSize
,
3545 LPDWORD lpdwPrimaryGroupSize
3552 SetKernelObjectSecurity (
3554 SECURITY_INFORMATION SecurityInformation
,
3555 PSECURITY_DESCRIPTOR SecurityDescriptor
3561 FindNextChangeNotification(
3562 HANDLE hChangeHandle
3568 FindCloseChangeNotification(
3569 HANDLE hChangeHandle
3592 HANDLE hFileMappingObject
,
3593 DWORD dwDesiredAccess
,
3594 DWORD dwFileOffsetHigh
,
3595 DWORD dwFileOffsetLow
,
3596 DWORD dwNumberOfBytesToMap
,
3597 LPVOID lpBaseAddress
3605 DWORD dwPriorityClass
3656 AllocateLocallyUniqueId(
3663 QueryPerformanceCounter(
3664 LARGE_INTEGER
*lpPerformanceCount
3670 QueryPerformanceFrequency(
3671 LARGE_INTEGER
*lpFrequency
3697 /* The memory functions don't seem to be defined in the libraries, so
3698 define macro versions as well. */
3699 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3700 #define FillMemory(p, c, v) memset ((p), (v), (c))
3701 #define ZeroMemory(p, c) memset ((p), 0, (c))
3706 ActivateKeyboardLayout(
3712 ActivateKeyboardLayout(
3732 UnloadKeyboardLayout(
3738 GetKeyboardLayoutList(
3755 DWORD dwDesiredAccess
);
3761 ENUMWINDOWSPROC lpfn
,
3797 SetProcessWindowStation(
3803 GetProcessWindowStation(
3809 SetUserObjectSecurity(
3811 PSECURITY_INFORMATION pSIRequested
,
3812 PSECURITY_DESCRIPTOR pSID
);
3817 GetUserObjectSecurity(
3819 PSECURITY_INFORMATION pSIRequested
,
3820 PSECURITY_DESCRIPTOR pSID
,
3822 LPDWORD lpnLengthNeeded
);
3878 GetMessageExtraInfo(
3884 SetMessageExtraInfo(
3890 BroadcastSystemMessage(
3921 DWORD dwMilliseconds
);
4027 HWND hWndInsertAfter
,
4039 WINDOWPLACEMENT
*lpwndpl
);
4046 CONST WINDOWPLACEMENT
*lpwndpl
);
4051 BeginDeferWindowPos(
4060 HWND hWndInsertAfter
,
4132 WINBOOL
*lpTranslated
,
4150 int nIDCheckButton
);
4162 GetNextDlgGroupItem(
4184 GetDialogBaseUnits(VOID
);
4207 HWND hWndNewViewer
);
4218 ChangeClipboardChain(
4239 CountClipboardFormats(
4245 EnumClipboardFormats(
4257 IsClipboardFormatAvailable(
4263 GetPriorityClipboardFormat(
4264 UINT
*paFormatPriorityList
,
4270 GetOpenClipboardWindow(
4274 /* Despite the A these are ASCII functions! */
4279 LPCSTR lpCurrentChar
,
4288 LPCSTR lpCurrentChar
,
4434 MsgWaitForMultipleObjects(
4438 DWORD dwMilliseconds
,
4448 TIMERPROC lpTimerFunc
);
4453 SetWaitableTimer(HANDLE hTimer
,
4454 const LARGE_INTEGER
*pDueTime
,
4456 PTIMERAPCROUTINE pfnCompletionRoutine
,
4457 LPVOID lpArgToCompletionRoutine
,
4489 DestroyAcceleratorTable(
4614 HBITMAP hBitmapUnchecked
,
4615 HBITMAP hBitmapChecked
);
4620 GetMenuCheckMarkDimensions(
4633 CONST RECT
*prcRect
);
4651 GetMenuItemRect(HWND hWnd
,
4658 MenuItemFromPoint(HWND hWnd
,
4665 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4670 DragDetect(HWND hwnd
,
4696 GetForegroundWindow(
4701 PaintDesktop(HDC hdc
);
4706 SetForegroundWindow(
4747 LPPAINTSTRUCT lpPaint
);
4754 CONST PAINTSTRUCT
*lpPaint
);
4807 CONST RECT
*lpRect
);
4829 CONST RECT
*lprcUpdate
,
4847 CONST RECT
*lpClipRect
);
4856 CONST RECT
*lprcScroll
,
4857 CONST RECT
*lprcClip
,
4868 CONST RECT
*prcScroll
,
4869 CONST RECT
*prcClip
,
4958 SetWindowContextHelpId(HWND
, DWORD
);
4962 GetWindowContextHelpId(HWND
);
4966 SetMenuContextHelpId(HMENU
, DWORD
);
4970 GetMenuContextHelpId(HMENU
);
5007 CONST RECT
*lpRect
);
5105 ChildWindowFromPoint(
5126 CONST INT
* lpaElements
,
5127 CONST COLORREF
* lpaRgbValues
);
5180 CONST RECT
*lprcSrc
);
5195 CONST RECT
*lprcSrc1
,
5196 CONST RECT
*lprcSrc2
);
5203 CONST RECT
*lprcSrc1
,
5204 CONST RECT
*lprcSrc2
);
5211 CONST RECT
*lprcSrc1
,
5212 CONST RECT
*lprcSrc2
);
5288 HWND hWndNewParent
);
5295 ENUMWINDOWSPROC lpEnumFunc
,
5302 ENUMWINDOWSPROC lpEnumFunc
,
5310 ENUMWINDOWSPROC lpfn
,
5321 GetWindowThreadProcessId(
5323 LPDWORD lpdwProcessId
);
5342 HOOKPROC pfnFilterProc
);
5346 UnhookWindowsHookEx(
5361 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5371 CONST VOID
*pvANDPlane
,
5372 CONST VOID
*pvXORPlane
);
5391 HINSTANCE hInstance
,
5396 CONST BYTE
*lpbANDbits
,
5397 CONST BYTE
*lpbXORbits
);
5408 LookupIconIdFromDirectory(
5415 LookupIconIdFromDirectoryEx(
5425 CreateIconFromResource(
5434 CreateIconFromResourceEx(
5457 PICONINFO piconinfo
);
5470 PICONINFO piconinfo
);
5481 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5485 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5489 TranslateMDISysAccel(
5496 ArrangeIconicWindows(
5501 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5505 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5524 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5527 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5539 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5543 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5547 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5551 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5552 HICON hIcon
, int cxWidth
, int cyWidth
,
5553 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5557 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5561 Arc(HDC
, int, int, int, int, int, int, int, int);
5565 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5573 Chord(HDC
, int, int, int, int, int, int, int, int);
5581 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5585 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5589 CreateBitmapIndirect(CONST BITMAP
*);
5593 CreateBrushIndirect(CONST LOGBRUSH
*);
5597 CreateCompatibleBitmap(HDC
, int, int);
5601 CreateDiscardableBitmap(HDC
, int, int);
5605 CreateCompatibleDC(HDC
);
5609 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5613 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5617 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5621 CreateEllipticRgn(int, int, int, int);
5625 CreateEllipticRgnIndirect(CONST RECT
*);
5629 CreateHatchBrush(int, COLORREF
);
5633 CreatePalette(CONST LOGPALETTE
*);
5637 CreatePen(int, int, COLORREF
);
5641 CreatePenIndirect(CONST LOGPEN
*);
5645 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5649 CreatePatternBrush(HBITMAP
);
5653 CreateRectRgn(int, int, int, int);
5657 CreateRectRgnIndirect(CONST RECT
*);
5661 CreateRoundRectRgn(int, int, int, int, int, int);
5665 CreateSolidBrush(COLORREF
);
5673 DeleteMetaFile(HMETAFILE
);
5677 DeleteObject(HGDIOBJ
);
5681 DrawEscape(HDC
, int, int, LPCSTR
);
5685 Ellipse(HDC
, int, int, int, int);
5689 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5693 EqualRgn(HRGN
, HRGN
);
5697 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5701 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5705 ExcludeClipRect(HDC
, int, int, int, int);
5709 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5713 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5717 FillRgn(HDC
, HRGN
, HBRUSH
);
5721 FloodFill(HDC
, int, int, COLORREF
);
5725 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5729 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5733 GdiProcessSetup (VOID
);
5741 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5753 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5757 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5761 GetBoundsRect(HDC
, LPRECT
, UINT
);
5765 GetBrushOrgEx(HDC
, LPPOINT
);
5769 GetClipBox(HDC
, LPRECT
);
5773 GetClipRgn(HDC
, HRGN
);
5777 GetMetaRgn(HDC
, HRGN
);
5781 GetCurrentObject(HDC
, UINT
);
5785 GetCurrentPositionEx(HDC
, LPPOINT
);
5789 GetDeviceCaps(HDC
, int);
5793 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5797 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5801 GetGraphicsMode(HDC
);
5809 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5813 GetNearestColor(HDC
, COLORREF
);
5817 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5821 GetObjectType(HGDIOBJ h
);
5825 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5829 GetPixel(HDC
, int, int);
5833 GetPixelFormat(HDC
);
5837 GetPolyFillMode(HDC
);
5841 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5845 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5849 GetRgnBox(HRGN
, LPRECT
);
5853 GetStockObject(int);
5857 GetStretchBltMode(HDC
);
5861 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5865 GetSystemPaletteUse(HDC
);
5869 GetTextCharacterExtra(HDC
);
5881 GetTextCharset(HDC hdc
);
5885 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5889 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5893 GetFontLanguageInfo( HDC
);
5897 GetViewportExtEx(HDC
, LPSIZE
);
5901 GetViewportOrgEx(HDC
, LPPOINT
);
5905 GetWindowExtEx(HDC
, LPSIZE
);
5909 GetWindowOrgEx(HDC
, LPPOINT
);
5913 IntersectClipRect(HDC
, int, int, int, int);
5917 InvertRgn(HDC
, HRGN
);
5921 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5925 LineTo(HDC
, int, int);
5929 MaskBlt(HDC
, int, int, int, int,
5930 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5934 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5935 int, HBITMAP
, int, int);
5939 OffsetClipRgn(HDC
, int, int);
5943 OffsetRgn(HRGN
, int, int);
5947 PatBlt(HDC
, int, int, int, int, DWORD
);
5951 Pie(HDC
, int, int, int, int, int, int, int, int);
5955 PlayMetaFile(HDC
, HMETAFILE
);
5959 PaintRgn(HDC
, HRGN
);
5963 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5967 PtInRegion(HRGN
, int, int);
5971 PtVisible(HDC
, int, int);
5975 RectInRegion(HRGN
, CONST RECT
*);
5979 RectVisible(HDC
, CONST RECT
*);
5983 Rectangle(HDC
, int, int, int, int);
5987 RestoreDC(HDC
, int);
5991 RealizePalette(HDC
);
5995 RoundRect(HDC
, int, int, int, int, int, int);
5999 ResizePalette(HPALETTE
, UINT
);
6007 SelectClipRgn(HDC
, HRGN
);
6011 ExtSelectClipRgn(HDC
, HRGN
, int);
6019 SelectObject(HDC
, HGDIOBJ
);
6023 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
6027 SetBkColor(HDC
, COLORREF
);
6031 SetBkMode(HDC
, int);
6035 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
6039 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
6043 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6047 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
6048 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6052 SetMapperFlags(HDC
, DWORD
);
6056 SetGraphicsMode(HDC hdc
, int iMode
);
6060 SetMapMode(HDC
, int);
6064 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6068 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6072 SetPixel(HDC
, int, int, COLORREF
);
6076 SetPixelV(HDC
, int, int, COLORREF
);
6080 SetPolyFillMode(HDC
, int);
6084 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6088 SetRectRgn(HRGN
, int, int, int, int);
6091 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6092 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6100 SetStretchBltMode(HDC
, int);
6104 SetSystemPaletteUse(HDC
, UINT
);
6108 SetTextCharacterExtra(HDC
, int);
6112 SetTextColor(HDC
, COLORREF
);
6116 SetTextAlign(HDC
, UINT
);
6120 SetTextJustification(HDC
, int, int);
6128 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6132 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6136 CloseEnhMetaFile(HDC
);
6140 DeleteEnhMetaFile(HENHMETAFILE
);
6144 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6145 LPVOID
, CONST RECT
*);
6149 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6153 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6157 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6161 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6165 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6169 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6174 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6179 GdiComment(HDC
, UINT
, CONST BYTE
*);
6183 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6187 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6191 GetWorldTransform(HDC
, LPXFORM
);
6195 SetWorldTransform(HDC
, CONST XFORM
*);
6199 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6203 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6207 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
6211 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6215 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6219 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6223 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6227 CreateHalftonePalette(HDC
);
6247 SetAbortProc(HDC
, ABORTPROC
);
6255 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6279 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6287 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6291 SelectClipPath(HDC
, int);
6295 SetArcDirection(HDC
, int);
6299 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6303 StrokeAndFillPath(HDC
);
6315 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6319 GetMiterLimit(HDC
, PFLOAT
);
6323 GetArcDirection(HDC
);
6327 MoveToEx(HDC
, int, int, LPPOINT
);
6331 CreatePolygonRgn(CONST POINT
*, int, int);
6335 DPtoLP(HDC
, LPPOINT
, int);
6339 LPtoDP(HDC
, LPPOINT
, int);
6343 Polygon(HDC
, CONST POINT
*, int);
6347 Polyline(HDC
, CONST POINT
*, int);
6351 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6355 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6359 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6363 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6367 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6371 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6375 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6379 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6383 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6387 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6391 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6395 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6399 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6403 GetDCOrgEx(HDC
,LPPOINT
);
6407 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6411 UnrealizeObject(HGDIOBJ
);
6419 GdiSetBatchLimit(DWORD
);
6423 GdiGetBatchLimit(void);
6427 SetICMMode(HDC
, int);
6431 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6439 SetColorSpace(HDC
,HCOLORSPACE
);
6443 DeleteColorSpace(HCOLORSPACE
);
6447 GetDeviceGammaRamp(HDC
,LPVOID
);
6451 SetDeviceGammaRamp(HDC
,LPVOID
);
6455 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6459 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6463 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6467 InitCommonControls(void);
6469 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6473 ImageList_Create(int cx
, int cy
, UINT flags
,
6474 int cInitial
, int cGrow
);
6478 ImageList_Destroy(HIMAGELIST himl
);
6482 ImageList_GetImageCount(HIMAGELIST himl
);
6486 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6491 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6495 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6499 ImageList_GetBkColor(HIMAGELIST himl
);
6503 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6508 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6512 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6516 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6520 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6524 ImageList_Remove(HIMAGELIST himl
, int i
);
6528 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6532 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6536 ImageList_EndDrag(void);
6540 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6544 ImageList_DragLeave(HWND hwndLock
);
6548 ImageList_DragMove(int x
, int y
);
6552 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6556 ImageList_DragShowNolock(WINBOOL fShow
);
6560 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6564 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6568 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6572 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6576 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6580 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6581 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6582 int iNumButtons
, int dxButton
, int dyButton
,
6583 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6587 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6588 UINT wFlags
, LPCOLORMAP lpColorMap
,
6594 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6598 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6602 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6606 MakeDragList(HWND hLB
);
6610 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6614 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6618 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6619 HWND hParent
, int nID
, HINSTANCE hInst
,
6621 int nUpper
, int nLower
, int nPos
);
6625 CommDlgExtendedError(VOID
);
6627 /* Animation controls */
6629 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6631 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6633 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6635 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6637 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6639 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6641 /* Property sheet macros */
6643 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6645 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6647 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6649 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6651 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6653 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6655 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6657 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6659 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6661 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6663 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6665 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6667 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6669 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6671 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6673 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6675 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6677 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6679 /* Header control */
6680 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6682 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6684 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6686 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6688 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6690 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6693 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6695 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6697 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6699 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6701 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6703 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6705 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6707 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6709 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6711 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6713 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6715 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6717 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6719 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6721 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6723 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6725 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6727 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6729 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6731 #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))
6733 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6735 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6737 #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);}
6739 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6741 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6743 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6745 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6747 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6749 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6751 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6753 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6755 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6757 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6759 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6761 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6763 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6765 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6767 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6769 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6771 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6774 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6776 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6778 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6780 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6782 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6784 #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);}
6786 #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);}
6788 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6790 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6792 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6794 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6797 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6799 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6801 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6803 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6805 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6807 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6809 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6811 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6813 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6815 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6817 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6819 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6821 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6823 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6825 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6827 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6829 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6831 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6833 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6835 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6837 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6839 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6842 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6844 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6846 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6848 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6850 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6852 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6854 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6856 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6858 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6860 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6862 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6864 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6866 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6868 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6870 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6874 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6876 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6878 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6880 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6882 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6884 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6886 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6888 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6890 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6892 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6894 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6896 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6898 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6900 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6902 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6904 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6906 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6908 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6910 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6912 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6914 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6916 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6918 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6920 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6923 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6925 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6926 #endif /* !UNICODE */
6928 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6930 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6933 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6935 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6936 #endif /* !UNICODE */
6938 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6940 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6943 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6945 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6946 #endif /* !UNICODE */
6948 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6950 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6952 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6954 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6966 SECURITY_INFORMATION SecurityInformation
,
6967 PSECURITY_DESCRIPTOR pSecurityDescriptor
6980 SECURITY_INFORMATION SecurityInformation
,
6981 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6982 LPDWORD lpcbSecurityDescriptor
6987 RegNotifyChangeKeyValue (
6989 WINBOOL bWatchSubtree
,
6990 DWORD dwNotifyFilter
,
6992 WINBOOL fAsynchronus
7013 GetCPInfo(UINT
, LPCPINFO
);
7031 MultiByteToWideChar(
7034 LPCSTR lpMultiByteStr
,
7036 LPWSTR lpWideCharStr
,
7042 WideCharToMultiByte(
7045 LPCWSTR lpWideCharStr
,
7047 LPSTR lpMultiByteStr
,
7049 LPCSTR lpDefaultChar
,
7050 LPBOOL lpUsedDefaultChar
);
7061 ConvertDefaultLocale(
7067 GetThreadLocale(void);
7079 GetSystemDefaultLangID(void);
7084 GetUserDefaultLangID(void);
7089 GetSystemDefaultLCID(void);
7094 GetUserDefaultLCID(void);
7099 ReadConsoleOutputAttribute(
7100 HANDLE hConsoleOutput
,
7104 LPDWORD lpNumberOfAttrsRead
7110 WriteConsoleOutputAttribute(
7111 HANDLE hConsoleOutput
,
7112 CONST WORD
*lpAttribute
,
7115 LPDWORD lpNumberOfAttrsWritten
7121 FillConsoleOutputAttribute(
7122 HANDLE hConsoleOutput
,
7126 LPDWORD lpNumberOfAttrsWritten
7133 HANDLE hConsoleHandle
,
7140 GetNumberOfConsoleInputEvents(
7141 HANDLE hConsoleInput
,
7142 LPDWORD lpNumberOfEvents
7148 GetConsoleScreenBufferInfo(
7149 HANDLE hConsoleOutput
,
7150 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7156 GetLargestConsoleWindowSize(
7157 HANDLE hConsoleOutput
7163 GetConsoleCursorInfo(
7164 HANDLE hConsoleOutput
,
7165 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7171 GetNumberOfConsoleMouseButtons(
7172 LPDWORD lpNumberOfMouseButtons
7179 HANDLE hConsoleHandle
,
7186 SetConsoleActiveScreenBuffer(
7187 HANDLE hConsoleOutput
7193 FlushConsoleInputBuffer(
7194 HANDLE hConsoleInput
7200 SetConsoleScreenBufferSize(
7201 HANDLE hConsoleOutput
,
7208 SetConsoleCursorPosition(
7209 HANDLE hConsoleOutput
,
7210 COORD dwCursorPosition
7216 SetConsoleCursorInfo(
7217 HANDLE hConsoleOutput
,
7218 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7223 SetConsoleWindowInfo(
7224 HANDLE hConsoleOutput
,
7226 CONST SMALL_RECT
*lpConsoleWindow
7232 SetConsoleTextAttribute(
7233 HANDLE hConsoleOutput
,
7240 SetConsoleCtrlHandler(
7241 PHANDLER_ROUTINE HandlerRoutine
,
7248 GenerateConsoleCtrlEvent(
7250 DWORD dwProcessGroupId
7256 AllocConsole( VOID
);
7261 FreeConsole( VOID
);
7267 CreateConsoleScreenBuffer(
7268 DWORD dwDesiredAccess
,
7270 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7272 LPVOID lpScreenBufferData
7278 GetConsoleCP( VOID
);
7290 GetConsoleOutputCP( VOID
);
7300 WNetConnectionDialog(
7306 WNetDisconnectDialog(
7328 LPSERVICE_STATUS lpServiceStatus
7339 LockServiceDatabase(
7340 SC_HANDLE hSCManager
7346 NotifyBootConfigStatus(
7347 WINBOOL BootAcceptable
7352 QueryServiceObjectSecurity(
7354 SECURITY_INFORMATION dwSecurityInformation
,
7355 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7357 LPDWORD pcbBytesNeeded
7365 LPSERVICE_STATUS lpServiceStatus
7370 SetServiceObjectSecurity(
7372 SECURITY_INFORMATION dwSecurityInformation
,
7373 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7380 SERVICE_STATUS_HANDLE hServiceStatus
,
7381 LPSERVICE_STATUS lpServiceStatus
7386 UnlockServiceDatabase(
7390 /* Extensions to OpenGL */
7393 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7396 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7399 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7400 CONST PIXELFORMATDESCRIPTOR
*);
7403 GetPixelFormat(HDC
);
7406 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7412 wglCreateContext(HDC
);
7415 wglCreateLayerContext(HDC
, int);
7418 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7421 wglDeleteContext(HGLRC
);
7424 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7427 wglGetCurrentContext(VOID
);
7430 wglGetCurrentDC(VOID
);
7433 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7436 wglGetProcAddress(LPCSTR
);
7439 wglMakeCurrent(HDC
, HGLRC
);
7442 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7445 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7448 wglShareLists(HGLRC
, HGLRC
);
7451 wglSwapLayerBuffers(HDC
, UINT
);
7454 Why are these different between ANSI and UNICODE?
7455 There doesn't seem to be any difference.
7459 #define wglUseFontBitmaps wglUseFontBitmapsW
7460 #define wglUseFontOutlines wglUseFontOutlinesW
7462 #define wglUseFontBitmaps wglUseFontBitmapsA
7463 #define wglUseFontOutlines wglUseFontOutlinesA
7464 #endif /* !UNICODE */
7466 /* ------------------------------------- */
7467 /* From shellapi.h in old Cygnus headers */
7470 DragQueryPoint (HDROP
, LPPOINT
);
7476 DragAcceptFiles (HWND
, WINBOOL
);
7479 DuplicateIcon (HINSTANCE
, HICON
);
7481 /* end of stuff from shellapi.h in old Cygnus headers */
7482 /* -------------------------------------------------- */
7483 /* From ddeml.h in old Cygnus headers */
7485 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7486 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7487 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7488 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7489 UINT WINAPI
DdeGetLastError (DWORD
);
7490 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7491 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7492 HCONV WINAPI
DdeReconnect (HCONV
);
7493 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7494 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7495 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7498 /* end of stuff from ddeml.h in old Cygnus headers */
7499 /* ----------------------------------------------- */
7501 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7503 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7504 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7505 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7506 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7508 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7512 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7514 DWORD STDCALL
GetCurrentTime(VOID
);
7517 SHAddToRecentDocs (UINT
, LPCVOID
);
7520 SHBrowseForFolder (LPBROWSEINFO
);
7523 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7526 SHFileOperation (LPSHFILEOPSTRUCT
);
7529 SHFreeNameMappings (HANDLE
);
7531 /* Define when SHELLFOLDER is defined.
7533 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7536 SHGetDesktopFolder (LPSHELLFOLDER);
7540 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7542 /* Define when IUnknown is defined.
7544 SHGetInstanceExplorer (IUnknown **);
7547 /* Define when MALLOC is defined.
7549 SHGetMalloc (LPMALLOC *);
7553 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7556 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7558 /* Define when REFCLSID is defined.
7560 SHLoadInProc (REFCLSID);
7566 VOID (WINAPI
*PFIBER_START_ROUTINE
) (
7567 IN LPVOID lpFiberArgument
7569 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
;
7573 ConvertThreadToFiber (
7580 LPFIBER_START_ROUTINE lpStartAddress
,
7606 RegisterServicesProcess(DWORD ServicesProcessId
);
7610 #endif /* __cplusplus */
7612 #endif /* WIN32_LEAN_AND_MEAN */
7614 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */