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
36 #endif /* __cplusplus */
38 /* These functions were a real pain, having to figure out which
39 had Unicode/Ascii versions and which did not */
43 #endif /* !UNICODE_ONLY */
47 #endif /* !ANSI_ONLY */
49 /* Define the approprate declaration based upon UNICODE or ASCII */
54 #define RegConnectRegistry RegConnectRegistryW
55 #define RegCreateKey RegCreateKeyW
56 #define RegCreateKeyEx RegCreateKeyExW
57 #define RegDeleteKey RegDeleteKeyW
58 #define RegDeleteValue RegDeleteValueW
59 #define RegEnumKey RegEnumKeyW
60 #define RegEnumKeyEx RegEnumKeyExW
61 #define RegEnumValue RegEnumValueW
62 #define RegLoadKey RegLoadKeyW
63 #define RegOpenKey RegOpenKeyW
64 #define RegOpenKeyEx RegOpenKeyExW
65 #define RegQueryInfoKey RegQueryInfoKeyW
66 #define RegQueryValue RegQueryValueW
67 #define RegQueryMultipleValues RegQueryMultipleValuesW
68 #define RegQueryValueEx RegQueryValueExW
69 #define RegReplaceKey RegReplaceKeyW
70 #define RegRestoreKey RegRestoreKeyW
71 #define RegSaveKey RegSaveKeyW
72 #define RegSetValue RegSetValueW
73 #define RegSetValueEx RegSetValueExW
74 #define AbortSystemShutdown AbortSystemShutdownW
75 #define InitiateSystemShutdown InitiateSystemShutdownW
76 #define RegUnLoadKey RegUnLoadKeyW
77 #define SetProp SetPropW
78 #define GetProp GetPropW
79 #define RemoveProp RemovePropW
80 #define EnumPropsEx EnumPropsExW
81 #define EnumProps EnumPropsW
82 #define SetWindowText SetWindowTextW
83 #define GetWindowText GetWindowTextW
84 #define GetWindowTextLength GetWindowTextLengthW
85 #define MessageBox MessageBoxW
86 #define MessageBoxEx MessageBoxExW
87 #define MessageBoxIndirect MessageBoxIndirectW
88 #define GetWindowLong GetWindowLongW
89 #define SetWindowLong SetWindowLongW
90 #define GetClassLong GetClassLongW
91 #define SetClassLong SetClassLongW
92 #define FindWindow FindWindowW
93 #define FindWindowEx FindWindowExW
94 #define GetClassName GetClassNameW
95 #define SetWindowsHookEx SetWindowsHookExW
96 #define LoadBitmap LoadBitmapW
97 #define LoadCursor LoadCursorW
98 #define LoadCursorFromFile LoadCursorFromFileW
99 #define LoadIcon LoadIconW
100 #define LoadImage LoadImageW
101 #define LoadString LoadStringW
102 #define IsDialogMessage IsDialogMessageW
103 #define DlgDirList DlgDirListW
104 #define DlgDirSelectEx DlgDirSelectExW
105 #define DlgDirListComboBox DlgDirListComboBoxW
106 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
107 #define DefFrameProc DefFrameProcW
108 #define DefMDIChildProc DefMDIChildProcW
109 #define CreateMDIWindow CreateMDIWindowW
110 #define WinHelp WinHelpW
111 #define ChangeDisplaySettings ChangeDisplaySettingsW
112 #define EnumDisplaySettings EnumDisplaySettingsW
113 #define SystemParametersInfo SystemParametersInfoW
114 #define AddFontResource AddFontResourceW
115 #define CopyMetaFile CopyMetaFileW
116 #define CreateDC CreateDCW
117 #define CreateFontIndirect CreateFontIndirectW
118 #define CreateFont CreateFontW
119 #define CreateIC CreateICW
120 #define CreateMetaFile CreateMetaFileW
121 #define CreateScalableFontResource CreateScalableFontResourceW
122 #define DeviceCapabilities DeviceCapabilitiesW
123 #define EnumFontFamiliesEx EnumFontFamiliesExW
124 #define EnumFontFamilies EnumFontFamiliesW
125 #define EnumFonts EnumFontsW
126 #define GetCharWidth GetCharWidthW
127 #define GetCharWidth32 GetCharWidth32W
128 #define GetCharWidthFloat GetCharWidthFloatW
129 #define GetCharABCWidths GetCharABCWidthsW
130 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
131 #define GetGlyphOutline GetGlyphOutlineW
132 #define GetMetaFile GetMetaFileW
133 #define GetOutlineTextMetrics GetOutlineTextMetricsW
134 #define GetTextExtentPoint GetTextExtentPointW
135 #define GetTextExtentPoint32 GetTextExtentPoint32W
136 #define GetTextExtentExPoint GetTextExtentExPointW
137 #define GetCharacterPlacement GetCharacterPlacementW
138 #define ResetDC ResetDCW
139 #define RemoveFontResource RemoveFontResourceW
140 #define CopyEnhMetaFile CopyEnhMetaFileW
141 #define CreateEnhMetaFile CreateEnhMetaFileW
142 #define GetEnhMetaFile GetEnhMetaFileW
143 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
144 #define GetTextMetrics GetTextMetricsW
145 #define StartDoc StartDocW
146 #define GetObject GetObjectW
147 #define TextOut TextOutW
148 #define ExtTextOut ExtTextOutW
149 #define PolyTextOut PolyTextOutW
150 #define GetTextFace GetTextFaceW
151 #define GetKerningPairs GetKerningPairsW
152 #define GetLogColorSpace GetLogColorSpaceW
153 #define CreateColorSpace CreateColorSpaceW
154 #define GetICMProfile GetICMProfileW
155 #define SetICMProfile SetICMProfileW
156 #define UpdateICMRegKey UpdateICMRegKeyW
157 #define EnumICMProfiles EnumICMProfilesW
158 #define CreatePropertySheetPage CreatePropertySheetPageW
159 #define PropertySheet PropertySheetW
160 #define ImageList_LoadImage ImageList_LoadImageW
161 #define CreateStatusWindow CreateStatusWindowW
162 #define DrawStatusText DrawStatusTextW
163 #define GetOpenFileName GetOpenFileNameW
164 #define GetSaveFileName GetSaveFileNameW
165 #define GetFileTitle GetFileTitleW
166 #define ChooseColor ChooseColorW
167 #define FindText FindTextW
168 #define ReplaceText ReplaceTextW
169 #define ChooseFont ChooseFontW
170 #define PrintDlg PrintDlgW
171 #define PageSetupDlg PageSetupDlgW
172 #define DefWindowProc DefWindowProcW
173 #define CallWindowProc CallWindowProcW
174 #define RegisterClass RegisterClassW
175 #define UnregisterClass UnregisterClassW
176 #define GetClassInfo GetClassInfoW
177 #define RegisterClassEx RegisterClassExW
178 #define GetClassInfoEx GetClassInfoExW
179 #define CreateWindowEx CreateWindowExW
180 #define CreateWindow CreateWindowW
181 #define CreateDialogParam CreateDialogParamW
182 #define CreateDialogIndirectParam CreateDialogIndirectParamW
183 #define CreateDialog CreateDialogW
184 #define CreateDialogIndirect CreateDialogIndirectW
185 #define DialogBoxParam DialogBoxParamW
186 #define DialogBoxIndirectParam DialogBoxIndirectParamW
187 #define DialogBox DialogBoxW
188 #define DialogBoxIndirect DialogBoxIndirectW
189 #define RegisterClipboardFormat RegisterClipboardFormatW
190 #define SetDlgItemText SetDlgItemTextW
191 #define GetDlgItemText GetDlgItemTextW
192 #define SendDlgItemMessage SendDlgItemMessageW
193 #define DefDlgProc DefDlgProcW
194 #define CallMsgFilter CallMsgFilterW
195 #define GetClipboardFormatName GetClipboardFormatNameW
196 #define CharToOem CharToOemW
197 #define OemToChar OemToCharW
198 #define CharToOemBuff CharToOemBuffW
199 #define OemToCharBuff OemToCharBuffW
200 #define CharUpper CharUpperW
201 #define CharUpperBuff CharUpperBuffW
202 #define CharLower CharLowerW
203 #define CharLowerBuff CharLowerBuffW
204 #define CharNext CharNextW
205 #define CharPrev CharPrevW
206 #define IsCharAlpha IsCharAlphaW
207 #define IsCharAlphaNumeric IsCharAlphaNumericW
208 #define IsCharUpper IsCharUpperW
209 #define IsCharLower IsCharLowerW
210 #define GetKeyNameText GetKeyNameTextW
211 #define VkKeyScan VkKeyScanW
212 #define VkKeyScanEx VkKeyScanExW
213 #define MapVirtualKey MapVirtualKeyW
214 #define MapVirtualKeyEx MapVirtualKeyExW
215 #define LoadAccelerators LoadAcceleratorsW
216 #define CreateAcceleratorTable CreateAcceleratorTableW
217 #define CopyAcceleratorTable CopyAcceleratorTableW
218 #define TranslateAccelerator TranslateAcceleratorW
219 #define LoadMenu LoadMenuW
220 #define LoadMenuIndirect LoadMenuIndirectW
221 #define ChangeMenu ChangeMenuW
222 #define GetMenuString GetMenuStringW
223 #define InsertMenu InsertMenuW
224 #define AppendMenu AppendMenuW
225 #define ModifyMenu ModifyMenuW
226 #define InsertMenuItem InsertMenuItemW
227 #define GetMenuItemInfo GetMenuItemInfoW
228 #define SetMenuItemInfo SetMenuItemInfoW
229 #define DrawText DrawTextW
230 #define DrawTextEx DrawTextExW
231 #define GrayString GrayStringW
232 #define DrawState DrawStateW
233 #define TabbedTextOut TabbedTextOutW
234 #define GetTabbedTextExtent GetTabbedTextExtentW
235 #define GetVersionEx GetVersionExW
236 #define wvsprintf wvsprintfW
237 #define wsprintf wsprintfW
238 #define LoadKeyboardLayout LoadKeyboardLayoutW
239 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
240 #define CreateDesktop CreateDesktopW
241 #define OpenDesktop OpenDesktopW
242 #define EnumDesktops EnumDesktopsW
243 #define CreateWindowStation CreateWindowStationW
244 #define OpenWindowStation OpenWindowStationW
245 #define EnumWindowStations EnumWindowStationsW
246 #define IsBadStringPtr IsBadStringPtrW
247 #define LookupAccountSid LookupAccountSidW
248 #define LookupAccountName LookupAccountNameW
249 #define LookupPrivilegeValue LookupPrivilegeValueW
250 #define LookupPrivilegeName LookupPrivilegeNameW
251 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
252 #define BuildCommDCB BuildCommDCBW
253 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
254 #define CommConfigDialog CommConfigDialogW
255 #define GetDefaultCommConfig GetDefaultCommConfigW
256 #define SetDefaultCommConfig SetDefaultCommConfigW
257 #define GetComputerName GetComputerNameW
258 #define SetComputerName SetComputerNameW
259 #define GetUserName GetUserNameW
260 #define CreateMailslot CreateMailslotW
261 #define FormatMessage FormatMessageW
262 #define GetEnvironmentStrings GetEnvironmentStringsW
263 #define FreeEnvironmentStrings FreeEnvironmentStringsW
264 #define lstrcmp lstrcmpW
265 #define lstrcmpi lstrcmpiW
266 #define lstrcpyn lstrcpynW
267 #define lstrcpy lstrcpyW
268 #define lstrcat lstrcatW
269 #define lstrlen lstrlenW
270 #define GetBinaryType GetBinaryTypeW
271 #define GetShortPathName GetShortPathNameW
272 #define SetFileSecurity SetFileSecurityW
273 #define GetFileSecurity GetFileSecurityW
274 #define FindFirstChangeNotification FindFirstChangeNotificationW
275 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
276 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
277 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
278 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
279 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
280 #define OpenEventLog OpenEventLogW
281 #define RegisterEventSource RegisterEventSourceW
282 #define OpenBackupEventLog OpenBackupEventLogW
283 #define ReadEventLog ReadEventLogW
284 #define ReportEvent ReportEventW
285 #define CreateProcess CreateProcessW
286 #define FatalAppExit FatalAppExitW
287 #define GetStartupInfo GetStartupInfoW
288 #define GetEnvironmentVariable GetEnvironmentVariableW
289 #define GetCommandLine GetCommandLineW
290 #define SetEnvironmentVariable SetEnvironmentVariableW
291 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
292 #define OutputDebugString OutputDebugStringW
293 #define FindResource FindResourceW
294 #define FindResourceEx FindResourceExW
295 #define EnumResourceTypes EnumResourceTypesW
296 #define EnumResourceNames EnumResourceNamesW
297 #define EnumResourceLanguages EnumResourceLanguagesW
298 #define BeginUpdateResource BeginUpdateResourceW
299 #define UpdateResource UpdateResourceW
300 #define EndUpdateResource EndUpdateResourceW
301 #define GlobalAddAtom GlobalAddAtomW
302 #define GlobalFindAtom GlobalFindAtomW
303 #define GlobalGetAtomName GlobalGetAtomNameW
304 #define AddAtom AddAtomW
305 #define FindAtom FindAtomW
306 #define GetAtomName GetAtomNameW
307 #define GetProfileInt GetProfileIntW
308 #define GetProfileString GetProfileStringW
309 #define WriteProfileString WriteProfileStringW
310 #define GetProfileSection GetProfileSectionW
311 #define WriteProfileSection WriteProfileSectionW
312 #define GetPrivateProfileInt GetPrivateProfileIntW
313 #define GetPrivateProfileString GetPrivateProfileStringW
314 #define WritePrivateProfileString WritePrivateProfileStringW
315 #define GetPrivateProfileSection GetPrivateProfileSectionW
316 #define WritePrivateProfileSection WritePrivateProfileSectionW
317 #define GetDriveType GetDriveTypeW
318 #define GetSystemDirectory GetSystemDirectoryW
319 #define GetTempPath GetTempPathW
320 #define GetTempFileName GetTempFileNameW
321 #define GetWindowsDirectory GetWindowsDirectoryW
322 #define SetCurrentDirectory SetCurrentDirectoryW
323 #define GetCurrentDirectory GetCurrentDirectoryW
324 #define GetDiskFreeSpace GetDiskFreeSpaceW
325 #define CreateDirectory CreateDirectoryW
326 #define CreateDirectoryEx CreateDirectoryExW
327 #define RemoveDirectory RemoveDirectoryW
328 #define GetFullPathName GetFullPathNameW
329 #define DefineDosDevice DefineDosDeviceW
330 #define QueryDosDevice QueryDosDeviceW
331 #define CreateFile CreateFileW
332 #define SetFileAttributes SetFileAttributesW
333 #define GetFileAttributes GetFileAttributesW
334 #define GetCompressedFileSize GetCompressedFileSizeW
335 #define DeleteFile DeleteFileW
336 #define FindFirstFile FindFirstFileW
337 #define FindNextFile FindNextFileW
338 #define SearchPath SearchPathW
339 #define CopyFile CopyFileW
340 #define MoveFile MoveFileW
341 #define MoveFileEx MoveFileExW
342 #define CreateNamedPipe CreateNamedPipeW
343 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
344 #define CallNamedPipe CallNamedPipeW
345 #define WaitNamedPipe WaitNamedPipeW
346 #define SetVolumeLabel SetVolumeLabelW
347 #define GetVolumeInformation GetVolumeInformationW
348 #define ClearEventLog ClearEventLogW
349 #define BackupEventLog BackupEventLogW
350 #define CreateMutex CreateMutexW
351 #define OpenMutex OpenMutexW
352 #define CreateEvent CreateEventW
353 #define OpenEvent OpenEventW
354 #define CreateSemaphore CreateSemaphoreW
355 #define OpenSemaphore OpenSemaphoreW
356 #define CreateFileMapping CreateFileMappingW
357 #define OpenFileMapping OpenFileMappingW
358 #define GetLogicalDriveStrings GetLogicalDriveStringsW
359 #define LoadLibrary LoadLibraryW
360 #define LoadLibraryEx LoadLibraryExW
361 #define GetModuleFileName GetModuleFileNameW
362 #define GetModuleHandle GetModuleHandleW
363 #define GetUserObjectInformation GetUserObjectInformationW
364 #define SetUserObjectInformation SetUserObjectInformationW
365 #define RegisterWindowMessage RegisterWindowMessageW
366 #define GetMessage GetMessageW
367 #define DispatchMessage DispatchMessageW
368 #define PeekMessage PeekMessageW
369 #define SendMessage SendMessageW
370 #define SendMessageTimeout SendMessageTimeoutW
371 #define SendNotifyMessage SendNotifyMessageW
372 #define SendMessageCallback SendMessageCallbackW
373 #define PostMessage PostMessageW
374 #define PostThreadMessage PostThreadMessageW
375 #define VerFindFile VerFindFileW
376 #define VerInstallFile VerInstallFileW
377 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
378 #define GetFileVersionInfo GetFileVersionInfoW
379 #define VerLanguageName VerLanguageNameW
380 #define VerQueryValue VerQueryValueW
381 #define CompareString CompareStringW
382 #define LCMapString LCMapStringW
383 #define GetLocaleInfo GetLocaleInfoW
384 #define SetLocaleInfo SetLocaleInfoW
385 #define GetTimeFormat GetTimeFormatW
386 #define GetDateFormat GetDateFormatW
387 #define GetNumberFormat GetNumberFormatW
388 #define GetCurrencyFormat GetCurrencyFormatW
389 #define EnumCalendarInfo EnumCalendarInfoW
390 #define EnumTimeFormats EnumTimeFormatsW
391 #define FoldString FoldStringW
392 #define EnumSystemCodePages EnumSystemCodePagesW
393 #define EnumSystemLocales EnumSystemLocalesW
394 #define GetStringTypeEx GetStringTypeExW
395 #define EnumDateFormats EnumDateFormatsW
396 #define GetConsoleTitle GetConsoleTitleW
397 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
398 #define SetConsoleTitle SetConsoleTitleW
399 #define ReadConsole ReadConsoleW
400 #define WriteConsole WriteConsoleW
401 #define PeekConsoleInput PeekConsoleInputW
402 #define ReadConsoleInput ReadConsoleInputW
403 #define WriteConsoleInput WriteConsoleInputW
404 #define ReadConsoleOutput ReadConsoleOutputW
405 #define WriteConsoleOutput WriteConsoleOutputW
406 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
407 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
408 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
409 #define WNetGetProviderName WNetGetProviderNameW
410 #define WNetGetNetworkInformation WNetGetNetworkInformationW
411 #define WNetGetLastError WNetGetLastErrorW
412 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
413 #define WNetConnectionDialog1 WNetConnectionDialog1W
414 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
415 #define WNetOpenEnum WNetOpenEnumW
416 #define WNetEnumResource WNetEnumResourceW
417 #define WNetGetUniversalName WNetGetUniversalNameW
418 #define WNetGetUser WNetGetUserW
419 #define WNetAddConnection WNetAddConnectionW
420 #define WNetAddConnection2 WNetAddConnection2W
421 #define WNetAddConnection3 WNetAddConnection3W
422 #define WNetCancelConnection WNetCancelConnectionW
423 #define WNetCancelConnection2 WNetCancelConnection2W
424 #define WNetGetConnection WNetGetConnectionW
425 #define WNetUseConnection WNetUseConnectionW
426 #define WNetSetConnection WNetSetConnectionW
427 #define CreateService CreateServiceW
428 #define ChangeServiceConfig ChangeServiceConfigW
429 #define EnumDependentServices EnumDependentServicesW
430 #define EnumServicesStatus EnumServicesStatusW
431 #define GetServiceKeyName GetServiceKeyNameW
432 #define GetServiceDisplayName GetServiceDisplayNameW
433 #define OpenSCManager OpenSCManagerW
434 #define OpenService OpenServiceW
435 #define QueryServiceConfig QueryServiceConfigW
436 #define QueryServiceLockStatus QueryServiceLockStatusW
437 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
438 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
439 #define StartService StartServiceW
440 #define DragQueryFile DragQueryFileW
441 #define ExtractAssociatedIcon ExtractAssociatedIconW
442 #define ExtractIcon ExtractIconW
443 #define FindExecutable FindExecutableW
444 #define ShellAbout ShellAboutW
445 #define ShellExecute ShellExecuteW
446 #define DdeCreateStringHandle DdeCreateStringHandleW
447 #define DdeInitialize DdeInitializeW
448 #define DdeQueryString DdeQueryStringW
449 #define LogonUser LogonUserW
450 #define CreateProcessAsUser CreateProcessAsUserW
455 #define RegConnectRegistry RegConnectRegistryA
456 #define RegCreateKey RegCreateKeyA
457 #define RegCreateKeyEx RegCreateKeyExA
458 #define RegDeleteKey RegDeleteKeyA
459 #define RegDeleteValue RegDeleteValueA
460 #define RegEnumKey RegEnumKeyA
461 #define RegEnumKeyEx RegEnumKeyExA
462 #define RegEnumValue RegEnumValueA
463 #define RegLoadKey RegLoadKeyA
464 #define RegOpenKey RegOpenKeyA
465 #define RegOpenKeyEx RegOpenKeyExA
466 #define RegQueryInfoKey RegQueryInfoKeyA
467 #define RegQueryValue RegQueryValueA
468 #define RegQueryMultipleValues RegQueryMultipleValuesA
469 #define RegQueryValueEx RegQueryValueExA
470 #define RegReplaceKey RegReplaceKeyA
471 #define RegRestoreKey RegRestoreKeyA
472 #define RegSaveKey RegSaveKeyA
473 #define RegSetValue RegSetValueA
474 #define RegSetValueEx RegSetValueExA
475 #define AbortSystemShutdown AbortSystemShutdownA
476 #define InitiateSystemShutdown InitiateSystemShutdownA
477 #define RegUnLoadKey RegUnLoadKeyA
478 #define LoadIcon LoadIconA
479 #define LoadImage LoadImageA
480 #define LoadString LoadStringA
481 #define IsDialogMessage IsDialogMessageA
482 #define DlgDirList DlgDirListA
483 #define DlgDirSelectEx DlgDirSelectExA
484 #define DlgDirListComboBox DlgDirListComboBoxA
485 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
486 #define DefFrameProc DefFrameProcA
487 #define DefMDIChildProc DefMDIChildProcA
488 #define CreateMDIWindow CreateMDIWindowA
489 #define WinHelp WinHelpA
490 #define ChangeDisplaySettings ChangeDisplaySettingsA
491 #define EnumDisplaySettings EnumDisplaySettingsA
492 #define SystemParametersInfo SystemParametersInfoA
493 #define GetWindowLong GetWindowLongA
494 #define SetWindowLong SetWindowLongA
495 #define GetClassLong GetClassLongA
496 #define SetClassLong SetClassLongA
497 #define FindWindow FindWindowA
498 #define FindWindowEx FindWindowExA
499 #define GetClassName GetClassNameA
500 #define SetWindowsHookEx SetWindowsHookExA
501 #define LoadBitmap LoadBitmapA
502 #define LoadCursor LoadCursorA
503 #define LoadCursorFromFile LoadCursorFromFileA
504 #define SetProp SetPropA
505 #define GetProp GetPropA
506 #define RemoveProp RemovePropA
507 #define EnumPropsEx EnumPropsExA
508 #define EnumProps EnumPropsA
509 #define SetWindowText SetWindowTextA
510 #define GetWindowText GetWindowTextA
511 #define GetWindowTextLength GetWindowTextLengthA
512 #define MessageBox MessageBoxA
513 #define MessageBoxEx MessageBoxExA
514 #define MessageBoxIndirect MessageBoxIndirectA
515 #define AddFontResource AddFontResourceA
516 #define CopyMetaFile CopyMetaFileA
517 #define CreateDC CreateDCA
518 #define CreateFontIndirect CreateFontIndirectA
519 #define CreateFont CreateFontA
520 #define CreateIC CreateICA
521 #define CreateMetaFile CreateMetaFileA
522 #define CreateScalableFontResource CreateScalableFontResourceA
523 #define DeviceCapabilities DeviceCapabilitiesA
524 #define EnumFontFamiliesEx EnumFontFamiliesExA
525 #define EnumFontFamilies EnumFontFamiliesA
526 #define EnumFonts EnumFontsA
527 #define GetCharWidth GetCharWidthA
528 #define GetCharWidth32 GetCharWidth32A
529 #define GetCharWidthFloat GetCharWidthFloatA
530 #define GetCharABCWidths GetCharABCWidthsA
531 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
532 #define GetGlyphOutline GetGlyphOutlineA
533 #define GetMetaFile GetMetaFileA
534 #define GetOutlineTextMetrics GetOutlineTextMetricsA
535 #define GetTextExtentPoint GetTextExtentPointA
536 #define GetTextExtentPoint32 GetTextExtentPoint32A
537 #define GetTextExtentExPoint GetTextExtentExPointA
538 #define GetCharacterPlacement GetCharacterPlacementA
539 #define ResetDC ResetDCA
540 #define RemoveFontResource RemoveFontResourceA
541 #define CopyEnhMetaFile CopyEnhMetaFileA
542 #define CreateEnhMetaFile CreateEnhMetaFileA
543 #define GetEnhMetaFile GetEnhMetaFileA
544 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
545 #define GetTextMetrics GetTextMetricsA
546 #define StartDoc StartDocA
547 #define GetObject GetObjectA
548 #define TextOut TextOutA
549 #define ExtTextOut ExtTextOutA
550 #define PolyTextOut PolyTextOutA
551 #define GetTextFace GetTextFaceA
552 #define GetKerningPairs GetKerningPairsA
553 #define GetLogColorSpace GetLogColorSpaceA
554 #define CreateColorSpace CreateColorSpaceA
555 #define GetICMProfile GetICMProfileA
556 #define SetICMProfile SetICMProfileA
557 #define UpdateICMRegKey UpdateICMRegKeyA
558 #define EnumICMProfiles EnumICMProfilesA
559 #define CreatePropertySheetPage CreatePropertySheetPageA
560 #define PropertySheet PropertySheetA
561 #define ImageList_LoadImage ImageList_LoadImageA
562 #define CreateStatusWindow CreateStatusWindowA
563 #define DrawStatusText DrawStatusTextA
564 #define GetOpenFileName GetOpenFileNameA
565 #define GetSaveFileName GetSaveFileNameA
566 #define GetFileTitle GetFileTitleA
567 #define ChooseColor ChooseColorA
568 #define FindText FindTextA
569 #define ReplaceText ReplaceTextA
570 #define ChooseFont ChooseFontA
571 #define PrintDlg PrintDlgA
572 #define PageSetupDlg PageSetupDlgA
573 #define DefWindowProc DefWindowProcA
574 #define CallWindowProc CallWindowProcA
575 #define RegisterClass RegisterClassA
576 #define UnregisterClass UnregisterClassA
577 #define GetClassInfo GetClassInfoA
578 #define RegisterClassEx RegisterClassExA
579 #define GetClassInfoEx GetClassInfoExA
580 #define CreateWindowEx CreateWindowExA
581 #define CreateWindow CreateWindowA
582 #define CreateDialogParam CreateDialogParamA
583 #define CreateDialogIndirectParam CreateDialogIndirectParamA
584 #define CreateDialog CreateDialogA
585 #define CreateDialogIndirect CreateDialogIndirectA
586 #define DialogBoxParam DialogBoxParamA
587 #define DialogBoxIndirectParam DialogBoxIndirectParamA
588 #define DialogBox DialogBoxA
589 #define DialogBoxIndirect DialogBoxIndirectA
590 #define RegisterClipboardFormat RegisterClipboardFormatA
591 #define SetDlgItemText SetDlgItemTextA
592 #define GetDlgItemText GetDlgItemTextA
593 #define SendDlgItemMessage SendDlgItemMessageA
594 #define DefDlgProc DefDlgProcA
595 #define CallMsgFilter CallMsgFilterA
596 #define GetClipboardFormatName GetClipboardFormatNameA
597 #define CharToOem CharToOemA
598 #define OemToChar OemToCharA
599 #define CharToOemBuff CharToOemBuffA
600 #define OemToCharBuff OemToCharBuffA
601 #define CharUpper CharUpperA
602 #define CharUpperBuff CharUpperBuffA
603 #define CharLower CharLowerA
604 #define CharLowerBuff CharLowerBuffA
605 #define CharNext CharNextA
606 #define CharPrev CharPrevA
607 #define IsCharAlpha IsCharAlphaA
608 #define IsCharAlphaNumeric IsCharAlphaNumericA
609 #define IsCharUpper IsCharUpperA
610 #define IsCharLower IsCharLowerA
611 #define GetKeyNameText GetKeyNameTextA
612 #define VkKeyScan VkKeyScanA
613 #define VkKeyScanEx VkKeyScanExA
614 #define MapVirtualKey MapVirtualKeyA
615 #define MapVirtualKeyEx MapVirtualKeyExA
616 #define LoadAccelerators LoadAcceleratorsA
617 #define CreateAcceleratorTable CreateAcceleratorTableA
618 #define CopyAcceleratorTable CopyAcceleratorTableA
619 #define TranslateAccelerator TranslateAcceleratorA
620 #define LoadMenu LoadMenuA
621 #define LoadMenuIndirect LoadMenuIndirectA
622 #define ChangeMenu ChangeMenuA
623 #define GetMenuString GetMenuStringA
624 #define InsertMenu InsertMenuA
625 #define AppendMenu AppendMenuA
626 #define ModifyMenu ModifyMenuA
627 #define InsertMenuItem InsertMenuItemA
628 #define GetMenuItemInfo GetMenuItemInfoA
629 #define SetMenuItemInfo SetMenuItemInfoA
630 #define DrawText DrawTextA
631 #define DrawTextEx DrawTextExA
632 #define GrayString GrayStringA
633 #define DrawState DrawStateA
634 #define TabbedTextOut TabbedTextOutA
635 #define GetTabbedTextExtent GetTabbedTextExtentA
636 #define GetVersionEx GetVersionExA
637 #define wvsprintf wvsprintfA
638 #define wsprintf wsprintfA
639 #define LoadKeyboardLayout LoadKeyboardLayoutA
640 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
641 #define CreateDesktop CreateDesktopA
642 #define OpenDesktop OpenDesktopA
643 #define EnumDesktops EnumDesktopsA
644 #define CreateWindowStation CreateWindowStationA
645 #define OpenWindowStation OpenWindowStationA
646 #define EnumWindowStations EnumWindowStationsA
647 #define IsBadStringPtr IsBadStringPtrA
648 #define LookupAccountSid LookupAccountSidA
649 #define LookupAccountName LookupAccountNameA
650 #define LookupPrivilegeValue LookupPrivilegeValueA
651 #define LookupPrivilegeName LookupPrivilegeNameA
652 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
653 #define BuildCommDCB BuildCommDCBA
654 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
655 #define CommConfigDialog CommConfigDialogA
656 #define GetDefaultCommConfig GetDefaultCommConfigA
657 #define SetDefaultCommConfig SetDefaultCommConfigA
658 #define GetComputerName GetComputerNameA
659 #define SetComputerName SetComputerNameA
660 #define GetUserName GetUserNameA
661 #define CreateMailslot CreateMailslotA
662 #define FormatMessage FormatMessageA
663 #define GetEnvironmentStrings GetEnvironmentStringsA
664 #define FreeEnvironmentStrings FreeEnvironmentStringsA
665 #define lstrcmp lstrcmpA
666 #define lstrcmpi lstrcmpiA
667 #define lstrcpyn lstrcpynA
668 #define lstrcpy lstrcpyA
669 #define lstrcat lstrcatA
670 #define lstrlen lstrlenA
671 #define GetBinaryType GetBinaryTypeA
672 #define GetShortPathName GetShortPathNameA
673 #define SetFileSecurity SetFileSecurityA
674 #define GetFileSecurity GetFileSecurityA
675 #define FindFirstChangeNotification FindFirstChangeNotificationA
676 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
677 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
678 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
679 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
680 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
681 #define OpenEventLog OpenEventLogA
682 #define RegisterEventSource RegisterEventSourceA
683 #define OpenBackupEventLog OpenBackupEventLogA
684 #define ReadEventLog ReadEventLogA
685 #define ReportEvent ReportEventA
686 #define CreateProcess CreateProcessA
687 #define FatalAppExit FatalAppExitA
688 #define GetStartupInfo GetStartupInfoA
689 #define GetCommandLine GetCommandLineA
690 #define GetEnvironmentVariable GetEnvironmentVariableA
691 #define SetEnvironmentVariable SetEnvironmentVariableA
692 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
693 #define OutputDebugString OutputDebugStringA
694 #define FindResource FindResourceA
695 #define FindResourceEx FindResourceExA
696 #define EnumResourceTypes EnumResourceTypesA
697 #define EnumResourceNames EnumResourceNamesA
698 #define EnumResourceLanguages EnumResourceLanguagesA
699 #define BeginUpdateResource BeginUpdateResourceA
700 #define UpdateResource UpdateResourceA
701 #define EndUpdateResource EndUpdateResourceA
702 #define GlobalAddAtom GlobalAddAtomA
703 #define GlobalFindAtom GlobalFindAtomA
704 #define GlobalGetAtomName GlobalGetAtomNameA
705 #define AddAtom AddAtomA
706 #define FindAtom FindAtomA
707 #define GetProfileInt GetProfileIntA
708 #define GetAtomName GetAtomNameA
709 #define GetProfileString GetProfileStringA
710 #define WriteProfileString WriteProfileStringA
711 #define GetProfileSection GetProfileSectionA
712 #define WriteProfileSection WriteProfileSectionA
713 #define GetPrivateProfileInt GetPrivateProfileIntA
714 #define GetPrivateProfileString GetPrivateProfileStringA
715 #define WritePrivateProfileString WritePrivateProfileStringA
716 #define GetPrivateProfileSection GetPrivateProfileSectionA
717 #define WritePrivateProfileSection WritePrivateProfileSectionA
718 #define GetDriveType GetDriveTypeA
719 #define GetSystemDirectory GetSystemDirectoryA
720 #define GetTempPath GetTempPathA
721 #define GetTempFileName GetTempFileNameA
722 #define GetWindowsDirectory GetWindowsDirectoryA
723 #define SetCurrentDirectory SetCurrentDirectoryA
724 #define GetCurrentDirectory GetCurrentDirectoryA
725 #define GetDiskFreeSpace GetDiskFreeSpaceA
726 #define CreateDirectory CreateDirectoryA
727 #define CreateDirectoryEx CreateDirectoryExA
728 #define RemoveDirectory RemoveDirectoryA
729 #define GetFullPathName GetFullPathNameA
730 #define DefineDosDevice DefineDosDeviceA
731 #define QueryDosDevice QueryDosDeviceA
732 #define CreateFile CreateFileA
733 #define SetFileAttributes SetFileAttributesA
734 #define GetFileAttributes GetFileAttributesA
735 #define GetCompressedFileSize GetCompressedFileSizeA
736 #define DeleteFile DeleteFileA
737 #define FindFirstFile FindFirstFileA
738 #define FindNextFile FindNextFileA
739 #define SearchPath SearchPathA
740 #define CopyFile CopyFileA
741 #define MoveFile MoveFileA
742 #define MoveFileEx MoveFileExA
743 #define CreateNamedPipe CreateNamedPipeA
744 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
745 #define CallNamedPipe CallNamedPipeA
746 #define WaitNamedPipe WaitNamedPipeA
747 #define SetVolumeLabel SetVolumeLabelA
748 #define GetVolumeInformation GetVolumeInformationA
749 #define ClearEventLog ClearEventLogA
750 #define BackupEventLog BackupEventLogA
751 #define CreateMutex CreateMutexA
752 #define OpenMutex OpenMutexA
753 #define CreateEvent CreateEventA
754 #define OpenEvent OpenEventA
755 #define CreateSemaphore CreateSemaphoreA
756 #define OpenSemaphore OpenSemaphoreA
757 #define CreateFileMapping CreateFileMappingA
758 #define OpenFileMapping OpenFileMappingA
759 #define GetLogicalDriveStrings GetLogicalDriveStringsA
760 #define LoadLibrary LoadLibraryA
761 #define LoadLibraryEx LoadLibraryExA
762 #define GetModuleFileName GetModuleFileNameA
763 #define GetModuleHandle GetModuleHandleA
764 #define GetUserObjectInformation GetUserObjectInformationA
765 #define SetUserObjectInformation SetUserObjectInformationA
766 #define RegisterWindowMessage RegisterWindowMessageA
767 #define GetMessage GetMessageA
768 #define DispatchMessage DispatchMessageA
769 #define PeekMessage PeekMessageA
770 #define SendMessage SendMessageA
771 #define SendMessageTimeout SendMessageTimeoutA
772 #define SendNotifyMessage SendNotifyMessageA
773 #define SendMessageCallback SendMessageCallbackA
774 #define PostMessage PostMessageA
775 #define PostThreadMessage PostThreadMessageA
776 #define VerFindFile VerFindFileA
777 #define VerInstallFile VerInstallFileA
778 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
779 #define GetFileVersionInfo GetFileVersionInfoA
780 #define VerLanguageName VerLanguageNameA
781 #define VerQueryValue VerQueryValueA
782 #define CompareString CompareStringA
783 #define LCMapString LCMapStringA
784 #define GetLocaleInfo GetLocaleInfoA
785 #define SetLocaleInfo SetLocaleInfoA
786 #define GetTimeFormat GetTimeFormatA
787 #define GetDateFormat GetDateFormatA
788 #define GetNumberFormat GetNumberFormatA
789 #define GetCurrencyFormat GetCurrencyFormatA
790 #define EnumCalendarInfo EnumCalendarInfoA
791 #define EnumTimeFormats EnumTimeFormatsA
792 #define FoldString FoldStringA
793 #define EnumSystemCodePages EnumSystemCodePagesA
794 #define EnumSystemLocales EnumSystemLocalesA
795 #define GetStringTypeEx GetStringTypeExA
796 #define EnumDateFormats EnumDateFormatsA
797 #define GetConsoleTitle GetConsoleTitleA
798 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
799 #define SetConsoleTitle SetConsoleTitleA
800 #define ReadConsole ReadConsoleA
801 #define WriteConsole WriteConsoleA
802 #define PeekConsoleInput PeekConsoleInputA
803 #define ReadConsoleInput ReadConsoleInputA
804 #define WriteConsoleInput WriteConsoleInputA
805 #define ReadConsoleOutput ReadConsoleOutputA
806 #define WriteConsoleOutput WriteConsoleOutputA
807 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
808 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
809 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
810 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
811 #define WNetGetLastError WNetGetLastErrorA
812 #define WNetGetProviderName WNetGetProviderNameA
813 #define WNetGetNetworkInformation WNetGetNetworkInformationA
814 #define WNetConnectionDialog1 WNetConnectionDialog1A
815 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
816 #define WNetOpenEnum WNetOpenEnumA
817 #define WNetEnumResource WNetEnumResourceA
818 #define WNetGetUniversalName WNetGetUniversalNameA
819 #define WNetGetUser WNetGetUserA
820 #define WNetAddConnection WNetAddConnectionA
821 #define WNetAddConnection2 WNetAddConnection2A
822 #define WNetAddConnection3 WNetAddConnection3A
823 #define WNetCancelConnection WNetCancelConnectionA
824 #define WNetCancelConnection2 WNetCancelConnection2A
825 #define WNetGetConnection WNetGetConnectionA
826 #define WNetUseConnection WNetUseConnectionA
827 #define WNetSetConnection WNetSetConnectionA
828 #define OpenService OpenServiceA
829 #define QueryServiceConfig QueryServiceConfigA
830 #define QueryServiceLockStatus QueryServiceLockStatusA
831 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
832 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
833 #define StartService StartServiceA
834 #define ChangeServiceConfig ChangeServiceConfigA
835 #define CreateService CreateServiceA
836 #define EnumDependentServices EnumDependentServicesA
837 #define EnumServicesStatus EnumServicesStatusA
838 #define GetServiceKeyName GetServiceKeyNameA
839 #define GetServiceDisplayName GetServiceDisplayNameA
840 #define OpenSCManager OpenSCManagerA
841 #define DragQueryFile DragQueryFileA
842 #define ExtractAssociatedIcon ExtractAssociatedIconA
843 #define ExtractIcon ExtractIconA
844 #define FindExecutable FindExecutableA
845 #define ShellAbout ShellAboutA
846 #define ShellExecute ShellExecuteA
847 #define DdeCreateStringHandle DdeCreateStringHandleA
848 #define DdeInitialize DdeInitializeA
849 #define DdeQueryString DdeQueryStringA
850 #define LogonUser LogonUserA
851 #define CreateProcessAsUser CreateProcessAsUserA
853 #endif /* UNICODE and ASCII defines */
855 WINBOOL STDCALL
AbnormalTermination(VOID
);
856 int STDCALL
AbortDoc(HDC
);
857 WINBOOL STDCALL
AbortPath(HDC
);
858 WINBOOL STDCALL
AbortPrinter(HANDLE
);
859 WINBOOL CALLBACK
AbortProc(HDC
, int);
860 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
861 WINBOOL STDCALL
AccessCheck(
862 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
865 PGENERIC_MAPPING GenericMapping
,
866 PPRIVILEGE_SET PrivilegeSet
,
867 LPDWORD PrivilegeSetLength
,
868 LPDWORD GrantedAccess
,
872 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
873 LPCTSTR SubsystemName
,
875 LPTSTR ObjectTypeName
,
877 PSECURITY_DESCRIPTOR SecurityDescriptor
,
879 PGENERIC_MAPPING GenericMapping
,
880 WINBOOL ObjectCreation
,
881 LPDWORD GrantedAccess
,
883 LPBOOL pfGenerateOnClose
888 InterlockedIncrement(
894 InterlockedDecrement(
921 HINSTANCE hPrevInstance
,
935 FreeLibraryAndExitThread(
942 DisableThreadLibraryCalls(
1054 LPMEMORYSTATUS lpBuffer
1138 FlushInstructionCache(
1140 LPCVOID lpBaseAddress
,
1150 DWORD flAllocationType
,
1170 PDWORD lpflOldProtect
1178 PMEMORY_BASIC_INFORMATION lpBuffer
,
1190 PDWORD lpflOldProtect
1199 PMEMORY_BASIC_INFORMATION lpBuffer
,
1208 DWORD dwInitialSize
,
1268 GetProcessHeap( VOID
);
1273 DWORD NumberOfHeaps
,
1274 PHANDLE ProcessHeaps
1293 LPPROCESS_HEAP_ENTRY lpEntry
1298 GetProcessAffinityMask(
1300 LPDWORD lpProcessAffinityMask
,
1301 LPDWORD lpSystemAffinityMask
1308 LPFILETIME lpCreationTime
,
1309 LPFILETIME lpExitTime
,
1310 LPFILETIME lpKernelTime
,
1311 LPFILETIME lpUserTime
1316 GetProcessWorkingSetSize(
1318 LPDWORD lpMinimumWorkingSetSize
,
1319 LPDWORD lpMaximumWorkingSetSize
1324 SetProcessWorkingSetSize(
1326 DWORD dwMinimumWorkingSetSize
,
1327 DWORD dwMaximumWorkingSetSize
1333 DWORD dwDesiredAccess
,
1334 WINBOOL bInheritHandle
,
1346 GetCurrentProcessId(
1354 ) __attribute__ ((noreturn
));
1379 DWORD dwExceptionCode
,
1380 DWORD dwExceptionFlags
,
1381 DWORD nNumberOfArguments
,
1382 CONST DWORD
*lpArguments
1387 UnhandledExceptionFilter(
1388 struct _EXCEPTION_POINTERS
*ExceptionInfo
1392 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1393 LPTOP_LEVEL_EXCEPTION_FILTER
1395 SetUnhandledExceptionFilter(
1396 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1404 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1406 LPTHREAD_START_ROUTINE lpStartAddress
,
1408 DWORD dwCreationFlags
,
1417 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1419 LPTHREAD_START_ROUTINE lpStartAddress
,
1421 DWORD dwCreationFlags
,
1442 SetThreadAffinityMask(
1444 DWORD dwThreadAffinityMask
1467 LPFILETIME lpCreationTime
,
1468 LPFILETIME lpExitTime
,
1469 LPFILETIME lpKernelTime
,
1470 LPFILETIME lpUserTime
1498 GetThreadSelectorEntry(
1501 LPLDT_ENTRY lpSelectorEntry
1521 GetOverlappedResult(
1523 LPOVERLAPPED lpOverlapped
,
1524 LPDWORD lpNumberOfBytesTransferred
,
1531 CreateIoCompletionPort(
1533 HANDLE ExistingCompletionPort
,
1534 DWORD CompletionKey
,
1535 DWORD NumberOfConcurrentThreads
1541 GetQueuedCompletionStatus(
1542 HANDLE CompletionPort
,
1543 LPDWORD lpNumberOfBytesTransferred
,
1544 LPDWORD lpCompletionKey
,
1545 LPOVERLAPPED
*lpOverlapped
,
1546 DWORD dwMilliseconds
1560 LPCVOID lpBaseAddress
,
1563 LPDWORD lpNumberOfBytesRead
1571 LPVOID lpBaseAddress
,
1574 LPDWORD lpNumberOfBytesWritten
1590 CONST CONTEXT
*lpContext
1618 LPDEBUG_EVENT lpDebugEvent
,
1619 DWORD dwMilliseconds
1628 DWORD dwContinueStatus
1641 InitializeCriticalSection(
1642 LPCRITICAL_SECTION lpCriticalSection
1648 EnterCriticalSection(
1649 LPCRITICAL_SECTION lpCriticalSection
1655 LeaveCriticalSection(
1656 LPCRITICAL_SECTION lpCriticalSection
1662 DeleteCriticalSection(
1663 LPCRITICAL_SECTION lpCriticalSection
1693 LPLONG lpPreviousCount
1706 WaitForSingleObject(
1708 DWORD dwMilliseconds
1714 WaitForMultipleObjects(
1716 CONST HANDLE
*lpHandles
,
1718 DWORD dwMilliseconds
1725 DWORD dwMilliseconds
1785 DWORD dwFileOffsetLow
,
1786 DWORD dwFileOffsetHigh
,
1787 DWORD nNumberOfBytesToLockLow
,
1788 DWORD nNumberOfBytesToLockHigh
1796 DWORD dwFileOffsetLow
,
1797 DWORD dwFileOffsetHigh
,
1798 DWORD nNumberOfBytesToUnlockLow
,
1799 DWORD nNumberOfBytesToUnlockHigh
1809 DWORD nNumberOfBytesToLockLow
,
1810 DWORD nNumberOfBytesToLockHigh
,
1811 LPOVERLAPPED lpOverlapped
1819 DWORD nNumberOfBytesToUnlockLow
,
1820 DWORD nNumberOfBytesToUnlockHigh
,
1821 LPOVERLAPPED lpOverlapped
1826 GetFileInformationByHandle(
1828 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1843 LPDWORD lpFileSizeHigh
1867 DWORD nNumberOfBytesToWrite
,
1868 LPDWORD lpNumberOfBytesWritten
,
1869 LPOVERLAPPED lpOverlapped
1878 DWORD nNumberOfBytesToRead
,
1879 LPDWORD lpNumberOfBytesRead
,
1880 LPOVERLAPPED lpOverlapped
1895 DWORD dwIoControlCode
,
1897 DWORD nInBufferSize
,
1899 DWORD nOutBufferSize
,
1900 LPDWORD lpBytesReturned
,
1901 LPOVERLAPPED lpOverlapped
1916 LONG lDistanceToMove
,
1917 PLONG lpDistanceToMoveHigh
,
1933 LPFILETIME lpCreationTime
,
1934 LPFILETIME lpLastAccessTime
,
1935 LPFILETIME lpLastWriteTime
1943 CONST FILETIME
*lpCreationTime
,
1944 CONST FILETIME
*lpLastAccessTime
,
1945 CONST FILETIME
*lpLastWriteTime
1959 HANDLE hSourceProcessHandle
,
1960 HANDLE hSourceHandle
,
1961 HANDLE hTargetProcessHandle
,
1962 LPHANDLE lpTargetHandle
,
1963 DWORD dwDesiredAccess
,
1964 WINBOOL bInheritHandle
,
1971 GetHandleInformation(
1979 SetHandleInformation(
1988 LPCSTR lpModuleName
,
1989 LPVOID lpParameterBlock
2055 LPCOMMPROP lpCommProp
2079 LPCOMMTIMEOUTS lpCommTimeouts
2127 LPCOMMTIMEOUTS lpCommTimeouts
2144 LPOVERLAPPED lpOverlapped
2153 DWORD dwPositionMethod
,
2165 DWORD dwPositionType
,
2166 LPDWORD lpdwPartition
,
2167 LPDWORD lpdwOffsetLow
,
2168 LPDWORD lpdwOffsetHigh
2192 CreateTapePartition(
2194 DWORD dwPartitionMethod
,
2204 DWORD dwTapemarkType
,
2205 DWORD dwTapemarkCount
,
2223 LPVOID lpTapeInformation
2231 LPVOID lpTapeInformation
2380 LPSYSTEMTIME lpSystemTime
2387 CONST SYSTEMTIME
*lpSystemTime
2394 LPSYSTEMTIME lpSystemTime
2401 CONST SYSTEMTIME
*lpSystemTime
2408 LPSYSTEM_INFO lpSystemInfo
2413 SystemTimeToTzSpecificLocalTime(
2414 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2415 LPSYSTEMTIME lpUniversalTime
,
2416 LPSYSTEMTIME lpLocalTime
2422 GetTimeZoneInformation(
2423 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2429 SetTimeZoneInformation(
2430 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2435 SystemTimeToFileTime(
2436 CONST SYSTEMTIME
*lpSystemTime
,
2437 LPFILETIME lpFileTime
2443 FileTimeToLocalFileTime(
2444 CONST FILETIME
*lpFileTime
,
2445 LPFILETIME lpLocalFileTime
2451 LocalFileTimeToFileTime(
2452 CONST FILETIME
*lpLocalFileTime
,
2453 LPFILETIME lpFileTime
2459 FileTimeToSystemTime(
2460 CONST FILETIME
*lpFileTime
,
2461 LPSYSTEMTIME lpSystemTime
2468 CONST FILETIME
*lpFileTime1
,
2469 CONST FILETIME
*lpFileTime2
2475 FileTimeToDosDateTime(
2476 CONST FILETIME
*lpFileTime
,
2484 DosDateTimeToFileTime(
2487 LPFILETIME lpFileTime
2500 SetSystemTimeAdjustment(
2501 DWORD dwTimeAdjustment
,
2502 WINBOOL bTimeAdjustmentDisabled
2508 GetSystemTimeAdjustment(
2509 PDWORD lpTimeAdjustment
,
2510 PDWORD lpTimeIncrement
,
2511 PWINBOOL lpTimeAdjustmentDisabled
2520 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2529 LPOVERLAPPED lpOverlapped
2535 DisconnectNamedPipe(
2542 SetNamedPipeHandleState(
2545 LPDWORD lpMaxCollectionCount
,
2546 LPDWORD lpCollectDataTimeout
2555 LPDWORD lpOutBufferSize
,
2556 LPDWORD lpInBufferSize
,
2557 LPDWORD lpMaxInstances
2567 LPDWORD lpBytesRead
,
2568 LPDWORD lpTotalBytesAvail
,
2569 LPDWORD lpBytesLeftThisMessage
2578 DWORD nInBufferSize
,
2580 DWORD nOutBufferSize
,
2581 LPDWORD lpBytesRead
,
2582 LPOVERLAPPED lpOverlapped
2591 LPDWORD lpMaxMessageSize
,
2593 LPDWORD lpMessageCount
,
2594 LPDWORD lpReadTimeout
2609 HANDLE hFileMappingObject
,
2610 DWORD dwDesiredAccess
,
2611 DWORD dwFileOffsetHigh
,
2612 DWORD dwFileOffsetLow
,
2613 DWORD dwNumberOfBytesToMap
2620 LPCVOID lpBaseAddress
,
2621 DWORD dwNumberOfBytesToFlush
2628 LPVOID lpBaseAddress
2635 LPOFSTRUCT lpReOpenBuff
,
2711 CONST LPVOID lpBuffer
,
2747 DWORD dwMilliseconds
,
2754 WaitForSingleObjectEx(
2756 DWORD dwMilliseconds
,
2763 WaitForMultipleObjectsEx(
2765 CONST HANDLE
*lpHandles
,
2767 DWORD dwMilliseconds
,
2777 DWORD nNumberOfBytesToRead
,
2778 LPOVERLAPPED lpOverlapped
,
2779 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2788 DWORD nNumberOfBytesToWrite
,
2789 LPOVERLAPPED lpOverlapped
,
2790 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2799 DWORD nNumberOfBytesToRead
,
2800 LPDWORD lpNumberOfBytesRead
,
2802 WINBOOL bProcessSecurity
,
2811 DWORD dwLowBytesToSeek
,
2812 DWORD dwHighBytesToSeek
,
2813 LPDWORD lpdwLowByteSeeked
,
2814 LPDWORD lpdwHighByteSeeked
,
2824 DWORD nNumberOfBytesToWrite
,
2825 LPDWORD lpNumberOfBytesWritten
,
2827 WINBOOL bProcessSecurity
,
2833 SetProcessShutdownParameters(
2841 GetProcessShutdownParameters(
2849 SetFileApisToOEM( VOID
);
2854 SetFileApisToANSI( VOID
);
2859 AreFileApisANSI( VOID
);
2870 DeregisterEventSource (
2877 NotifyChangeEventLog (
2885 GetNumberOfEventLogRecords (
2887 PDWORD NumberOfRecords
2893 GetOldestEventLogRecord (
2901 HANDLE ExistingTokenHandle
,
2902 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2903 PHANDLE DuplicateTokenHandle
2909 GetKernelObjectSecurity (
2911 SECURITY_INFORMATION RequestedInformation
,
2912 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2914 LPDWORD lpnLengthNeeded
2920 ImpersonateNamedPipeClient(
2927 ImpersonateLoggedOnUser(
2935 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2958 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2960 DWORD DesiredAccess
,
2961 PGENERIC_MAPPING GenericMapping
,
2962 PPRIVILEGE_SET PrivilegeSet
,
2963 LPDWORD PrivilegeSetLength
,
2964 LPDWORD GrantedAccess
,
2973 HANDLE ProcessHandle
,
2974 DWORD DesiredAccess
,
2983 HANDLE ThreadHandle
,
2984 DWORD DesiredAccess
,
2993 GetTokenInformation (
2995 TOKEN_INFORMATION_CLASS TokenInformationClass
,
2996 LPVOID TokenInformation
,
2997 DWORD TokenInformationLength
,
3005 SetTokenInformation (
3007 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3008 LPVOID TokenInformation
,
3009 DWORD TokenInformationLength
3016 AdjustTokenPrivileges (
3018 WINBOOL DisableAllPrivileges
,
3019 PTOKEN_PRIVILEGES NewState
,
3021 PTOKEN_PRIVILEGES PreviousState
,
3031 WINBOOL ResetToDefault
,
3032 PTOKEN_GROUPS NewState
,
3034 PTOKEN_GROUPS PreviousState
,
3044 PPRIVILEGE_SET RequiredPrivileges
,
3078 GetSidLengthRequired (
3079 UCHAR nSubAuthorityCount
3086 AllocateAndInitializeSid (
3087 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3088 BYTE nSubAuthorityCount
,
3089 DWORD nSubAuthority0
,
3090 DWORD nSubAuthority1
,
3091 DWORD nSubAuthority2
,
3092 DWORD nSubAuthority3
,
3093 DWORD nSubAuthority4
,
3094 DWORD nSubAuthority5
,
3095 DWORD nSubAuthority6
,
3096 DWORD nSubAuthority7
,
3112 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3113 BYTE nSubAuthorityCount
3118 PSID_IDENTIFIER_AUTHORITY
3120 GetSidIdentifierAuthority (
3128 GetSidSubAuthority (
3137 GetSidSubAuthorityCount (
3154 DWORD nDestinationSidLength
,
3155 PSID pDestinationSid
,
3163 AreAllAccessesGranted (
3164 DWORD GrantedAccess
,
3172 AreAnyAccessesGranted (
3173 DWORD GrantedAccess
,
3183 PGENERIC_MAPPING GenericMapping
3210 LPVOID pAclInformation
,
3211 DWORD nAclInformationLength
,
3212 ACL_INFORMATION_CLASS dwAclInformationClass
3221 LPVOID pAclInformation
,
3222 DWORD nAclInformationLength
,
3223 ACL_INFORMATION_CLASS dwAclInformationClass
3232 DWORD dwAceRevision
,
3233 DWORD dwStartingAceIndex
,
3235 DWORD nAceListLength
3261 AddAccessAllowedAce (
3263 DWORD dwAceRevision
,
3272 AddAccessDeniedAce (
3274 DWORD dwAceRevision
,
3285 DWORD dwAceRevision
,
3288 WINBOOL bAuditSuccess
,
3289 WINBOOL bAuditFailure
3305 InitializeSecurityDescriptor (
3306 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3314 IsValidSecurityDescriptor (
3315 PSECURITY_DESCRIPTOR pSecurityDescriptor
3322 GetSecurityDescriptorLength (
3323 PSECURITY_DESCRIPTOR pSecurityDescriptor
3330 GetSecurityDescriptorControl (
3331 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3332 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3333 LPDWORD lpdwRevision
3340 SetSecurityDescriptorDacl (
3341 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3342 WINBOOL bDaclPresent
,
3344 WINBOOL bDaclDefaulted
3351 GetSecurityDescriptorDacl (
3352 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3353 LPBOOL lpbDaclPresent
,
3355 LPBOOL lpbDaclDefaulted
3362 SetSecurityDescriptorSacl (
3363 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3364 WINBOOL bSaclPresent
,
3366 WINBOOL bSaclDefaulted
3373 GetSecurityDescriptorSacl (
3374 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3375 LPBOOL lpbSaclPresent
,
3377 LPBOOL lpbSaclDefaulted
3384 SetSecurityDescriptorOwner (
3385 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3387 WINBOOL bOwnerDefaulted
3394 GetSecurityDescriptorOwner (
3395 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3397 LPBOOL lpbOwnerDefaulted
3404 SetSecurityDescriptorGroup (
3405 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3407 WINBOOL bGroupDefaulted
3414 GetSecurityDescriptorGroup (
3415 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3417 LPBOOL lpbGroupDefaulted
3424 CreatePrivateObjectSecurity (
3425 PSECURITY_DESCRIPTOR ParentDescriptor
,
3426 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3427 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3428 WINBOOL IsDirectoryObject
,
3430 PGENERIC_MAPPING GenericMapping
3437 SetPrivateObjectSecurity (
3438 SECURITY_INFORMATION SecurityInformation
,
3439 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3440 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3441 PGENERIC_MAPPING GenericMapping
,
3449 GetPrivateObjectSecurity (
3450 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3451 SECURITY_INFORMATION SecurityInformation
,
3452 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3453 DWORD DescriptorLength
,
3461 DestroyPrivateObjectSecurity (
3462 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3469 MakeSelfRelativeSD (
3470 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3471 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3472 LPDWORD lpdwBufferLength
3480 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3481 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3482 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3484 LPDWORD lpdwDaclSize
,
3486 LPDWORD lpdwSaclSize
,
3488 LPDWORD lpdwOwnerSize
,
3490 LPDWORD lpdwPrimaryGroupSize
3497 SetKernelObjectSecurity (
3499 SECURITY_INFORMATION SecurityInformation
,
3500 PSECURITY_DESCRIPTOR SecurityDescriptor
3506 FindNextChangeNotification(
3507 HANDLE hChangeHandle
3513 FindCloseChangeNotification(
3514 HANDLE hChangeHandle
3537 HANDLE hFileMappingObject
,
3538 DWORD dwDesiredAccess
,
3539 DWORD dwFileOffsetHigh
,
3540 DWORD dwFileOffsetLow
,
3541 DWORD dwNumberOfBytesToMap
,
3542 LPVOID lpBaseAddress
3550 DWORD dwPriorityClass
3601 AllocateLocallyUniqueId(
3608 QueryPerformanceCounter(
3609 LARGE_INTEGER
*lpPerformanceCount
3615 QueryPerformanceFrequency(
3616 LARGE_INTEGER
*lpFrequency
3642 /* The memory functions don't seem to be defined in the libraries, so
3643 define macro versions as well. */
3644 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3645 #define FillMemory(p, c, v) memset ((p), (v), (c))
3646 #define ZeroMemory(p, c) memset ((p), 0, (c))
3651 ActivateKeyboardLayout(
3657 ActivateKeyboardLayout(
3677 UnloadKeyboardLayout(
3683 GetKeyboardLayoutList(
3700 DWORD dwDesiredAccess
);
3706 ENUMWINDOWSPROC lpfn
,
3742 SetProcessWindowStation(
3748 GetProcessWindowStation(
3754 SetUserObjectSecurity(
3756 PSECURITY_INFORMATION pSIRequested
,
3757 PSECURITY_DESCRIPTOR pSID
);
3762 GetUserObjectSecurity(
3764 PSECURITY_INFORMATION pSIRequested
,
3765 PSECURITY_DESCRIPTOR pSID
,
3767 LPDWORD lpnLengthNeeded
);
3823 GetMessageExtraInfo(
3829 SetMessageExtraInfo(
3835 BroadcastSystemMessage(
3866 DWORD dwMilliseconds
);
3972 HWND hWndInsertAfter
,
3984 WINDOWPLACEMENT
*lpwndpl
);
3991 CONST WINDOWPLACEMENT
*lpwndpl
);
3996 BeginDeferWindowPos(
4005 HWND hWndInsertAfter
,
4077 WINBOOL
*lpTranslated
,
4095 int nIDCheckButton
);
4107 GetNextDlgGroupItem(
4129 GetDialogBaseUnits(VOID
);
4152 HWND hWndNewViewer
);
4163 ChangeClipboardChain(
4184 CountClipboardFormats(
4190 EnumClipboardFormats(
4202 IsClipboardFormatAvailable(
4208 GetPriorityClipboardFormat(
4209 UINT
*paFormatPriorityList
,
4215 GetOpenClipboardWindow(
4219 /* Despite the A these are ASCII functions! */
4224 LPCSTR lpCurrentChar
,
4233 LPCSTR lpCurrentChar
,
4379 MsgWaitForMultipleObjects(
4383 DWORD dwMilliseconds
,
4393 TIMERPROC lpTimerFunc
);
4424 DestroyAcceleratorTable(
4549 HBITMAP hBitmapUnchecked
,
4550 HBITMAP hBitmapChecked
);
4555 GetMenuCheckMarkDimensions(
4568 CONST RECT
*prcRect
);
4586 GetMenuItemRect(HWND hWnd
,
4593 MenuItemFromPoint(HWND hWnd
,
4600 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4605 DragDetect(HWND hwnd
,
4631 GetForegroundWindow(
4636 PaintDesktop(HDC hdc
);
4641 SetForegroundWindow(
4682 LPPAINTSTRUCT lpPaint
);
4689 CONST PAINTSTRUCT
*lpPaint
);
4742 CONST RECT
*lpRect
);
4764 CONST RECT
*lprcUpdate
,
4782 CONST RECT
*lpClipRect
);
4791 CONST RECT
*lprcScroll
,
4792 CONST RECT
*lprcClip
,
4803 CONST RECT
*prcScroll
,
4804 CONST RECT
*prcClip
,
4893 SetWindowContextHelpId(HWND
, DWORD
);
4897 GetWindowContextHelpId(HWND
);
4901 SetMenuContextHelpId(HMENU
, DWORD
);
4905 GetMenuContextHelpId(HMENU
);
4942 CONST RECT
*lpRect
);
5040 ChildWindowFromPoint(
5061 CONST INT
* lpaElements
,
5062 CONST COLORREF
* lpaRgbValues
);
5115 CONST RECT
*lprcSrc
);
5130 CONST RECT
*lprcSrc1
,
5131 CONST RECT
*lprcSrc2
);
5138 CONST RECT
*lprcSrc1
,
5139 CONST RECT
*lprcSrc2
);
5146 CONST RECT
*lprcSrc1
,
5147 CONST RECT
*lprcSrc2
);
5223 HWND hWndNewParent
);
5230 ENUMWINDOWSPROC lpEnumFunc
,
5237 ENUMWINDOWSPROC lpEnumFunc
,
5245 ENUMWINDOWSPROC lpfn
,
5256 GetWindowThreadProcessId(
5258 LPDWORD lpdwProcessId
);
5277 HOOKPROC pfnFilterProc
);
5281 UnhookWindowsHookEx(
5296 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5306 CONST VOID
*pvANDPlane
,
5307 CONST VOID
*pvXORPlane
);
5326 HINSTANCE hInstance
,
5331 CONST BYTE
*lpbANDbits
,
5332 CONST BYTE
*lpbXORbits
);
5343 LookupIconIdFromDirectory(
5350 LookupIconIdFromDirectoryEx(
5360 CreateIconFromResource(
5369 CreateIconFromResourceEx(
5392 PICONINFO piconinfo
);
5405 PICONINFO piconinfo
);
5416 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5420 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5424 TranslateMDISysAccel(
5431 ArrangeIconicWindows(
5436 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5440 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5459 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5463 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5467 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5471 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5475 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5479 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5483 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5484 HICON hIcon
, int cxWidth
, int cyWidth
,
5485 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5489 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5493 Arc(HDC
, int, int, int, int, int, int, int, int);
5497 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5505 Chord(HDC
, int, int, int, int, int, int, int, int);
5513 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5517 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5521 CreateBitmapIndirect(CONST BITMAP
*);
5525 CreateBrushIndirect(CONST LOGBRUSH
*);
5529 CreateCompatibleBitmap(HDC
, int, int);
5533 CreateDiscardableBitmap(HDC
, int, int);
5537 CreateCompatibleDC(HDC
);
5541 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5545 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5549 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5553 CreateEllipticRgn(int, int, int, int);
5557 CreateEllipticRgnIndirect(CONST RECT
*);
5561 CreateHatchBrush(int, COLORREF
);
5565 CreatePalette(CONST LOGPALETTE
*);
5569 CreatePen(int, int, COLORREF
);
5573 CreatePenIndirect(CONST LOGPEN
*);
5577 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5581 CreatePatternBrush(HBITMAP
);
5585 CreateRectRgn(int, int, int, int);
5589 CreateRectRgnIndirect(CONST RECT
*);
5593 CreateRoundRectRgn(int, int, int, int, int, int);
5597 CreateSolidBrush(COLORREF
);
5605 DeleteMetaFile(HMETAFILE
);
5609 DeleteObject(HGDIOBJ
);
5613 DrawEscape(HDC
, int, int, LPCSTR
);
5617 Ellipse(HDC
, int, int, int, int);
5621 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5625 EqualRgn(HRGN
, HRGN
);
5629 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5633 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5637 ExcludeClipRect(HDC
, int, int, int, int);
5641 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5645 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5649 FillRgn(HDC
, HRGN
, HBRUSH
);
5653 FloodFill(HDC
, int, int, COLORREF
);
5657 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5665 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5677 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5681 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5685 GetBoundsRect(HDC
, LPRECT
, UINT
);
5689 GetBrushOrgEx(HDC
, LPPOINT
);
5693 GetClipBox(HDC
, LPRECT
);
5697 GetClipRgn(HDC
, HRGN
);
5701 GetMetaRgn(HDC
, HRGN
);
5705 GetCurrentObject(HDC
, UINT
);
5709 GetCurrentPositionEx(HDC
, LPPOINT
);
5713 GetDeviceCaps(HDC
, int);
5717 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5721 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5725 GetGraphicsMode(HDC
);
5733 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5737 GetNearestColor(HDC
, COLORREF
);
5741 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5745 GetObjectType(HGDIOBJ h
);
5749 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5753 GetPixel(HDC
, int, int);
5757 GetPixelFormat(HDC
);
5761 GetPolyFillMode(HDC
);
5765 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5769 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5773 GetRgnBox(HRGN
, LPRECT
);
5777 GetStockObject(int);
5781 GetStretchBltMode(HDC
);
5785 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5789 GetSystemPaletteUse(HDC
);
5793 GetTextCharacterExtra(HDC
);
5805 GetTextCharset(HDC hdc
);
5809 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5813 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5817 GetFontLanguageInfo( HDC
);
5821 GetViewportExtEx(HDC
, LPSIZE
);
5825 GetViewportOrgEx(HDC
, LPPOINT
);
5829 GetWindowExtEx(HDC
, LPSIZE
);
5833 GetWindowOrgEx(HDC
, LPPOINT
);
5837 IntersectClipRect(HDC
, int, int, int, int);
5841 InvertRgn(HDC
, HRGN
);
5845 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5849 LineTo(HDC
, int, int);
5853 MaskBlt(HDC
, int, int, int, int,
5854 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5858 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5859 int, HBITMAP
, int, int);
5863 OffsetClipRgn(HDC
, int, int);
5867 OffsetRgn(HRGN
, int, int);
5871 PatBlt(HDC
, int, int, int, int, DWORD
);
5875 Pie(HDC
, int, int, int, int, int, int, int, int);
5879 PlayMetaFile(HDC
, HMETAFILE
);
5883 PaintRgn(HDC
, HRGN
);
5887 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5891 PtInRegion(HRGN
, int, int);
5895 PtVisible(HDC
, int, int);
5899 RectInRegion(HRGN
, CONST RECT
*);
5903 RectVisible(HDC
, CONST RECT
*);
5907 Rectangle(HDC
, int, int, int, int);
5911 RestoreDC(HDC
, int);
5915 RealizePalette(HDC
);
5919 RoundRect(HDC
, int, int, int, int, int, int);
5923 ResizePalette(HPALETTE
, UINT
);
5931 SelectClipRgn(HDC
, HRGN
);
5935 ExtSelectClipRgn(HDC
, HRGN
, int);
5943 SelectObject(HDC
, HGDIOBJ
);
5947 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5951 SetBkColor(HDC
, COLORREF
);
5955 SetBkMode(HDC
, int);
5959 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
5963 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
5967 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5971 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
5972 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5976 SetMapperFlags(HDC
, DWORD
);
5980 SetGraphicsMode(HDC hdc
, int iMode
);
5984 SetMapMode(HDC
, int);
5988 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
5992 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5996 SetPixel(HDC
, int, int, COLORREF
);
6000 SetPixelV(HDC
, int, int, COLORREF
);
6004 SetPolyFillMode(HDC
, int);
6008 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6012 SetRectRgn(HRGN
, int, int, int, int);
6015 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6016 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6024 SetStretchBltMode(HDC
, int);
6028 SetSystemPaletteUse(HDC
, UINT
);
6032 SetTextCharacterExtra(HDC
, int);
6036 SetTextColor(HDC
, COLORREF
);
6040 SetTextAlign(HDC
, UINT
);
6044 SetTextJustification(HDC
, int, int);
6052 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6056 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6060 CloseEnhMetaFile(HDC
);
6064 DeleteEnhMetaFile(HENHMETAFILE
);
6068 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6069 LPVOID
, CONST RECT
*);
6073 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6077 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6081 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6085 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6089 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6093 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6097 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6101 GdiComment(HDC
, UINT
, CONST BYTE
*);
6105 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6109 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6113 GetWorldTransform(HDC
, LPXFORM
);
6117 SetWorldTransform(HDC
, CONST XFORM
*);
6121 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6125 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6129 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
**, HANDLE
, DWORD
);
6133 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6137 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6141 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6145 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6149 CreateHalftonePalette(HDC
);
6169 SetAbortProc(HDC
, ABORTPROC
);
6177 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6201 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6209 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6213 SelectClipPath(HDC
, int);
6217 SetArcDirection(HDC
, int);
6221 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6225 StrokeAndFillPath(HDC
);
6237 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6241 GetMiterLimit(HDC
, PFLOAT
);
6245 GetArcDirection(HDC
);
6249 MoveToEx(HDC
, int, int, LPPOINT
);
6253 CreatePolygonRgn(CONST POINT
*, int, int);
6257 DPtoLP(HDC
, LPPOINT
, int);
6261 LPtoDP(HDC
, LPPOINT
, int);
6265 Polygon(HDC
, CONST POINT
*, int);
6269 Polyline(HDC
, CONST POINT
*, int);
6273 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6277 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6281 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6285 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6289 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6293 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6297 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6301 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6305 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6309 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6313 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6317 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6321 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6325 GetDCOrgEx(HDC
,LPPOINT
);
6329 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6333 UnrealizeObject(HGDIOBJ
);
6341 GdiSetBatchLimit(DWORD
);
6345 GdiGetBatchLimit(void);
6349 SetICMMode(HDC
, int);
6353 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6361 SetColorSpace(HDC
,HCOLORSPACE
);
6365 DeleteColorSpace(HCOLORSPACE
);
6369 GetDeviceGammaRamp(HDC
,LPVOID
);
6373 SetDeviceGammaRamp(HDC
,LPVOID
);
6377 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6381 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6385 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6389 InitCommonControls(void);
6391 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6395 ImageList_Create(int cx
, int cy
, UINT flags
,
6396 int cInitial
, int cGrow
);
6400 ImageList_Destroy(HIMAGELIST himl
);
6404 ImageList_GetImageCount(HIMAGELIST himl
);
6408 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6413 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6417 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6421 ImageList_GetBkColor(HIMAGELIST himl
);
6425 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6430 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6434 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6438 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6442 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6446 ImageList_Remove(HIMAGELIST himl
, int i
);
6450 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6454 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6458 ImageList_EndDrag(void);
6462 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6466 ImageList_DragLeave(HWND hwndLock
);
6470 ImageList_DragMove(int x
, int y
);
6474 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6478 ImageList_DragShowNolock(WINBOOL fShow
);
6482 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6486 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6490 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6494 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6498 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6502 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6503 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6504 int iNumButtons
, int dxButton
, int dyButton
,
6505 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6509 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6510 UINT wFlags
, LPCOLORMAP lpColorMap
,
6516 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6520 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6524 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6528 MakeDragList(HWND hLB
);
6532 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6536 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6540 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6541 HWND hParent
, int nID
, HINSTANCE hInst
,
6543 int nUpper
, int nLower
, int nPos
);
6547 CommDlgExtendedError(VOID
);
6549 /* Animation controls */
6551 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6553 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6555 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6557 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6559 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6561 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6563 /* Property sheet macros */
6565 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6567 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6569 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6571 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6573 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6575 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6577 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6579 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6581 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6583 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6585 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6587 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6589 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6591 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6593 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6595 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6597 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6599 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6601 /* Header control */
6602 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6604 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6606 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6608 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6610 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6612 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6615 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6617 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6619 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6621 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6623 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6625 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6627 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6629 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6631 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6633 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6635 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6637 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6639 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6641 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6643 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6645 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6647 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6649 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6651 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6653 #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))
6655 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6657 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6659 #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);}
6661 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6663 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6665 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6667 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6669 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6671 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6673 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6675 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6677 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6679 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6681 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6683 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6685 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6687 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6689 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6691 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6693 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6696 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6698 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6700 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6702 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6704 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6706 #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);}
6708 #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);}
6710 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6712 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6714 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6716 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6719 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6721 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6723 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6725 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6727 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6729 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6731 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6733 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6735 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6737 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6739 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6741 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6743 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6745 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6747 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6749 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6751 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6753 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6755 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6757 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6759 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6761 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6764 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6766 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6768 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6770 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6772 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6774 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6776 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6778 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6780 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6782 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6784 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6786 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6788 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6790 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6792 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6796 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6798 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6800 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6802 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6804 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6806 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6808 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6810 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6812 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6814 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6816 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6818 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6820 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6822 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6824 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6826 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6828 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6830 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6832 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6834 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6836 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6838 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6840 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6842 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6845 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6847 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6848 #endif /* !UNICODE */
6850 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6852 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6855 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6857 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6858 #endif /* !UNICODE */
6860 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6862 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6865 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6867 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6868 #endif /* !UNICODE */
6870 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6872 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6874 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6876 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6888 SECURITY_INFORMATION SecurityInformation
,
6889 PSECURITY_DESCRIPTOR pSecurityDescriptor
6902 SECURITY_INFORMATION SecurityInformation
,
6903 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6904 LPDWORD lpcbSecurityDescriptor
6909 RegNotifyChangeKeyValue (
6911 WINBOOL bWatchSubtree
,
6912 DWORD dwNotifyFilter
,
6914 WINBOOL fAsynchronus
6935 GetCPInfo(UINT
, LPCPINFO
);
6953 MultiByteToWideChar(
6956 LPCSTR lpMultiByteStr
,
6958 LPWSTR lpWideCharStr
,
6964 WideCharToMultiByte(
6967 LPCWSTR lpWideCharStr
,
6969 LPSTR lpMultiByteStr
,
6971 LPCSTR lpDefaultChar
,
6972 LPBOOL lpUsedDefaultChar
);
6983 ConvertDefaultLocale(
6989 GetThreadLocale(void);
7001 GetSystemDefaultLangID(void);
7006 GetUserDefaultLangID(void);
7011 GetSystemDefaultLCID(void);
7016 GetUserDefaultLCID(void);
7021 ReadConsoleOutputAttribute(
7022 HANDLE hConsoleOutput
,
7026 LPDWORD lpNumberOfAttrsRead
7032 WriteConsoleOutputAttribute(
7033 HANDLE hConsoleOutput
,
7034 CONST WORD
*lpAttribute
,
7037 LPDWORD lpNumberOfAttrsWritten
7043 FillConsoleOutputAttribute(
7044 HANDLE hConsoleOutput
,
7048 LPDWORD lpNumberOfAttrsWritten
7055 HANDLE hConsoleHandle
,
7062 GetNumberOfConsoleInputEvents(
7063 HANDLE hConsoleInput
,
7064 LPDWORD lpNumberOfEvents
7070 GetConsoleScreenBufferInfo(
7071 HANDLE hConsoleOutput
,
7072 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7078 GetLargestConsoleWindowSize(
7079 HANDLE hConsoleOutput
7085 GetConsoleCursorInfo(
7086 HANDLE hConsoleOutput
,
7087 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7093 GetNumberOfConsoleMouseButtons(
7094 LPDWORD lpNumberOfMouseButtons
7101 HANDLE hConsoleHandle
,
7108 SetConsoleActiveScreenBuffer(
7109 HANDLE hConsoleOutput
7115 FlushConsoleInputBuffer(
7116 HANDLE hConsoleInput
7122 SetConsoleScreenBufferSize(
7123 HANDLE hConsoleOutput
,
7130 SetConsoleCursorPosition(
7131 HANDLE hConsoleOutput
,
7132 COORD dwCursorPosition
7138 SetConsoleCursorInfo(
7139 HANDLE hConsoleOutput
,
7140 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7145 SetConsoleWindowInfo(
7146 HANDLE hConsoleOutput
,
7148 CONST SMALL_RECT
*lpConsoleWindow
7154 SetConsoleTextAttribute(
7155 HANDLE hConsoleOutput
,
7162 SetConsoleCtrlHandler(
7163 PHANDLER_ROUTINE HandlerRoutine
,
7170 GenerateConsoleCtrlEvent(
7172 DWORD dwProcessGroupId
7178 AllocConsole( VOID
);
7183 FreeConsole( VOID
);
7189 CreateConsoleScreenBuffer(
7190 DWORD dwDesiredAccess
,
7192 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7194 LPVOID lpScreenBufferData
7200 GetConsoleCP( VOID
);
7212 GetConsoleOutputCP( VOID
);
7222 WNetConnectionDialog(
7228 WNetDisconnectDialog(
7250 LPSERVICE_STATUS lpServiceStatus
7261 LockServiceDatabase(
7262 SC_HANDLE hSCManager
7268 NotifyBootConfigStatus(
7269 WINBOOL BootAcceptable
7274 QueryServiceObjectSecurity(
7276 SECURITY_INFORMATION dwSecurityInformation
,
7277 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7279 LPDWORD pcbBytesNeeded
7287 LPSERVICE_STATUS lpServiceStatus
7292 SetServiceObjectSecurity(
7294 SECURITY_INFORMATION dwSecurityInformation
,
7295 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7302 SERVICE_STATUS_HANDLE hServiceStatus
,
7303 LPSERVICE_STATUS lpServiceStatus
7308 UnlockServiceDatabase(
7312 /* Extensions to OpenGL */
7315 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7318 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7321 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7322 CONST PIXELFORMATDESCRIPTOR
*);
7325 GetPixelFormat(HDC
);
7328 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7334 wglCreateContext(HDC
);
7337 wglCreateLayerContext(HDC
, int);
7340 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7343 wglDeleteContext(HGLRC
);
7346 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7349 wglGetCurrentContext(VOID
);
7352 wglGetCurrentDC(VOID
);
7355 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7358 wglGetProcAddress(LPCSTR
);
7361 wglMakeCurrent(HDC
, HGLRC
);
7364 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7367 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7370 wglShareLists(HGLRC
, HGLRC
);
7373 wglSwapLayerBuffers(HDC
, UINT
);
7376 Why are these different between ANSI and UNICODE?
7377 There doesn't seem to be any difference.
7381 #define wglUseFontBitmaps wglUseFontBitmapsW
7382 #define wglUseFontOutlines wglUseFontOutlinesW
7384 #define wglUseFontBitmaps wglUseFontBitmapsA
7385 #define wglUseFontOutlines wglUseFontOutlinesA
7386 #endif /* !UNICODE */
7388 /* ------------------------------------- */
7389 /* From shellapi.h in old Cygnus headers */
7392 DragQueryPoint (HDROP
, LPPOINT
);
7398 DragAcceptFiles (HWND
, WINBOOL
);
7401 DuplicateIcon (HINSTANCE
, HICON
);
7403 /* end of stuff from shellapi.h in old Cygnus headers */
7404 /* -------------------------------------------------- */
7405 /* From ddeml.h in old Cygnus headers */
7407 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7408 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7409 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7410 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7411 UINT WINAPI
DdeGetLastError (DWORD
);
7412 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7413 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7414 HCONV WINAPI
DdeReconnect (HCONV
);
7415 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7416 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7417 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7420 /* end of stuff from ddeml.h in old Cygnus headers */
7421 /* ----------------------------------------------- */
7423 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7425 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7426 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7427 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7428 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7430 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7434 SHAddToRecentDocs (UINT
, LPCVOID
);
7437 SHBrowseForFolder (LPBROWSEINFO
);
7440 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7443 SHFileOperation (LPSHFILEOPSTRUCT
);
7446 SHFreeNameMappings (HANDLE
);
7448 /* Define when SHELLFOLDER is defined.
7450 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7453 SHGetDesktopFolder (LPSHELLFOLDER);
7457 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7459 /* Define when IUnknown is defined.
7461 SHGetInstanceExplorer (IUnknown **);
7464 /* Define when MALLOC is defined.
7466 SHGetMalloc (LPMALLOC *);
7470 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7473 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7475 /* Define when REFCLSID is defined.
7477 SHLoadInProc (REFCLSID);
7482 #endif /* __cplusplus */
7484 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */