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 DialogBoxParam DialogBoxParamA
590 #define DialogBoxIndirectParam DialogBoxIndirectParamA
591 #define DialogBox DialogBoxA
592 #define DialogBoxIndirect DialogBoxIndirectA
593 #define RegisterClipboardFormat RegisterClipboardFormatA
594 #define SetDlgItemText SetDlgItemTextA
595 #define GetDlgItemText GetDlgItemTextA
596 #define SendDlgItemMessage SendDlgItemMessageA
597 #define DefDlgProc DefDlgProcA
598 #define CallMsgFilter CallMsgFilterA
599 #define GetClipboardFormatName GetClipboardFormatNameA
600 #define CharToOem CharToOemA
601 #define OemToChar OemToCharA
602 #define CharToOemBuff CharToOemBuffA
603 #define OemToCharBuff OemToCharBuffA
604 #define CharUpper CharUpperA
605 #define CharUpperBuff CharUpperBuffA
606 #define CharLower CharLowerA
607 #define CharLowerBuff CharLowerBuffA
608 #define CharNext CharNextA
609 #define CharPrev CharPrevA
610 #define IsCharAlpha IsCharAlphaA
611 #define IsCharAlphaNumeric IsCharAlphaNumericA
612 #define IsCharUpper IsCharUpperA
613 #define IsCharLower IsCharLowerA
614 #define GetKeyNameText GetKeyNameTextA
615 #define VkKeyScan VkKeyScanA
616 #define VkKeyScanEx VkKeyScanExA
617 #define MapVirtualKey MapVirtualKeyA
618 #define MapVirtualKeyEx MapVirtualKeyExA
619 #define LoadAccelerators LoadAcceleratorsA
620 #define CreateAcceleratorTable CreateAcceleratorTableA
621 #define CopyAcceleratorTable CopyAcceleratorTableA
622 #define TranslateAccelerator TranslateAcceleratorA
623 #define LoadMenu LoadMenuA
624 #define LoadMenuIndirect LoadMenuIndirectA
625 #define ChangeMenu ChangeMenuA
626 #define GetMenuString GetMenuStringA
627 #define InsertMenu InsertMenuA
628 #define AppendMenu AppendMenuA
629 #define ModifyMenu ModifyMenuA
630 #define InsertMenuItem InsertMenuItemA
631 #define GetMenuItemInfo GetMenuItemInfoA
632 #define SetMenuItemInfo SetMenuItemInfoA
633 #define DrawText DrawTextA
634 #define DrawTextEx DrawTextExA
635 #define GrayString GrayStringA
636 #define DrawState DrawStateA
637 #define TabbedTextOut TabbedTextOutA
638 #define GetTabbedTextExtent GetTabbedTextExtentA
639 #define GetVersionEx GetVersionExA
640 #define wvsprintf wvsprintfA
641 #define wsprintf wsprintfA
642 #define LoadKeyboardLayout LoadKeyboardLayoutA
643 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
644 #define CreateDesktop CreateDesktopA
645 #define OpenDesktop OpenDesktopA
646 #define EnumDesktops EnumDesktopsA
647 #define CreateWindowStation CreateWindowStationA
648 #define OpenWindowStation OpenWindowStationA
649 #define EnumWindowStations EnumWindowStationsA
650 #define IsBadStringPtr IsBadStringPtrA
651 #define LookupAccountSid LookupAccountSidA
652 #define LookupAccountName LookupAccountNameA
653 #define LookupPrivilegeValue LookupPrivilegeValueA
654 #define LookupPrivilegeName LookupPrivilegeNameA
655 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
656 #define BuildCommDCB BuildCommDCBA
657 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
658 #define CommConfigDialog CommConfigDialogA
659 #define GetDefaultCommConfig GetDefaultCommConfigA
660 #define SetDefaultCommConfig SetDefaultCommConfigA
661 #define GetComputerName GetComputerNameA
662 #define SetComputerName SetComputerNameA
663 #define GetUserName GetUserNameA
664 #define CreateMailslot CreateMailslotA
665 #define FormatMessage FormatMessageA
666 #define GetEnvironmentStrings GetEnvironmentStringsA
667 #define FreeEnvironmentStrings FreeEnvironmentStringsA
668 #define lstrcmp lstrcmpA
669 #define lstrcmpi lstrcmpiA
670 #define lstrcpyn lstrcpynA
671 #define lstrcpy lstrcpyA
672 #define lstrcat lstrcatA
673 #define lstrlen lstrlenA
674 #define GetBinaryType GetBinaryTypeA
675 #define GetShortPathName GetShortPathNameA
676 #define SetFileSecurity SetFileSecurityA
677 #define GetFileSecurity GetFileSecurityA
678 #define FindFirstChangeNotification FindFirstChangeNotificationA
679 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
680 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
681 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
682 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
683 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
684 #define OpenEventLog OpenEventLogA
685 #define RegisterEventSource RegisterEventSourceA
686 #define OpenBackupEventLog OpenBackupEventLogA
687 #define ReadEventLog ReadEventLogA
688 #define ReportEvent ReportEventA
689 #define CreateProcess CreateProcessA
690 #define FatalAppExit FatalAppExitA
691 #define GetStartupInfo GetStartupInfoA
692 #define GetCommandLine GetCommandLineA
693 #define GetEnvironmentVariable GetEnvironmentVariableA
694 #define SetEnvironmentVariable SetEnvironmentVariableA
695 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
696 #define OutputDebugString OutputDebugStringA
697 #define FindResource FindResourceA
698 #define FindResourceEx FindResourceExA
699 #define EnumResourceTypes EnumResourceTypesA
700 #define EnumResourceNames EnumResourceNamesA
701 #define EnumResourceLanguages EnumResourceLanguagesA
702 #define BeginUpdateResource BeginUpdateResourceA
703 #define UpdateResource UpdateResourceA
704 #define EndUpdateResource EndUpdateResourceA
705 #define GlobalAddAtom GlobalAddAtomA
706 #define GlobalFindAtom GlobalFindAtomA
707 #define GlobalGetAtomName GlobalGetAtomNameA
708 #define AddAtom AddAtomA
709 #define FindAtom FindAtomA
710 #define GetProfileInt GetProfileIntA
711 #define GetAtomName GetAtomNameA
712 #define GetProfileString GetProfileStringA
713 #define WriteProfileString WriteProfileStringA
714 #define GetProfileSection GetProfileSectionA
715 #define WriteProfileSection WriteProfileSectionA
716 #define GetPrivateProfileInt GetPrivateProfileIntA
717 #define GetPrivateProfileString GetPrivateProfileStringA
718 #define WritePrivateProfileString WritePrivateProfileStringA
719 #define GetPrivateProfileSection GetPrivateProfileSectionA
720 #define WritePrivateProfileSection WritePrivateProfileSectionA
721 #define GetDriveType GetDriveTypeA
722 #define GetSystemDirectory GetSystemDirectoryA
723 #define GetTempPath GetTempPathA
724 #define GetTempFileName GetTempFileNameA
725 #define GetWindowsDirectory GetWindowsDirectoryA
726 #define SetCurrentDirectory SetCurrentDirectoryA
727 #define GetCurrentDirectory GetCurrentDirectoryA
728 #define GetDiskFreeSpace GetDiskFreeSpaceA
729 #define CreateDirectory CreateDirectoryA
730 #define CreateDirectoryEx CreateDirectoryExA
731 #define RemoveDirectory RemoveDirectoryA
732 #define GetFullPathName GetFullPathNameA
733 #define DefineDosDevice DefineDosDeviceA
734 #define QueryDosDevice QueryDosDeviceA
735 #define CreateFile CreateFileA
736 #define SetFileAttributes SetFileAttributesA
737 #define GetFileAttributes GetFileAttributesA
738 #define GetCompressedFileSize GetCompressedFileSizeA
739 #define DeleteFile DeleteFileA
740 #define FindFirstFileEx FindFirstFileExA
741 #define FindFirstFile FindFirstFileA
742 #define FindNextFile FindNextFileA
743 #define SearchPath SearchPathA
744 #define CopyFile CopyFileA
745 #define MoveFile MoveFileA
746 #define MoveFileEx MoveFileExA
747 #define CreateNamedPipe CreateNamedPipeA
748 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
749 #define CallNamedPipe CallNamedPipeA
750 #define WaitNamedPipe WaitNamedPipeA
751 #define SetVolumeLabel SetVolumeLabelA
752 #define GetVolumeInformation GetVolumeInformationA
753 #define ClearEventLog ClearEventLogA
754 #define BackupEventLog BackupEventLogA
755 #define CreateMutex CreateMutexA
756 #define OpenMutex OpenMutexA
757 #define CreateEvent CreateEventA
758 #define OpenEvent OpenEventA
759 #define CreateSemaphore CreateSemaphoreA
760 #define OpenSemaphore OpenSemaphoreA
761 #define CreateFileMapping CreateFileMappingA
762 #define OpenFileMapping OpenFileMappingA
763 #define GetLogicalDriveStrings GetLogicalDriveStringsA
764 #define LoadLibrary LoadLibraryA
765 #define LoadLibraryEx LoadLibraryExA
766 #define GetModuleFileName GetModuleFileNameA
767 #define GetModuleHandle GetModuleHandleA
768 #define GetUserObjectInformation GetUserObjectInformationA
769 #define SetUserObjectInformation SetUserObjectInformationA
770 #define RegisterWindowMessage RegisterWindowMessageA
771 #define GetMessage GetMessageA
772 #define DispatchMessage DispatchMessageA
773 #define PeekMessage PeekMessageA
774 #define SendMessage SendMessageA
775 #define SendMessageTimeout SendMessageTimeoutA
776 #define SendNotifyMessage SendNotifyMessageA
777 #define SendMessageCallback SendMessageCallbackA
778 #define PostMessage PostMessageA
779 #define PostThreadMessage PostThreadMessageA
780 #define VerFindFile VerFindFileA
781 #define VerInstallFile VerInstallFileA
782 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
783 #define GetFileVersionInfo GetFileVersionInfoA
784 #define VerLanguageName VerLanguageNameA
785 #define VerQueryValue VerQueryValueA
786 #define CompareString CompareStringA
787 #define LCMapString LCMapStringA
788 #define GetLocaleInfo GetLocaleInfoA
789 #define SetLocaleInfo SetLocaleInfoA
790 #define GetTimeFormat GetTimeFormatA
791 #define GetDateFormat GetDateFormatA
792 #define GetNumberFormat GetNumberFormatA
793 #define GetCurrencyFormat GetCurrencyFormatA
794 #define EnumCalendarInfo EnumCalendarInfoA
795 #define EnumTimeFormats EnumTimeFormatsA
796 #define FoldString FoldStringA
797 #define EnumSystemCodePages EnumSystemCodePagesA
798 #define EnumSystemLocales EnumSystemLocalesA
799 #define GetStringTypeEx GetStringTypeExA
800 #define EnumDateFormats EnumDateFormatsA
801 #define GetConsoleTitle GetConsoleTitleA
802 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
803 #define SetConsoleTitle SetConsoleTitleA
804 #define ReadConsole ReadConsoleA
805 #define WriteConsole WriteConsoleA
806 #define PeekConsoleInput PeekConsoleInputA
807 #define ReadConsoleInput ReadConsoleInputA
808 #define WriteConsoleInput WriteConsoleInputA
809 #define ReadConsoleOutput ReadConsoleOutputA
810 #define WriteConsoleOutput WriteConsoleOutputA
811 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
812 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
813 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
814 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
815 #define WNetGetLastError WNetGetLastErrorA
816 #define WNetGetProviderName WNetGetProviderNameA
817 #define WNetGetNetworkInformation WNetGetNetworkInformationA
818 #define WNetConnectionDialog1 WNetConnectionDialog1A
819 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
820 #define WNetOpenEnum WNetOpenEnumA
821 #define WNetEnumResource WNetEnumResourceA
822 #define WNetGetUniversalName WNetGetUniversalNameA
823 #define WNetGetUser WNetGetUserA
824 #define WNetAddConnection WNetAddConnectionA
825 #define WNetAddConnection2 WNetAddConnection2A
826 #define WNetAddConnection3 WNetAddConnection3A
827 #define WNetCancelConnection WNetCancelConnectionA
828 #define WNetCancelConnection2 WNetCancelConnection2A
829 #define WNetGetConnection WNetGetConnectionA
830 #define WNetUseConnection WNetUseConnectionA
831 #define WNetSetConnection WNetSetConnectionA
832 #define OpenService OpenServiceA
833 #define QueryServiceConfig QueryServiceConfigA
834 #define QueryServiceLockStatus QueryServiceLockStatusA
835 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
836 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
837 #define StartService StartServiceA
838 #define ChangeServiceConfig ChangeServiceConfigA
839 #define CreateService CreateServiceA
840 #define EnumDependentServices EnumDependentServicesA
841 #define EnumServicesStatus EnumServicesStatusA
842 #define GetServiceKeyName GetServiceKeyNameA
843 #define GetServiceDisplayName GetServiceDisplayNameA
844 #define OpenSCManager OpenSCManagerA
845 #define DragQueryFile DragQueryFileA
846 #define ExtractAssociatedIcon ExtractAssociatedIconA
847 #define ExtractIcon ExtractIconA
848 #define FindExecutable FindExecutableA
849 #define ShellAbout ShellAboutA
850 #define ShellExecute ShellExecuteA
851 #define DdeCreateStringHandle DdeCreateStringHandleA
852 #define DdeInitialize DdeInitializeA
853 #define DdeQueryString DdeQueryStringA
854 #define LogonUser LogonUserA
855 #define CreateProcessAsUser CreateProcessAsUserA
857 #endif /* UNICODE and ASCII defines */
859 WINBOOL STDCALL
AbnormalTermination(VOID
);
860 int STDCALL
AbortDoc(HDC
);
861 WINBOOL STDCALL
AbortPath(HDC
);
862 WINBOOL STDCALL
AbortPrinter(HANDLE
);
863 WINBOOL CALLBACK
AbortProc(HDC
, int);
864 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
865 WINBOOL STDCALL
AccessCheck(
866 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
869 PGENERIC_MAPPING GenericMapping
,
870 PPRIVILEGE_SET PrivilegeSet
,
871 LPDWORD PrivilegeSetLength
,
872 LPDWORD GrantedAccess
,
876 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
877 LPCTSTR SubsystemName
,
879 LPTSTR ObjectTypeName
,
881 PSECURITY_DESCRIPTOR SecurityDescriptor
,
883 PGENERIC_MAPPING GenericMapping
,
884 WINBOOL ObjectCreation
,
885 LPDWORD GrantedAccess
,
887 LPBOOL pfGenerateOnClose
892 InterlockedIncrement(
898 InterlockedDecrement(
910 InterlockedCompareExchange(
931 HINSTANCE hPrevInstance
,
945 FreeLibraryAndExitThread(
952 DisableThreadLibraryCalls(
1064 LPMEMORYSTATUS lpBuffer
1148 FlushInstructionCache(
1150 LPCVOID lpBaseAddress
,
1160 DWORD flAllocationType
,
1180 PDWORD lpflOldProtect
1188 PMEMORY_BASIC_INFORMATION lpBuffer
,
1200 PDWORD lpflOldProtect
1209 PMEMORY_BASIC_INFORMATION lpBuffer
,
1218 DWORD dwInitialSize
,
1278 GetProcessHeap( VOID
);
1283 DWORD NumberOfHeaps
,
1284 PHANDLE ProcessHeaps
1303 LPPROCESS_HEAP_ENTRY lpEntry
1308 GetProcessAffinityMask(
1310 LPDWORD lpProcessAffinityMask
,
1311 LPDWORD lpSystemAffinityMask
1318 LPFILETIME lpCreationTime
,
1319 LPFILETIME lpExitTime
,
1320 LPFILETIME lpKernelTime
,
1321 LPFILETIME lpUserTime
1326 GetProcessWorkingSetSize(
1328 LPDWORD lpMinimumWorkingSetSize
,
1329 LPDWORD lpMaximumWorkingSetSize
1334 SetProcessWorkingSetSize(
1336 DWORD dwMinimumWorkingSetSize
,
1337 DWORD dwMaximumWorkingSetSize
1343 DWORD dwDesiredAccess
,
1344 WINBOOL bInheritHandle
,
1356 GetCurrentProcessId(
1364 ) __attribute__ ((noreturn
));
1389 DWORD dwExceptionCode
,
1390 DWORD dwExceptionFlags
,
1391 DWORD nNumberOfArguments
,
1392 CONST DWORD
*lpArguments
1397 UnhandledExceptionFilter(
1398 struct _EXCEPTION_POINTERS
*ExceptionInfo
1402 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1403 LPTOP_LEVEL_EXCEPTION_FILTER
1405 SetUnhandledExceptionFilter(
1406 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1414 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1416 LPTHREAD_START_ROUTINE lpStartAddress
,
1418 DWORD dwCreationFlags
,
1427 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1429 LPTHREAD_START_ROUTINE lpStartAddress
,
1431 DWORD dwCreationFlags
,
1452 SetThreadAffinityMask(
1454 DWORD dwThreadAffinityMask
1477 LPFILETIME lpCreationTime
,
1478 LPFILETIME lpExitTime
,
1479 LPFILETIME lpKernelTime
,
1480 LPFILETIME lpUserTime
1508 GetThreadSelectorEntry(
1511 LPLDT_ENTRY lpSelectorEntry
1531 GetOverlappedResult(
1533 LPOVERLAPPED lpOverlapped
,
1534 LPDWORD lpNumberOfBytesTransferred
,
1541 CreateIoCompletionPort(
1543 HANDLE ExistingCompletionPort
,
1544 DWORD CompletionKey
,
1545 DWORD NumberOfConcurrentThreads
1551 GetQueuedCompletionStatus(
1552 HANDLE CompletionPort
,
1553 LPDWORD lpNumberOfBytesTransferred
,
1554 LPDWORD lpCompletionKey
,
1555 LPOVERLAPPED
*lpOverlapped
,
1556 DWORD dwMilliseconds
1570 LPCVOID lpBaseAddress
,
1573 LPDWORD lpNumberOfBytesRead
1581 LPVOID lpBaseAddress
,
1584 LPDWORD lpNumberOfBytesWritten
1600 CONST CONTEXT
*lpContext
1628 LPDEBUG_EVENT lpDebugEvent
,
1629 DWORD dwMilliseconds
1638 DWORD dwContinueStatus
1651 InitializeCriticalSection(
1652 LPCRITICAL_SECTION lpCriticalSection
1658 EnterCriticalSection(
1659 LPCRITICAL_SECTION lpCriticalSection
1665 LeaveCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1672 DeleteCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1703 LPLONG lpPreviousCount
1716 WaitForSingleObject(
1718 DWORD dwMilliseconds
1724 WaitForMultipleObjects(
1726 CONST HANDLE
*lpHandles
,
1728 DWORD dwMilliseconds
1735 DWORD dwMilliseconds
1795 DWORD dwFileOffsetLow
,
1796 DWORD dwFileOffsetHigh
,
1797 DWORD nNumberOfBytesToLockLow
,
1798 DWORD nNumberOfBytesToLockHigh
1806 DWORD dwFileOffsetLow
,
1807 DWORD dwFileOffsetHigh
,
1808 DWORD nNumberOfBytesToUnlockLow
,
1809 DWORD nNumberOfBytesToUnlockHigh
1819 DWORD nNumberOfBytesToLockLow
,
1820 DWORD nNumberOfBytesToLockHigh
,
1821 LPOVERLAPPED lpOverlapped
1829 DWORD nNumberOfBytesToUnlockLow
,
1830 DWORD nNumberOfBytesToUnlockHigh
,
1831 LPOVERLAPPED lpOverlapped
1836 GetFileInformationByHandle(
1838 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1853 LPDWORD lpFileSizeHigh
1877 DWORD nNumberOfBytesToWrite
,
1878 LPDWORD lpNumberOfBytesWritten
,
1879 LPOVERLAPPED lpOverlapped
1888 DWORD nNumberOfBytesToRead
,
1889 LPDWORD lpNumberOfBytesRead
,
1890 LPOVERLAPPED lpOverlapped
1905 DWORD dwIoControlCode
,
1907 DWORD nInBufferSize
,
1909 DWORD nOutBufferSize
,
1910 LPDWORD lpBytesReturned
,
1911 LPOVERLAPPED lpOverlapped
1926 LONG lDistanceToMove
,
1927 PLONG lpDistanceToMoveHigh
,
1943 LPFILETIME lpCreationTime
,
1944 LPFILETIME lpLastAccessTime
,
1945 LPFILETIME lpLastWriteTime
1953 CONST FILETIME
*lpCreationTime
,
1954 CONST FILETIME
*lpLastAccessTime
,
1955 CONST FILETIME
*lpLastWriteTime
1969 HANDLE hSourceProcessHandle
,
1970 HANDLE hSourceHandle
,
1971 HANDLE hTargetProcessHandle
,
1972 LPHANDLE lpTargetHandle
,
1973 DWORD dwDesiredAccess
,
1974 WINBOOL bInheritHandle
,
1981 GetHandleInformation(
1989 SetHandleInformation(
1998 LPCSTR lpModuleName
,
1999 LPVOID lpParameterBlock
2065 LPCOMMPROP lpCommProp
2089 LPCOMMTIMEOUTS lpCommTimeouts
2137 LPCOMMTIMEOUTS lpCommTimeouts
2154 LPOVERLAPPED lpOverlapped
2163 DWORD dwPositionMethod
,
2175 DWORD dwPositionType
,
2176 LPDWORD lpdwPartition
,
2177 LPDWORD lpdwOffsetLow
,
2178 LPDWORD lpdwOffsetHigh
2202 CreateTapePartition(
2204 DWORD dwPartitionMethod
,
2214 DWORD dwTapemarkType
,
2215 DWORD dwTapemarkCount
,
2233 LPVOID lpTapeInformation
2241 LPVOID lpTapeInformation
2390 LPSYSTEMTIME lpSystemTime
2397 CONST SYSTEMTIME
*lpSystemTime
2404 LPSYSTEMTIME lpSystemTime
2411 CONST SYSTEMTIME
*lpSystemTime
2418 LPSYSTEM_INFO lpSystemInfo
2423 SystemTimeToTzSpecificLocalTime(
2424 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2425 LPSYSTEMTIME lpUniversalTime
,
2426 LPSYSTEMTIME lpLocalTime
2432 GetTimeZoneInformation(
2433 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2439 SetTimeZoneInformation(
2440 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2445 SystemTimeToFileTime(
2446 CONST SYSTEMTIME
*lpSystemTime
,
2447 LPFILETIME lpFileTime
2453 FileTimeToLocalFileTime(
2454 CONST FILETIME
*lpFileTime
,
2455 LPFILETIME lpLocalFileTime
2461 LocalFileTimeToFileTime(
2462 CONST FILETIME
*lpLocalFileTime
,
2463 LPFILETIME lpFileTime
2469 FileTimeToSystemTime(
2470 CONST FILETIME
*lpFileTime
,
2471 LPSYSTEMTIME lpSystemTime
2478 CONST FILETIME
*lpFileTime1
,
2479 CONST FILETIME
*lpFileTime2
2485 FileTimeToDosDateTime(
2486 CONST FILETIME
*lpFileTime
,
2494 DosDateTimeToFileTime(
2497 LPFILETIME lpFileTime
2510 SetSystemTimeAdjustment(
2511 DWORD dwTimeAdjustment
,
2512 WINBOOL bTimeAdjustmentDisabled
2518 GetSystemTimeAdjustment(
2519 PDWORD lpTimeAdjustment
,
2520 PDWORD lpTimeIncrement
,
2521 PWINBOOL lpTimeAdjustmentDisabled
2530 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2539 LPOVERLAPPED lpOverlapped
2545 DisconnectNamedPipe(
2552 SetNamedPipeHandleState(
2555 LPDWORD lpMaxCollectionCount
,
2556 LPDWORD lpCollectDataTimeout
2565 LPDWORD lpOutBufferSize
,
2566 LPDWORD lpInBufferSize
,
2567 LPDWORD lpMaxInstances
2577 LPDWORD lpBytesRead
,
2578 LPDWORD lpTotalBytesAvail
,
2579 LPDWORD lpBytesLeftThisMessage
2588 DWORD nInBufferSize
,
2590 DWORD nOutBufferSize
,
2591 LPDWORD lpBytesRead
,
2592 LPOVERLAPPED lpOverlapped
2601 LPDWORD lpMaxMessageSize
,
2603 LPDWORD lpMessageCount
,
2604 LPDWORD lpReadTimeout
2619 HANDLE hFileMappingObject
,
2620 DWORD dwDesiredAccess
,
2621 DWORD dwFileOffsetHigh
,
2622 DWORD dwFileOffsetLow
,
2623 DWORD dwNumberOfBytesToMap
2630 LPCVOID lpBaseAddress
,
2631 DWORD dwNumberOfBytesToFlush
2638 LPVOID lpBaseAddress
2645 LPOFSTRUCT lpReOpenBuff
,
2721 CONST LPVOID lpBuffer
,
2757 DWORD dwMilliseconds
,
2764 WaitForSingleObjectEx(
2766 DWORD dwMilliseconds
,
2773 WaitForMultipleObjectsEx(
2775 CONST HANDLE
*lpHandles
,
2777 DWORD dwMilliseconds
,
2787 DWORD nNumberOfBytesToRead
,
2788 LPOVERLAPPED lpOverlapped
,
2789 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2798 DWORD nNumberOfBytesToWrite
,
2799 LPOVERLAPPED lpOverlapped
,
2800 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2809 DWORD nNumberOfBytesToRead
,
2810 LPDWORD lpNumberOfBytesRead
,
2812 WINBOOL bProcessSecurity
,
2821 DWORD dwLowBytesToSeek
,
2822 DWORD dwHighBytesToSeek
,
2823 LPDWORD lpdwLowByteSeeked
,
2824 LPDWORD lpdwHighByteSeeked
,
2834 DWORD nNumberOfBytesToWrite
,
2835 LPDWORD lpNumberOfBytesWritten
,
2837 WINBOOL bProcessSecurity
,
2843 SetProcessShutdownParameters(
2851 GetProcessShutdownParameters(
2859 SetFileApisToOEM( VOID
);
2864 SetFileApisToANSI( VOID
);
2869 AreFileApisANSI( VOID
);
2880 DeregisterEventSource (
2887 NotifyChangeEventLog (
2895 GetNumberOfEventLogRecords (
2897 PDWORD NumberOfRecords
2903 GetOldestEventLogRecord (
2911 HANDLE ExistingTokenHandle
,
2912 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2913 PHANDLE DuplicateTokenHandle
2919 GetKernelObjectSecurity (
2921 SECURITY_INFORMATION RequestedInformation
,
2922 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2924 LPDWORD lpnLengthNeeded
2930 ImpersonateNamedPipeClient(
2937 ImpersonateLoggedOnUser(
2945 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2968 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2970 DWORD DesiredAccess
,
2971 PGENERIC_MAPPING GenericMapping
,
2972 PPRIVILEGE_SET PrivilegeSet
,
2973 LPDWORD PrivilegeSetLength
,
2974 LPDWORD GrantedAccess
,
2983 HANDLE ProcessHandle
,
2984 DWORD DesiredAccess
,
2993 HANDLE ThreadHandle
,
2994 DWORD DesiredAccess
,
3003 GetTokenInformation (
3005 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3006 LPVOID TokenInformation
,
3007 DWORD TokenInformationLength
,
3015 SetTokenInformation (
3017 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3018 LPVOID TokenInformation
,
3019 DWORD TokenInformationLength
3026 AdjustTokenPrivileges (
3028 WINBOOL DisableAllPrivileges
,
3029 PTOKEN_PRIVILEGES NewState
,
3031 PTOKEN_PRIVILEGES PreviousState
,
3041 WINBOOL ResetToDefault
,
3042 PTOKEN_GROUPS NewState
,
3044 PTOKEN_GROUPS PreviousState
,
3054 PPRIVILEGE_SET RequiredPrivileges
,
3088 GetSidLengthRequired (
3089 UCHAR nSubAuthorityCount
3096 AllocateAndInitializeSid (
3097 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3098 BYTE nSubAuthorityCount
,
3099 DWORD nSubAuthority0
,
3100 DWORD nSubAuthority1
,
3101 DWORD nSubAuthority2
,
3102 DWORD nSubAuthority3
,
3103 DWORD nSubAuthority4
,
3104 DWORD nSubAuthority5
,
3105 DWORD nSubAuthority6
,
3106 DWORD nSubAuthority7
,
3122 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3123 BYTE nSubAuthorityCount
3128 PSID_IDENTIFIER_AUTHORITY
3130 GetSidIdentifierAuthority (
3138 GetSidSubAuthority (
3147 GetSidSubAuthorityCount (
3164 DWORD nDestinationSidLength
,
3165 PSID pDestinationSid
,
3173 AreAllAccessesGranted (
3174 DWORD GrantedAccess
,
3182 AreAnyAccessesGranted (
3183 DWORD GrantedAccess
,
3193 PGENERIC_MAPPING GenericMapping
3220 LPVOID pAclInformation
,
3221 DWORD nAclInformationLength
,
3222 ACL_INFORMATION_CLASS dwAclInformationClass
3231 LPVOID pAclInformation
,
3232 DWORD nAclInformationLength
,
3233 ACL_INFORMATION_CLASS dwAclInformationClass
3242 DWORD dwAceRevision
,
3243 DWORD dwStartingAceIndex
,
3245 DWORD nAceListLength
3271 AddAccessAllowedAce (
3273 DWORD dwAceRevision
,
3282 AddAccessDeniedAce (
3284 DWORD dwAceRevision
,
3295 DWORD dwAceRevision
,
3298 WINBOOL bAuditSuccess
,
3299 WINBOOL bAuditFailure
3315 InitializeSecurityDescriptor (
3316 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3324 IsValidSecurityDescriptor (
3325 PSECURITY_DESCRIPTOR pSecurityDescriptor
3332 GetSecurityDescriptorLength (
3333 PSECURITY_DESCRIPTOR pSecurityDescriptor
3340 GetSecurityDescriptorControl (
3341 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3342 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3343 LPDWORD lpdwRevision
3350 SetSecurityDescriptorDacl (
3351 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3352 WINBOOL bDaclPresent
,
3354 WINBOOL bDaclDefaulted
3361 GetSecurityDescriptorDacl (
3362 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3363 LPBOOL lpbDaclPresent
,
3365 LPBOOL lpbDaclDefaulted
3372 SetSecurityDescriptorSacl (
3373 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3374 WINBOOL bSaclPresent
,
3376 WINBOOL bSaclDefaulted
3383 GetSecurityDescriptorSacl (
3384 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3385 LPBOOL lpbSaclPresent
,
3387 LPBOOL lpbSaclDefaulted
3394 SetSecurityDescriptorOwner (
3395 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3397 WINBOOL bOwnerDefaulted
3404 GetSecurityDescriptorOwner (
3405 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3407 LPBOOL lpbOwnerDefaulted
3414 SetSecurityDescriptorGroup (
3415 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3417 WINBOOL bGroupDefaulted
3424 GetSecurityDescriptorGroup (
3425 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3427 LPBOOL lpbGroupDefaulted
3434 CreatePrivateObjectSecurity (
3435 PSECURITY_DESCRIPTOR ParentDescriptor
,
3436 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3437 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3438 WINBOOL IsDirectoryObject
,
3440 PGENERIC_MAPPING GenericMapping
3447 SetPrivateObjectSecurity (
3448 SECURITY_INFORMATION SecurityInformation
,
3449 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3450 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3451 PGENERIC_MAPPING GenericMapping
,
3459 GetPrivateObjectSecurity (
3460 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3461 SECURITY_INFORMATION SecurityInformation
,
3462 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3463 DWORD DescriptorLength
,
3471 DestroyPrivateObjectSecurity (
3472 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3479 MakeSelfRelativeSD (
3480 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3481 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3482 LPDWORD lpdwBufferLength
3490 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3491 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3492 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3494 LPDWORD lpdwDaclSize
,
3496 LPDWORD lpdwSaclSize
,
3498 LPDWORD lpdwOwnerSize
,
3500 LPDWORD lpdwPrimaryGroupSize
3507 SetKernelObjectSecurity (
3509 SECURITY_INFORMATION SecurityInformation
,
3510 PSECURITY_DESCRIPTOR SecurityDescriptor
3516 FindNextChangeNotification(
3517 HANDLE hChangeHandle
3523 FindCloseChangeNotification(
3524 HANDLE hChangeHandle
3547 HANDLE hFileMappingObject
,
3548 DWORD dwDesiredAccess
,
3549 DWORD dwFileOffsetHigh
,
3550 DWORD dwFileOffsetLow
,
3551 DWORD dwNumberOfBytesToMap
,
3552 LPVOID lpBaseAddress
3560 DWORD dwPriorityClass
3611 AllocateLocallyUniqueId(
3618 QueryPerformanceCounter(
3619 LARGE_INTEGER
*lpPerformanceCount
3625 QueryPerformanceFrequency(
3626 LARGE_INTEGER
*lpFrequency
3652 /* The memory functions don't seem to be defined in the libraries, so
3653 define macro versions as well. */
3654 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3655 #define FillMemory(p, c, v) memset ((p), (v), (c))
3656 #define ZeroMemory(p, c) memset ((p), 0, (c))
3661 ActivateKeyboardLayout(
3667 ActivateKeyboardLayout(
3687 UnloadKeyboardLayout(
3693 GetKeyboardLayoutList(
3710 DWORD dwDesiredAccess
);
3716 ENUMWINDOWSPROC lpfn
,
3752 SetProcessWindowStation(
3758 GetProcessWindowStation(
3764 SetUserObjectSecurity(
3766 PSECURITY_INFORMATION pSIRequested
,
3767 PSECURITY_DESCRIPTOR pSID
);
3772 GetUserObjectSecurity(
3774 PSECURITY_INFORMATION pSIRequested
,
3775 PSECURITY_DESCRIPTOR pSID
,
3777 LPDWORD lpnLengthNeeded
);
3833 GetMessageExtraInfo(
3839 SetMessageExtraInfo(
3845 BroadcastSystemMessage(
3876 DWORD dwMilliseconds
);
3982 HWND hWndInsertAfter
,
3994 WINDOWPLACEMENT
*lpwndpl
);
4001 CONST WINDOWPLACEMENT
*lpwndpl
);
4006 BeginDeferWindowPos(
4015 HWND hWndInsertAfter
,
4087 WINBOOL
*lpTranslated
,
4105 int nIDCheckButton
);
4117 GetNextDlgGroupItem(
4139 GetDialogBaseUnits(VOID
);
4162 HWND hWndNewViewer
);
4173 ChangeClipboardChain(
4194 CountClipboardFormats(
4200 EnumClipboardFormats(
4212 IsClipboardFormatAvailable(
4218 GetPriorityClipboardFormat(
4219 UINT
*paFormatPriorityList
,
4225 GetOpenClipboardWindow(
4229 /* Despite the A these are ASCII functions! */
4234 LPCSTR lpCurrentChar
,
4243 LPCSTR lpCurrentChar
,
4389 MsgWaitForMultipleObjects(
4393 DWORD dwMilliseconds
,
4403 TIMERPROC lpTimerFunc
);
4434 DestroyAcceleratorTable(
4559 HBITMAP hBitmapUnchecked
,
4560 HBITMAP hBitmapChecked
);
4565 GetMenuCheckMarkDimensions(
4578 CONST RECT
*prcRect
);
4596 GetMenuItemRect(HWND hWnd
,
4603 MenuItemFromPoint(HWND hWnd
,
4610 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4615 DragDetect(HWND hwnd
,
4641 GetForegroundWindow(
4646 PaintDesktop(HDC hdc
);
4651 SetForegroundWindow(
4692 LPPAINTSTRUCT lpPaint
);
4699 CONST PAINTSTRUCT
*lpPaint
);
4752 CONST RECT
*lpRect
);
4774 CONST RECT
*lprcUpdate
,
4792 CONST RECT
*lpClipRect
);
4801 CONST RECT
*lprcScroll
,
4802 CONST RECT
*lprcClip
,
4813 CONST RECT
*prcScroll
,
4814 CONST RECT
*prcClip
,
4903 SetWindowContextHelpId(HWND
, DWORD
);
4907 GetWindowContextHelpId(HWND
);
4911 SetMenuContextHelpId(HMENU
, DWORD
);
4915 GetMenuContextHelpId(HMENU
);
4952 CONST RECT
*lpRect
);
5050 ChildWindowFromPoint(
5071 CONST INT
* lpaElements
,
5072 CONST COLORREF
* lpaRgbValues
);
5125 CONST RECT
*lprcSrc
);
5140 CONST RECT
*lprcSrc1
,
5141 CONST RECT
*lprcSrc2
);
5148 CONST RECT
*lprcSrc1
,
5149 CONST RECT
*lprcSrc2
);
5156 CONST RECT
*lprcSrc1
,
5157 CONST RECT
*lprcSrc2
);
5233 HWND hWndNewParent
);
5240 ENUMWINDOWSPROC lpEnumFunc
,
5247 ENUMWINDOWSPROC lpEnumFunc
,
5255 ENUMWINDOWSPROC lpfn
,
5266 GetWindowThreadProcessId(
5268 LPDWORD lpdwProcessId
);
5287 HOOKPROC pfnFilterProc
);
5291 UnhookWindowsHookEx(
5306 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5316 CONST VOID
*pvANDPlane
,
5317 CONST VOID
*pvXORPlane
);
5336 HINSTANCE hInstance
,
5341 CONST BYTE
*lpbANDbits
,
5342 CONST BYTE
*lpbXORbits
);
5353 LookupIconIdFromDirectory(
5360 LookupIconIdFromDirectoryEx(
5370 CreateIconFromResource(
5379 CreateIconFromResourceEx(
5402 PICONINFO piconinfo
);
5415 PICONINFO piconinfo
);
5426 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5430 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5434 TranslateMDISysAccel(
5441 ArrangeIconicWindows(
5446 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5450 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5469 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5473 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5477 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5481 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5485 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5489 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5493 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5494 HICON hIcon
, int cxWidth
, int cyWidth
,
5495 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5499 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5503 Arc(HDC
, int, int, int, int, int, int, int, int);
5507 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5515 Chord(HDC
, int, int, int, int, int, int, int, int);
5523 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5527 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5531 CreateBitmapIndirect(CONST BITMAP
*);
5535 CreateBrushIndirect(CONST LOGBRUSH
*);
5539 CreateCompatibleBitmap(HDC
, int, int);
5543 CreateDiscardableBitmap(HDC
, int, int);
5547 CreateCompatibleDC(HDC
);
5551 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5555 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5559 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5563 CreateEllipticRgn(int, int, int, int);
5567 CreateEllipticRgnIndirect(CONST RECT
*);
5571 CreateHatchBrush(int, COLORREF
);
5575 CreatePalette(CONST LOGPALETTE
*);
5579 CreatePen(int, int, COLORREF
);
5583 CreatePenIndirect(CONST LOGPEN
*);
5587 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5591 CreatePatternBrush(HBITMAP
);
5595 CreateRectRgn(int, int, int, int);
5599 CreateRectRgnIndirect(CONST RECT
*);
5603 CreateRoundRectRgn(int, int, int, int, int, int);
5607 CreateSolidBrush(COLORREF
);
5615 DeleteMetaFile(HMETAFILE
);
5619 DeleteObject(HGDIOBJ
);
5623 DrawEscape(HDC
, int, int, LPCSTR
);
5627 Ellipse(HDC
, int, int, int, int);
5631 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5635 EqualRgn(HRGN
, HRGN
);
5639 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5643 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5647 ExcludeClipRect(HDC
, int, int, int, int);
5651 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5655 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5659 FillRgn(HDC
, HRGN
, HBRUSH
);
5663 FloodFill(HDC
, int, int, COLORREF
);
5667 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5671 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5675 GdiProcessSetup (VOID
);
5683 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5695 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5699 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5703 GetBoundsRect(HDC
, LPRECT
, UINT
);
5707 GetBrushOrgEx(HDC
, LPPOINT
);
5711 GetClipBox(HDC
, LPRECT
);
5715 GetClipRgn(HDC
, HRGN
);
5719 GetMetaRgn(HDC
, HRGN
);
5723 GetCurrentObject(HDC
, UINT
);
5727 GetCurrentPositionEx(HDC
, LPPOINT
);
5731 GetDeviceCaps(HDC
, int);
5735 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5739 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5743 GetGraphicsMode(HDC
);
5751 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5755 GetNearestColor(HDC
, COLORREF
);
5759 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5763 GetObjectType(HGDIOBJ h
);
5767 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5771 GetPixel(HDC
, int, int);
5775 GetPixelFormat(HDC
);
5779 GetPolyFillMode(HDC
);
5783 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5787 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5791 GetRgnBox(HRGN
, LPRECT
);
5795 GetStockObject(int);
5799 GetStretchBltMode(HDC
);
5803 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5807 GetSystemPaletteUse(HDC
);
5811 GetTextCharacterExtra(HDC
);
5823 GetTextCharset(HDC hdc
);
5827 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5831 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5835 GetFontLanguageInfo( HDC
);
5839 GetViewportExtEx(HDC
, LPSIZE
);
5843 GetViewportOrgEx(HDC
, LPPOINT
);
5847 GetWindowExtEx(HDC
, LPSIZE
);
5851 GetWindowOrgEx(HDC
, LPPOINT
);
5855 IntersectClipRect(HDC
, int, int, int, int);
5859 InvertRgn(HDC
, HRGN
);
5863 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5867 LineTo(HDC
, int, int);
5871 MaskBlt(HDC
, int, int, int, int,
5872 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5876 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5877 int, HBITMAP
, int, int);
5881 OffsetClipRgn(HDC
, int, int);
5885 OffsetRgn(HRGN
, int, int);
5889 PatBlt(HDC
, int, int, int, int, DWORD
);
5893 Pie(HDC
, int, int, int, int, int, int, int, int);
5897 PlayMetaFile(HDC
, HMETAFILE
);
5901 PaintRgn(HDC
, HRGN
);
5905 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5909 PtInRegion(HRGN
, int, int);
5913 PtVisible(HDC
, int, int);
5917 RectInRegion(HRGN
, CONST RECT
*);
5921 RectVisible(HDC
, CONST RECT
*);
5925 Rectangle(HDC
, int, int, int, int);
5929 RestoreDC(HDC
, int);
5933 RealizePalette(HDC
);
5937 RoundRect(HDC
, int, int, int, int, int, int);
5941 ResizePalette(HPALETTE
, UINT
);
5949 SelectClipRgn(HDC
, HRGN
);
5953 ExtSelectClipRgn(HDC
, HRGN
, int);
5961 SelectObject(HDC
, HGDIOBJ
);
5965 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5969 SetBkColor(HDC
, COLORREF
);
5973 SetBkMode(HDC
, int);
5977 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
5981 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
5985 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5989 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
5990 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5994 SetMapperFlags(HDC
, DWORD
);
5998 SetGraphicsMode(HDC hdc
, int iMode
);
6002 SetMapMode(HDC
, int);
6006 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6010 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6014 SetPixel(HDC
, int, int, COLORREF
);
6018 SetPixelV(HDC
, int, int, COLORREF
);
6022 SetPolyFillMode(HDC
, int);
6026 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6030 SetRectRgn(HRGN
, int, int, int, int);
6033 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6034 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6042 SetStretchBltMode(HDC
, int);
6046 SetSystemPaletteUse(HDC
, UINT
);
6050 SetTextCharacterExtra(HDC
, int);
6054 SetTextColor(HDC
, COLORREF
);
6058 SetTextAlign(HDC
, UINT
);
6062 SetTextJustification(HDC
, int, int);
6070 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6074 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6078 CloseEnhMetaFile(HDC
);
6082 DeleteEnhMetaFile(HENHMETAFILE
);
6086 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6087 LPVOID
, CONST RECT
*);
6091 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6095 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6099 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6103 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6107 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6111 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6116 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6121 GdiComment(HDC
, UINT
, CONST BYTE
*);
6125 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6129 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6133 GetWorldTransform(HDC
, LPXFORM
);
6137 SetWorldTransform(HDC
, CONST XFORM
*);
6141 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6145 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6149 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
6153 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6157 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6161 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6165 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6169 CreateHalftonePalette(HDC
);
6189 SetAbortProc(HDC
, ABORTPROC
);
6197 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6221 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6229 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6233 SelectClipPath(HDC
, int);
6237 SetArcDirection(HDC
, int);
6241 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6245 StrokeAndFillPath(HDC
);
6257 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6261 GetMiterLimit(HDC
, PFLOAT
);
6265 GetArcDirection(HDC
);
6269 MoveToEx(HDC
, int, int, LPPOINT
);
6273 CreatePolygonRgn(CONST POINT
*, int, int);
6277 DPtoLP(HDC
, LPPOINT
, int);
6281 LPtoDP(HDC
, LPPOINT
, int);
6285 Polygon(HDC
, CONST POINT
*, int);
6289 Polyline(HDC
, CONST POINT
*, int);
6293 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6297 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6301 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6305 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6309 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6313 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6317 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6321 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6325 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6329 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6333 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6337 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6341 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6345 GetDCOrgEx(HDC
,LPPOINT
);
6349 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6353 UnrealizeObject(HGDIOBJ
);
6361 GdiSetBatchLimit(DWORD
);
6365 GdiGetBatchLimit(void);
6369 SetICMMode(HDC
, int);
6373 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6381 SetColorSpace(HDC
,HCOLORSPACE
);
6385 DeleteColorSpace(HCOLORSPACE
);
6389 GetDeviceGammaRamp(HDC
,LPVOID
);
6393 SetDeviceGammaRamp(HDC
,LPVOID
);
6397 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6401 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6405 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6409 InitCommonControls(void);
6411 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6415 ImageList_Create(int cx
, int cy
, UINT flags
,
6416 int cInitial
, int cGrow
);
6420 ImageList_Destroy(HIMAGELIST himl
);
6424 ImageList_GetImageCount(HIMAGELIST himl
);
6428 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6433 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6437 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6441 ImageList_GetBkColor(HIMAGELIST himl
);
6445 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6450 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6454 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6458 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6462 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6466 ImageList_Remove(HIMAGELIST himl
, int i
);
6470 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6474 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6478 ImageList_EndDrag(void);
6482 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6486 ImageList_DragLeave(HWND hwndLock
);
6490 ImageList_DragMove(int x
, int y
);
6494 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6498 ImageList_DragShowNolock(WINBOOL fShow
);
6502 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6506 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6510 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6514 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6518 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6522 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6523 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6524 int iNumButtons
, int dxButton
, int dyButton
,
6525 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6529 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6530 UINT wFlags
, LPCOLORMAP lpColorMap
,
6536 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6540 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6544 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6548 MakeDragList(HWND hLB
);
6552 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6556 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6560 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6561 HWND hParent
, int nID
, HINSTANCE hInst
,
6563 int nUpper
, int nLower
, int nPos
);
6567 CommDlgExtendedError(VOID
);
6569 /* Animation controls */
6571 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6573 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6575 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6577 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6579 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6581 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6583 /* Property sheet macros */
6585 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6587 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6589 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6591 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6593 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6595 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6597 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6599 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6601 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6603 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6605 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6607 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6609 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6611 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6613 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6615 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6617 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6619 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6621 /* Header control */
6622 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6624 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6626 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6628 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6630 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6632 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6635 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6637 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6639 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6641 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6643 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6645 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6647 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6649 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6651 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6653 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6655 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6657 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6659 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6661 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6663 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6665 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6667 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6669 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6671 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6673 #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))
6675 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6677 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6679 #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);}
6681 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6683 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6685 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6687 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6689 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6691 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6693 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6695 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6697 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6699 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6701 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6703 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6705 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6707 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6709 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6711 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6713 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6716 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6718 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6720 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6722 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6724 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6726 #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);}
6728 #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);}
6730 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6732 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6734 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6736 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6739 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6741 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6743 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6745 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6747 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6749 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6751 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6753 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6755 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6757 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6759 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6761 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6763 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6765 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6767 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6769 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6771 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6773 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6775 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6777 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6779 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6781 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6784 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6786 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6788 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6790 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6792 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6794 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6796 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6798 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6800 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6802 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6804 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6806 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6808 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6810 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6812 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6816 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6818 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6820 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6822 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6824 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6826 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6828 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6830 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6832 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6834 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6836 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6838 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6840 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6842 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6844 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6846 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6848 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6850 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6852 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6854 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6856 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6858 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6860 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6862 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6865 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6867 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6868 #endif /* !UNICODE */
6870 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6872 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6875 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6877 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6878 #endif /* !UNICODE */
6880 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6882 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6885 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6887 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6888 #endif /* !UNICODE */
6890 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6892 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6894 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6896 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6908 SECURITY_INFORMATION SecurityInformation
,
6909 PSECURITY_DESCRIPTOR pSecurityDescriptor
6922 SECURITY_INFORMATION SecurityInformation
,
6923 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6924 LPDWORD lpcbSecurityDescriptor
6929 RegNotifyChangeKeyValue (
6931 WINBOOL bWatchSubtree
,
6932 DWORD dwNotifyFilter
,
6934 WINBOOL fAsynchronus
6955 GetCPInfo(UINT
, LPCPINFO
);
6973 MultiByteToWideChar(
6976 LPCSTR lpMultiByteStr
,
6978 LPWSTR lpWideCharStr
,
6984 WideCharToMultiByte(
6987 LPCWSTR lpWideCharStr
,
6989 LPSTR lpMultiByteStr
,
6991 LPCSTR lpDefaultChar
,
6992 LPBOOL lpUsedDefaultChar
);
7003 ConvertDefaultLocale(
7009 GetThreadLocale(void);
7021 GetSystemDefaultLangID(void);
7026 GetUserDefaultLangID(void);
7031 GetSystemDefaultLCID(void);
7036 GetUserDefaultLCID(void);
7041 ReadConsoleOutputAttribute(
7042 HANDLE hConsoleOutput
,
7046 LPDWORD lpNumberOfAttrsRead
7052 WriteConsoleOutputAttribute(
7053 HANDLE hConsoleOutput
,
7054 CONST WORD
*lpAttribute
,
7057 LPDWORD lpNumberOfAttrsWritten
7063 FillConsoleOutputAttribute(
7064 HANDLE hConsoleOutput
,
7068 LPDWORD lpNumberOfAttrsWritten
7075 HANDLE hConsoleHandle
,
7082 GetNumberOfConsoleInputEvents(
7083 HANDLE hConsoleInput
,
7084 LPDWORD lpNumberOfEvents
7090 GetConsoleScreenBufferInfo(
7091 HANDLE hConsoleOutput
,
7092 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7098 GetLargestConsoleWindowSize(
7099 HANDLE hConsoleOutput
7105 GetConsoleCursorInfo(
7106 HANDLE hConsoleOutput
,
7107 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7113 GetNumberOfConsoleMouseButtons(
7114 LPDWORD lpNumberOfMouseButtons
7121 HANDLE hConsoleHandle
,
7128 SetConsoleActiveScreenBuffer(
7129 HANDLE hConsoleOutput
7135 FlushConsoleInputBuffer(
7136 HANDLE hConsoleInput
7142 SetConsoleScreenBufferSize(
7143 HANDLE hConsoleOutput
,
7150 SetConsoleCursorPosition(
7151 HANDLE hConsoleOutput
,
7152 COORD dwCursorPosition
7158 SetConsoleCursorInfo(
7159 HANDLE hConsoleOutput
,
7160 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7165 SetConsoleWindowInfo(
7166 HANDLE hConsoleOutput
,
7168 CONST SMALL_RECT
*lpConsoleWindow
7174 SetConsoleTextAttribute(
7175 HANDLE hConsoleOutput
,
7182 SetConsoleCtrlHandler(
7183 PHANDLER_ROUTINE HandlerRoutine
,
7190 GenerateConsoleCtrlEvent(
7192 DWORD dwProcessGroupId
7198 AllocConsole( VOID
);
7203 FreeConsole( VOID
);
7209 CreateConsoleScreenBuffer(
7210 DWORD dwDesiredAccess
,
7212 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7214 LPVOID lpScreenBufferData
7220 GetConsoleCP( VOID
);
7232 GetConsoleOutputCP( VOID
);
7242 WNetConnectionDialog(
7248 WNetDisconnectDialog(
7270 LPSERVICE_STATUS lpServiceStatus
7281 LockServiceDatabase(
7282 SC_HANDLE hSCManager
7288 NotifyBootConfigStatus(
7289 WINBOOL BootAcceptable
7294 QueryServiceObjectSecurity(
7296 SECURITY_INFORMATION dwSecurityInformation
,
7297 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7299 LPDWORD pcbBytesNeeded
7307 LPSERVICE_STATUS lpServiceStatus
7312 SetServiceObjectSecurity(
7314 SECURITY_INFORMATION dwSecurityInformation
,
7315 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7322 SERVICE_STATUS_HANDLE hServiceStatus
,
7323 LPSERVICE_STATUS lpServiceStatus
7328 UnlockServiceDatabase(
7332 /* Extensions to OpenGL */
7335 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7338 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7341 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7342 CONST PIXELFORMATDESCRIPTOR
*);
7345 GetPixelFormat(HDC
);
7348 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7354 wglCreateContext(HDC
);
7357 wglCreateLayerContext(HDC
, int);
7360 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7363 wglDeleteContext(HGLRC
);
7366 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7369 wglGetCurrentContext(VOID
);
7372 wglGetCurrentDC(VOID
);
7375 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7378 wglGetProcAddress(LPCSTR
);
7381 wglMakeCurrent(HDC
, HGLRC
);
7384 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7387 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7390 wglShareLists(HGLRC
, HGLRC
);
7393 wglSwapLayerBuffers(HDC
, UINT
);
7396 Why are these different between ANSI and UNICODE?
7397 There doesn't seem to be any difference.
7401 #define wglUseFontBitmaps wglUseFontBitmapsW
7402 #define wglUseFontOutlines wglUseFontOutlinesW
7404 #define wglUseFontBitmaps wglUseFontBitmapsA
7405 #define wglUseFontOutlines wglUseFontOutlinesA
7406 #endif /* !UNICODE */
7408 /* ------------------------------------- */
7409 /* From shellapi.h in old Cygnus headers */
7412 DragQueryPoint (HDROP
, LPPOINT
);
7418 DragAcceptFiles (HWND
, WINBOOL
);
7421 DuplicateIcon (HINSTANCE
, HICON
);
7423 /* end of stuff from shellapi.h in old Cygnus headers */
7424 /* -------------------------------------------------- */
7425 /* From ddeml.h in old Cygnus headers */
7427 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7428 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7429 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7430 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7431 UINT WINAPI
DdeGetLastError (DWORD
);
7432 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7433 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7434 HCONV WINAPI
DdeReconnect (HCONV
);
7435 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7436 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7437 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7440 /* end of stuff from ddeml.h in old Cygnus headers */
7441 /* ----------------------------------------------- */
7443 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7445 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7446 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7447 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7448 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7450 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7454 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7456 DWORD STDCALL
GetCurrentTime(VOID
);
7459 SHAddToRecentDocs (UINT
, LPCVOID
);
7462 SHBrowseForFolder (LPBROWSEINFO
);
7465 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7468 SHFileOperation (LPSHFILEOPSTRUCT
);
7471 SHFreeNameMappings (HANDLE
);
7473 /* Define when SHELLFOLDER is defined.
7475 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7478 SHGetDesktopFolder (LPSHELLFOLDER);
7482 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7484 /* Define when IUnknown is defined.
7486 SHGetInstanceExplorer (IUnknown **);
7489 /* Define when MALLOC is defined.
7491 SHGetMalloc (LPMALLOC *);
7495 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7498 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7500 /* Define when REFCLSID is defined.
7502 SHLoadInProc (REFCLSID);
7507 #endif /* __cplusplus */
7509 #endif /* WIN32_LEAN_AND_MEAN */
7511 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */