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 */
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
45 #endif /* !UNICODE_ONLY */
49 #endif /* !ANSI_ONLY */
51 /* Define the approprate declaration based upon UNICODE or ASCII */
56 #define RegConnectRegistry RegConnectRegistryW
57 #define RegCreateKey RegCreateKeyW
58 #define RegCreateKeyEx RegCreateKeyExW
59 #define RegDeleteKey RegDeleteKeyW
60 #define RegDeleteValue RegDeleteValueW
61 #define RegEnumKey RegEnumKeyW
62 #define RegEnumKeyEx RegEnumKeyExW
63 #define RegEnumValue RegEnumValueW
64 #define RegLoadKey RegLoadKeyW
65 #define RegOpenKey RegOpenKeyW
66 #define RegOpenKeyEx RegOpenKeyExW
67 #define RegQueryInfoKey RegQueryInfoKeyW
68 #define RegQueryValue RegQueryValueW
69 #define RegQueryMultipleValues RegQueryMultipleValuesW
70 #define RegQueryValueEx RegQueryValueExW
71 #define RegReplaceKey RegReplaceKeyW
72 #define RegRestoreKey RegRestoreKeyW
73 #define RegSaveKey RegSaveKeyW
74 #define RegSetValue RegSetValueW
75 #define RegSetValueEx RegSetValueExW
76 #define AbortSystemShutdown AbortSystemShutdownW
77 #define InitiateSystemShutdown InitiateSystemShutdownW
78 #define RegUnLoadKey RegUnLoadKeyW
79 #define SetProp SetPropW
80 #define GetProp GetPropW
81 #define RemoveProp RemovePropW
82 #define EnumPropsEx EnumPropsExW
83 #define EnumProps EnumPropsW
84 #define SetWindowText SetWindowTextW
85 #define GetWindowText GetWindowTextW
86 #define GetWindowTextLength GetWindowTextLengthW
87 #define MessageBox MessageBoxW
88 #define MessageBoxEx MessageBoxExW
89 #define MessageBoxIndirect MessageBoxIndirectW
90 #define GetWindowLong GetWindowLongW
91 #define SetWindowLong SetWindowLongW
92 #define GetClassLong GetClassLongW
93 #define SetClassLong SetClassLongW
94 #define FindWindow FindWindowW
95 #define FindWindowEx FindWindowExW
96 #define GetClassName GetClassNameW
97 #define SetWindowsHookEx SetWindowsHookExW
98 #define LoadBitmap LoadBitmapW
99 #define LoadCursor LoadCursorW
100 #define LoadCursorFromFile LoadCursorFromFileW
101 #define LoadIcon LoadIconW
102 #define LoadImage LoadImageW
103 #define LoadString LoadStringW
104 #define IsDialogMessage IsDialogMessageW
105 #define DlgDirList DlgDirListW
106 #define DlgDirSelectEx DlgDirSelectExW
107 #define DlgDirListComboBox DlgDirListComboBoxW
108 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
109 #define DefFrameProc DefFrameProcW
110 #define DefMDIChildProc DefMDIChildProcW
111 #define CreateMDIWindow CreateMDIWindowW
112 #define WinHelp WinHelpW
113 #define ChangeDisplaySettings ChangeDisplaySettingsW
114 #define EnumDisplaySettings EnumDisplaySettingsW
115 #define SystemParametersInfo SystemParametersInfoW
116 #define AddFontResource AddFontResourceW
117 #define CopyMetaFile CopyMetaFileW
118 #define CreateDC CreateDCW
119 #define CreateFontIndirect CreateFontIndirectW
120 #define CreateFont CreateFontW
121 #define CreateIC CreateICW
122 #define CreateMetaFile CreateMetaFileW
123 #define CreateScalableFontResource CreateScalableFontResourceW
124 #define DeviceCapabilities DeviceCapabilitiesW
125 #define EnumFontFamiliesEx EnumFontFamiliesExW
126 #define EnumFontFamilies EnumFontFamiliesW
127 #define EnumFonts EnumFontsW
128 #define GetCharWidth GetCharWidthW
129 #define GetCharWidth32 GetCharWidth32W
130 #define GetCharWidthFloat GetCharWidthFloatW
131 #define GetCharABCWidths GetCharABCWidthsW
132 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
133 #define GetGlyphOutline GetGlyphOutlineW
134 #define GetMetaFile GetMetaFileW
135 #define GetOutlineTextMetrics GetOutlineTextMetricsW
136 #define GetTextExtentPoint GetTextExtentPointW
137 #define GetTextExtentPoint32 GetTextExtentPoint32W
138 #define GetTextExtentExPoint GetTextExtentExPointW
139 #define GetCharacterPlacement GetCharacterPlacementW
140 #define ResetDC ResetDCW
141 #define RemoveFontResource RemoveFontResourceW
142 #define CopyEnhMetaFile CopyEnhMetaFileW
143 #define CreateEnhMetaFile CreateEnhMetaFileW
144 #define GetEnhMetaFile GetEnhMetaFileW
145 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
146 #define GetTextMetrics GetTextMetricsW
147 #define StartDoc StartDocW
148 #define GetObject GetObjectW
149 #define TextOut TextOutW
150 #define ExtTextOut ExtTextOutW
151 #define PolyTextOut PolyTextOutW
152 #define GetTextFace GetTextFaceW
153 #define GetKerningPairs GetKerningPairsW
154 #define GetLogColorSpace GetLogColorSpaceW
155 #define CreateColorSpace CreateColorSpaceW
156 #define GetICMProfile GetICMProfileW
157 #define SetICMProfile SetICMProfileW
158 #define UpdateICMRegKey UpdateICMRegKeyW
159 #define EnumICMProfiles EnumICMProfilesW
160 #define CreatePropertySheetPage CreatePropertySheetPageW
161 #define PropertySheet PropertySheetW
162 #define ImageList_LoadImage ImageList_LoadImageW
163 #define CreateStatusWindow CreateStatusWindowW
164 #define DrawStatusText DrawStatusTextW
165 #define GetOpenFileName GetOpenFileNameW
166 #define GetSaveFileName GetSaveFileNameW
167 #define GetFileTitle GetFileTitleW
168 #define ChooseColor ChooseColorW
169 #define FindText FindTextW
170 #define ReplaceText ReplaceTextW
171 #define ChooseFont ChooseFontW
172 #define PrintDlg PrintDlgW
173 #define PageSetupDlg PageSetupDlgW
174 #define DefWindowProc DefWindowProcW
175 #define CallWindowProc CallWindowProcW
176 #define RegisterClass RegisterClassW
177 #define UnregisterClass UnregisterClassW
178 #define GetClassInfo GetClassInfoW
179 #define RegisterClassEx RegisterClassExW
180 #define GetClassInfoEx GetClassInfoExW
181 #define CreateWindowEx CreateWindowExW
182 #define CreateWindow CreateWindowW
183 #define CreateDialogParam CreateDialogParamW
184 #define CreateDialogIndirectParam CreateDialogIndirectParamW
185 #define CreateDialog CreateDialogW
186 #define CreateDialogIndirect CreateDialogIndirectW
187 #define DialogBoxParam DialogBoxParamW
188 #define DialogBoxIndirectParam DialogBoxIndirectParamW
189 #define DialogBox DialogBoxW
190 #define DialogBoxIndirect DialogBoxIndirectW
191 #define RegisterClipboardFormat RegisterClipboardFormatW
192 #define SetDlgItemText SetDlgItemTextW
193 #define GetDlgItemText GetDlgItemTextW
194 #define SendDlgItemMessage SendDlgItemMessageW
195 #define DefDlgProc DefDlgProcW
196 #define CallMsgFilter CallMsgFilterW
197 #define GetClipboardFormatName GetClipboardFormatNameW
198 #define CharToOem CharToOemW
199 #define OemToChar OemToCharW
200 #define CharToOemBuff CharToOemBuffW
201 #define OemToCharBuff OemToCharBuffW
202 #define CharUpper CharUpperW
203 #define CharUpperBuff CharUpperBuffW
204 #define CharLower CharLowerW
205 #define CharLowerBuff CharLowerBuffW
206 #define CharNext CharNextW
207 #define CharPrev CharPrevW
208 #define IsCharAlpha IsCharAlphaW
209 #define IsCharAlphaNumeric IsCharAlphaNumericW
210 #define IsCharUpper IsCharUpperW
211 #define IsCharLower IsCharLowerW
212 #define GetKeyNameText GetKeyNameTextW
213 #define VkKeyScan VkKeyScanW
214 #define VkKeyScanEx VkKeyScanExW
215 #define MapVirtualKey MapVirtualKeyW
216 #define MapVirtualKeyEx MapVirtualKeyExW
217 #define LoadAccelerators LoadAcceleratorsW
218 #define CreateAcceleratorTable CreateAcceleratorTableW
219 #define CopyAcceleratorTable CopyAcceleratorTableW
220 #define TranslateAccelerator TranslateAcceleratorW
221 #define LoadMenu LoadMenuW
222 #define LoadMenuIndirect LoadMenuIndirectW
223 #define ChangeMenu ChangeMenuW
224 #define GetMenuString GetMenuStringW
225 #define InsertMenu InsertMenuW
226 #define AppendMenu AppendMenuW
227 #define ModifyMenu ModifyMenuW
228 #define InsertMenuItem InsertMenuItemW
229 #define GetMenuItemInfo GetMenuItemInfoW
230 #define SetMenuItemInfo SetMenuItemInfoW
231 #define DrawText DrawTextW
232 #define DrawTextEx DrawTextExW
233 #define GrayString GrayStringW
234 #define DrawState DrawStateW
235 #define TabbedTextOut TabbedTextOutW
236 #define GetTabbedTextExtent GetTabbedTextExtentW
237 #define GetVersionEx GetVersionExW
238 #define wvsprintf wvsprintfW
239 #define wsprintf wsprintfW
240 #define LoadKeyboardLayout LoadKeyboardLayoutW
241 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
242 #define CreateDesktop CreateDesktopW
243 #define OpenDesktop OpenDesktopW
244 #define EnumDesktops EnumDesktopsW
245 #define CreateWindowStation CreateWindowStationW
246 #define OpenWindowStation OpenWindowStationW
247 #define EnumWindowStations EnumWindowStationsW
248 #define IsBadStringPtr IsBadStringPtrW
249 #define LookupAccountSid LookupAccountSidW
250 #define LookupAccountName LookupAccountNameW
251 #define LookupPrivilegeValue LookupPrivilegeValueW
252 #define LookupPrivilegeName LookupPrivilegeNameW
253 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
254 #define BuildCommDCB BuildCommDCBW
255 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
256 #define CommConfigDialog CommConfigDialogW
257 #define GetDefaultCommConfig GetDefaultCommConfigW
258 #define SetDefaultCommConfig SetDefaultCommConfigW
259 #define GetComputerName GetComputerNameW
260 #define SetComputerName SetComputerNameW
261 #define GetUserName GetUserNameW
262 #define CreateMailslot CreateMailslotW
263 #define FormatMessage FormatMessageW
264 #define GetEnvironmentStrings GetEnvironmentStringsW
265 #define FreeEnvironmentStrings FreeEnvironmentStringsW
266 #define lstrcmp lstrcmpW
267 #define lstrcmpi lstrcmpiW
268 #define lstrcpyn lstrcpynW
269 #define lstrcpy lstrcpyW
270 #define lstrcat lstrcatW
271 #define lstrlen lstrlenW
272 #define GetBinaryType GetBinaryTypeW
273 #define GetShortPathName GetShortPathNameW
274 #define SetFileSecurity SetFileSecurityW
275 #define GetFileSecurity GetFileSecurityW
276 #define FindFirstChangeNotification FindFirstChangeNotificationW
277 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
278 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
279 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
280 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
281 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
282 #define OpenEventLog OpenEventLogW
283 #define RegisterEventSource RegisterEventSourceW
284 #define OpenBackupEventLog OpenBackupEventLogW
285 #define ReadEventLog ReadEventLogW
286 #define ReportEvent ReportEventW
287 #define CreateProcess CreateProcessW
288 #define FatalAppExit FatalAppExitW
289 #define GetStartupInfo GetStartupInfoW
290 #define GetEnvironmentVariable GetEnvironmentVariableW
291 #define GetCommandLine GetCommandLineW
292 #define SetEnvironmentVariable SetEnvironmentVariableW
293 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
294 #define OutputDebugString OutputDebugStringW
295 #define FindResource FindResourceW
296 #define FindResourceEx FindResourceExW
297 #define EnumResourceTypes EnumResourceTypesW
298 #define EnumResourceNames EnumResourceNamesW
299 #define EnumResourceLanguages EnumResourceLanguagesW
300 #define BeginUpdateResource BeginUpdateResourceW
301 #define UpdateResource UpdateResourceW
302 #define EndUpdateResource EndUpdateResourceW
303 #define GlobalAddAtom GlobalAddAtomW
304 #define GlobalFindAtom GlobalFindAtomW
305 #define GlobalGetAtomName GlobalGetAtomNameW
306 #define AddAtom AddAtomW
307 #define FindAtom FindAtomW
308 #define GetAtomName GetAtomNameW
309 #define GetProfileInt GetProfileIntW
310 #define GetProfileString GetProfileStringW
311 #define WriteProfileString WriteProfileStringW
312 #define GetProfileSection GetProfileSectionW
313 #define WriteProfileSection WriteProfileSectionW
314 #define GetPrivateProfileInt GetPrivateProfileIntW
315 #define GetPrivateProfileString GetPrivateProfileStringW
316 #define WritePrivateProfileString WritePrivateProfileStringW
317 #define GetPrivateProfileSection GetPrivateProfileSectionW
318 #define WritePrivateProfileSection WritePrivateProfileSectionW
319 #define GetDriveType GetDriveTypeW
320 #define GetSystemDirectory GetSystemDirectoryW
321 #define GetTempPath GetTempPathW
322 #define GetTempFileName GetTempFileNameW
323 #define GetWindowsDirectory GetWindowsDirectoryW
324 #define SetCurrentDirectory SetCurrentDirectoryW
325 #define GetCurrentDirectory GetCurrentDirectoryW
326 #define GetDiskFreeSpace GetDiskFreeSpaceW
327 #define CreateDirectory CreateDirectoryW
328 #define CreateDirectoryEx CreateDirectoryExW
329 #define RemoveDirectory RemoveDirectoryW
330 #define GetFullPathName GetFullPathNameW
331 #define DefineDosDevice DefineDosDeviceW
332 #define QueryDosDevice QueryDosDeviceW
333 #define CreateFile CreateFileW
334 #define SetFileAttributes SetFileAttributesW
335 #define GetFileAttributes GetFileAttributesW
336 #define GetCompressedFileSize GetCompressedFileSizeW
337 #define DeleteFile DeleteFileW
338 #define FindFirstFileEx FindFirstFileExW
339 #define FindFirstFile FindFirstFileW
340 #define FindNextFile FindNextFileW
341 #define SearchPath SearchPathW
342 #define CopyFile CopyFileW
343 #define MoveFile MoveFileW
344 #define MoveFileEx MoveFileExW
345 #define CreateNamedPipe CreateNamedPipeW
346 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
347 #define CallNamedPipe CallNamedPipeW
348 #define WaitNamedPipe WaitNamedPipeW
349 #define SetVolumeLabel SetVolumeLabelW
350 #define GetVolumeInformation GetVolumeInformationW
351 #define ClearEventLog ClearEventLogW
352 #define BackupEventLog BackupEventLogW
353 #define CreateMutex CreateMutexW
354 #define OpenMutex OpenMutexW
355 #define CreateEvent CreateEventW
356 #define OpenEvent OpenEventW
357 #define CreateSemaphore CreateSemaphoreW
358 #define OpenSemaphore OpenSemaphoreW
359 #define CreateFileMapping CreateFileMappingW
360 #define OpenFileMapping OpenFileMappingW
361 #define GetLogicalDriveStrings GetLogicalDriveStringsW
362 #define LoadLibrary LoadLibraryW
363 #define LoadLibraryEx LoadLibraryExW
364 #define GetModuleFileName GetModuleFileNameW
365 #define GetModuleHandle GetModuleHandleW
366 #define GetUserObjectInformation GetUserObjectInformationW
367 #define SetUserObjectInformation SetUserObjectInformationW
368 #define RegisterWindowMessage RegisterWindowMessageW
369 #define GetMessage GetMessageW
370 #define DispatchMessage DispatchMessageW
371 #define PeekMessage PeekMessageW
372 #define SendMessage SendMessageW
373 #define SendMessageTimeout SendMessageTimeoutW
374 #define SendNotifyMessage SendNotifyMessageW
375 #define SendMessageCallback SendMessageCallbackW
376 #define PostMessage PostMessageW
377 #define PostThreadMessage PostThreadMessageW
378 #define VerFindFile VerFindFileW
379 #define VerInstallFile VerInstallFileW
380 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
381 #define GetFileVersionInfo GetFileVersionInfoW
382 #define VerLanguageName VerLanguageNameW
383 #define VerQueryValue VerQueryValueW
384 #define CompareString CompareStringW
385 #define LCMapString LCMapStringW
386 #define GetLocaleInfo GetLocaleInfoW
387 #define SetLocaleInfo SetLocaleInfoW
388 #define GetTimeFormat GetTimeFormatW
389 #define GetDateFormat GetDateFormatW
390 #define GetNumberFormat GetNumberFormatW
391 #define GetCurrencyFormat GetCurrencyFormatW
392 #define EnumCalendarInfo EnumCalendarInfoW
393 #define EnumTimeFormats EnumTimeFormatsW
394 #define FoldString FoldStringW
395 #define EnumSystemCodePages EnumSystemCodePagesW
396 #define EnumSystemLocales EnumSystemLocalesW
397 #define GetStringTypeEx GetStringTypeExW
398 #define EnumDateFormats EnumDateFormatsW
399 #define GetConsoleTitle GetConsoleTitleW
400 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
401 #define SetConsoleTitle SetConsoleTitleW
402 #define ReadConsole ReadConsoleW
403 #define WriteConsole WriteConsoleW
404 #define PeekConsoleInput PeekConsoleInputW
405 #define ReadConsoleInput ReadConsoleInputW
406 #define WriteConsoleInput WriteConsoleInputW
407 #define ReadConsoleOutput ReadConsoleOutputW
408 #define WriteConsoleOutput WriteConsoleOutputW
409 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
410 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
411 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
412 #define WNetGetProviderName WNetGetProviderNameW
413 #define WNetGetNetworkInformation WNetGetNetworkInformationW
414 #define WNetGetLastError WNetGetLastErrorW
415 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
416 #define WNetConnectionDialog1 WNetConnectionDialog1W
417 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
418 #define WNetOpenEnum WNetOpenEnumW
419 #define WNetEnumResource WNetEnumResourceW
420 #define WNetGetUniversalName WNetGetUniversalNameW
421 #define WNetGetUser WNetGetUserW
422 #define WNetAddConnection WNetAddConnectionW
423 #define WNetAddConnection2 WNetAddConnection2W
424 #define WNetAddConnection3 WNetAddConnection3W
425 #define WNetCancelConnection WNetCancelConnectionW
426 #define WNetCancelConnection2 WNetCancelConnection2W
427 #define WNetGetConnection WNetGetConnectionW
428 #define WNetUseConnection WNetUseConnectionW
429 #define WNetSetConnection WNetSetConnectionW
430 #define CreateService CreateServiceW
431 #define ChangeServiceConfig ChangeServiceConfigW
432 #define EnumDependentServices EnumDependentServicesW
433 #define EnumServicesStatus EnumServicesStatusW
434 #define GetServiceKeyName GetServiceKeyNameW
435 #define GetServiceDisplayName GetServiceDisplayNameW
436 #define OpenSCManager OpenSCManagerW
437 #define OpenService OpenServiceW
438 #define QueryServiceConfig QueryServiceConfigW
439 #define QueryServiceLockStatus QueryServiceLockStatusW
440 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
441 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
442 #define StartService StartServiceW
443 #define DragQueryFile DragQueryFileW
444 #define ExtractAssociatedIcon ExtractAssociatedIconW
445 #define ExtractIcon ExtractIconW
446 #define FindExecutable FindExecutableW
447 #define ShellAbout ShellAboutW
448 #define ShellExecute ShellExecuteW
449 #define DdeCreateStringHandle DdeCreateStringHandleW
450 #define DdeInitialize DdeInitializeW
451 #define DdeQueryString DdeQueryStringW
452 #define LogonUser LogonUserW
453 #define CreateProcessAsUser CreateProcessAsUserW
458 #define RegConnectRegistry RegConnectRegistryA
459 #define RegCreateKey RegCreateKeyA
460 #define RegCreateKeyEx RegCreateKeyExA
461 #define RegDeleteKey RegDeleteKeyA
462 #define RegDeleteValue RegDeleteValueA
463 #define RegEnumKey RegEnumKeyA
464 #define RegEnumKeyEx RegEnumKeyExA
465 #define RegEnumValue RegEnumValueA
466 #define RegLoadKey RegLoadKeyA
467 #define RegOpenKey RegOpenKeyA
468 #define RegOpenKeyEx RegOpenKeyExA
469 #define RegQueryInfoKey RegQueryInfoKeyA
470 #define RegQueryValue RegQueryValueA
471 #define RegQueryMultipleValues RegQueryMultipleValuesA
472 #define RegQueryValueEx RegQueryValueExA
473 #define RegReplaceKey RegReplaceKeyA
474 #define RegRestoreKey RegRestoreKeyA
475 #define RegSaveKey RegSaveKeyA
476 #define RegSetValue RegSetValueA
477 #define RegSetValueEx RegSetValueExA
478 #define AbortSystemShutdown AbortSystemShutdownA
479 #define InitiateSystemShutdown InitiateSystemShutdownA
480 #define RegUnLoadKey RegUnLoadKeyA
481 #define LoadIcon LoadIconA
482 #define LoadImage LoadImageA
483 #define LoadString LoadStringA
484 #define IsDialogMessage IsDialogMessageA
485 #define DlgDirList DlgDirListA
486 #define DlgDirSelectEx DlgDirSelectExA
487 #define DlgDirListComboBox DlgDirListComboBoxA
488 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
489 #define DefFrameProc DefFrameProcA
490 #define DefMDIChildProc DefMDIChildProcA
491 #define CreateMDIWindow CreateMDIWindowA
492 #define WinHelp WinHelpA
493 #define ChangeDisplaySettings ChangeDisplaySettingsA
494 #define EnumDisplaySettings EnumDisplaySettingsA
495 #define SystemParametersInfo SystemParametersInfoA
496 #define GetWindowLong GetWindowLongA
497 #define SetWindowLong SetWindowLongA
498 #define GetClassLong GetClassLongA
499 #define SetClassLong SetClassLongA
500 #define FindWindow FindWindowA
501 #define FindWindowEx FindWindowExA
502 #define GetClassName GetClassNameA
503 #define SetWindowsHookEx SetWindowsHookExA
504 #define LoadBitmap LoadBitmapA
505 #define LoadCursor LoadCursorA
506 #define LoadCursorFromFile LoadCursorFromFileA
507 #define SetProp SetPropA
508 #define GetProp GetPropA
509 #define RemoveProp RemovePropA
510 #define EnumPropsEx EnumPropsExA
511 #define EnumProps EnumPropsA
512 #define SetWindowText SetWindowTextA
513 #define GetWindowText GetWindowTextA
514 #define GetWindowTextLength GetWindowTextLengthA
515 #define MessageBox MessageBoxA
516 #define MessageBoxEx MessageBoxExA
517 #define MessageBoxIndirect MessageBoxIndirectA
518 #define AddFontResource AddFontResourceA
519 #define CopyMetaFile CopyMetaFileA
520 #define CreateDC CreateDCA
521 #define CreateFontIndirect CreateFontIndirectA
522 #define CreateFont CreateFontA
523 #define CreateIC CreateICA
524 #define CreateMetaFile CreateMetaFileA
525 #define CreateScalableFontResource CreateScalableFontResourceA
526 #define DeviceCapabilities DeviceCapabilitiesA
527 #define EnumFontFamiliesEx EnumFontFamiliesExA
528 #define EnumFontFamilies EnumFontFamiliesA
529 #define EnumFonts EnumFontsA
530 #define GetCharWidth GetCharWidthA
531 #define GetCharWidth32 GetCharWidth32A
532 #define GetCharWidthFloat GetCharWidthFloatA
533 #define GetCharABCWidths GetCharABCWidthsA
534 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
535 #define GetGlyphOutline GetGlyphOutlineA
536 #define GetMetaFile GetMetaFileA
537 #define GetOutlineTextMetrics GetOutlineTextMetricsA
538 #define GetTextExtentPoint GetTextExtentPointA
539 #define GetTextExtentPoint32 GetTextExtentPoint32A
540 #define GetTextExtentExPoint GetTextExtentExPointA
541 #define GetCharacterPlacement GetCharacterPlacementA
542 #define ResetDC ResetDCA
543 #define RemoveFontResource RemoveFontResourceA
544 #define CopyEnhMetaFile CopyEnhMetaFileA
545 #define CreateEnhMetaFile CreateEnhMetaFileA
546 #define GetEnhMetaFile GetEnhMetaFileA
547 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
548 #define GetTextMetrics GetTextMetricsA
549 #define StartDoc StartDocA
550 #define GetObject GetObjectA
551 #define TextOut TextOutA
552 #define ExtTextOut ExtTextOutA
553 #define PolyTextOut PolyTextOutA
554 #define GetTextFace GetTextFaceA
555 #define GetKerningPairs GetKerningPairsA
556 #define GetLogColorSpace GetLogColorSpaceA
557 #define CreateColorSpace CreateColorSpaceA
558 #define GetICMProfile GetICMProfileA
559 #define SetICMProfile SetICMProfileA
560 #define UpdateICMRegKey UpdateICMRegKeyA
561 #define EnumICMProfiles EnumICMProfilesA
562 #define CreatePropertySheetPage CreatePropertySheetPageA
563 #define PropertySheet PropertySheetA
564 #define ImageList_LoadImage ImageList_LoadImageA
565 #define CreateStatusWindow CreateStatusWindowA
566 #define DrawStatusText DrawStatusTextA
567 #define GetOpenFileName GetOpenFileNameA
568 #define GetSaveFileName GetSaveFileNameA
569 #define GetFileTitle GetFileTitleA
570 #define ChooseColor ChooseColorA
571 #define FindText FindTextA
572 #define ReplaceText ReplaceTextA
573 #define ChooseFont ChooseFontA
574 #define PrintDlg PrintDlgA
575 #define PageSetupDlg PageSetupDlgA
576 #define DefWindowProc DefWindowProcA
577 #define CallWindowProc CallWindowProcA
578 #define RegisterClass RegisterClassA
579 #define UnregisterClass UnregisterClassA
580 #define GetClassInfo GetClassInfoA
581 #define RegisterClassEx RegisterClassExA
582 #define GetClassInfoEx GetClassInfoExA
583 #define CreateWindowEx CreateWindowExA
584 #define CreateWindow CreateWindowA
585 #define CreateDialogParam CreateDialogParamA
586 #define CreateDialogIndirectParam CreateDialogIndirectParamA
587 #define CreateDialog CreateDialogA
588 #define CreateDialogIndirect CreateDialogIndirectA
589 #define CreateWaitableTimer CreateWaitableTimerA
590 #define DialogBoxParam DialogBoxParamA
591 #define DialogBoxIndirectParam DialogBoxIndirectParamA
592 #define DialogBox DialogBoxA
593 #define DialogBoxIndirect DialogBoxIndirectA
594 #define RegisterClipboardFormat RegisterClipboardFormatA
595 #define SetDlgItemText SetDlgItemTextA
596 #define GetDlgItemText GetDlgItemTextA
597 #define SendDlgItemMessage SendDlgItemMessageA
598 #define DefDlgProc DefDlgProcA
599 #define CallMsgFilter CallMsgFilterA
600 #define GetClipboardFormatName GetClipboardFormatNameA
601 #define CharToOem CharToOemA
602 #define OemToChar OemToCharA
603 #define CharToOemBuff CharToOemBuffA
604 #define OemToCharBuff OemToCharBuffA
605 #define CharUpper CharUpperA
606 #define CharUpperBuff CharUpperBuffA
607 #define CharLower CharLowerA
608 #define CharLowerBuff CharLowerBuffA
609 #define CharNext CharNextA
610 #define CharPrev CharPrevA
611 #define IsCharAlpha IsCharAlphaA
612 #define IsCharAlphaNumeric IsCharAlphaNumericA
613 #define IsCharUpper IsCharUpperA
614 #define IsCharLower IsCharLowerA
615 #define GetKeyNameText GetKeyNameTextA
616 #define VkKeyScan VkKeyScanA
617 #define VkKeyScanEx VkKeyScanExA
618 #define MapVirtualKey MapVirtualKeyA
619 #define MapVirtualKeyEx MapVirtualKeyExA
620 #define LoadAccelerators LoadAcceleratorsA
621 #define CreateAcceleratorTable CreateAcceleratorTableA
622 #define CopyAcceleratorTable CopyAcceleratorTableA
623 #define TranslateAccelerator TranslateAcceleratorA
624 #define LoadMenu LoadMenuA
625 #define LoadMenuIndirect LoadMenuIndirectA
626 #define ChangeMenu ChangeMenuA
627 #define GetMenuString GetMenuStringA
628 #define InsertMenu InsertMenuA
629 #define AppendMenu AppendMenuA
630 #define ModifyMenu ModifyMenuA
631 #define InsertMenuItem InsertMenuItemA
632 #define GetMenuItemInfo GetMenuItemInfoA
633 #define SetMenuItemInfo SetMenuItemInfoA
634 #define DrawText DrawTextA
635 #define DrawTextEx DrawTextExA
636 #define GrayString GrayStringA
637 #define DrawState DrawStateA
638 #define TabbedTextOut TabbedTextOutA
639 #define GetTabbedTextExtent GetTabbedTextExtentA
640 #define GetVersionEx GetVersionExA
641 #define wvsprintf wvsprintfA
642 #define wsprintf wsprintfA
643 #define LoadKeyboardLayout LoadKeyboardLayoutA
644 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
645 #define CreateDesktop CreateDesktopA
646 #define OpenDesktop OpenDesktopA
647 #define EnumDesktops EnumDesktopsA
648 #define CreateWindowStation CreateWindowStationA
649 #define OpenWindowStation OpenWindowStationA
650 #define EnumWindowStations EnumWindowStationsA
651 #define IsBadStringPtr IsBadStringPtrA
652 #define LookupAccountSid LookupAccountSidA
653 #define LookupAccountName LookupAccountNameA
654 #define LookupPrivilegeValue LookupPrivilegeValueA
655 #define LookupPrivilegeName LookupPrivilegeNameA
656 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
657 #define BuildCommDCB BuildCommDCBA
658 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
659 #define CommConfigDialog CommConfigDialogA
660 #define GetDefaultCommConfig GetDefaultCommConfigA
661 #define SetDefaultCommConfig SetDefaultCommConfigA
662 #define GetComputerName GetComputerNameA
663 #define SetComputerName SetComputerNameA
664 #define GetUserName GetUserNameA
665 #define CreateMailslot CreateMailslotA
666 #define FormatMessage FormatMessageA
667 #define GetEnvironmentStrings GetEnvironmentStringsA
668 #define FreeEnvironmentStrings FreeEnvironmentStringsA
669 #define lstrcmp lstrcmpA
670 #define lstrcmpi lstrcmpiA
671 #define lstrcpyn lstrcpynA
672 #define lstrcpy lstrcpyA
673 #define lstrcat lstrcatA
674 #define lstrlen lstrlenA
675 #define GetBinaryType GetBinaryTypeA
676 #define GetShortPathName GetShortPathNameA
677 #define SetFileSecurity SetFileSecurityA
678 #define GetFileSecurity GetFileSecurityA
679 #define FindFirstChangeNotification FindFirstChangeNotificationA
680 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
681 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
682 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
683 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
684 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
685 #define OpenEventLog OpenEventLogA
686 #define RegisterEventSource RegisterEventSourceA
687 #define OpenBackupEventLog OpenBackupEventLogA
688 #define ReadEventLog ReadEventLogA
689 #define ReportEvent ReportEventA
690 #define CreateProcess CreateProcessA
691 #define FatalAppExit FatalAppExitA
692 #define GetStartupInfo GetStartupInfoA
693 #define GetCommandLine GetCommandLineA
694 #define GetEnvironmentVariable GetEnvironmentVariableA
695 #define SetEnvironmentVariable SetEnvironmentVariableA
696 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
697 #define OutputDebugString OutputDebugStringA
698 #define FindResource FindResourceA
699 #define FindResourceEx FindResourceExA
700 #define EnumResourceTypes EnumResourceTypesA
701 #define EnumResourceNames EnumResourceNamesA
702 #define EnumResourceLanguages EnumResourceLanguagesA
703 #define BeginUpdateResource BeginUpdateResourceA
704 #define UpdateResource UpdateResourceA
705 #define EndUpdateResource EndUpdateResourceA
706 #define GlobalAddAtom GlobalAddAtomA
707 #define GlobalFindAtom GlobalFindAtomA
708 #define GlobalGetAtomName GlobalGetAtomNameA
709 #define AddAtom AddAtomA
710 #define FindAtom FindAtomA
711 #define GetProfileInt GetProfileIntA
712 #define GetAtomName GetAtomNameA
713 #define GetProfileString GetProfileStringA
714 #define WriteProfileString WriteProfileStringA
715 #define GetProfileSection GetProfileSectionA
716 #define WriteProfileSection WriteProfileSectionA
717 #define GetPrivateProfileInt GetPrivateProfileIntA
718 #define GetPrivateProfileString GetPrivateProfileStringA
719 #define WritePrivateProfileString WritePrivateProfileStringA
720 #define GetPrivateProfileSection GetPrivateProfileSectionA
721 #define WritePrivateProfileSection WritePrivateProfileSectionA
722 #define GetDriveType GetDriveTypeA
723 #define GetSystemDirectory GetSystemDirectoryA
724 #define GetTempPath GetTempPathA
725 #define GetTempFileName GetTempFileNameA
726 #define GetWindowsDirectory GetWindowsDirectoryA
727 #define SetCurrentDirectory SetCurrentDirectoryA
728 #define GetCurrentDirectory GetCurrentDirectoryA
729 #define GetDiskFreeSpace GetDiskFreeSpaceA
730 #define CreateDirectory CreateDirectoryA
731 #define CreateDirectoryEx CreateDirectoryExA
732 #define RemoveDirectory RemoveDirectoryA
733 #define GetFullPathName GetFullPathNameA
734 #define DefineDosDevice DefineDosDeviceA
735 #define QueryDosDevice QueryDosDeviceA
736 #define CreateFile CreateFileA
737 #define SetFileAttributes SetFileAttributesA
738 #define GetFileAttributes GetFileAttributesA
739 #define GetCompressedFileSize GetCompressedFileSizeA
740 #define DeleteFile DeleteFileA
741 #define FindFirstFileEx FindFirstFileExA
742 #define FindFirstFile FindFirstFileA
743 #define FindNextFile FindNextFileA
744 #define SearchPath SearchPathA
745 #define CopyFile CopyFileA
746 #define MoveFile MoveFileA
747 #define MoveFileEx MoveFileExA
748 #define CreateNamedPipe CreateNamedPipeA
749 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
750 #define CallNamedPipe CallNamedPipeA
751 #define WaitNamedPipe WaitNamedPipeA
752 #define SetVolumeLabel SetVolumeLabelA
753 #define GetVolumeInformation GetVolumeInformationA
754 #define ClearEventLog ClearEventLogA
755 #define BackupEventLog BackupEventLogA
756 #define CreateMutex CreateMutexA
757 #define OpenMutex OpenMutexA
758 #define CreateEvent CreateEventA
759 #define OpenEvent OpenEventA
760 #define CreateSemaphore CreateSemaphoreA
761 #define OpenSemaphore OpenSemaphoreA
762 #define CreateFileMapping CreateFileMappingA
763 #define OpenFileMapping OpenFileMappingA
764 #define GetLogicalDriveStrings GetLogicalDriveStringsA
765 #define LoadLibrary LoadLibraryA
766 #define LoadLibraryEx LoadLibraryExA
767 #define GetModuleFileName GetModuleFileNameA
768 #define GetModuleHandle GetModuleHandleA
769 #define GetUserObjectInformation GetUserObjectInformationA
770 #define SetUserObjectInformation SetUserObjectInformationA
771 #define RegisterWindowMessage RegisterWindowMessageA
772 #define GetMessage GetMessageA
773 #define DispatchMessage DispatchMessageA
774 #define PeekMessage PeekMessageA
775 #define SendMessage SendMessageA
776 #define SendMessageTimeout SendMessageTimeoutA
777 #define SendNotifyMessage SendNotifyMessageA
778 #define SendMessageCallback SendMessageCallbackA
779 #define PostMessage PostMessageA
780 #define PostThreadMessage PostThreadMessageA
781 #define VerFindFile VerFindFileA
782 #define VerInstallFile VerInstallFileA
783 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
784 #define GetFileVersionInfo GetFileVersionInfoA
785 #define VerLanguageName VerLanguageNameA
786 #define VerQueryValue VerQueryValueA
787 #define CompareString CompareStringA
788 #define LCMapString LCMapStringA
789 #define GetLocaleInfo GetLocaleInfoA
790 #define SetLocaleInfo SetLocaleInfoA
791 #define GetTimeFormat GetTimeFormatA
792 #define GetDateFormat GetDateFormatA
793 #define GetNumberFormat GetNumberFormatA
794 #define GetCurrencyFormat GetCurrencyFormatA
795 #define EnumCalendarInfo EnumCalendarInfoA
796 #define EnumTimeFormats EnumTimeFormatsA
797 #define FoldString FoldStringA
798 #define EnumSystemCodePages EnumSystemCodePagesA
799 #define EnumSystemLocales EnumSystemLocalesA
800 #define GetStringTypeEx GetStringTypeExA
801 #define EnumDateFormats EnumDateFormatsA
802 #define GetConsoleTitle GetConsoleTitleA
803 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
804 #define SetConsoleTitle SetConsoleTitleA
805 #define ReadConsole ReadConsoleA
806 #define WriteConsole WriteConsoleA
807 #define PeekConsoleInput PeekConsoleInputA
808 #define ReadConsoleInput ReadConsoleInputA
809 #define WriteConsoleInput WriteConsoleInputA
810 #define ReadConsoleOutput ReadConsoleOutputA
811 #define WriteConsoleOutput WriteConsoleOutputA
812 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
813 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
814 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
815 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
816 #define WNetGetLastError WNetGetLastErrorA
817 #define WNetGetProviderName WNetGetProviderNameA
818 #define WNetGetNetworkInformation WNetGetNetworkInformationA
819 #define WNetConnectionDialog1 WNetConnectionDialog1A
820 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
821 #define WNetOpenEnum WNetOpenEnumA
822 #define WNetEnumResource WNetEnumResourceA
823 #define WNetGetUniversalName WNetGetUniversalNameA
824 #define WNetGetUser WNetGetUserA
825 #define WNetAddConnection WNetAddConnectionA
826 #define WNetAddConnection2 WNetAddConnection2A
827 #define WNetAddConnection3 WNetAddConnection3A
828 #define WNetCancelConnection WNetCancelConnectionA
829 #define WNetCancelConnection2 WNetCancelConnection2A
830 #define WNetGetConnection WNetGetConnectionA
831 #define WNetUseConnection WNetUseConnectionA
832 #define WNetSetConnection WNetSetConnectionA
833 #define OpenService OpenServiceA
834 #define QueryServiceConfig QueryServiceConfigA
835 #define QueryServiceLockStatus QueryServiceLockStatusA
836 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
837 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
838 #define StartService StartServiceA
839 #define ChangeServiceConfig ChangeServiceConfigA
840 #define CreateService CreateServiceA
841 #define EnumDependentServices EnumDependentServicesA
842 #define EnumServicesStatus EnumServicesStatusA
843 #define GetServiceKeyName GetServiceKeyNameA
844 #define GetServiceDisplayName GetServiceDisplayNameA
845 #define OpenSCManager OpenSCManagerA
846 #define DragQueryFile DragQueryFileA
847 #define ExtractAssociatedIcon ExtractAssociatedIconA
848 #define ExtractIcon ExtractIconA
849 #define FindExecutable FindExecutableA
850 #define ShellAbout ShellAboutA
851 #define ShellExecute ShellExecuteA
852 #define DdeCreateStringHandle DdeCreateStringHandleA
853 #define DdeInitialize DdeInitializeA
854 #define DdeQueryString DdeQueryStringA
855 #define LogonUser LogonUserA
856 #define CreateProcessAsUser CreateProcessAsUserA
858 #endif /* UNICODE and ASCII defines */
860 WINBOOL STDCALL
AbnormalTermination(VOID
);
861 int STDCALL
AbortDoc(HDC
);
862 WINBOOL STDCALL
AbortPath(HDC
);
863 WINBOOL STDCALL
AbortPrinter(HANDLE
);
864 WINBOOL CALLBACK
AbortProc(HDC
, int);
865 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
866 WINBOOL STDCALL
AccessCheck(
867 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
870 PGENERIC_MAPPING GenericMapping
,
871 PPRIVILEGE_SET PrivilegeSet
,
872 LPDWORD PrivilegeSetLength
,
873 LPDWORD GrantedAccess
,
877 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
878 LPCTSTR SubsystemName
,
880 LPTSTR ObjectTypeName
,
882 PSECURITY_DESCRIPTOR SecurityDescriptor
,
884 PGENERIC_MAPPING GenericMapping
,
885 WINBOOL ObjectCreation
,
886 LPDWORD GrantedAccess
,
888 LPBOOL pfGenerateOnClose
893 InterlockedIncrement(
899 InterlockedDecrement(
911 InterlockedCompareExchange(
932 HINSTANCE hPrevInstance
,
946 FreeLibraryAndExitThread(
953 DisableThreadLibraryCalls(
1065 LPMEMORYSTATUS lpBuffer
1149 FlushInstructionCache(
1151 LPCVOID lpBaseAddress
,
1161 DWORD flAllocationType
,
1181 PDWORD lpflOldProtect
1189 PMEMORY_BASIC_INFORMATION lpBuffer
,
1201 PDWORD lpflOldProtect
1210 PMEMORY_BASIC_INFORMATION lpBuffer
,
1219 DWORD dwInitialSize
,
1279 GetProcessHeap( VOID
);
1284 DWORD NumberOfHeaps
,
1285 PHANDLE ProcessHeaps
1310 LPPROCESS_HEAP_ENTRY lpEntry
1315 GetProcessAffinityMask(
1317 LPDWORD lpProcessAffinityMask
,
1318 LPDWORD lpSystemAffinityMask
1325 LPFILETIME lpCreationTime
,
1326 LPFILETIME lpExitTime
,
1327 LPFILETIME lpKernelTime
,
1328 LPFILETIME lpUserTime
1333 GetProcessWorkingSetSize(
1335 LPDWORD lpMinimumWorkingSetSize
,
1336 LPDWORD lpMaximumWorkingSetSize
1341 SetProcessWorkingSetSize(
1343 DWORD dwMinimumWorkingSetSize
,
1344 DWORD dwMaximumWorkingSetSize
1350 DWORD dwDesiredAccess
,
1351 WINBOOL bInheritHandle
,
1363 GetCurrentProcessId(
1371 ) __attribute__ ((noreturn
));
1396 DWORD dwExceptionCode
,
1397 DWORD dwExceptionFlags
,
1398 DWORD nNumberOfArguments
,
1399 CONST DWORD
*lpArguments
1404 UnhandledExceptionFilter(
1405 struct _EXCEPTION_POINTERS
*ExceptionInfo
1409 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1410 LPTOP_LEVEL_EXCEPTION_FILTER
1412 SetUnhandledExceptionFilter(
1413 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1421 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1423 LPTHREAD_START_ROUTINE lpStartAddress
,
1425 DWORD dwCreationFlags
,
1434 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1436 LPTHREAD_START_ROUTINE lpStartAddress
,
1438 DWORD dwCreationFlags
,
1459 SetThreadAffinityMask(
1461 DWORD dwThreadAffinityMask
1484 LPFILETIME lpCreationTime
,
1485 LPFILETIME lpExitTime
,
1486 LPFILETIME lpKernelTime
,
1487 LPFILETIME lpUserTime
1515 GetThreadSelectorEntry(
1518 LPLDT_ENTRY lpSelectorEntry
1538 GetOverlappedResult(
1540 LPOVERLAPPED lpOverlapped
,
1541 LPDWORD lpNumberOfBytesTransferred
,
1548 CreateIoCompletionPort(
1550 HANDLE ExistingCompletionPort
,
1551 DWORD CompletionKey
,
1552 DWORD NumberOfConcurrentThreads
1558 GetQueuedCompletionStatus(
1559 HANDLE CompletionPort
,
1560 LPDWORD lpNumberOfBytesTransferred
,
1561 LPDWORD lpCompletionKey
,
1562 LPOVERLAPPED
*lpOverlapped
,
1563 DWORD dwMilliseconds
1577 LPCVOID lpBaseAddress
,
1580 LPDWORD lpNumberOfBytesRead
1588 LPVOID lpBaseAddress
,
1591 LPDWORD lpNumberOfBytesWritten
1607 CONST CONTEXT
*lpContext
1635 LPDEBUG_EVENT lpDebugEvent
,
1636 DWORD dwMilliseconds
1645 DWORD dwContinueStatus
1658 InitializeCriticalSection(
1659 LPCRITICAL_SECTION lpCriticalSection
1665 EnterCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1672 LeaveCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1679 DeleteCriticalSection(
1680 LPCRITICAL_SECTION lpCriticalSection
1710 LPLONG lpPreviousCount
1723 WaitForSingleObject(
1725 DWORD dwMilliseconds
1731 WaitForMultipleObjects(
1733 CONST HANDLE
*lpHandles
,
1735 DWORD dwMilliseconds
1742 DWORD dwMilliseconds
1802 DWORD dwFileOffsetLow
,
1803 DWORD dwFileOffsetHigh
,
1804 DWORD nNumberOfBytesToLockLow
,
1805 DWORD nNumberOfBytesToLockHigh
1813 DWORD dwFileOffsetLow
,
1814 DWORD dwFileOffsetHigh
,
1815 DWORD nNumberOfBytesToUnlockLow
,
1816 DWORD nNumberOfBytesToUnlockHigh
1826 DWORD nNumberOfBytesToLockLow
,
1827 DWORD nNumberOfBytesToLockHigh
,
1828 LPOVERLAPPED lpOverlapped
1836 DWORD nNumberOfBytesToUnlockLow
,
1837 DWORD nNumberOfBytesToUnlockHigh
,
1838 LPOVERLAPPED lpOverlapped
1843 GetFileInformationByHandle(
1845 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1860 LPDWORD lpFileSizeHigh
1884 DWORD nNumberOfBytesToWrite
,
1885 LPDWORD lpNumberOfBytesWritten
,
1886 LPOVERLAPPED lpOverlapped
1895 DWORD nNumberOfBytesToRead
,
1896 LPDWORD lpNumberOfBytesRead
,
1897 LPOVERLAPPED lpOverlapped
1912 DWORD dwIoControlCode
,
1914 DWORD nInBufferSize
,
1916 DWORD nOutBufferSize
,
1917 LPDWORD lpBytesReturned
,
1918 LPOVERLAPPED lpOverlapped
1933 LONG lDistanceToMove
,
1934 PLONG lpDistanceToMoveHigh
,
1950 LPFILETIME lpCreationTime
,
1951 LPFILETIME lpLastAccessTime
,
1952 LPFILETIME lpLastWriteTime
1960 CONST FILETIME
*lpCreationTime
,
1961 CONST FILETIME
*lpLastAccessTime
,
1962 CONST FILETIME
*lpLastWriteTime
1976 HANDLE hSourceProcessHandle
,
1977 HANDLE hSourceHandle
,
1978 HANDLE hTargetProcessHandle
,
1979 LPHANDLE lpTargetHandle
,
1980 DWORD dwDesiredAccess
,
1981 WINBOOL bInheritHandle
,
1988 GetHandleInformation(
1996 SetHandleInformation(
2005 LPCSTR lpModuleName
,
2006 LPVOID lpParameterBlock
2072 LPCOMMPROP lpCommProp
2096 LPCOMMTIMEOUTS lpCommTimeouts
2144 LPCOMMTIMEOUTS lpCommTimeouts
2161 LPOVERLAPPED lpOverlapped
2170 DWORD dwPositionMethod
,
2182 DWORD dwPositionType
,
2183 LPDWORD lpdwPartition
,
2184 LPDWORD lpdwOffsetLow
,
2185 LPDWORD lpdwOffsetHigh
2209 CreateTapePartition(
2211 DWORD dwPartitionMethod
,
2221 DWORD dwTapemarkType
,
2222 DWORD dwTapemarkCount
,
2240 LPVOID lpTapeInformation
2248 LPVOID lpTapeInformation
2397 LPSYSTEMTIME lpSystemTime
2404 CONST SYSTEMTIME
*lpSystemTime
2411 LPSYSTEMTIME lpSystemTime
2418 CONST SYSTEMTIME
*lpSystemTime
2425 LPSYSTEM_INFO lpSystemInfo
2430 SystemTimeToTzSpecificLocalTime(
2431 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2432 LPSYSTEMTIME lpUniversalTime
,
2433 LPSYSTEMTIME lpLocalTime
2439 GetTimeZoneInformation(
2440 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2446 SetTimeZoneInformation(
2447 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2452 SystemTimeToFileTime(
2453 CONST SYSTEMTIME
*lpSystemTime
,
2454 LPFILETIME lpFileTime
2460 FileTimeToLocalFileTime(
2461 CONST FILETIME
*lpFileTime
,
2462 LPFILETIME lpLocalFileTime
2468 LocalFileTimeToFileTime(
2469 CONST FILETIME
*lpLocalFileTime
,
2470 LPFILETIME lpFileTime
2476 FileTimeToSystemTime(
2477 CONST FILETIME
*lpFileTime
,
2478 LPSYSTEMTIME lpSystemTime
2485 CONST FILETIME
*lpFileTime1
,
2486 CONST FILETIME
*lpFileTime2
2492 FileTimeToDosDateTime(
2493 CONST FILETIME
*lpFileTime
,
2501 DosDateTimeToFileTime(
2504 LPFILETIME lpFileTime
2517 SetSystemTimeAdjustment(
2518 DWORD dwTimeAdjustment
,
2519 WINBOOL bTimeAdjustmentDisabled
2525 GetSystemTimeAdjustment(
2526 PDWORD lpTimeAdjustment
,
2527 PDWORD lpTimeIncrement
,
2528 PWINBOOL lpTimeAdjustmentDisabled
2537 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2546 LPOVERLAPPED lpOverlapped
2552 DisconnectNamedPipe(
2559 SetNamedPipeHandleState(
2562 LPDWORD lpMaxCollectionCount
,
2563 LPDWORD lpCollectDataTimeout
2572 LPDWORD lpOutBufferSize
,
2573 LPDWORD lpInBufferSize
,
2574 LPDWORD lpMaxInstances
2584 LPDWORD lpBytesRead
,
2585 LPDWORD lpTotalBytesAvail
,
2586 LPDWORD lpBytesLeftThisMessage
2595 DWORD nInBufferSize
,
2597 DWORD nOutBufferSize
,
2598 LPDWORD lpBytesRead
,
2599 LPOVERLAPPED lpOverlapped
2608 LPDWORD lpMaxMessageSize
,
2610 LPDWORD lpMessageCount
,
2611 LPDWORD lpReadTimeout
2626 HANDLE hFileMappingObject
,
2627 DWORD dwDesiredAccess
,
2628 DWORD dwFileOffsetHigh
,
2629 DWORD dwFileOffsetLow
,
2630 DWORD dwNumberOfBytesToMap
2637 LPCVOID lpBaseAddress
,
2638 DWORD dwNumberOfBytesToFlush
2645 LPVOID lpBaseAddress
2652 LPOFSTRUCT lpReOpenBuff
,
2728 CONST LPVOID lpBuffer
,
2764 DWORD dwMilliseconds
,
2771 WaitForSingleObjectEx(
2773 DWORD dwMilliseconds
,
2780 WaitForMultipleObjectsEx(
2782 CONST HANDLE
*lpHandles
,
2784 DWORD dwMilliseconds
,
2794 DWORD nNumberOfBytesToRead
,
2795 LPOVERLAPPED lpOverlapped
,
2796 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2805 DWORD nNumberOfBytesToWrite
,
2806 LPOVERLAPPED lpOverlapped
,
2807 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2816 DWORD nNumberOfBytesToRead
,
2817 LPDWORD lpNumberOfBytesRead
,
2819 WINBOOL bProcessSecurity
,
2828 DWORD dwLowBytesToSeek
,
2829 DWORD dwHighBytesToSeek
,
2830 LPDWORD lpdwLowByteSeeked
,
2831 LPDWORD lpdwHighByteSeeked
,
2841 DWORD nNumberOfBytesToWrite
,
2842 LPDWORD lpNumberOfBytesWritten
,
2844 WINBOOL bProcessSecurity
,
2850 SetProcessShutdownParameters(
2858 GetProcessShutdownParameters(
2866 SetFileApisToOEM( VOID
);
2871 SetFileApisToANSI( VOID
);
2876 AreFileApisANSI( VOID
);
2887 DeregisterEventSource (
2894 NotifyChangeEventLog (
2902 GetNumberOfEventLogRecords (
2904 PDWORD NumberOfRecords
2910 GetOldestEventLogRecord (
2918 HANDLE ExistingTokenHandle
,
2919 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2920 PHANDLE DuplicateTokenHandle
2926 GetKernelObjectSecurity (
2928 SECURITY_INFORMATION RequestedInformation
,
2929 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2931 LPDWORD lpnLengthNeeded
2937 ImpersonateNamedPipeClient(
2944 ImpersonateLoggedOnUser(
2952 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2975 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2977 DWORD DesiredAccess
,
2978 PGENERIC_MAPPING GenericMapping
,
2979 PPRIVILEGE_SET PrivilegeSet
,
2980 LPDWORD PrivilegeSetLength
,
2981 LPDWORD GrantedAccess
,
2990 HANDLE ProcessHandle
,
2991 DWORD DesiredAccess
,
3000 HANDLE ThreadHandle
,
3001 DWORD DesiredAccess
,
3010 GetTokenInformation (
3012 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3013 LPVOID TokenInformation
,
3014 DWORD TokenInformationLength
,
3022 SetTokenInformation (
3024 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3025 LPVOID TokenInformation
,
3026 DWORD TokenInformationLength
3033 AdjustTokenPrivileges (
3035 WINBOOL DisableAllPrivileges
,
3036 PTOKEN_PRIVILEGES NewState
,
3038 PTOKEN_PRIVILEGES PreviousState
,
3048 WINBOOL ResetToDefault
,
3049 PTOKEN_GROUPS NewState
,
3051 PTOKEN_GROUPS PreviousState
,
3061 PPRIVILEGE_SET RequiredPrivileges
,
3095 GetSidLengthRequired (
3096 UCHAR nSubAuthorityCount
3103 AllocateAndInitializeSid (
3104 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3105 BYTE nSubAuthorityCount
,
3106 DWORD nSubAuthority0
,
3107 DWORD nSubAuthority1
,
3108 DWORD nSubAuthority2
,
3109 DWORD nSubAuthority3
,
3110 DWORD nSubAuthority4
,
3111 DWORD nSubAuthority5
,
3112 DWORD nSubAuthority6
,
3113 DWORD nSubAuthority7
,
3129 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3130 BYTE nSubAuthorityCount
3135 PSID_IDENTIFIER_AUTHORITY
3137 GetSidIdentifierAuthority (
3145 GetSidSubAuthority (
3154 GetSidSubAuthorityCount (
3171 DWORD nDestinationSidLength
,
3172 PSID pDestinationSid
,
3180 AreAllAccessesGranted (
3181 DWORD GrantedAccess
,
3189 AreAnyAccessesGranted (
3190 DWORD GrantedAccess
,
3200 PGENERIC_MAPPING GenericMapping
3227 LPVOID pAclInformation
,
3228 DWORD nAclInformationLength
,
3229 ACL_INFORMATION_CLASS dwAclInformationClass
3238 LPVOID pAclInformation
,
3239 DWORD nAclInformationLength
,
3240 ACL_INFORMATION_CLASS dwAclInformationClass
3249 DWORD dwAceRevision
,
3250 DWORD dwStartingAceIndex
,
3252 DWORD nAceListLength
3278 AddAccessAllowedAce (
3280 DWORD dwAceRevision
,
3289 AddAccessDeniedAce (
3291 DWORD dwAceRevision
,
3302 DWORD dwAceRevision
,
3305 WINBOOL bAuditSuccess
,
3306 WINBOOL bAuditFailure
3322 InitializeSecurityDescriptor (
3323 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3331 IsValidSecurityDescriptor (
3332 PSECURITY_DESCRIPTOR pSecurityDescriptor
3339 GetSecurityDescriptorLength (
3340 PSECURITY_DESCRIPTOR pSecurityDescriptor
3347 GetSecurityDescriptorControl (
3348 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3349 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3350 LPDWORD lpdwRevision
3357 SetSecurityDescriptorDacl (
3358 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3359 WINBOOL bDaclPresent
,
3361 WINBOOL bDaclDefaulted
3368 GetSecurityDescriptorDacl (
3369 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3370 LPBOOL lpbDaclPresent
,
3372 LPBOOL lpbDaclDefaulted
3379 SetSecurityDescriptorSacl (
3380 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3381 WINBOOL bSaclPresent
,
3383 WINBOOL bSaclDefaulted
3390 GetSecurityDescriptorSacl (
3391 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3392 LPBOOL lpbSaclPresent
,
3394 LPBOOL lpbSaclDefaulted
3401 SetSecurityDescriptorOwner (
3402 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3404 WINBOOL bOwnerDefaulted
3411 GetSecurityDescriptorOwner (
3412 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3414 LPBOOL lpbOwnerDefaulted
3421 SetSecurityDescriptorGroup (
3422 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3424 WINBOOL bGroupDefaulted
3431 GetSecurityDescriptorGroup (
3432 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3434 LPBOOL lpbGroupDefaulted
3441 CreatePrivateObjectSecurity (
3442 PSECURITY_DESCRIPTOR ParentDescriptor
,
3443 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3444 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3445 WINBOOL IsDirectoryObject
,
3447 PGENERIC_MAPPING GenericMapping
3454 SetPrivateObjectSecurity (
3455 SECURITY_INFORMATION SecurityInformation
,
3456 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3457 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3458 PGENERIC_MAPPING GenericMapping
,
3466 GetPrivateObjectSecurity (
3467 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3468 SECURITY_INFORMATION SecurityInformation
,
3469 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3470 DWORD DescriptorLength
,
3478 DestroyPrivateObjectSecurity (
3479 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3486 MakeSelfRelativeSD (
3487 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3488 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3489 LPDWORD lpdwBufferLength
3497 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3498 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3499 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3501 LPDWORD lpdwDaclSize
,
3503 LPDWORD lpdwSaclSize
,
3505 LPDWORD lpdwOwnerSize
,
3507 LPDWORD lpdwPrimaryGroupSize
3514 SetKernelObjectSecurity (
3516 SECURITY_INFORMATION SecurityInformation
,
3517 PSECURITY_DESCRIPTOR SecurityDescriptor
3523 FindNextChangeNotification(
3524 HANDLE hChangeHandle
3530 FindCloseChangeNotification(
3531 HANDLE hChangeHandle
3554 HANDLE hFileMappingObject
,
3555 DWORD dwDesiredAccess
,
3556 DWORD dwFileOffsetHigh
,
3557 DWORD dwFileOffsetLow
,
3558 DWORD dwNumberOfBytesToMap
,
3559 LPVOID lpBaseAddress
3567 DWORD dwPriorityClass
3618 AllocateLocallyUniqueId(
3625 QueryPerformanceCounter(
3626 LARGE_INTEGER
*lpPerformanceCount
3632 QueryPerformanceFrequency(
3633 LARGE_INTEGER
*lpFrequency
3659 /* The memory functions don't seem to be defined in the libraries, so
3660 define macro versions as well. */
3661 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3662 #define FillMemory(p, c, v) memset ((p), (v), (c))
3663 #define ZeroMemory(p, c) memset ((p), 0, (c))
3668 ActivateKeyboardLayout(
3674 ActivateKeyboardLayout(
3694 UnloadKeyboardLayout(
3700 GetKeyboardLayoutList(
3717 DWORD dwDesiredAccess
);
3723 ENUMWINDOWSPROC lpfn
,
3759 SetProcessWindowStation(
3765 GetProcessWindowStation(
3771 SetUserObjectSecurity(
3773 PSECURITY_INFORMATION pSIRequested
,
3774 PSECURITY_DESCRIPTOR pSID
);
3779 GetUserObjectSecurity(
3781 PSECURITY_INFORMATION pSIRequested
,
3782 PSECURITY_DESCRIPTOR pSID
,
3784 LPDWORD lpnLengthNeeded
);
3840 GetMessageExtraInfo(
3846 SetMessageExtraInfo(
3852 BroadcastSystemMessage(
3883 DWORD dwMilliseconds
);
3989 HWND hWndInsertAfter
,
4001 WINDOWPLACEMENT
*lpwndpl
);
4008 CONST WINDOWPLACEMENT
*lpwndpl
);
4013 BeginDeferWindowPos(
4022 HWND hWndInsertAfter
,
4094 WINBOOL
*lpTranslated
,
4112 int nIDCheckButton
);
4124 GetNextDlgGroupItem(
4146 GetDialogBaseUnits(VOID
);
4169 HWND hWndNewViewer
);
4180 ChangeClipboardChain(
4201 CountClipboardFormats(
4207 EnumClipboardFormats(
4219 IsClipboardFormatAvailable(
4225 GetPriorityClipboardFormat(
4226 UINT
*paFormatPriorityList
,
4232 GetOpenClipboardWindow(
4236 /* Despite the A these are ASCII functions! */
4241 LPCSTR lpCurrentChar
,
4250 LPCSTR lpCurrentChar
,
4396 MsgWaitForMultipleObjects(
4400 DWORD dwMilliseconds
,
4410 TIMERPROC lpTimerFunc
);
4415 SetWaitableTimer(HANDLE hTimer
,
4416 const LARGE_INTEGER
*pDueTime
,
4418 PTIMERAPCROUTINE pfnCompletionRoutine
,
4419 LPVOID lpArgToCompletionRoutine
,
4451 DestroyAcceleratorTable(
4576 HBITMAP hBitmapUnchecked
,
4577 HBITMAP hBitmapChecked
);
4582 GetMenuCheckMarkDimensions(
4595 CONST RECT
*prcRect
);
4613 GetMenuItemRect(HWND hWnd
,
4620 MenuItemFromPoint(HWND hWnd
,
4627 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4632 DragDetect(HWND hwnd
,
4658 GetForegroundWindow(
4663 PaintDesktop(HDC hdc
);
4668 SetForegroundWindow(
4709 LPPAINTSTRUCT lpPaint
);
4716 CONST PAINTSTRUCT
*lpPaint
);
4769 CONST RECT
*lpRect
);
4791 CONST RECT
*lprcUpdate
,
4809 CONST RECT
*lpClipRect
);
4818 CONST RECT
*lprcScroll
,
4819 CONST RECT
*lprcClip
,
4830 CONST RECT
*prcScroll
,
4831 CONST RECT
*prcClip
,
4920 SetWindowContextHelpId(HWND
, DWORD
);
4924 GetWindowContextHelpId(HWND
);
4928 SetMenuContextHelpId(HMENU
, DWORD
);
4932 GetMenuContextHelpId(HMENU
);
4969 CONST RECT
*lpRect
);
5067 ChildWindowFromPoint(
5088 CONST INT
* lpaElements
,
5089 CONST COLORREF
* lpaRgbValues
);
5142 CONST RECT
*lprcSrc
);
5157 CONST RECT
*lprcSrc1
,
5158 CONST RECT
*lprcSrc2
);
5165 CONST RECT
*lprcSrc1
,
5166 CONST RECT
*lprcSrc2
);
5173 CONST RECT
*lprcSrc1
,
5174 CONST RECT
*lprcSrc2
);
5250 HWND hWndNewParent
);
5257 ENUMWINDOWSPROC lpEnumFunc
,
5264 ENUMWINDOWSPROC lpEnumFunc
,
5272 ENUMWINDOWSPROC lpfn
,
5283 GetWindowThreadProcessId(
5285 LPDWORD lpdwProcessId
);
5304 HOOKPROC pfnFilterProc
);
5308 UnhookWindowsHookEx(
5323 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5333 CONST VOID
*pvANDPlane
,
5334 CONST VOID
*pvXORPlane
);
5353 HINSTANCE hInstance
,
5358 CONST BYTE
*lpbANDbits
,
5359 CONST BYTE
*lpbXORbits
);
5370 LookupIconIdFromDirectory(
5377 LookupIconIdFromDirectoryEx(
5387 CreateIconFromResource(
5396 CreateIconFromResourceEx(
5419 PICONINFO piconinfo
);
5432 PICONINFO piconinfo
);
5443 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5447 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5451 TranslateMDISysAccel(
5458 ArrangeIconicWindows(
5463 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5467 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5486 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5490 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5494 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5498 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5502 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5506 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5510 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5511 HICON hIcon
, int cxWidth
, int cyWidth
,
5512 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5516 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5520 Arc(HDC
, int, int, int, int, int, int, int, int);
5524 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5532 Chord(HDC
, int, int, int, int, int, int, int, int);
5540 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5544 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5548 CreateBitmapIndirect(CONST BITMAP
*);
5552 CreateBrushIndirect(CONST LOGBRUSH
*);
5556 CreateCompatibleBitmap(HDC
, int, int);
5560 CreateDiscardableBitmap(HDC
, int, int);
5564 CreateCompatibleDC(HDC
);
5568 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5572 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5576 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5580 CreateEllipticRgn(int, int, int, int);
5584 CreateEllipticRgnIndirect(CONST RECT
*);
5588 CreateHatchBrush(int, COLORREF
);
5592 CreatePalette(CONST LOGPALETTE
*);
5596 CreatePen(int, int, COLORREF
);
5600 CreatePenIndirect(CONST LOGPEN
*);
5604 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5608 CreatePatternBrush(HBITMAP
);
5612 CreateRectRgn(int, int, int, int);
5616 CreateRectRgnIndirect(CONST RECT
*);
5620 CreateRoundRectRgn(int, int, int, int, int, int);
5624 CreateSolidBrush(COLORREF
);
5632 DeleteMetaFile(HMETAFILE
);
5636 DeleteObject(HGDIOBJ
);
5640 DrawEscape(HDC
, int, int, LPCSTR
);
5644 Ellipse(HDC
, int, int, int, int);
5648 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5652 EqualRgn(HRGN
, HRGN
);
5656 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5660 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5664 ExcludeClipRect(HDC
, int, int, int, int);
5668 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5672 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5676 FillRgn(HDC
, HRGN
, HBRUSH
);
5680 FloodFill(HDC
, int, int, COLORREF
);
5684 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5688 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5692 GdiProcessSetup (VOID
);
5700 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5712 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5716 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5720 GetBoundsRect(HDC
, LPRECT
, UINT
);
5724 GetBrushOrgEx(HDC
, LPPOINT
);
5728 GetClipBox(HDC
, LPRECT
);
5732 GetClipRgn(HDC
, HRGN
);
5736 GetMetaRgn(HDC
, HRGN
);
5740 GetCurrentObject(HDC
, UINT
);
5744 GetCurrentPositionEx(HDC
, LPPOINT
);
5748 GetDeviceCaps(HDC
, int);
5752 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5756 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5760 GetGraphicsMode(HDC
);
5768 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5772 GetNearestColor(HDC
, COLORREF
);
5776 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5780 GetObjectType(HGDIOBJ h
);
5784 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5788 GetPixel(HDC
, int, int);
5792 GetPixelFormat(HDC
);
5796 GetPolyFillMode(HDC
);
5800 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5804 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5808 GetRgnBox(HRGN
, LPRECT
);
5812 GetStockObject(int);
5816 GetStretchBltMode(HDC
);
5820 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5824 GetSystemPaletteUse(HDC
);
5828 GetTextCharacterExtra(HDC
);
5840 GetTextCharset(HDC hdc
);
5844 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5848 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5852 GetFontLanguageInfo( HDC
);
5856 GetViewportExtEx(HDC
, LPSIZE
);
5860 GetViewportOrgEx(HDC
, LPPOINT
);
5864 GetWindowExtEx(HDC
, LPSIZE
);
5868 GetWindowOrgEx(HDC
, LPPOINT
);
5872 IntersectClipRect(HDC
, int, int, int, int);
5876 InvertRgn(HDC
, HRGN
);
5880 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5884 LineTo(HDC
, int, int);
5888 MaskBlt(HDC
, int, int, int, int,
5889 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5893 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5894 int, HBITMAP
, int, int);
5898 OffsetClipRgn(HDC
, int, int);
5902 OffsetRgn(HRGN
, int, int);
5906 PatBlt(HDC
, int, int, int, int, DWORD
);
5910 Pie(HDC
, int, int, int, int, int, int, int, int);
5914 PlayMetaFile(HDC
, HMETAFILE
);
5918 PaintRgn(HDC
, HRGN
);
5922 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5926 PtInRegion(HRGN
, int, int);
5930 PtVisible(HDC
, int, int);
5934 RectInRegion(HRGN
, CONST RECT
*);
5938 RectVisible(HDC
, CONST RECT
*);
5942 Rectangle(HDC
, int, int, int, int);
5946 RestoreDC(HDC
, int);
5950 RealizePalette(HDC
);
5954 RoundRect(HDC
, int, int, int, int, int, int);
5958 ResizePalette(HPALETTE
, UINT
);
5966 SelectClipRgn(HDC
, HRGN
);
5970 ExtSelectClipRgn(HDC
, HRGN
, int);
5978 SelectObject(HDC
, HGDIOBJ
);
5982 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5986 SetBkColor(HDC
, COLORREF
);
5990 SetBkMode(HDC
, int);
5994 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
5998 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
6002 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6006 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
6007 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6011 SetMapperFlags(HDC
, DWORD
);
6015 SetGraphicsMode(HDC hdc
, int iMode
);
6019 SetMapMode(HDC
, int);
6023 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6027 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6031 SetPixel(HDC
, int, int, COLORREF
);
6035 SetPixelV(HDC
, int, int, COLORREF
);
6039 SetPolyFillMode(HDC
, int);
6043 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6047 SetRectRgn(HRGN
, int, int, int, int);
6050 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6051 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6059 SetStretchBltMode(HDC
, int);
6063 SetSystemPaletteUse(HDC
, UINT
);
6067 SetTextCharacterExtra(HDC
, int);
6071 SetTextColor(HDC
, COLORREF
);
6075 SetTextAlign(HDC
, UINT
);
6079 SetTextJustification(HDC
, int, int);
6087 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6091 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6095 CloseEnhMetaFile(HDC
);
6099 DeleteEnhMetaFile(HENHMETAFILE
);
6103 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6104 LPVOID
, CONST RECT
*);
6108 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6112 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6116 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6120 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6124 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6128 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6133 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6138 GdiComment(HDC
, UINT
, CONST BYTE
*);
6142 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6146 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6150 GetWorldTransform(HDC
, LPXFORM
);
6154 SetWorldTransform(HDC
, CONST XFORM
*);
6158 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6162 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6166 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
6170 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6174 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6178 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6182 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6186 CreateHalftonePalette(HDC
);
6206 SetAbortProc(HDC
, ABORTPROC
);
6214 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6238 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6246 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6250 SelectClipPath(HDC
, int);
6254 SetArcDirection(HDC
, int);
6258 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6262 StrokeAndFillPath(HDC
);
6274 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6278 GetMiterLimit(HDC
, PFLOAT
);
6282 GetArcDirection(HDC
);
6286 MoveToEx(HDC
, int, int, LPPOINT
);
6290 CreatePolygonRgn(CONST POINT
*, int, int);
6294 DPtoLP(HDC
, LPPOINT
, int);
6298 LPtoDP(HDC
, LPPOINT
, int);
6302 Polygon(HDC
, CONST POINT
*, int);
6306 Polyline(HDC
, CONST POINT
*, int);
6310 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6314 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6318 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6322 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6326 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6330 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6334 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6338 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6342 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6346 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6350 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6354 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6358 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6362 GetDCOrgEx(HDC
,LPPOINT
);
6366 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6370 UnrealizeObject(HGDIOBJ
);
6378 GdiSetBatchLimit(DWORD
);
6382 GdiGetBatchLimit(void);
6386 SetICMMode(HDC
, int);
6390 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6398 SetColorSpace(HDC
,HCOLORSPACE
);
6402 DeleteColorSpace(HCOLORSPACE
);
6406 GetDeviceGammaRamp(HDC
,LPVOID
);
6410 SetDeviceGammaRamp(HDC
,LPVOID
);
6414 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6418 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6422 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6426 InitCommonControls(void);
6428 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6432 ImageList_Create(int cx
, int cy
, UINT flags
,
6433 int cInitial
, int cGrow
);
6437 ImageList_Destroy(HIMAGELIST himl
);
6441 ImageList_GetImageCount(HIMAGELIST himl
);
6445 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6450 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6454 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6458 ImageList_GetBkColor(HIMAGELIST himl
);
6462 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6467 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6471 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6475 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6479 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6483 ImageList_Remove(HIMAGELIST himl
, int i
);
6487 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6491 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6495 ImageList_EndDrag(void);
6499 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6503 ImageList_DragLeave(HWND hwndLock
);
6507 ImageList_DragMove(int x
, int y
);
6511 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6515 ImageList_DragShowNolock(WINBOOL fShow
);
6519 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6523 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6527 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6531 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6535 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6539 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6540 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6541 int iNumButtons
, int dxButton
, int dyButton
,
6542 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6546 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6547 UINT wFlags
, LPCOLORMAP lpColorMap
,
6553 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6557 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6561 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6565 MakeDragList(HWND hLB
);
6569 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6573 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6577 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6578 HWND hParent
, int nID
, HINSTANCE hInst
,
6580 int nUpper
, int nLower
, int nPos
);
6584 CommDlgExtendedError(VOID
);
6586 /* Animation controls */
6588 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6590 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6592 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6594 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6596 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6598 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6600 /* Property sheet macros */
6602 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6604 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6606 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6608 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6610 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6612 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6614 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6616 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6618 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6620 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6622 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6624 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6626 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6628 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6630 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6632 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6634 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6636 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6638 /* Header control */
6639 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6641 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6643 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6645 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6647 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6649 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6652 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6654 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6656 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6658 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6660 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6662 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6664 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6666 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6668 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6670 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6672 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6674 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6676 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6678 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6680 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6682 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6684 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6686 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6688 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6690 #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))
6692 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6694 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6696 #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);}
6698 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6700 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6702 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6704 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6706 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6708 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6710 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6712 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6714 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6716 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6718 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6720 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6722 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6724 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6726 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6728 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6730 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6733 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6735 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6737 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6739 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6741 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6743 #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);}
6745 #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);}
6747 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6749 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6751 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6753 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6756 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6758 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6760 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6762 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6764 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6766 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6768 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6770 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6772 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6774 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6776 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6778 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6780 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6782 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6784 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6786 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6788 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6790 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6792 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6794 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6796 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6798 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6801 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6803 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6805 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6807 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6809 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6811 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6813 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6815 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6817 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6819 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6821 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6823 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6825 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6827 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6829 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6833 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6835 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6837 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6839 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6841 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6843 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6845 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6847 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6849 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6851 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6853 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6855 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6857 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6859 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6861 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6863 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6865 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6867 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6869 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6871 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6873 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6875 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6877 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6879 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6882 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6884 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6885 #endif /* !UNICODE */
6887 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6889 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6892 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6894 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6895 #endif /* !UNICODE */
6897 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6899 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6902 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6904 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6905 #endif /* !UNICODE */
6907 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6909 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6911 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6913 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6925 SECURITY_INFORMATION SecurityInformation
,
6926 PSECURITY_DESCRIPTOR pSecurityDescriptor
6939 SECURITY_INFORMATION SecurityInformation
,
6940 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6941 LPDWORD lpcbSecurityDescriptor
6946 RegNotifyChangeKeyValue (
6948 WINBOOL bWatchSubtree
,
6949 DWORD dwNotifyFilter
,
6951 WINBOOL fAsynchronus
6972 GetCPInfo(UINT
, LPCPINFO
);
6990 MultiByteToWideChar(
6993 LPCSTR lpMultiByteStr
,
6995 LPWSTR lpWideCharStr
,
7001 WideCharToMultiByte(
7004 LPCWSTR lpWideCharStr
,
7006 LPSTR lpMultiByteStr
,
7008 LPCSTR lpDefaultChar
,
7009 LPBOOL lpUsedDefaultChar
);
7020 ConvertDefaultLocale(
7026 GetThreadLocale(void);
7038 GetSystemDefaultLangID(void);
7043 GetUserDefaultLangID(void);
7048 GetSystemDefaultLCID(void);
7053 GetUserDefaultLCID(void);
7058 ReadConsoleOutputAttribute(
7059 HANDLE hConsoleOutput
,
7063 LPDWORD lpNumberOfAttrsRead
7069 WriteConsoleOutputAttribute(
7070 HANDLE hConsoleOutput
,
7071 CONST WORD
*lpAttribute
,
7074 LPDWORD lpNumberOfAttrsWritten
7080 FillConsoleOutputAttribute(
7081 HANDLE hConsoleOutput
,
7085 LPDWORD lpNumberOfAttrsWritten
7092 HANDLE hConsoleHandle
,
7099 GetNumberOfConsoleInputEvents(
7100 HANDLE hConsoleInput
,
7101 LPDWORD lpNumberOfEvents
7107 GetConsoleScreenBufferInfo(
7108 HANDLE hConsoleOutput
,
7109 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7115 GetLargestConsoleWindowSize(
7116 HANDLE hConsoleOutput
7122 GetConsoleCursorInfo(
7123 HANDLE hConsoleOutput
,
7124 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7130 GetNumberOfConsoleMouseButtons(
7131 LPDWORD lpNumberOfMouseButtons
7138 HANDLE hConsoleHandle
,
7145 SetConsoleActiveScreenBuffer(
7146 HANDLE hConsoleOutput
7152 FlushConsoleInputBuffer(
7153 HANDLE hConsoleInput
7159 SetConsoleScreenBufferSize(
7160 HANDLE hConsoleOutput
,
7167 SetConsoleCursorPosition(
7168 HANDLE hConsoleOutput
,
7169 COORD dwCursorPosition
7175 SetConsoleCursorInfo(
7176 HANDLE hConsoleOutput
,
7177 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7182 SetConsoleWindowInfo(
7183 HANDLE hConsoleOutput
,
7185 CONST SMALL_RECT
*lpConsoleWindow
7191 SetConsoleTextAttribute(
7192 HANDLE hConsoleOutput
,
7199 SetConsoleCtrlHandler(
7200 PHANDLER_ROUTINE HandlerRoutine
,
7207 GenerateConsoleCtrlEvent(
7209 DWORD dwProcessGroupId
7215 AllocConsole( VOID
);
7220 FreeConsole( VOID
);
7226 CreateConsoleScreenBuffer(
7227 DWORD dwDesiredAccess
,
7229 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7231 LPVOID lpScreenBufferData
7237 GetConsoleCP( VOID
);
7249 GetConsoleOutputCP( VOID
);
7259 WNetConnectionDialog(
7265 WNetDisconnectDialog(
7287 LPSERVICE_STATUS lpServiceStatus
7298 LockServiceDatabase(
7299 SC_HANDLE hSCManager
7305 NotifyBootConfigStatus(
7306 WINBOOL BootAcceptable
7311 QueryServiceObjectSecurity(
7313 SECURITY_INFORMATION dwSecurityInformation
,
7314 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7316 LPDWORD pcbBytesNeeded
7324 LPSERVICE_STATUS lpServiceStatus
7329 SetServiceObjectSecurity(
7331 SECURITY_INFORMATION dwSecurityInformation
,
7332 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7339 SERVICE_STATUS_HANDLE hServiceStatus
,
7340 LPSERVICE_STATUS lpServiceStatus
7345 UnlockServiceDatabase(
7349 /* Extensions to OpenGL */
7352 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7355 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7358 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7359 CONST PIXELFORMATDESCRIPTOR
*);
7362 GetPixelFormat(HDC
);
7365 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7371 wglCreateContext(HDC
);
7374 wglCreateLayerContext(HDC
, int);
7377 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7380 wglDeleteContext(HGLRC
);
7383 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7386 wglGetCurrentContext(VOID
);
7389 wglGetCurrentDC(VOID
);
7392 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7395 wglGetProcAddress(LPCSTR
);
7398 wglMakeCurrent(HDC
, HGLRC
);
7401 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7404 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7407 wglShareLists(HGLRC
, HGLRC
);
7410 wglSwapLayerBuffers(HDC
, UINT
);
7413 Why are these different between ANSI and UNICODE?
7414 There doesn't seem to be any difference.
7418 #define wglUseFontBitmaps wglUseFontBitmapsW
7419 #define wglUseFontOutlines wglUseFontOutlinesW
7421 #define wglUseFontBitmaps wglUseFontBitmapsA
7422 #define wglUseFontOutlines wglUseFontOutlinesA
7423 #endif /* !UNICODE */
7425 /* ------------------------------------- */
7426 /* From shellapi.h in old Cygnus headers */
7429 DragQueryPoint (HDROP
, LPPOINT
);
7435 DragAcceptFiles (HWND
, WINBOOL
);
7438 DuplicateIcon (HINSTANCE
, HICON
);
7440 /* end of stuff from shellapi.h in old Cygnus headers */
7441 /* -------------------------------------------------- */
7442 /* From ddeml.h in old Cygnus headers */
7444 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7445 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7446 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7447 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7448 UINT WINAPI
DdeGetLastError (DWORD
);
7449 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7450 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7451 HCONV WINAPI
DdeReconnect (HCONV
);
7452 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7453 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7454 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7457 /* end of stuff from ddeml.h in old Cygnus headers */
7458 /* ----------------------------------------------- */
7460 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7462 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7463 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7464 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7465 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7467 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7471 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7473 DWORD STDCALL
GetCurrentTime(VOID
);
7476 SHAddToRecentDocs (UINT
, LPCVOID
);
7479 SHBrowseForFolder (LPBROWSEINFO
);
7482 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7485 SHFileOperation (LPSHFILEOPSTRUCT
);
7488 SHFreeNameMappings (HANDLE
);
7490 /* Define when SHELLFOLDER is defined.
7492 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7495 SHGetDesktopFolder (LPSHELLFOLDER);
7499 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7501 /* Define when IUnknown is defined.
7503 SHGetInstanceExplorer (IUnknown **);
7506 /* Define when MALLOC is defined.
7508 SHGetMalloc (LPMALLOC *);
7512 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7515 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7517 /* Define when REFCLSID is defined.
7519 SHLoadInProc (REFCLSID);
7525 VOID (WINAPI
*PFIBER_START_ROUTINE
) (
7526 IN LPVOID lpFiberArgument
7528 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
;
7532 ConvertThreadToFiber (
7539 LPFIBER_START_ROUTINE lpStartAddress
,
7566 #endif /* __cplusplus */
7568 #endif /* WIN32_LEAN_AND_MEAN */
7570 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */