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 FindFirstFile FindFirstFileW
339 #define FindNextFile FindNextFileW
340 #define SearchPath SearchPathW
341 #define CopyFile CopyFileW
342 #define MoveFile MoveFileW
343 #define MoveFileEx MoveFileExW
344 #define CreateNamedPipe CreateNamedPipeW
345 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
346 #define CallNamedPipe CallNamedPipeW
347 #define WaitNamedPipe WaitNamedPipeW
348 #define SetVolumeLabel SetVolumeLabelW
349 #define GetVolumeInformation GetVolumeInformationW
350 #define ClearEventLog ClearEventLogW
351 #define BackupEventLog BackupEventLogW
352 #define CreateMutex CreateMutexW
353 #define OpenMutex OpenMutexW
354 #define CreateEvent CreateEventW
355 #define OpenEvent OpenEventW
356 #define CreateSemaphore CreateSemaphoreW
357 #define OpenSemaphore OpenSemaphoreW
358 #define CreateFileMapping CreateFileMappingW
359 #define OpenFileMapping OpenFileMappingW
360 #define GetLogicalDriveStrings GetLogicalDriveStringsW
361 #define LoadLibrary LoadLibraryW
362 #define LoadLibraryEx LoadLibraryExW
363 #define GetModuleFileName GetModuleFileNameW
364 #define GetModuleHandle GetModuleHandleW
365 #define GetUserObjectInformation GetUserObjectInformationW
366 #define SetUserObjectInformation SetUserObjectInformationW
367 #define RegisterWindowMessage RegisterWindowMessageW
368 #define GetMessage GetMessageW
369 #define DispatchMessage DispatchMessageW
370 #define PeekMessage PeekMessageW
371 #define SendMessage SendMessageW
372 #define SendMessageTimeout SendMessageTimeoutW
373 #define SendNotifyMessage SendNotifyMessageW
374 #define SendMessageCallback SendMessageCallbackW
375 #define PostMessage PostMessageW
376 #define PostThreadMessage PostThreadMessageW
377 #define VerFindFile VerFindFileW
378 #define VerInstallFile VerInstallFileW
379 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
380 #define GetFileVersionInfo GetFileVersionInfoW
381 #define VerLanguageName VerLanguageNameW
382 #define VerQueryValue VerQueryValueW
383 #define CompareString CompareStringW
384 #define LCMapString LCMapStringW
385 #define GetLocaleInfo GetLocaleInfoW
386 #define SetLocaleInfo SetLocaleInfoW
387 #define GetTimeFormat GetTimeFormatW
388 #define GetDateFormat GetDateFormatW
389 #define GetNumberFormat GetNumberFormatW
390 #define GetCurrencyFormat GetCurrencyFormatW
391 #define EnumCalendarInfo EnumCalendarInfoW
392 #define EnumTimeFormats EnumTimeFormatsW
393 #define FoldString FoldStringW
394 #define EnumSystemCodePages EnumSystemCodePagesW
395 #define EnumSystemLocales EnumSystemLocalesW
396 #define GetStringTypeEx GetStringTypeExW
397 #define EnumDateFormats EnumDateFormatsW
398 #define GetConsoleTitle GetConsoleTitleW
399 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
400 #define SetConsoleTitle SetConsoleTitleW
401 #define ReadConsole ReadConsoleW
402 #define WriteConsole WriteConsoleW
403 #define PeekConsoleInput PeekConsoleInputW
404 #define ReadConsoleInput ReadConsoleInputW
405 #define WriteConsoleInput WriteConsoleInputW
406 #define ReadConsoleOutput ReadConsoleOutputW
407 #define WriteConsoleOutput WriteConsoleOutputW
408 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
409 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
410 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
411 #define WNetGetProviderName WNetGetProviderNameW
412 #define WNetGetNetworkInformation WNetGetNetworkInformationW
413 #define WNetGetLastError WNetGetLastErrorW
414 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
415 #define WNetConnectionDialog1 WNetConnectionDialog1W
416 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
417 #define WNetOpenEnum WNetOpenEnumW
418 #define WNetEnumResource WNetEnumResourceW
419 #define WNetGetUniversalName WNetGetUniversalNameW
420 #define WNetGetUser WNetGetUserW
421 #define WNetAddConnection WNetAddConnectionW
422 #define WNetAddConnection2 WNetAddConnection2W
423 #define WNetAddConnection3 WNetAddConnection3W
424 #define WNetCancelConnection WNetCancelConnectionW
425 #define WNetCancelConnection2 WNetCancelConnection2W
426 #define WNetGetConnection WNetGetConnectionW
427 #define WNetUseConnection WNetUseConnectionW
428 #define WNetSetConnection WNetSetConnectionW
429 #define CreateService CreateServiceW
430 #define ChangeServiceConfig ChangeServiceConfigW
431 #define EnumDependentServices EnumDependentServicesW
432 #define EnumServicesStatus EnumServicesStatusW
433 #define GetServiceKeyName GetServiceKeyNameW
434 #define GetServiceDisplayName GetServiceDisplayNameW
435 #define OpenSCManager OpenSCManagerW
436 #define OpenService OpenServiceW
437 #define QueryServiceConfig QueryServiceConfigW
438 #define QueryServiceLockStatus QueryServiceLockStatusW
439 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
440 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
441 #define StartService StartServiceW
442 #define DragQueryFile DragQueryFileW
443 #define ExtractAssociatedIcon ExtractAssociatedIconW
444 #define ExtractIcon ExtractIconW
445 #define FindExecutable FindExecutableW
446 #define ShellAbout ShellAboutW
447 #define ShellExecute ShellExecuteW
448 #define DdeCreateStringHandle DdeCreateStringHandleW
449 #define DdeInitialize DdeInitializeW
450 #define DdeQueryString DdeQueryStringW
451 #define LogonUser LogonUserW
452 #define CreateProcessAsUser CreateProcessAsUserW
457 #define RegConnectRegistry RegConnectRegistryA
458 #define RegCreateKey RegCreateKeyA
459 #define RegCreateKeyEx RegCreateKeyExA
460 #define RegDeleteKey RegDeleteKeyA
461 #define RegDeleteValue RegDeleteValueA
462 #define RegEnumKey RegEnumKeyA
463 #define RegEnumKeyEx RegEnumKeyExA
464 #define RegEnumValue RegEnumValueA
465 #define RegLoadKey RegLoadKeyA
466 #define RegOpenKey RegOpenKeyA
467 #define RegOpenKeyEx RegOpenKeyExA
468 #define RegQueryInfoKey RegQueryInfoKeyA
469 #define RegQueryValue RegQueryValueA
470 #define RegQueryMultipleValues RegQueryMultipleValuesA
471 #define RegQueryValueEx RegQueryValueExA
472 #define RegReplaceKey RegReplaceKeyA
473 #define RegRestoreKey RegRestoreKeyA
474 #define RegSaveKey RegSaveKeyA
475 #define RegSetValue RegSetValueA
476 #define RegSetValueEx RegSetValueExA
477 #define AbortSystemShutdown AbortSystemShutdownA
478 #define InitiateSystemShutdown InitiateSystemShutdownA
479 #define RegUnLoadKey RegUnLoadKeyA
480 #define LoadIcon LoadIconA
481 #define LoadImage LoadImageA
482 #define LoadString LoadStringA
483 #define IsDialogMessage IsDialogMessageA
484 #define DlgDirList DlgDirListA
485 #define DlgDirSelectEx DlgDirSelectExA
486 #define DlgDirListComboBox DlgDirListComboBoxA
487 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
488 #define DefFrameProc DefFrameProcA
489 #define DefMDIChildProc DefMDIChildProcA
490 #define CreateMDIWindow CreateMDIWindowA
491 #define WinHelp WinHelpA
492 #define ChangeDisplaySettings ChangeDisplaySettingsA
493 #define EnumDisplaySettings EnumDisplaySettingsA
494 #define SystemParametersInfo SystemParametersInfoA
495 #define GetWindowLong GetWindowLongA
496 #define SetWindowLong SetWindowLongA
497 #define GetClassLong GetClassLongA
498 #define SetClassLong SetClassLongA
499 #define FindWindow FindWindowA
500 #define FindWindowEx FindWindowExA
501 #define GetClassName GetClassNameA
502 #define SetWindowsHookEx SetWindowsHookExA
503 #define LoadBitmap LoadBitmapA
504 #define LoadCursor LoadCursorA
505 #define LoadCursorFromFile LoadCursorFromFileA
506 #define SetProp SetPropA
507 #define GetProp GetPropA
508 #define RemoveProp RemovePropA
509 #define EnumPropsEx EnumPropsExA
510 #define EnumProps EnumPropsA
511 #define SetWindowText SetWindowTextA
512 #define GetWindowText GetWindowTextA
513 #define GetWindowTextLength GetWindowTextLengthA
514 #define MessageBox MessageBoxA
515 #define MessageBoxEx MessageBoxExA
516 #define MessageBoxIndirect MessageBoxIndirectA
517 #define AddFontResource AddFontResourceA
518 #define CopyMetaFile CopyMetaFileA
519 #define CreateDC CreateDCA
520 #define CreateFontIndirect CreateFontIndirectA
521 #define CreateFont CreateFontA
522 #define CreateIC CreateICA
523 #define CreateMetaFile CreateMetaFileA
524 #define CreateScalableFontResource CreateScalableFontResourceA
525 #define DeviceCapabilities DeviceCapabilitiesA
526 #define EnumFontFamiliesEx EnumFontFamiliesExA
527 #define EnumFontFamilies EnumFontFamiliesA
528 #define EnumFonts EnumFontsA
529 #define GetCharWidth GetCharWidthA
530 #define GetCharWidth32 GetCharWidth32A
531 #define GetCharWidthFloat GetCharWidthFloatA
532 #define GetCharABCWidths GetCharABCWidthsA
533 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
534 #define GetGlyphOutline GetGlyphOutlineA
535 #define GetMetaFile GetMetaFileA
536 #define GetOutlineTextMetrics GetOutlineTextMetricsA
537 #define GetTextExtentPoint GetTextExtentPointA
538 #define GetTextExtentPoint32 GetTextExtentPoint32A
539 #define GetTextExtentExPoint GetTextExtentExPointA
540 #define GetCharacterPlacement GetCharacterPlacementA
541 #define ResetDC ResetDCA
542 #define RemoveFontResource RemoveFontResourceA
543 #define CopyEnhMetaFile CopyEnhMetaFileA
544 #define CreateEnhMetaFile CreateEnhMetaFileA
545 #define GetEnhMetaFile GetEnhMetaFileA
546 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
547 #define GetTextMetrics GetTextMetricsA
548 #define StartDoc StartDocA
549 #define GetObject GetObjectA
550 #define TextOut TextOutA
551 #define ExtTextOut ExtTextOutA
552 #define PolyTextOut PolyTextOutA
553 #define GetTextFace GetTextFaceA
554 #define GetKerningPairs GetKerningPairsA
555 #define GetLogColorSpace GetLogColorSpaceA
556 #define CreateColorSpace CreateColorSpaceA
557 #define GetICMProfile GetICMProfileA
558 #define SetICMProfile SetICMProfileA
559 #define UpdateICMRegKey UpdateICMRegKeyA
560 #define EnumICMProfiles EnumICMProfilesA
561 #define CreatePropertySheetPage CreatePropertySheetPageA
562 #define PropertySheet PropertySheetA
563 #define ImageList_LoadImage ImageList_LoadImageA
564 #define CreateStatusWindow CreateStatusWindowA
565 #define DrawStatusText DrawStatusTextA
566 #define GetOpenFileName GetOpenFileNameA
567 #define GetSaveFileName GetSaveFileNameA
568 #define GetFileTitle GetFileTitleA
569 #define ChooseColor ChooseColorA
570 #define FindText FindTextA
571 #define ReplaceText ReplaceTextA
572 #define ChooseFont ChooseFontA
573 #define PrintDlg PrintDlgA
574 #define PageSetupDlg PageSetupDlgA
575 #define DefWindowProc DefWindowProcA
576 #define CallWindowProc CallWindowProcA
577 #define RegisterClass RegisterClassA
578 #define UnregisterClass UnregisterClassA
579 #define GetClassInfo GetClassInfoA
580 #define RegisterClassEx RegisterClassExA
581 #define GetClassInfoEx GetClassInfoExA
582 #define CreateWindowEx CreateWindowExA
583 #define CreateWindow CreateWindowA
584 #define CreateDialogParam CreateDialogParamA
585 #define CreateDialogIndirectParam CreateDialogIndirectParamA
586 #define CreateDialog CreateDialogA
587 #define CreateDialogIndirect CreateDialogIndirectA
588 #define DialogBoxParam DialogBoxParamA
589 #define DialogBoxIndirectParam DialogBoxIndirectParamA
590 #define DialogBox DialogBoxA
591 #define DialogBoxIndirect DialogBoxIndirectA
592 #define RegisterClipboardFormat RegisterClipboardFormatA
593 #define SetDlgItemText SetDlgItemTextA
594 #define GetDlgItemText GetDlgItemTextA
595 #define SendDlgItemMessage SendDlgItemMessageA
596 #define DefDlgProc DefDlgProcA
597 #define CallMsgFilter CallMsgFilterA
598 #define GetClipboardFormatName GetClipboardFormatNameA
599 #define CharToOem CharToOemA
600 #define OemToChar OemToCharA
601 #define CharToOemBuff CharToOemBuffA
602 #define OemToCharBuff OemToCharBuffA
603 #define CharUpper CharUpperA
604 #define CharUpperBuff CharUpperBuffA
605 #define CharLower CharLowerA
606 #define CharLowerBuff CharLowerBuffA
607 #define CharNext CharNextA
608 #define CharPrev CharPrevA
609 #define IsCharAlpha IsCharAlphaA
610 #define IsCharAlphaNumeric IsCharAlphaNumericA
611 #define IsCharUpper IsCharUpperA
612 #define IsCharLower IsCharLowerA
613 #define GetKeyNameText GetKeyNameTextA
614 #define VkKeyScan VkKeyScanA
615 #define VkKeyScanEx VkKeyScanExA
616 #define MapVirtualKey MapVirtualKeyA
617 #define MapVirtualKeyEx MapVirtualKeyExA
618 #define LoadAccelerators LoadAcceleratorsA
619 #define CreateAcceleratorTable CreateAcceleratorTableA
620 #define CopyAcceleratorTable CopyAcceleratorTableA
621 #define TranslateAccelerator TranslateAcceleratorA
622 #define LoadMenu LoadMenuA
623 #define LoadMenuIndirect LoadMenuIndirectA
624 #define ChangeMenu ChangeMenuA
625 #define GetMenuString GetMenuStringA
626 #define InsertMenu InsertMenuA
627 #define AppendMenu AppendMenuA
628 #define ModifyMenu ModifyMenuA
629 #define InsertMenuItem InsertMenuItemA
630 #define GetMenuItemInfo GetMenuItemInfoA
631 #define SetMenuItemInfo SetMenuItemInfoA
632 #define DrawText DrawTextA
633 #define DrawTextEx DrawTextExA
634 #define GrayString GrayStringA
635 #define DrawState DrawStateA
636 #define TabbedTextOut TabbedTextOutA
637 #define GetTabbedTextExtent GetTabbedTextExtentA
638 #define GetVersionEx GetVersionExA
639 #define wvsprintf wvsprintfA
640 #define wsprintf wsprintfA
641 #define LoadKeyboardLayout LoadKeyboardLayoutA
642 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
643 #define CreateDesktop CreateDesktopA
644 #define OpenDesktop OpenDesktopA
645 #define EnumDesktops EnumDesktopsA
646 #define CreateWindowStation CreateWindowStationA
647 #define OpenWindowStation OpenWindowStationA
648 #define EnumWindowStations EnumWindowStationsA
649 #define IsBadStringPtr IsBadStringPtrA
650 #define LookupAccountSid LookupAccountSidA
651 #define LookupAccountName LookupAccountNameA
652 #define LookupPrivilegeValue LookupPrivilegeValueA
653 #define LookupPrivilegeName LookupPrivilegeNameA
654 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
655 #define BuildCommDCB BuildCommDCBA
656 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
657 #define CommConfigDialog CommConfigDialogA
658 #define GetDefaultCommConfig GetDefaultCommConfigA
659 #define SetDefaultCommConfig SetDefaultCommConfigA
660 #define GetComputerName GetComputerNameA
661 #define SetComputerName SetComputerNameA
662 #define GetUserName GetUserNameA
663 #define CreateMailslot CreateMailslotA
664 #define FormatMessage FormatMessageA
665 #define GetEnvironmentStrings GetEnvironmentStringsA
666 #define FreeEnvironmentStrings FreeEnvironmentStringsA
667 #define lstrcmp lstrcmpA
668 #define lstrcmpi lstrcmpiA
669 #define lstrcpyn lstrcpynA
670 #define lstrcpy lstrcpyA
671 #define lstrcat lstrcatA
672 #define lstrlen lstrlenA
673 #define GetBinaryType GetBinaryTypeA
674 #define GetShortPathName GetShortPathNameA
675 #define SetFileSecurity SetFileSecurityA
676 #define GetFileSecurity GetFileSecurityA
677 #define FindFirstChangeNotification FindFirstChangeNotificationA
678 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
679 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
680 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
681 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
682 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
683 #define OpenEventLog OpenEventLogA
684 #define RegisterEventSource RegisterEventSourceA
685 #define OpenBackupEventLog OpenBackupEventLogA
686 #define ReadEventLog ReadEventLogA
687 #define ReportEvent ReportEventA
688 #define CreateProcess CreateProcessA
689 #define FatalAppExit FatalAppExitA
690 #define GetStartupInfo GetStartupInfoA
691 #define GetCommandLine GetCommandLineA
692 #define GetEnvironmentVariable GetEnvironmentVariableA
693 #define SetEnvironmentVariable SetEnvironmentVariableA
694 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
695 #define OutputDebugString OutputDebugStringA
696 #define FindResource FindResourceA
697 #define FindResourceEx FindResourceExA
698 #define EnumResourceTypes EnumResourceTypesA
699 #define EnumResourceNames EnumResourceNamesA
700 #define EnumResourceLanguages EnumResourceLanguagesA
701 #define BeginUpdateResource BeginUpdateResourceA
702 #define UpdateResource UpdateResourceA
703 #define EndUpdateResource EndUpdateResourceA
704 #define GlobalAddAtom GlobalAddAtomA
705 #define GlobalFindAtom GlobalFindAtomA
706 #define GlobalGetAtomName GlobalGetAtomNameA
707 #define AddAtom AddAtomA
708 #define FindAtom FindAtomA
709 #define GetProfileInt GetProfileIntA
710 #define GetAtomName GetAtomNameA
711 #define GetProfileString GetProfileStringA
712 #define WriteProfileString WriteProfileStringA
713 #define GetProfileSection GetProfileSectionA
714 #define WriteProfileSection WriteProfileSectionA
715 #define GetPrivateProfileInt GetPrivateProfileIntA
716 #define GetPrivateProfileString GetPrivateProfileStringA
717 #define WritePrivateProfileString WritePrivateProfileStringA
718 #define GetPrivateProfileSection GetPrivateProfileSectionA
719 #define WritePrivateProfileSection WritePrivateProfileSectionA
720 #define GetDriveType GetDriveTypeA
721 #define GetSystemDirectory GetSystemDirectoryA
722 #define GetTempPath GetTempPathA
723 #define GetTempFileName GetTempFileNameA
724 #define GetWindowsDirectory GetWindowsDirectoryA
725 #define SetCurrentDirectory SetCurrentDirectoryA
726 #define GetCurrentDirectory GetCurrentDirectoryA
727 #define GetDiskFreeSpace GetDiskFreeSpaceA
728 #define CreateDirectory CreateDirectoryA
729 #define CreateDirectoryEx CreateDirectoryExA
730 #define RemoveDirectory RemoveDirectoryA
731 #define GetFullPathName GetFullPathNameA
732 #define DefineDosDevice DefineDosDeviceA
733 #define QueryDosDevice QueryDosDeviceA
734 #define CreateFile CreateFileA
735 #define SetFileAttributes SetFileAttributesA
736 #define GetFileAttributes GetFileAttributesA
737 #define GetCompressedFileSize GetCompressedFileSizeA
738 #define DeleteFile DeleteFileA
739 #define FindFirstFile FindFirstFileA
740 #define FindNextFile FindNextFileA
741 #define SearchPath SearchPathA
742 #define CopyFile CopyFileA
743 #define MoveFile MoveFileA
744 #define MoveFileEx MoveFileExA
745 #define CreateNamedPipe CreateNamedPipeA
746 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
747 #define CallNamedPipe CallNamedPipeA
748 #define WaitNamedPipe WaitNamedPipeA
749 #define SetVolumeLabel SetVolumeLabelA
750 #define GetVolumeInformation GetVolumeInformationA
751 #define ClearEventLog ClearEventLogA
752 #define BackupEventLog BackupEventLogA
753 #define CreateMutex CreateMutexA
754 #define OpenMutex OpenMutexA
755 #define CreateEvent CreateEventA
756 #define OpenEvent OpenEventA
757 #define CreateSemaphore CreateSemaphoreA
758 #define OpenSemaphore OpenSemaphoreA
759 #define CreateFileMapping CreateFileMappingA
760 #define OpenFileMapping OpenFileMappingA
761 #define GetLogicalDriveStrings GetLogicalDriveStringsA
762 #define LoadLibrary LoadLibraryA
763 #define LoadLibraryEx LoadLibraryExA
764 #define GetModuleFileName GetModuleFileNameA
765 #define GetModuleHandle GetModuleHandleA
766 #define GetUserObjectInformation GetUserObjectInformationA
767 #define SetUserObjectInformation SetUserObjectInformationA
768 #define RegisterWindowMessage RegisterWindowMessageA
769 #define GetMessage GetMessageA
770 #define DispatchMessage DispatchMessageA
771 #define PeekMessage PeekMessageA
772 #define SendMessage SendMessageA
773 #define SendMessageTimeout SendMessageTimeoutA
774 #define SendNotifyMessage SendNotifyMessageA
775 #define SendMessageCallback SendMessageCallbackA
776 #define PostMessage PostMessageA
777 #define PostThreadMessage PostThreadMessageA
778 #define VerFindFile VerFindFileA
779 #define VerInstallFile VerInstallFileA
780 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
781 #define GetFileVersionInfo GetFileVersionInfoA
782 #define VerLanguageName VerLanguageNameA
783 #define VerQueryValue VerQueryValueA
784 #define CompareString CompareStringA
785 #define LCMapString LCMapStringA
786 #define GetLocaleInfo GetLocaleInfoA
787 #define SetLocaleInfo SetLocaleInfoA
788 #define GetTimeFormat GetTimeFormatA
789 #define GetDateFormat GetDateFormatA
790 #define GetNumberFormat GetNumberFormatA
791 #define GetCurrencyFormat GetCurrencyFormatA
792 #define EnumCalendarInfo EnumCalendarInfoA
793 #define EnumTimeFormats EnumTimeFormatsA
794 #define FoldString FoldStringA
795 #define EnumSystemCodePages EnumSystemCodePagesA
796 #define EnumSystemLocales EnumSystemLocalesA
797 #define GetStringTypeEx GetStringTypeExA
798 #define EnumDateFormats EnumDateFormatsA
799 #define GetConsoleTitle GetConsoleTitleA
800 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
801 #define SetConsoleTitle SetConsoleTitleA
802 #define ReadConsole ReadConsoleA
803 #define WriteConsole WriteConsoleA
804 #define PeekConsoleInput PeekConsoleInputA
805 #define ReadConsoleInput ReadConsoleInputA
806 #define WriteConsoleInput WriteConsoleInputA
807 #define ReadConsoleOutput ReadConsoleOutputA
808 #define WriteConsoleOutput WriteConsoleOutputA
809 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
810 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
811 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
812 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
813 #define WNetGetLastError WNetGetLastErrorA
814 #define WNetGetProviderName WNetGetProviderNameA
815 #define WNetGetNetworkInformation WNetGetNetworkInformationA
816 #define WNetConnectionDialog1 WNetConnectionDialog1A
817 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
818 #define WNetOpenEnum WNetOpenEnumA
819 #define WNetEnumResource WNetEnumResourceA
820 #define WNetGetUniversalName WNetGetUniversalNameA
821 #define WNetGetUser WNetGetUserA
822 #define WNetAddConnection WNetAddConnectionA
823 #define WNetAddConnection2 WNetAddConnection2A
824 #define WNetAddConnection3 WNetAddConnection3A
825 #define WNetCancelConnection WNetCancelConnectionA
826 #define WNetCancelConnection2 WNetCancelConnection2A
827 #define WNetGetConnection WNetGetConnectionA
828 #define WNetUseConnection WNetUseConnectionA
829 #define WNetSetConnection WNetSetConnectionA
830 #define OpenService OpenServiceA
831 #define QueryServiceConfig QueryServiceConfigA
832 #define QueryServiceLockStatus QueryServiceLockStatusA
833 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
834 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
835 #define StartService StartServiceA
836 #define ChangeServiceConfig ChangeServiceConfigA
837 #define CreateService CreateServiceA
838 #define EnumDependentServices EnumDependentServicesA
839 #define EnumServicesStatus EnumServicesStatusA
840 #define GetServiceKeyName GetServiceKeyNameA
841 #define GetServiceDisplayName GetServiceDisplayNameA
842 #define OpenSCManager OpenSCManagerA
843 #define DragQueryFile DragQueryFileA
844 #define ExtractAssociatedIcon ExtractAssociatedIconA
845 #define ExtractIcon ExtractIconA
846 #define FindExecutable FindExecutableA
847 #define ShellAbout ShellAboutA
848 #define ShellExecute ShellExecuteA
849 #define DdeCreateStringHandle DdeCreateStringHandleA
850 #define DdeInitialize DdeInitializeA
851 #define DdeQueryString DdeQueryStringA
852 #define LogonUser LogonUserA
853 #define CreateProcessAsUser CreateProcessAsUserA
855 #endif /* UNICODE and ASCII defines */
857 WINBOOL STDCALL
AbnormalTermination(VOID
);
858 int STDCALL
AbortDoc(HDC
);
859 WINBOOL STDCALL
AbortPath(HDC
);
860 WINBOOL STDCALL
AbortPrinter(HANDLE
);
861 WINBOOL CALLBACK
AbortProc(HDC
, int);
862 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
863 WINBOOL STDCALL
AccessCheck(
864 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
867 PGENERIC_MAPPING GenericMapping
,
868 PPRIVILEGE_SET PrivilegeSet
,
869 LPDWORD PrivilegeSetLength
,
870 LPDWORD GrantedAccess
,
874 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
875 LPCTSTR SubsystemName
,
877 LPTSTR ObjectTypeName
,
879 PSECURITY_DESCRIPTOR SecurityDescriptor
,
881 PGENERIC_MAPPING GenericMapping
,
882 WINBOOL ObjectCreation
,
883 LPDWORD GrantedAccess
,
885 LPBOOL pfGenerateOnClose
890 InterlockedIncrement(
896 InterlockedDecrement(
923 HINSTANCE hPrevInstance
,
937 FreeLibraryAndExitThread(
944 DisableThreadLibraryCalls(
1056 LPMEMORYSTATUS lpBuffer
1140 FlushInstructionCache(
1142 LPCVOID lpBaseAddress
,
1152 DWORD flAllocationType
,
1172 PDWORD lpflOldProtect
1180 PMEMORY_BASIC_INFORMATION lpBuffer
,
1192 PDWORD lpflOldProtect
1201 PMEMORY_BASIC_INFORMATION lpBuffer
,
1210 DWORD dwInitialSize
,
1270 GetProcessHeap( VOID
);
1275 DWORD NumberOfHeaps
,
1276 PHANDLE ProcessHeaps
1295 LPPROCESS_HEAP_ENTRY lpEntry
1300 GetProcessAffinityMask(
1302 LPDWORD lpProcessAffinityMask
,
1303 LPDWORD lpSystemAffinityMask
1310 LPFILETIME lpCreationTime
,
1311 LPFILETIME lpExitTime
,
1312 LPFILETIME lpKernelTime
,
1313 LPFILETIME lpUserTime
1318 GetProcessWorkingSetSize(
1320 LPDWORD lpMinimumWorkingSetSize
,
1321 LPDWORD lpMaximumWorkingSetSize
1326 SetProcessWorkingSetSize(
1328 DWORD dwMinimumWorkingSetSize
,
1329 DWORD dwMaximumWorkingSetSize
1335 DWORD dwDesiredAccess
,
1336 WINBOOL bInheritHandle
,
1348 GetCurrentProcessId(
1356 ) __attribute__ ((noreturn
));
1381 DWORD dwExceptionCode
,
1382 DWORD dwExceptionFlags
,
1383 DWORD nNumberOfArguments
,
1384 CONST DWORD
*lpArguments
1389 UnhandledExceptionFilter(
1390 struct _EXCEPTION_POINTERS
*ExceptionInfo
1394 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1395 LPTOP_LEVEL_EXCEPTION_FILTER
1397 SetUnhandledExceptionFilter(
1398 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1406 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1408 LPTHREAD_START_ROUTINE lpStartAddress
,
1410 DWORD dwCreationFlags
,
1419 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1421 LPTHREAD_START_ROUTINE lpStartAddress
,
1423 DWORD dwCreationFlags
,
1444 SetThreadAffinityMask(
1446 DWORD dwThreadAffinityMask
1469 LPFILETIME lpCreationTime
,
1470 LPFILETIME lpExitTime
,
1471 LPFILETIME lpKernelTime
,
1472 LPFILETIME lpUserTime
1500 GetThreadSelectorEntry(
1503 LPLDT_ENTRY lpSelectorEntry
1523 GetOverlappedResult(
1525 LPOVERLAPPED lpOverlapped
,
1526 LPDWORD lpNumberOfBytesTransferred
,
1533 CreateIoCompletionPort(
1535 HANDLE ExistingCompletionPort
,
1536 DWORD CompletionKey
,
1537 DWORD NumberOfConcurrentThreads
1543 GetQueuedCompletionStatus(
1544 HANDLE CompletionPort
,
1545 LPDWORD lpNumberOfBytesTransferred
,
1546 LPDWORD lpCompletionKey
,
1547 LPOVERLAPPED
*lpOverlapped
,
1548 DWORD dwMilliseconds
1562 LPCVOID lpBaseAddress
,
1565 LPDWORD lpNumberOfBytesRead
1573 LPVOID lpBaseAddress
,
1576 LPDWORD lpNumberOfBytesWritten
1592 CONST CONTEXT
*lpContext
1620 LPDEBUG_EVENT lpDebugEvent
,
1621 DWORD dwMilliseconds
1630 DWORD dwContinueStatus
1643 InitializeCriticalSection(
1644 LPCRITICAL_SECTION lpCriticalSection
1650 EnterCriticalSection(
1651 LPCRITICAL_SECTION lpCriticalSection
1657 LeaveCriticalSection(
1658 LPCRITICAL_SECTION lpCriticalSection
1664 DeleteCriticalSection(
1665 LPCRITICAL_SECTION lpCriticalSection
1695 LPLONG lpPreviousCount
1708 WaitForSingleObject(
1710 DWORD dwMilliseconds
1716 WaitForMultipleObjects(
1718 CONST HANDLE
*lpHandles
,
1720 DWORD dwMilliseconds
1727 DWORD dwMilliseconds
1787 DWORD dwFileOffsetLow
,
1788 DWORD dwFileOffsetHigh
,
1789 DWORD nNumberOfBytesToLockLow
,
1790 DWORD nNumberOfBytesToLockHigh
1798 DWORD dwFileOffsetLow
,
1799 DWORD dwFileOffsetHigh
,
1800 DWORD nNumberOfBytesToUnlockLow
,
1801 DWORD nNumberOfBytesToUnlockHigh
1811 DWORD nNumberOfBytesToLockLow
,
1812 DWORD nNumberOfBytesToLockHigh
,
1813 LPOVERLAPPED lpOverlapped
1821 DWORD nNumberOfBytesToUnlockLow
,
1822 DWORD nNumberOfBytesToUnlockHigh
,
1823 LPOVERLAPPED lpOverlapped
1828 GetFileInformationByHandle(
1830 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1845 LPDWORD lpFileSizeHigh
1869 DWORD nNumberOfBytesToWrite
,
1870 LPDWORD lpNumberOfBytesWritten
,
1871 LPOVERLAPPED lpOverlapped
1880 DWORD nNumberOfBytesToRead
,
1881 LPDWORD lpNumberOfBytesRead
,
1882 LPOVERLAPPED lpOverlapped
1897 DWORD dwIoControlCode
,
1899 DWORD nInBufferSize
,
1901 DWORD nOutBufferSize
,
1902 LPDWORD lpBytesReturned
,
1903 LPOVERLAPPED lpOverlapped
1918 LONG lDistanceToMove
,
1919 PLONG lpDistanceToMoveHigh
,
1935 LPFILETIME lpCreationTime
,
1936 LPFILETIME lpLastAccessTime
,
1937 LPFILETIME lpLastWriteTime
1945 CONST FILETIME
*lpCreationTime
,
1946 CONST FILETIME
*lpLastAccessTime
,
1947 CONST FILETIME
*lpLastWriteTime
1961 HANDLE hSourceProcessHandle
,
1962 HANDLE hSourceHandle
,
1963 HANDLE hTargetProcessHandle
,
1964 LPHANDLE lpTargetHandle
,
1965 DWORD dwDesiredAccess
,
1966 WINBOOL bInheritHandle
,
1973 GetHandleInformation(
1981 SetHandleInformation(
1990 LPCSTR lpModuleName
,
1991 LPVOID lpParameterBlock
2057 LPCOMMPROP lpCommProp
2081 LPCOMMTIMEOUTS lpCommTimeouts
2129 LPCOMMTIMEOUTS lpCommTimeouts
2146 LPOVERLAPPED lpOverlapped
2155 DWORD dwPositionMethod
,
2167 DWORD dwPositionType
,
2168 LPDWORD lpdwPartition
,
2169 LPDWORD lpdwOffsetLow
,
2170 LPDWORD lpdwOffsetHigh
2194 CreateTapePartition(
2196 DWORD dwPartitionMethod
,
2206 DWORD dwTapemarkType
,
2207 DWORD dwTapemarkCount
,
2225 LPVOID lpTapeInformation
2233 LPVOID lpTapeInformation
2382 LPSYSTEMTIME lpSystemTime
2389 CONST SYSTEMTIME
*lpSystemTime
2396 LPSYSTEMTIME lpSystemTime
2403 CONST SYSTEMTIME
*lpSystemTime
2410 LPSYSTEM_INFO lpSystemInfo
2415 SystemTimeToTzSpecificLocalTime(
2416 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2417 LPSYSTEMTIME lpUniversalTime
,
2418 LPSYSTEMTIME lpLocalTime
2424 GetTimeZoneInformation(
2425 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2431 SetTimeZoneInformation(
2432 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2437 SystemTimeToFileTime(
2438 CONST SYSTEMTIME
*lpSystemTime
,
2439 LPFILETIME lpFileTime
2445 FileTimeToLocalFileTime(
2446 CONST FILETIME
*lpFileTime
,
2447 LPFILETIME lpLocalFileTime
2453 LocalFileTimeToFileTime(
2454 CONST FILETIME
*lpLocalFileTime
,
2455 LPFILETIME lpFileTime
2461 FileTimeToSystemTime(
2462 CONST FILETIME
*lpFileTime
,
2463 LPSYSTEMTIME lpSystemTime
2470 CONST FILETIME
*lpFileTime1
,
2471 CONST FILETIME
*lpFileTime2
2477 FileTimeToDosDateTime(
2478 CONST FILETIME
*lpFileTime
,
2486 DosDateTimeToFileTime(
2489 LPFILETIME lpFileTime
2502 SetSystemTimeAdjustment(
2503 DWORD dwTimeAdjustment
,
2504 WINBOOL bTimeAdjustmentDisabled
2510 GetSystemTimeAdjustment(
2511 PDWORD lpTimeAdjustment
,
2512 PDWORD lpTimeIncrement
,
2513 PWINBOOL lpTimeAdjustmentDisabled
2522 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2531 LPOVERLAPPED lpOverlapped
2537 DisconnectNamedPipe(
2544 SetNamedPipeHandleState(
2547 LPDWORD lpMaxCollectionCount
,
2548 LPDWORD lpCollectDataTimeout
2557 LPDWORD lpOutBufferSize
,
2558 LPDWORD lpInBufferSize
,
2559 LPDWORD lpMaxInstances
2569 LPDWORD lpBytesRead
,
2570 LPDWORD lpTotalBytesAvail
,
2571 LPDWORD lpBytesLeftThisMessage
2580 DWORD nInBufferSize
,
2582 DWORD nOutBufferSize
,
2583 LPDWORD lpBytesRead
,
2584 LPOVERLAPPED lpOverlapped
2593 LPDWORD lpMaxMessageSize
,
2595 LPDWORD lpMessageCount
,
2596 LPDWORD lpReadTimeout
2611 HANDLE hFileMappingObject
,
2612 DWORD dwDesiredAccess
,
2613 DWORD dwFileOffsetHigh
,
2614 DWORD dwFileOffsetLow
,
2615 DWORD dwNumberOfBytesToMap
2622 LPCVOID lpBaseAddress
,
2623 DWORD dwNumberOfBytesToFlush
2630 LPVOID lpBaseAddress
2637 LPOFSTRUCT lpReOpenBuff
,
2713 CONST LPVOID lpBuffer
,
2749 DWORD dwMilliseconds
,
2756 WaitForSingleObjectEx(
2758 DWORD dwMilliseconds
,
2765 WaitForMultipleObjectsEx(
2767 CONST HANDLE
*lpHandles
,
2769 DWORD dwMilliseconds
,
2779 DWORD nNumberOfBytesToRead
,
2780 LPOVERLAPPED lpOverlapped
,
2781 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2790 DWORD nNumberOfBytesToWrite
,
2791 LPOVERLAPPED lpOverlapped
,
2792 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2801 DWORD nNumberOfBytesToRead
,
2802 LPDWORD lpNumberOfBytesRead
,
2804 WINBOOL bProcessSecurity
,
2813 DWORD dwLowBytesToSeek
,
2814 DWORD dwHighBytesToSeek
,
2815 LPDWORD lpdwLowByteSeeked
,
2816 LPDWORD lpdwHighByteSeeked
,
2826 DWORD nNumberOfBytesToWrite
,
2827 LPDWORD lpNumberOfBytesWritten
,
2829 WINBOOL bProcessSecurity
,
2835 SetProcessShutdownParameters(
2843 GetProcessShutdownParameters(
2851 SetFileApisToOEM( VOID
);
2856 SetFileApisToANSI( VOID
);
2861 AreFileApisANSI( VOID
);
2872 DeregisterEventSource (
2879 NotifyChangeEventLog (
2887 GetNumberOfEventLogRecords (
2889 PDWORD NumberOfRecords
2895 GetOldestEventLogRecord (
2903 HANDLE ExistingTokenHandle
,
2904 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2905 PHANDLE DuplicateTokenHandle
2911 GetKernelObjectSecurity (
2913 SECURITY_INFORMATION RequestedInformation
,
2914 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2916 LPDWORD lpnLengthNeeded
2922 ImpersonateNamedPipeClient(
2929 ImpersonateLoggedOnUser(
2937 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2960 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2962 DWORD DesiredAccess
,
2963 PGENERIC_MAPPING GenericMapping
,
2964 PPRIVILEGE_SET PrivilegeSet
,
2965 LPDWORD PrivilegeSetLength
,
2966 LPDWORD GrantedAccess
,
2975 HANDLE ProcessHandle
,
2976 DWORD DesiredAccess
,
2985 HANDLE ThreadHandle
,
2986 DWORD DesiredAccess
,
2995 GetTokenInformation (
2997 TOKEN_INFORMATION_CLASS TokenInformationClass
,
2998 LPVOID TokenInformation
,
2999 DWORD TokenInformationLength
,
3007 SetTokenInformation (
3009 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3010 LPVOID TokenInformation
,
3011 DWORD TokenInformationLength
3018 AdjustTokenPrivileges (
3020 WINBOOL DisableAllPrivileges
,
3021 PTOKEN_PRIVILEGES NewState
,
3023 PTOKEN_PRIVILEGES PreviousState
,
3033 WINBOOL ResetToDefault
,
3034 PTOKEN_GROUPS NewState
,
3036 PTOKEN_GROUPS PreviousState
,
3046 PPRIVILEGE_SET RequiredPrivileges
,
3080 GetSidLengthRequired (
3081 UCHAR nSubAuthorityCount
3088 AllocateAndInitializeSid (
3089 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3090 BYTE nSubAuthorityCount
,
3091 DWORD nSubAuthority0
,
3092 DWORD nSubAuthority1
,
3093 DWORD nSubAuthority2
,
3094 DWORD nSubAuthority3
,
3095 DWORD nSubAuthority4
,
3096 DWORD nSubAuthority5
,
3097 DWORD nSubAuthority6
,
3098 DWORD nSubAuthority7
,
3114 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3115 BYTE nSubAuthorityCount
3120 PSID_IDENTIFIER_AUTHORITY
3122 GetSidIdentifierAuthority (
3130 GetSidSubAuthority (
3139 GetSidSubAuthorityCount (
3156 DWORD nDestinationSidLength
,
3157 PSID pDestinationSid
,
3165 AreAllAccessesGranted (
3166 DWORD GrantedAccess
,
3174 AreAnyAccessesGranted (
3175 DWORD GrantedAccess
,
3185 PGENERIC_MAPPING GenericMapping
3212 LPVOID pAclInformation
,
3213 DWORD nAclInformationLength
,
3214 ACL_INFORMATION_CLASS dwAclInformationClass
3223 LPVOID pAclInformation
,
3224 DWORD nAclInformationLength
,
3225 ACL_INFORMATION_CLASS dwAclInformationClass
3234 DWORD dwAceRevision
,
3235 DWORD dwStartingAceIndex
,
3237 DWORD nAceListLength
3263 AddAccessAllowedAce (
3265 DWORD dwAceRevision
,
3274 AddAccessDeniedAce (
3276 DWORD dwAceRevision
,
3287 DWORD dwAceRevision
,
3290 WINBOOL bAuditSuccess
,
3291 WINBOOL bAuditFailure
3307 InitializeSecurityDescriptor (
3308 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3316 IsValidSecurityDescriptor (
3317 PSECURITY_DESCRIPTOR pSecurityDescriptor
3324 GetSecurityDescriptorLength (
3325 PSECURITY_DESCRIPTOR pSecurityDescriptor
3332 GetSecurityDescriptorControl (
3333 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3334 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3335 LPDWORD lpdwRevision
3342 SetSecurityDescriptorDacl (
3343 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3344 WINBOOL bDaclPresent
,
3346 WINBOOL bDaclDefaulted
3353 GetSecurityDescriptorDacl (
3354 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3355 LPBOOL lpbDaclPresent
,
3357 LPBOOL lpbDaclDefaulted
3364 SetSecurityDescriptorSacl (
3365 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3366 WINBOOL bSaclPresent
,
3368 WINBOOL bSaclDefaulted
3375 GetSecurityDescriptorSacl (
3376 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3377 LPBOOL lpbSaclPresent
,
3379 LPBOOL lpbSaclDefaulted
3386 SetSecurityDescriptorOwner (
3387 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3389 WINBOOL bOwnerDefaulted
3396 GetSecurityDescriptorOwner (
3397 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3399 LPBOOL lpbOwnerDefaulted
3406 SetSecurityDescriptorGroup (
3407 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3409 WINBOOL bGroupDefaulted
3416 GetSecurityDescriptorGroup (
3417 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3419 LPBOOL lpbGroupDefaulted
3426 CreatePrivateObjectSecurity (
3427 PSECURITY_DESCRIPTOR ParentDescriptor
,
3428 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3429 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3430 WINBOOL IsDirectoryObject
,
3432 PGENERIC_MAPPING GenericMapping
3439 SetPrivateObjectSecurity (
3440 SECURITY_INFORMATION SecurityInformation
,
3441 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3442 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3443 PGENERIC_MAPPING GenericMapping
,
3451 GetPrivateObjectSecurity (
3452 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3453 SECURITY_INFORMATION SecurityInformation
,
3454 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3455 DWORD DescriptorLength
,
3463 DestroyPrivateObjectSecurity (
3464 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3471 MakeSelfRelativeSD (
3472 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3473 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3474 LPDWORD lpdwBufferLength
3482 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3483 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3484 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3486 LPDWORD lpdwDaclSize
,
3488 LPDWORD lpdwSaclSize
,
3490 LPDWORD lpdwOwnerSize
,
3492 LPDWORD lpdwPrimaryGroupSize
3499 SetKernelObjectSecurity (
3501 SECURITY_INFORMATION SecurityInformation
,
3502 PSECURITY_DESCRIPTOR SecurityDescriptor
3508 FindNextChangeNotification(
3509 HANDLE hChangeHandle
3515 FindCloseChangeNotification(
3516 HANDLE hChangeHandle
3539 HANDLE hFileMappingObject
,
3540 DWORD dwDesiredAccess
,
3541 DWORD dwFileOffsetHigh
,
3542 DWORD dwFileOffsetLow
,
3543 DWORD dwNumberOfBytesToMap
,
3544 LPVOID lpBaseAddress
3552 DWORD dwPriorityClass
3603 AllocateLocallyUniqueId(
3610 QueryPerformanceCounter(
3611 LARGE_INTEGER
*lpPerformanceCount
3617 QueryPerformanceFrequency(
3618 LARGE_INTEGER
*lpFrequency
3644 /* The memory functions don't seem to be defined in the libraries, so
3645 define macro versions as well. */
3646 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3647 #define FillMemory(p, c, v) memset ((p), (v), (c))
3648 #define ZeroMemory(p, c) memset ((p), 0, (c))
3653 ActivateKeyboardLayout(
3659 ActivateKeyboardLayout(
3679 UnloadKeyboardLayout(
3685 GetKeyboardLayoutList(
3702 DWORD dwDesiredAccess
);
3708 ENUMWINDOWSPROC lpfn
,
3744 SetProcessWindowStation(
3750 GetProcessWindowStation(
3756 SetUserObjectSecurity(
3758 PSECURITY_INFORMATION pSIRequested
,
3759 PSECURITY_DESCRIPTOR pSID
);
3764 GetUserObjectSecurity(
3766 PSECURITY_INFORMATION pSIRequested
,
3767 PSECURITY_DESCRIPTOR pSID
,
3769 LPDWORD lpnLengthNeeded
);
3825 GetMessageExtraInfo(
3831 SetMessageExtraInfo(
3837 BroadcastSystemMessage(
3868 DWORD dwMilliseconds
);
3974 HWND hWndInsertAfter
,
3986 WINDOWPLACEMENT
*lpwndpl
);
3993 CONST WINDOWPLACEMENT
*lpwndpl
);
3998 BeginDeferWindowPos(
4007 HWND hWndInsertAfter
,
4079 WINBOOL
*lpTranslated
,
4097 int nIDCheckButton
);
4109 GetNextDlgGroupItem(
4131 GetDialogBaseUnits(VOID
);
4154 HWND hWndNewViewer
);
4165 ChangeClipboardChain(
4186 CountClipboardFormats(
4192 EnumClipboardFormats(
4204 IsClipboardFormatAvailable(
4210 GetPriorityClipboardFormat(
4211 UINT
*paFormatPriorityList
,
4217 GetOpenClipboardWindow(
4221 /* Despite the A these are ASCII functions! */
4226 LPCSTR lpCurrentChar
,
4235 LPCSTR lpCurrentChar
,
4381 MsgWaitForMultipleObjects(
4385 DWORD dwMilliseconds
,
4395 TIMERPROC lpTimerFunc
);
4426 DestroyAcceleratorTable(
4551 HBITMAP hBitmapUnchecked
,
4552 HBITMAP hBitmapChecked
);
4557 GetMenuCheckMarkDimensions(
4570 CONST RECT
*prcRect
);
4588 GetMenuItemRect(HWND hWnd
,
4595 MenuItemFromPoint(HWND hWnd
,
4602 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4607 DragDetect(HWND hwnd
,
4633 GetForegroundWindow(
4638 PaintDesktop(HDC hdc
);
4643 SetForegroundWindow(
4684 LPPAINTSTRUCT lpPaint
);
4691 CONST PAINTSTRUCT
*lpPaint
);
4744 CONST RECT
*lpRect
);
4766 CONST RECT
*lprcUpdate
,
4784 CONST RECT
*lpClipRect
);
4793 CONST RECT
*lprcScroll
,
4794 CONST RECT
*lprcClip
,
4805 CONST RECT
*prcScroll
,
4806 CONST RECT
*prcClip
,
4895 SetWindowContextHelpId(HWND
, DWORD
);
4899 GetWindowContextHelpId(HWND
);
4903 SetMenuContextHelpId(HMENU
, DWORD
);
4907 GetMenuContextHelpId(HMENU
);
4944 CONST RECT
*lpRect
);
5042 ChildWindowFromPoint(
5063 CONST INT
* lpaElements
,
5064 CONST COLORREF
* lpaRgbValues
);
5117 CONST RECT
*lprcSrc
);
5132 CONST RECT
*lprcSrc1
,
5133 CONST RECT
*lprcSrc2
);
5140 CONST RECT
*lprcSrc1
,
5141 CONST RECT
*lprcSrc2
);
5148 CONST RECT
*lprcSrc1
,
5149 CONST RECT
*lprcSrc2
);
5225 HWND hWndNewParent
);
5232 ENUMWINDOWSPROC lpEnumFunc
,
5239 ENUMWINDOWSPROC lpEnumFunc
,
5247 ENUMWINDOWSPROC lpfn
,
5258 GetWindowThreadProcessId(
5260 LPDWORD lpdwProcessId
);
5279 HOOKPROC pfnFilterProc
);
5283 UnhookWindowsHookEx(
5298 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5308 CONST VOID
*pvANDPlane
,
5309 CONST VOID
*pvXORPlane
);
5328 HINSTANCE hInstance
,
5333 CONST BYTE
*lpbANDbits
,
5334 CONST BYTE
*lpbXORbits
);
5345 LookupIconIdFromDirectory(
5352 LookupIconIdFromDirectoryEx(
5362 CreateIconFromResource(
5371 CreateIconFromResourceEx(
5394 PICONINFO piconinfo
);
5407 PICONINFO piconinfo
);
5418 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5422 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5426 TranslateMDISysAccel(
5433 ArrangeIconicWindows(
5438 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5442 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5461 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5465 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5469 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5473 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5477 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5481 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5485 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5486 HICON hIcon
, int cxWidth
, int cyWidth
,
5487 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5491 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5495 Arc(HDC
, int, int, int, int, int, int, int, int);
5499 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5507 Chord(HDC
, int, int, int, int, int, int, int, int);
5515 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5519 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5523 CreateBitmapIndirect(CONST BITMAP
*);
5527 CreateBrushIndirect(CONST LOGBRUSH
*);
5531 CreateCompatibleBitmap(HDC
, int, int);
5535 CreateDiscardableBitmap(HDC
, int, int);
5539 CreateCompatibleDC(HDC
);
5543 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5547 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5551 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5555 CreateEllipticRgn(int, int, int, int);
5559 CreateEllipticRgnIndirect(CONST RECT
*);
5563 CreateHatchBrush(int, COLORREF
);
5567 CreatePalette(CONST LOGPALETTE
*);
5571 CreatePen(int, int, COLORREF
);
5575 CreatePenIndirect(CONST LOGPEN
*);
5579 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5583 CreatePatternBrush(HBITMAP
);
5587 CreateRectRgn(int, int, int, int);
5591 CreateRectRgnIndirect(CONST RECT
*);
5595 CreateRoundRectRgn(int, int, int, int, int, int);
5599 CreateSolidBrush(COLORREF
);
5607 DeleteMetaFile(HMETAFILE
);
5611 DeleteObject(HGDIOBJ
);
5615 DrawEscape(HDC
, int, int, LPCSTR
);
5619 Ellipse(HDC
, int, int, int, int);
5623 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5627 EqualRgn(HRGN
, HRGN
);
5631 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5635 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5639 ExcludeClipRect(HDC
, int, int, int, int);
5643 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5647 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5651 FillRgn(HDC
, HRGN
, HBRUSH
);
5655 FloodFill(HDC
, int, int, COLORREF
);
5659 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5667 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5679 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5683 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5687 GetBoundsRect(HDC
, LPRECT
, UINT
);
5691 GetBrushOrgEx(HDC
, LPPOINT
);
5695 GetClipBox(HDC
, LPRECT
);
5699 GetClipRgn(HDC
, HRGN
);
5703 GetMetaRgn(HDC
, HRGN
);
5707 GetCurrentObject(HDC
, UINT
);
5711 GetCurrentPositionEx(HDC
, LPPOINT
);
5715 GetDeviceCaps(HDC
, int);
5719 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5723 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5727 GetGraphicsMode(HDC
);
5735 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5739 GetNearestColor(HDC
, COLORREF
);
5743 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5747 GetObjectType(HGDIOBJ h
);
5751 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5755 GetPixel(HDC
, int, int);
5759 GetPixelFormat(HDC
);
5763 GetPolyFillMode(HDC
);
5767 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5771 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5775 GetRgnBox(HRGN
, LPRECT
);
5779 GetStockObject(int);
5783 GetStretchBltMode(HDC
);
5787 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5791 GetSystemPaletteUse(HDC
);
5795 GetTextCharacterExtra(HDC
);
5807 GetTextCharset(HDC hdc
);
5811 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5815 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5819 GetFontLanguageInfo( HDC
);
5823 GetViewportExtEx(HDC
, LPSIZE
);
5827 GetViewportOrgEx(HDC
, LPPOINT
);
5831 GetWindowExtEx(HDC
, LPSIZE
);
5835 GetWindowOrgEx(HDC
, LPPOINT
);
5839 IntersectClipRect(HDC
, int, int, int, int);
5843 InvertRgn(HDC
, HRGN
);
5847 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5851 LineTo(HDC
, int, int);
5855 MaskBlt(HDC
, int, int, int, int,
5856 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5860 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5861 int, HBITMAP
, int, int);
5865 OffsetClipRgn(HDC
, int, int);
5869 OffsetRgn(HRGN
, int, int);
5873 PatBlt(HDC
, int, int, int, int, DWORD
);
5877 Pie(HDC
, int, int, int, int, int, int, int, int);
5881 PlayMetaFile(HDC
, HMETAFILE
);
5885 PaintRgn(HDC
, HRGN
);
5889 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5893 PtInRegion(HRGN
, int, int);
5897 PtVisible(HDC
, int, int);
5901 RectInRegion(HRGN
, CONST RECT
*);
5905 RectVisible(HDC
, CONST RECT
*);
5909 Rectangle(HDC
, int, int, int, int);
5913 RestoreDC(HDC
, int);
5917 RealizePalette(HDC
);
5921 RoundRect(HDC
, int, int, int, int, int, int);
5925 ResizePalette(HPALETTE
, UINT
);
5933 SelectClipRgn(HDC
, HRGN
);
5937 ExtSelectClipRgn(HDC
, HRGN
, int);
5945 SelectObject(HDC
, HGDIOBJ
);
5949 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5953 SetBkColor(HDC
, COLORREF
);
5957 SetBkMode(HDC
, int);
5961 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
5965 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
5969 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5973 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
5974 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5978 SetMapperFlags(HDC
, DWORD
);
5982 SetGraphicsMode(HDC hdc
, int iMode
);
5986 SetMapMode(HDC
, int);
5990 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
5994 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5998 SetPixel(HDC
, int, int, COLORREF
);
6002 SetPixelV(HDC
, int, int, COLORREF
);
6006 SetPolyFillMode(HDC
, int);
6010 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6014 SetRectRgn(HRGN
, int, int, int, int);
6017 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6018 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6026 SetStretchBltMode(HDC
, int);
6030 SetSystemPaletteUse(HDC
, UINT
);
6034 SetTextCharacterExtra(HDC
, int);
6038 SetTextColor(HDC
, COLORREF
);
6042 SetTextAlign(HDC
, UINT
);
6046 SetTextJustification(HDC
, int, int);
6054 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6058 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6062 CloseEnhMetaFile(HDC
);
6066 DeleteEnhMetaFile(HENHMETAFILE
);
6070 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6071 LPVOID
, CONST RECT
*);
6075 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6079 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6083 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6087 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6091 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6095 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6099 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6103 GdiComment(HDC
, UINT
, CONST BYTE
*);
6107 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6111 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6115 GetWorldTransform(HDC
, LPXFORM
);
6119 SetWorldTransform(HDC
, CONST XFORM
*);
6123 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6127 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6131 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
**, HANDLE
, DWORD
);
6135 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6139 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6143 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6147 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6151 CreateHalftonePalette(HDC
);
6171 SetAbortProc(HDC
, ABORTPROC
);
6179 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6203 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6211 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6215 SelectClipPath(HDC
, int);
6219 SetArcDirection(HDC
, int);
6223 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6227 StrokeAndFillPath(HDC
);
6239 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6243 GetMiterLimit(HDC
, PFLOAT
);
6247 GetArcDirection(HDC
);
6251 MoveToEx(HDC
, int, int, LPPOINT
);
6255 CreatePolygonRgn(CONST POINT
*, int, int);
6259 DPtoLP(HDC
, LPPOINT
, int);
6263 LPtoDP(HDC
, LPPOINT
, int);
6267 Polygon(HDC
, CONST POINT
*, int);
6271 Polyline(HDC
, CONST POINT
*, int);
6275 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6279 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6283 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6287 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6291 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6295 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6299 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6303 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6307 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6311 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6315 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6319 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6323 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6327 GetDCOrgEx(HDC
,LPPOINT
);
6331 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6335 UnrealizeObject(HGDIOBJ
);
6343 GdiSetBatchLimit(DWORD
);
6347 GdiGetBatchLimit(void);
6351 SetICMMode(HDC
, int);
6355 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6363 SetColorSpace(HDC
,HCOLORSPACE
);
6367 DeleteColorSpace(HCOLORSPACE
);
6371 GetDeviceGammaRamp(HDC
,LPVOID
);
6375 SetDeviceGammaRamp(HDC
,LPVOID
);
6379 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6383 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6387 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6391 InitCommonControls(void);
6393 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6397 ImageList_Create(int cx
, int cy
, UINT flags
,
6398 int cInitial
, int cGrow
);
6402 ImageList_Destroy(HIMAGELIST himl
);
6406 ImageList_GetImageCount(HIMAGELIST himl
);
6410 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6415 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6419 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6423 ImageList_GetBkColor(HIMAGELIST himl
);
6427 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6432 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6436 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6440 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6444 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6448 ImageList_Remove(HIMAGELIST himl
, int i
);
6452 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6456 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6460 ImageList_EndDrag(void);
6464 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6468 ImageList_DragLeave(HWND hwndLock
);
6472 ImageList_DragMove(int x
, int y
);
6476 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6480 ImageList_DragShowNolock(WINBOOL fShow
);
6484 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6488 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6492 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6496 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6500 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6504 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6505 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6506 int iNumButtons
, int dxButton
, int dyButton
,
6507 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6511 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6512 UINT wFlags
, LPCOLORMAP lpColorMap
,
6518 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6522 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6526 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6530 MakeDragList(HWND hLB
);
6534 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6538 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6542 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6543 HWND hParent
, int nID
, HINSTANCE hInst
,
6545 int nUpper
, int nLower
, int nPos
);
6549 CommDlgExtendedError(VOID
);
6551 /* Animation controls */
6553 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6555 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6557 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6559 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6561 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6563 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6565 /* Property sheet macros */
6567 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6569 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6571 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6573 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6575 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6577 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6579 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6581 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6583 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6585 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6587 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6589 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6591 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6593 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6595 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6597 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6599 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6601 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6603 /* Header control */
6604 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6606 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6608 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6610 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6612 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6614 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6617 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6619 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6621 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6623 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6625 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6627 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6629 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6631 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6633 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6635 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6637 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6639 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6641 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6643 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6645 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6647 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6649 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6651 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6653 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6655 #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))
6657 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6659 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6661 #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);}
6663 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6665 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6667 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6669 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6671 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6673 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6675 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6677 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6679 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6681 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6683 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6685 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6687 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6689 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6691 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6693 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6695 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6698 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6700 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6702 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6704 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6706 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6708 #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);}
6710 #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);}
6712 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6714 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6716 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6718 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6721 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6723 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6725 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6727 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6729 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6731 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6733 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6735 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6737 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6739 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6741 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6743 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6745 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6747 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6749 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6751 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6753 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6755 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6757 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6759 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6761 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6763 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6766 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6768 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6770 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6772 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6774 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6776 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6778 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6780 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6782 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6784 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6786 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6788 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6790 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6792 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6794 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6798 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6800 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6802 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6804 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6806 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6808 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6810 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6812 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6814 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6816 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6818 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6820 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6822 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6824 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6826 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6828 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6830 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6832 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6834 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6836 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6838 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6840 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6842 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6844 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6847 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6849 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6850 #endif /* !UNICODE */
6852 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6854 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6857 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6859 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6860 #endif /* !UNICODE */
6862 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6864 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6867 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6869 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6870 #endif /* !UNICODE */
6872 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6874 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6876 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6878 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6890 SECURITY_INFORMATION SecurityInformation
,
6891 PSECURITY_DESCRIPTOR pSecurityDescriptor
6904 SECURITY_INFORMATION SecurityInformation
,
6905 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6906 LPDWORD lpcbSecurityDescriptor
6911 RegNotifyChangeKeyValue (
6913 WINBOOL bWatchSubtree
,
6914 DWORD dwNotifyFilter
,
6916 WINBOOL fAsynchronus
6937 GetCPInfo(UINT
, LPCPINFO
);
6955 MultiByteToWideChar(
6958 LPCSTR lpMultiByteStr
,
6960 LPWSTR lpWideCharStr
,
6966 WideCharToMultiByte(
6969 LPCWSTR lpWideCharStr
,
6971 LPSTR lpMultiByteStr
,
6973 LPCSTR lpDefaultChar
,
6974 LPBOOL lpUsedDefaultChar
);
6985 ConvertDefaultLocale(
6991 GetThreadLocale(void);
7003 GetSystemDefaultLangID(void);
7008 GetUserDefaultLangID(void);
7013 GetSystemDefaultLCID(void);
7018 GetUserDefaultLCID(void);
7023 ReadConsoleOutputAttribute(
7024 HANDLE hConsoleOutput
,
7028 LPDWORD lpNumberOfAttrsRead
7034 WriteConsoleOutputAttribute(
7035 HANDLE hConsoleOutput
,
7036 CONST WORD
*lpAttribute
,
7039 LPDWORD lpNumberOfAttrsWritten
7045 FillConsoleOutputAttribute(
7046 HANDLE hConsoleOutput
,
7050 LPDWORD lpNumberOfAttrsWritten
7057 HANDLE hConsoleHandle
,
7064 GetNumberOfConsoleInputEvents(
7065 HANDLE hConsoleInput
,
7066 LPDWORD lpNumberOfEvents
7072 GetConsoleScreenBufferInfo(
7073 HANDLE hConsoleOutput
,
7074 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7080 GetLargestConsoleWindowSize(
7081 HANDLE hConsoleOutput
7087 GetConsoleCursorInfo(
7088 HANDLE hConsoleOutput
,
7089 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7095 GetNumberOfConsoleMouseButtons(
7096 LPDWORD lpNumberOfMouseButtons
7103 HANDLE hConsoleHandle
,
7110 SetConsoleActiveScreenBuffer(
7111 HANDLE hConsoleOutput
7117 FlushConsoleInputBuffer(
7118 HANDLE hConsoleInput
7124 SetConsoleScreenBufferSize(
7125 HANDLE hConsoleOutput
,
7132 SetConsoleCursorPosition(
7133 HANDLE hConsoleOutput
,
7134 COORD dwCursorPosition
7140 SetConsoleCursorInfo(
7141 HANDLE hConsoleOutput
,
7142 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7147 SetConsoleWindowInfo(
7148 HANDLE hConsoleOutput
,
7150 CONST SMALL_RECT
*lpConsoleWindow
7156 SetConsoleTextAttribute(
7157 HANDLE hConsoleOutput
,
7164 SetConsoleCtrlHandler(
7165 PHANDLER_ROUTINE HandlerRoutine
,
7172 GenerateConsoleCtrlEvent(
7174 DWORD dwProcessGroupId
7180 AllocConsole( VOID
);
7185 FreeConsole( VOID
);
7191 CreateConsoleScreenBuffer(
7192 DWORD dwDesiredAccess
,
7194 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7196 LPVOID lpScreenBufferData
7202 GetConsoleCP( VOID
);
7214 GetConsoleOutputCP( VOID
);
7224 WNetConnectionDialog(
7230 WNetDisconnectDialog(
7252 LPSERVICE_STATUS lpServiceStatus
7263 LockServiceDatabase(
7264 SC_HANDLE hSCManager
7270 NotifyBootConfigStatus(
7271 WINBOOL BootAcceptable
7276 QueryServiceObjectSecurity(
7278 SECURITY_INFORMATION dwSecurityInformation
,
7279 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7281 LPDWORD pcbBytesNeeded
7289 LPSERVICE_STATUS lpServiceStatus
7294 SetServiceObjectSecurity(
7296 SECURITY_INFORMATION dwSecurityInformation
,
7297 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7304 SERVICE_STATUS_HANDLE hServiceStatus
,
7305 LPSERVICE_STATUS lpServiceStatus
7310 UnlockServiceDatabase(
7314 /* Extensions to OpenGL */
7317 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7320 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7323 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7324 CONST PIXELFORMATDESCRIPTOR
*);
7327 GetPixelFormat(HDC
);
7330 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7336 wglCreateContext(HDC
);
7339 wglCreateLayerContext(HDC
, int);
7342 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7345 wglDeleteContext(HGLRC
);
7348 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7351 wglGetCurrentContext(VOID
);
7354 wglGetCurrentDC(VOID
);
7357 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7360 wglGetProcAddress(LPCSTR
);
7363 wglMakeCurrent(HDC
, HGLRC
);
7366 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7369 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7372 wglShareLists(HGLRC
, HGLRC
);
7375 wglSwapLayerBuffers(HDC
, UINT
);
7378 Why are these different between ANSI and UNICODE?
7379 There doesn't seem to be any difference.
7383 #define wglUseFontBitmaps wglUseFontBitmapsW
7384 #define wglUseFontOutlines wglUseFontOutlinesW
7386 #define wglUseFontBitmaps wglUseFontBitmapsA
7387 #define wglUseFontOutlines wglUseFontOutlinesA
7388 #endif /* !UNICODE */
7390 /* ------------------------------------- */
7391 /* From shellapi.h in old Cygnus headers */
7394 DragQueryPoint (HDROP
, LPPOINT
);
7400 DragAcceptFiles (HWND
, WINBOOL
);
7403 DuplicateIcon (HINSTANCE
, HICON
);
7405 /* end of stuff from shellapi.h in old Cygnus headers */
7406 /* -------------------------------------------------- */
7407 /* From ddeml.h in old Cygnus headers */
7409 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7410 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7411 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7412 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7413 UINT WINAPI
DdeGetLastError (DWORD
);
7414 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7415 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7416 HCONV WINAPI
DdeReconnect (HCONV
);
7417 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7418 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7419 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7422 /* end of stuff from ddeml.h in old Cygnus headers */
7423 /* ----------------------------------------------- */
7425 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7427 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7428 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7429 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7430 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7432 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7436 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7439 SHAddToRecentDocs (UINT
, LPCVOID
);
7442 SHBrowseForFolder (LPBROWSEINFO
);
7445 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7448 SHFileOperation (LPSHFILEOPSTRUCT
);
7451 SHFreeNameMappings (HANDLE
);
7453 /* Define when SHELLFOLDER is defined.
7455 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7458 SHGetDesktopFolder (LPSHELLFOLDER);
7462 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7464 /* Define when IUnknown is defined.
7466 SHGetInstanceExplorer (IUnknown **);
7469 /* Define when MALLOC is defined.
7471 SHGetMalloc (LPMALLOC *);
7475 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7478 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7480 /* Define when REFCLSID is defined.
7482 SHLoadInProc (REFCLSID);
7487 #endif /* __cplusplus */
7489 #endif /* WIN32_LEAN_AND_MEAN */
7491 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */