4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
45 #endif /* !UNICODE_ONLY */
49 #endif /* !ANSI_ONLY */
51 /* Define the approprate declaration based upon UNICODE or ASCII */
56 #define RegConnectRegistry RegConnectRegistryW
57 #define RegCreateKey RegCreateKeyW
58 #define RegCreateKeyEx RegCreateKeyExW
59 #define RegDeleteKey RegDeleteKeyW
60 #define RegDeleteValue RegDeleteValueW
61 #define RegEnumKey RegEnumKeyW
62 #define RegEnumKeyEx RegEnumKeyExW
63 #define RegEnumValue RegEnumValueW
64 #define RegLoadKey RegLoadKeyW
65 #define RegOpenKey RegOpenKeyW
66 #define RegOpenKeyEx RegOpenKeyExW
67 #define RegQueryInfoKey RegQueryInfoKeyW
68 #define RegQueryValue RegQueryValueW
69 #define RegQueryMultipleValues RegQueryMultipleValuesW
70 #define RegQueryValueEx RegQueryValueExW
71 #define RegReplaceKey RegReplaceKeyW
72 #define RegRestoreKey RegRestoreKeyW
73 #define RegSaveKey RegSaveKeyW
74 #define RegSetValue RegSetValueW
75 #define RegSetValueEx RegSetValueExW
76 #define AbortSystemShutdown AbortSystemShutdownW
77 #define InitiateSystemShutdown InitiateSystemShutdownW
78 #define RegUnLoadKey RegUnLoadKeyW
79 #define SetProp SetPropW
80 #define GetProp GetPropW
81 #define RemoveProp RemovePropW
82 #define EnumPropsEx EnumPropsExW
83 #define EnumProps EnumPropsW
84 #define SetWindowText SetWindowTextW
85 #define GetWindowText GetWindowTextW
86 #define GetWindowTextLength GetWindowTextLengthW
87 #define MessageBox MessageBoxW
88 #define MessageBoxEx MessageBoxExW
89 #define MessageBoxIndirect MessageBoxIndirectW
90 #define GetWindowLong GetWindowLongW
91 #define SetWindowLong SetWindowLongW
92 #define GetClassLong GetClassLongW
93 #define SetClassLong SetClassLongW
94 #define FindWindow FindWindowW
95 #define FindWindowEx FindWindowExW
96 #define GetClassName GetClassNameW
97 #define SetWindowsHookEx SetWindowsHookExW
98 #define LoadBitmap LoadBitmapW
99 #define LoadCursor LoadCursorW
100 #define LoadCursorFromFile LoadCursorFromFileW
101 #define LoadIcon LoadIconW
102 #define LoadImage LoadImageW
103 #define LoadString LoadStringW
104 #define IsDialogMessage IsDialogMessageW
105 #define DlgDirList DlgDirListW
106 #define DlgDirSelectEx DlgDirSelectExW
107 #define DlgDirListComboBox DlgDirListComboBoxW
108 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
109 #define DefFrameProc DefFrameProcW
110 #define DefMDIChildProc DefMDIChildProcW
111 #define CreateMDIWindow CreateMDIWindowW
112 #define WinHelp WinHelpW
113 #define ChangeDisplaySettings ChangeDisplaySettingsW
114 #define EnumDisplaySettings EnumDisplaySettingsW
115 #define SystemParametersInfo SystemParametersInfoW
116 #define AddFontResource AddFontResourceW
117 #define CopyMetaFile CopyMetaFileW
118 #define CreateDC CreateDCW
119 #define CreateFontIndirect CreateFontIndirectW
120 #define CreateFont CreateFontW
121 #define CreateIC CreateICW
122 #define CreateMetaFile CreateMetaFileW
123 #define CreateScalableFontResource CreateScalableFontResourceW
124 #define DeviceCapabilities DeviceCapabilitiesW
125 #define EnumFontFamiliesEx EnumFontFamiliesExW
126 #define EnumFontFamilies EnumFontFamiliesW
127 #define EnumFonts EnumFontsW
128 #define GetCharWidth GetCharWidthW
129 #define GetCharWidth32 GetCharWidth32W
130 #define GetCharWidthFloat GetCharWidthFloatW
131 #define GetCharABCWidths GetCharABCWidthsW
132 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
133 #define GetGlyphOutline GetGlyphOutlineW
134 #define GetMetaFile GetMetaFileW
135 #define GetOutlineTextMetrics GetOutlineTextMetricsW
136 #define GetTextExtentPoint GetTextExtentPointW
137 #define GetTextExtentPoint32 GetTextExtentPoint32W
138 #define GetTextExtentExPoint GetTextExtentExPointW
139 #define GetCharacterPlacement GetCharacterPlacementW
140 #define ResetDC ResetDCW
141 #define RemoveFontResource RemoveFontResourceW
142 #define CopyEnhMetaFile CopyEnhMetaFileW
143 #define CreateEnhMetaFile CreateEnhMetaFileW
144 #define GetEnhMetaFile GetEnhMetaFileW
145 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
146 #define GetTextMetrics GetTextMetricsW
147 #define StartDoc StartDocW
148 #define GetObject GetObjectW
149 #define TextOut TextOutW
150 #define ExtTextOut ExtTextOutW
151 #define PolyTextOut PolyTextOutW
152 #define GetTextFace GetTextFaceW
153 #define GetKerningPairs GetKerningPairsW
154 #define GetLogColorSpace GetLogColorSpaceW
155 #define CreateColorSpace CreateColorSpaceW
156 #define GetICMProfile GetICMProfileW
157 #define SetICMProfile SetICMProfileW
158 #define UpdateICMRegKey UpdateICMRegKeyW
159 #define EnumICMProfiles EnumICMProfilesW
160 #define CreatePropertySheetPage CreatePropertySheetPageW
161 #define PropertySheet PropertySheetW
162 #define ImageList_LoadImage ImageList_LoadImageW
163 #define CreateStatusWindow CreateStatusWindowW
164 #define DrawStatusText DrawStatusTextW
165 #define GetOpenFileName GetOpenFileNameW
166 #define GetSaveFileName GetSaveFileNameW
167 #define GetFileTitle GetFileTitleW
168 #define ChooseColor ChooseColorW
169 #define FindText FindTextW
170 #define ReplaceText ReplaceTextW
171 #define ChooseFont ChooseFontW
172 #define PrintDlg PrintDlgW
173 #define PageSetupDlg PageSetupDlgW
174 #define DefWindowProc DefWindowProcW
175 #define CallWindowProc CallWindowProcW
176 #define RegisterClass RegisterClassW
177 #define UnregisterClass UnregisterClassW
178 #define GetClassInfo GetClassInfoW
179 #define RegisterClassEx RegisterClassExW
180 #define GetClassInfoEx GetClassInfoExW
181 #define CreateWindowEx CreateWindowExW
182 #define CreateWindow CreateWindowW
183 #define CreateDialogParam CreateDialogParamW
184 #define CreateDialogIndirectParam CreateDialogIndirectParamW
185 #define CreateDialog CreateDialogW
186 #define CreateDialogIndirect CreateDialogIndirectW
187 #define DialogBoxParam DialogBoxParamW
188 #define DialogBoxIndirectParam DialogBoxIndirectParamW
189 #define DialogBox DialogBoxW
190 #define DialogBoxIndirect DialogBoxIndirectW
191 #define RegisterClipboardFormat RegisterClipboardFormatW
192 #define SetDlgItemText SetDlgItemTextW
193 #define GetDlgItemText GetDlgItemTextW
194 #define SendDlgItemMessage SendDlgItemMessageW
195 #define DefDlgProc DefDlgProcW
196 #define CallMsgFilter CallMsgFilterW
197 #define GetClipboardFormatName GetClipboardFormatNameW
198 #define CharToOem CharToOemW
199 #define OemToChar OemToCharW
200 #define CharToOemBuff CharToOemBuffW
201 #define OemToCharBuff OemToCharBuffW
202 #define CharUpper CharUpperW
203 #define CharUpperBuff CharUpperBuffW
204 #define CharLower CharLowerW
205 #define CharLowerBuff CharLowerBuffW
206 #define CharNext CharNextW
207 #define CharPrev CharPrevW
208 #define IsCharAlpha IsCharAlphaW
209 #define IsCharAlphaNumeric IsCharAlphaNumericW
210 #define IsCharUpper IsCharUpperW
211 #define IsCharLower IsCharLowerW
212 #define GetKeyNameText GetKeyNameTextW
213 #define VkKeyScan VkKeyScanW
214 #define VkKeyScanEx VkKeyScanExW
215 #define MapVirtualKey MapVirtualKeyW
216 #define MapVirtualKeyEx MapVirtualKeyExW
217 #define LoadAccelerators LoadAcceleratorsW
218 #define CreateAcceleratorTable CreateAcceleratorTableW
219 #define CopyAcceleratorTable CopyAcceleratorTableW
220 #define TranslateAccelerator TranslateAcceleratorW
221 #define LoadMenu LoadMenuW
222 #define LoadMenuIndirect LoadMenuIndirectW
223 #define ChangeMenu ChangeMenuW
224 #define GetMenuString GetMenuStringW
225 #define InsertMenu InsertMenuW
226 #define AppendMenu AppendMenuW
227 #define ModifyMenu ModifyMenuW
228 #define InsertMenuItem InsertMenuItemW
229 #define GetMenuItemInfo GetMenuItemInfoW
230 #define SetMenuItemInfo SetMenuItemInfoW
231 #define DrawText DrawTextW
232 #define DrawTextEx DrawTextExW
233 #define GrayString GrayStringW
234 #define DrawState DrawStateW
235 #define TabbedTextOut TabbedTextOutW
236 #define GetTabbedTextExtent GetTabbedTextExtentW
237 #define GetVersionEx GetVersionExW
238 #define wvsprintf wvsprintfW
239 #define wsprintf wsprintfW
240 #define LoadKeyboardLayout LoadKeyboardLayoutW
241 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
242 #define CreateDesktop CreateDesktopW
243 #define OpenDesktop OpenDesktopW
244 #define EnumDesktops EnumDesktopsW
245 #define CreateWindowStation CreateWindowStationW
246 #define OpenWindowStation OpenWindowStationW
247 #define EnumWindowStations EnumWindowStationsW
248 #define IsBadStringPtr IsBadStringPtrW
249 #define LookupAccountSid LookupAccountSidW
250 #define LookupAccountName LookupAccountNameW
251 #define LookupPrivilegeValue LookupPrivilegeValueW
252 #define LookupPrivilegeName LookupPrivilegeNameW
253 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
254 #define BuildCommDCB BuildCommDCBW
255 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
256 #define CommConfigDialog CommConfigDialogW
257 #define GetDefaultCommConfig GetDefaultCommConfigW
258 #define SetDefaultCommConfig SetDefaultCommConfigW
259 #define GetComputerName GetComputerNameW
260 #define SetComputerName SetComputerNameW
261 #define GetUserName GetUserNameW
262 #define CreateMailslot CreateMailslotW
263 #define FormatMessage FormatMessageW
264 #define GetEnvironmentStrings GetEnvironmentStringsW
265 #define FreeEnvironmentStrings FreeEnvironmentStringsW
266 #define lstrcmp lstrcmpW
267 #define lstrcmpi lstrcmpiW
268 #define lstrcpyn lstrcpynW
269 #define lstrcpy lstrcpyW
270 #define lstrcat lstrcatW
271 #define lstrlen lstrlenW
272 #define GetBinaryType GetBinaryTypeW
273 #define GetShortPathName GetShortPathNameW
274 #define SetFileSecurity SetFileSecurityW
275 #define GetFileSecurity GetFileSecurityW
276 #define FindFirstChangeNotification FindFirstChangeNotificationW
277 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
278 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
279 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
280 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
281 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
282 #define OpenEventLog OpenEventLogW
283 #define RegisterEventSource RegisterEventSourceW
284 #define OpenBackupEventLog OpenBackupEventLogW
285 #define ReadEventLog ReadEventLogW
286 #define ReportEvent ReportEventW
287 #define CreateProcess CreateProcessW
288 #define FatalAppExit FatalAppExitW
289 #define GetStartupInfo GetStartupInfoW
290 #define GetEnvironmentVariable GetEnvironmentVariableW
291 #define GetCommandLine GetCommandLineW
292 #define SetEnvironmentVariable SetEnvironmentVariableW
293 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
294 #define OutputDebugString OutputDebugStringW
295 #define FindResource FindResourceW
296 #define FindResourceEx FindResourceExW
297 #define EnumResourceTypes EnumResourceTypesW
298 #define EnumResourceNames EnumResourceNamesW
299 #define EnumResourceLanguages EnumResourceLanguagesW
300 #define BeginUpdateResource BeginUpdateResourceW
301 #define UpdateResource UpdateResourceW
302 #define EndUpdateResource EndUpdateResourceW
303 #define GlobalAddAtom GlobalAddAtomW
304 #define GlobalFindAtom GlobalFindAtomW
305 #define GlobalGetAtomName GlobalGetAtomNameW
306 #define AddAtom AddAtomW
307 #define FindAtom FindAtomW
308 #define GetAtomName GetAtomNameW
309 #define GetProfileInt GetProfileIntW
310 #define GetProfileString GetProfileStringW
311 #define WriteProfileString WriteProfileStringW
312 #define GetProfileSection GetProfileSectionW
313 #define WriteProfileSection WriteProfileSectionW
314 #define GetPrivateProfileInt GetPrivateProfileIntW
315 #define GetPrivateProfileString GetPrivateProfileStringW
316 #define WritePrivateProfileString WritePrivateProfileStringW
317 #define GetPrivateProfileSection GetPrivateProfileSectionW
318 #define WritePrivateProfileSection WritePrivateProfileSectionW
319 #define GetDriveType GetDriveTypeW
320 #define GetSystemDirectory GetSystemDirectoryW
321 #define GetTempPath GetTempPathW
322 #define GetTempFileName GetTempFileNameW
323 #define GetWindowsDirectory GetWindowsDirectoryW
324 #define SetCurrentDirectory SetCurrentDirectoryW
325 #define GetCurrentDirectory GetCurrentDirectoryW
326 #define GetDiskFreeSpace GetDiskFreeSpaceW
327 #define CreateDirectory CreateDirectoryW
328 #define CreateDirectoryEx CreateDirectoryExW
329 #define RemoveDirectory RemoveDirectoryW
330 #define GetFullPathName GetFullPathNameW
331 #define DefineDosDevice DefineDosDeviceW
332 #define QueryDosDevice QueryDosDeviceW
333 #define CreateFile CreateFileW
334 #define SetFileAttributes SetFileAttributesW
335 #define GetFileAttributes GetFileAttributesW
336 #define GetCompressedFileSize GetCompressedFileSizeW
337 #define DeleteFile DeleteFileW
338 #define FindFirstFile FindFirstFileW
339 #define FindNextFile FindNextFileW
340 #define SearchPath SearchPathW
341 #define CopyFile CopyFileW
342 #define MoveFile MoveFileW
343 #define MoveFileEx MoveFileExW
344 #define CreateNamedPipe CreateNamedPipeW
345 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
346 #define CallNamedPipe CallNamedPipeW
347 #define WaitNamedPipe WaitNamedPipeW
348 #define SetVolumeLabel SetVolumeLabelW
349 #define GetVolumeInformation GetVolumeInformationW
350 #define ClearEventLog ClearEventLogW
351 #define BackupEventLog BackupEventLogW
352 #define CreateMutex CreateMutexW
353 #define OpenMutex OpenMutexW
354 #define CreateEvent CreateEventW
355 #define OpenEvent OpenEventW
356 #define CreateSemaphore CreateSemaphoreW
357 #define OpenSemaphore OpenSemaphoreW
358 #define CreateFileMapping CreateFileMappingW
359 #define OpenFileMapping OpenFileMappingW
360 #define GetLogicalDriveStrings GetLogicalDriveStringsW
361 #define LoadLibrary LoadLibraryW
362 #define LoadLibraryEx LoadLibraryExW
363 #define GetModuleFileName GetModuleFileNameW
364 #define GetModuleHandle GetModuleHandleW
365 #define GetUserObjectInformation GetUserObjectInformationW
366 #define SetUserObjectInformation SetUserObjectInformationW
367 #define RegisterWindowMessage RegisterWindowMessageW
368 #define GetMessage GetMessageW
369 #define DispatchMessage DispatchMessageW
370 #define PeekMessage PeekMessageW
371 #define SendMessage SendMessageW
372 #define SendMessageTimeout SendMessageTimeoutW
373 #define SendNotifyMessage SendNotifyMessageW
374 #define SendMessageCallback SendMessageCallbackW
375 #define PostMessage PostMessageW
376 #define PostThreadMessage PostThreadMessageW
377 #define VerFindFile VerFindFileW
378 #define VerInstallFile VerInstallFileW
379 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
380 #define GetFileVersionInfo GetFileVersionInfoW
381 #define VerLanguageName VerLanguageNameW
382 #define VerQueryValue VerQueryValueW
383 #define CompareString CompareStringW
384 #define LCMapString LCMapStringW
385 #define GetLocaleInfo GetLocaleInfoW
386 #define SetLocaleInfo SetLocaleInfoW
387 #define GetTimeFormat GetTimeFormatW
388 #define GetDateFormat GetDateFormatW
389 #define GetNumberFormat GetNumberFormatW
390 #define GetCurrencyFormat GetCurrencyFormatW
391 #define EnumCalendarInfo EnumCalendarInfoW
392 #define EnumTimeFormats EnumTimeFormatsW
393 #define FoldString FoldStringW
394 #define EnumSystemCodePages EnumSystemCodePagesW
395 #define EnumSystemLocales EnumSystemLocalesW
396 #define GetStringTypeEx GetStringTypeExW
397 #define EnumDateFormats EnumDateFormatsW
398 #define GetConsoleTitle GetConsoleTitleW
399 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
400 #define SetConsoleTitle SetConsoleTitleW
401 #define ReadConsole ReadConsoleW
402 #define WriteConsole WriteConsoleW
403 #define PeekConsoleInput PeekConsoleInputW
404 #define ReadConsoleInput ReadConsoleInputW
405 #define WriteConsoleInput WriteConsoleInputW
406 #define ReadConsoleOutput ReadConsoleOutputW
407 #define WriteConsoleOutput WriteConsoleOutputW
408 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
409 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
410 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
411 #define WNetGetProviderName WNetGetProviderNameW
412 #define WNetGetNetworkInformation WNetGetNetworkInformationW
413 #define WNetGetLastError WNetGetLastErrorW
414 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
415 #define WNetConnectionDialog1 WNetConnectionDialog1W
416 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
417 #define WNetOpenEnum WNetOpenEnumW
418 #define WNetEnumResource WNetEnumResourceW
419 #define WNetGetUniversalName WNetGetUniversalNameW
420 #define WNetGetUser WNetGetUserW
421 #define WNetAddConnection WNetAddConnectionW
422 #define WNetAddConnection2 WNetAddConnection2W
423 #define WNetAddConnection3 WNetAddConnection3W
424 #define WNetCancelConnection WNetCancelConnectionW
425 #define WNetCancelConnection2 WNetCancelConnection2W
426 #define WNetGetConnection WNetGetConnectionW
427 #define WNetUseConnection WNetUseConnectionW
428 #define WNetSetConnection WNetSetConnectionW
429 #define CreateService CreateServiceW
430 #define ChangeServiceConfig ChangeServiceConfigW
431 #define EnumDependentServices EnumDependentServicesW
432 #define EnumServicesStatus EnumServicesStatusW
433 #define GetServiceKeyName GetServiceKeyNameW
434 #define GetServiceDisplayName GetServiceDisplayNameW
435 #define OpenSCManager OpenSCManagerW
436 #define OpenService OpenServiceW
437 #define QueryServiceConfig QueryServiceConfigW
438 #define QueryServiceLockStatus QueryServiceLockStatusW
439 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
440 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
441 #define StartService StartServiceW
442 #define DragQueryFile DragQueryFileW
443 #define ExtractAssociatedIcon ExtractAssociatedIconW
444 #define ExtractIcon ExtractIconW
445 #define FindExecutable FindExecutableW
446 #define ShellAbout ShellAboutW
447 #define ShellExecute ShellExecuteW
448 #define DdeCreateStringHandle DdeCreateStringHandleW
449 #define DdeInitialize DdeInitializeW
450 #define DdeQueryString DdeQueryStringW
451 #define LogonUser LogonUserW
452 #define CreateProcessAsUser CreateProcessAsUserW
457 #define RegConnectRegistry RegConnectRegistryA
458 #define RegCreateKey RegCreateKeyA
459 #define RegCreateKeyEx RegCreateKeyExA
460 #define RegDeleteKey RegDeleteKeyA
461 #define RegDeleteValue RegDeleteValueA
462 #define RegEnumKey RegEnumKeyA
463 #define RegEnumKeyEx RegEnumKeyExA
464 #define RegEnumValue RegEnumValueA
465 #define RegLoadKey RegLoadKeyA
466 #define RegOpenKey RegOpenKeyA
467 #define RegOpenKeyEx RegOpenKeyExA
468 #define RegQueryInfoKey RegQueryInfoKeyA
469 #define RegQueryValue RegQueryValueA
470 #define RegQueryMultipleValues RegQueryMultipleValuesA
471 #define RegQueryValueEx RegQueryValueExA
472 #define RegReplaceKey RegReplaceKeyA
473 #define RegRestoreKey RegRestoreKeyA
474 #define RegSaveKey RegSaveKeyA
475 #define RegSetValue RegSetValueA
476 #define RegSetValueEx RegSetValueExA
477 #define AbortSystemShutdown AbortSystemShutdownA
478 #define InitiateSystemShutdown InitiateSystemShutdownA
479 #define RegUnLoadKey RegUnLoadKeyA
480 #define LoadIcon LoadIconA
481 #define LoadImage LoadImageA
482 #define LoadString LoadStringA
483 #define IsDialogMessage IsDialogMessageA
484 #define DlgDirList DlgDirListA
485 #define DlgDirSelectEx DlgDirSelectExA
486 #define DlgDirListComboBox DlgDirListComboBoxA
487 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
488 #define DefFrameProc DefFrameProcA
489 #define DefMDIChildProc DefMDIChildProcA
490 #define CreateMDIWindow CreateMDIWindowA
491 #define WinHelp WinHelpA
492 #define ChangeDisplaySettings ChangeDisplaySettingsA
493 #define EnumDisplaySettings EnumDisplaySettingsA
494 #define SystemParametersInfo SystemParametersInfoA
495 #define GetWindowLong GetWindowLongA
496 #define SetWindowLong SetWindowLongA
497 #define GetClassLong GetClassLongA
498 #define SetClassLong SetClassLongA
499 #define FindWindow FindWindowA
500 #define FindWindowEx FindWindowExA
501 #define GetClassName GetClassNameA
502 #define SetWindowsHookEx SetWindowsHookExA
503 #define LoadBitmap LoadBitmapA
504 #define LoadCursor LoadCursorA
505 #define LoadCursorFromFile LoadCursorFromFileA
506 #define SetProp SetPropA
507 #define GetProp GetPropA
508 #define RemoveProp RemovePropA
509 #define EnumPropsEx EnumPropsExA
510 #define EnumProps EnumPropsA
511 #define SetWindowText SetWindowTextA
512 #define GetWindowText GetWindowTextA
513 #define GetWindowTextLength GetWindowTextLengthA
514 #define MessageBox MessageBoxA
515 #define MessageBoxEx MessageBoxExA
516 #define MessageBoxIndirect MessageBoxIndirectA
517 #define AddFontResource AddFontResourceA
518 #define CopyMetaFile CopyMetaFileA
519 #define CreateDC CreateDCA
520 #define CreateFontIndirect CreateFontIndirectA
521 #define CreateFont CreateFontA
522 #define CreateIC CreateICA
523 #define CreateMetaFile CreateMetaFileA
524 #define CreateScalableFontResource CreateScalableFontResourceA
525 #define DeviceCapabilities DeviceCapabilitiesA
526 #define EnumFontFamiliesEx EnumFontFamiliesExA
527 #define EnumFontFamilies EnumFontFamiliesA
528 #define EnumFonts EnumFontsA
529 #define GetCharWidth GetCharWidthA
530 #define GetCharWidth32 GetCharWidth32A
531 #define GetCharWidthFloat GetCharWidthFloatA
532 #define GetCharABCWidths GetCharABCWidthsA
533 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
534 #define GetGlyphOutline GetGlyphOutlineA
535 #define GetMetaFile GetMetaFileA
536 #define GetOutlineTextMetrics GetOutlineTextMetricsA
537 #define GetTextExtentPoint GetTextExtentPointA
538 #define GetTextExtentPoint32 GetTextExtentPoint32A
539 #define GetTextExtentExPoint GetTextExtentExPointA
540 #define GetCharacterPlacement GetCharacterPlacementA
541 #define ResetDC ResetDCA
542 #define RemoveFontResource RemoveFontResourceA
543 #define CopyEnhMetaFile CopyEnhMetaFileA
544 #define CreateEnhMetaFile CreateEnhMetaFileA
545 #define GetEnhMetaFile GetEnhMetaFileA
546 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
547 #define GetTextMetrics GetTextMetricsA
548 #define StartDoc StartDocA
549 #define GetObject GetObjectA
550 #define TextOut TextOutA
551 #define ExtTextOut ExtTextOutA
552 #define PolyTextOut PolyTextOutA
553 #define GetTextFace GetTextFaceA
554 #define GetKerningPairs GetKerningPairsA
555 #define GetLogColorSpace GetLogColorSpaceA
556 #define CreateColorSpace CreateColorSpaceA
557 #define GetICMProfile GetICMProfileA
558 #define SetICMProfile SetICMProfileA
559 #define UpdateICMRegKey UpdateICMRegKeyA
560 #define EnumICMProfiles EnumICMProfilesA
561 #define CreatePropertySheetPage CreatePropertySheetPageA
562 #define PropertySheet PropertySheetA
563 #define ImageList_LoadImage ImageList_LoadImageA
564 #define CreateStatusWindow CreateStatusWindowA
565 #define DrawStatusText DrawStatusTextA
566 #define GetOpenFileName GetOpenFileNameA
567 #define GetSaveFileName GetSaveFileNameA
568 #define GetFileTitle GetFileTitleA
569 #define ChooseColor ChooseColorA
570 #define FindText FindTextA
571 #define ReplaceText ReplaceTextA
572 #define ChooseFont ChooseFontA
573 #define PrintDlg PrintDlgA
574 #define PageSetupDlg PageSetupDlgA
575 #define DefWindowProc DefWindowProcA
576 #define CallWindowProc CallWindowProcA
577 #define RegisterClass RegisterClassA
578 #define UnregisterClass UnregisterClassA
579 #define GetClassInfo GetClassInfoA
580 #define RegisterClassEx RegisterClassExA
581 #define GetClassInfoEx GetClassInfoExA
582 #define CreateWindowEx CreateWindowExA
583 #define CreateWindow CreateWindowA
584 #define CreateDialogParam CreateDialogParamA
585 #define CreateDialogIndirectParam CreateDialogIndirectParamA
586 #define CreateDialog CreateDialogA
587 #define CreateDialogIndirect CreateDialogIndirectA
588 #define DialogBoxParam DialogBoxParamA
589 #define DialogBoxIndirectParam DialogBoxIndirectParamA
590 #define DialogBox DialogBoxA
591 #define DialogBoxIndirect DialogBoxIndirectA
592 #define RegisterClipboardFormat RegisterClipboardFormatA
593 #define SetDlgItemText SetDlgItemTextA
594 #define GetDlgItemText GetDlgItemTextA
595 #define SendDlgItemMessage SendDlgItemMessageA
596 #define DefDlgProc DefDlgProcA
597 #define CallMsgFilter CallMsgFilterA
598 #define GetClipboardFormatName GetClipboardFormatNameA
599 #define CharToOem CharToOemA
600 #define OemToChar OemToCharA
601 #define CharToOemBuff CharToOemBuffA
602 #define OemToCharBuff OemToCharBuffA
603 #define CharUpper CharUpperA
604 #define CharUpperBuff CharUpperBuffA
605 #define CharLower CharLowerA
606 #define CharLowerBuff CharLowerBuffA
607 #define CharNext CharNextA
608 #define CharPrev CharPrevA
609 #define IsCharAlpha IsCharAlphaA
610 #define IsCharAlphaNumeric IsCharAlphaNumericA
611 #define IsCharUpper IsCharUpperA
612 #define IsCharLower IsCharLowerA
613 #define GetKeyNameText GetKeyNameTextA
614 #define VkKeyScan VkKeyScanA
615 #define VkKeyScanEx VkKeyScanExA
616 #define MapVirtualKey MapVirtualKeyA
617 #define MapVirtualKeyEx MapVirtualKeyExA
618 #define LoadAccelerators LoadAcceleratorsA
619 #define CreateAcceleratorTable CreateAcceleratorTableA
620 #define CopyAcceleratorTable CopyAcceleratorTableA
621 #define TranslateAccelerator TranslateAcceleratorA
622 #define LoadMenu LoadMenuA
623 #define LoadMenuIndirect LoadMenuIndirectA
624 #define ChangeMenu ChangeMenuA
625 #define GetMenuString GetMenuStringA
626 #define InsertMenu InsertMenuA
627 #define AppendMenu AppendMenuA
628 #define ModifyMenu ModifyMenuA
629 #define InsertMenuItem InsertMenuItemA
630 #define GetMenuItemInfo GetMenuItemInfoA
631 #define SetMenuItemInfo SetMenuItemInfoA
632 #define DrawText DrawTextA
633 #define DrawTextEx DrawTextExA
634 #define GrayString GrayStringA
635 #define DrawState DrawStateA
636 #define TabbedTextOut TabbedTextOutA
637 #define GetTabbedTextExtent GetTabbedTextExtentA
638 #define GetVersionEx GetVersionExA
639 #define wvsprintf wvsprintfA
640 #define wsprintf wsprintfA
641 #define LoadKeyboardLayout LoadKeyboardLayoutA
642 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
643 #define CreateDesktop CreateDesktopA
644 #define OpenDesktop OpenDesktopA
645 #define EnumDesktops EnumDesktopsA
646 #define CreateWindowStation CreateWindowStationA
647 #define OpenWindowStation OpenWindowStationA
648 #define EnumWindowStations EnumWindowStationsA
649 #define IsBadStringPtr IsBadStringPtrA
650 #define LookupAccountSid LookupAccountSidA
651 #define LookupAccountName LookupAccountNameA
652 #define LookupPrivilegeValue LookupPrivilegeValueA
653 #define LookupPrivilegeName LookupPrivilegeNameA
654 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
655 #define BuildCommDCB BuildCommDCBA
656 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
657 #define CommConfigDialog CommConfigDialogA
658 #define GetDefaultCommConfig GetDefaultCommConfigA
659 #define SetDefaultCommConfig SetDefaultCommConfigA
660 #define GetComputerName GetComputerNameA
661 #define SetComputerName SetComputerNameA
662 #define GetUserName GetUserNameA
663 #define CreateMailslot CreateMailslotA
664 #define FormatMessage FormatMessageA
665 #define GetEnvironmentStrings GetEnvironmentStringsA
666 #define FreeEnvironmentStrings FreeEnvironmentStringsA
667 #define lstrcmp lstrcmpA
668 #define lstrcmpi lstrcmpiA
669 #define lstrcpyn lstrcpynA
670 #define lstrcpy lstrcpyA
671 #define lstrcat lstrcatA
672 #define lstrlen lstrlenA
673 #define GetBinaryType GetBinaryTypeA
674 #define GetShortPathName GetShortPathNameA
675 #define SetFileSecurity SetFileSecurityA
676 #define GetFileSecurity GetFileSecurityA
677 #define FindFirstChangeNotification FindFirstChangeNotificationA
678 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
679 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
680 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
681 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
682 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
683 #define OpenEventLog OpenEventLogA
684 #define RegisterEventSource RegisterEventSourceA
685 #define OpenBackupEventLog OpenBackupEventLogA
686 #define ReadEventLog ReadEventLogA
687 #define ReportEvent ReportEventA
688 #define CreateProcess CreateProcessA
689 #define FatalAppExit FatalAppExitA
690 #define GetStartupInfo GetStartupInfoA
691 #define GetCommandLine GetCommandLineA
692 #define GetEnvironmentVariable GetEnvironmentVariableA
693 #define SetEnvironmentVariable SetEnvironmentVariableA
694 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
695 #define OutputDebugString OutputDebugStringA
696 #define FindResource FindResourceA
697 #define FindResourceEx FindResourceExA
698 #define EnumResourceTypes EnumResourceTypesA
699 #define EnumResourceNames EnumResourceNamesA
700 #define EnumResourceLanguages EnumResourceLanguagesA
701 #define BeginUpdateResource BeginUpdateResourceA
702 #define UpdateResource UpdateResourceA
703 #define EndUpdateResource EndUpdateResourceA
704 #define GlobalAddAtom GlobalAddAtomA
705 #define GlobalFindAtom GlobalFindAtomA
706 #define GlobalGetAtomName GlobalGetAtomNameA
707 #define AddAtom AddAtomA
708 #define FindAtom FindAtomA
709 #define GetProfileInt GetProfileIntA
710 #define GetAtomName GetAtomNameA
711 #define GetProfileString GetProfileStringA
712 #define WriteProfileString WriteProfileStringA
713 #define GetProfileSection GetProfileSectionA
714 #define WriteProfileSection WriteProfileSectionA
715 #define GetPrivateProfileInt GetPrivateProfileIntA
716 #define GetPrivateProfileString GetPrivateProfileStringA
717 #define WritePrivateProfileString WritePrivateProfileStringA
718 #define GetPrivateProfileSection GetPrivateProfileSectionA
719 #define WritePrivateProfileSection WritePrivateProfileSectionA
720 #define GetDriveType GetDriveTypeA
721 #define GetSystemDirectory GetSystemDirectoryA
722 #define GetTempPath GetTempPathA
723 #define GetTempFileName GetTempFileNameA
724 #define GetWindowsDirectory GetWindowsDirectoryA
725 #define SetCurrentDirectory SetCurrentDirectoryA
726 #define GetCurrentDirectory GetCurrentDirectoryA
727 #define GetDiskFreeSpace GetDiskFreeSpaceA
728 #define CreateDirectory CreateDirectoryA
729 #define CreateDirectoryEx CreateDirectoryExA
730 #define RemoveDirectory RemoveDirectoryA
731 #define GetFullPathName GetFullPathNameA
732 #define DefineDosDevice DefineDosDeviceA
733 #define QueryDosDevice QueryDosDeviceA
734 #define CreateFile CreateFileA
735 #define SetFileAttributes SetFileAttributesA
736 #define GetFileAttributes GetFileAttributesA
737 #define GetCompressedFileSize GetCompressedFileSizeA
738 #define DeleteFile DeleteFileA
739 #define FindFirstFile FindFirstFileA
740 #define FindNextFile FindNextFileA
741 #define SearchPath SearchPathA
742 #define CopyFile CopyFileA
743 #define MoveFile MoveFileA
744 #define MoveFileEx MoveFileExA
745 #define CreateNamedPipe CreateNamedPipeA
746 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
747 #define CallNamedPipe CallNamedPipeA
748 #define WaitNamedPipe WaitNamedPipeA
749 #define SetVolumeLabel SetVolumeLabelA
750 #define GetVolumeInformation GetVolumeInformationA
751 #define ClearEventLog ClearEventLogA
752 #define BackupEventLog BackupEventLogA
753 #define CreateMutex CreateMutexA
754 #define OpenMutex OpenMutexA
755 #define CreateEvent CreateEventA
756 #define OpenEvent OpenEventA
757 #define CreateSemaphore CreateSemaphoreA
758 #define OpenSemaphore OpenSemaphoreA
759 #define CreateFileMapping CreateFileMappingA
760 #define OpenFileMapping OpenFileMappingA
761 #define GetLogicalDriveStrings GetLogicalDriveStringsA
762 #define LoadLibrary LoadLibraryA
763 #define LoadLibraryEx LoadLibraryExA
764 #define GetModuleFileName GetModuleFileNameA
765 #define GetModuleHandle GetModuleHandleA
766 #define GetUserObjectInformation GetUserObjectInformationA
767 #define SetUserObjectInformation SetUserObjectInformationA
768 #define RegisterWindowMessage RegisterWindowMessageA
769 #define GetMessage GetMessageA
770 #define DispatchMessage DispatchMessageA
771 #define PeekMessage PeekMessageA
772 #define SendMessage SendMessageA
773 #define SendMessageTimeout SendMessageTimeoutA
774 #define SendNotifyMessage SendNotifyMessageA
775 #define SendMessageCallback SendMessageCallbackA
776 #define PostMessage PostMessageA
777 #define PostThreadMessage PostThreadMessageA
778 #define VerFindFile VerFindFileA
779 #define VerInstallFile VerInstallFileA
780 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
781 #define GetFileVersionInfo GetFileVersionInfoA
782 #define VerLanguageName VerLanguageNameA
783 #define VerQueryValue VerQueryValueA
784 #define CompareString CompareStringA
785 #define LCMapString LCMapStringA
786 #define GetLocaleInfo GetLocaleInfoA
787 #define SetLocaleInfo SetLocaleInfoA
788 #define GetTimeFormat GetTimeFormatA
789 #define GetDateFormat GetDateFormatA
790 #define GetNumberFormat GetNumberFormatA
791 #define GetCurrencyFormat GetCurrencyFormatA
792 #define EnumCalendarInfo EnumCalendarInfoA
793 #define EnumTimeFormats EnumTimeFormatsA
794 #define FoldString FoldStringA
795 #define EnumSystemCodePages EnumSystemCodePagesA
796 #define EnumSystemLocales EnumSystemLocalesA
797 #define GetStringTypeEx GetStringTypeExA
798 #define EnumDateFormats EnumDateFormatsA
799 #define GetConsoleTitle GetConsoleTitleA
800 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
801 #define SetConsoleTitle SetConsoleTitleA
802 #define ReadConsole ReadConsoleA
803 #define WriteConsole WriteConsoleA
804 #define PeekConsoleInput PeekConsoleInputA
805 #define ReadConsoleInput ReadConsoleInputA
806 #define WriteConsoleInput WriteConsoleInputA
807 #define ReadConsoleOutput ReadConsoleOutputA
808 #define WriteConsoleOutput WriteConsoleOutputA
809 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
810 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
811 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
812 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
813 #define WNetGetLastError WNetGetLastErrorA
814 #define WNetGetProviderName WNetGetProviderNameA
815 #define WNetGetNetworkInformation WNetGetNetworkInformationA
816 #define WNetConnectionDialog1 WNetConnectionDialog1A
817 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
818 #define WNetOpenEnum WNetOpenEnumA
819 #define WNetEnumResource WNetEnumResourceA
820 #define WNetGetUniversalName WNetGetUniversalNameA
821 #define WNetGetUser WNetGetUserA
822 #define WNetAddConnection WNetAddConnectionA
823 #define WNetAddConnection2 WNetAddConnection2A
824 #define WNetAddConnection3 WNetAddConnection3A
825 #define WNetCancelConnection WNetCancelConnectionA
826 #define WNetCancelConnection2 WNetCancelConnection2A
827 #define WNetGetConnection WNetGetConnectionA
828 #define WNetUseConnection WNetUseConnectionA
829 #define WNetSetConnection WNetSetConnectionA
830 #define OpenService OpenServiceA
831 #define QueryServiceConfig QueryServiceConfigA
832 #define QueryServiceLockStatus QueryServiceLockStatusA
833 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
834 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
835 #define StartService StartServiceA
836 #define ChangeServiceConfig ChangeServiceConfigA
837 #define CreateService CreateServiceA
838 #define EnumDependentServices EnumDependentServicesA
839 #define EnumServicesStatus EnumServicesStatusA
840 #define GetServiceKeyName GetServiceKeyNameA
841 #define GetServiceDisplayName GetServiceDisplayNameA
842 #define OpenSCManager OpenSCManagerA
843 #define DragQueryFile DragQueryFileA
844 #define ExtractAssociatedIcon ExtractAssociatedIconA
845 #define ExtractIcon ExtractIconA
846 #define FindExecutable FindExecutableA
847 #define ShellAbout ShellAboutA
848 #define ShellExecute ShellExecuteA
849 #define DdeCreateStringHandle DdeCreateStringHandleA
850 #define DdeInitialize DdeInitializeA
851 #define DdeQueryString DdeQueryStringA
852 #define LogonUser LogonUserA
853 #define CreateProcessAsUser CreateProcessAsUserA
855 #endif /* UNICODE and ASCII defines */
857 WINBOOL STDCALL
AbnormalTermination(VOID
);
858 int STDCALL
AbortDoc(HDC
);
859 WINBOOL STDCALL
AbortPath(HDC
);
860 WINBOOL STDCALL
AbortPrinter(HANDLE
);
861 WINBOOL CALLBACK
AbortProc(HDC
, int);
862 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
863 WINBOOL STDCALL
AccessCheck(
864 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
867 PGENERIC_MAPPING GenericMapping
,
868 PPRIVILEGE_SET PrivilegeSet
,
869 LPDWORD PrivilegeSetLength
,
870 LPDWORD GrantedAccess
,
874 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
875 LPCTSTR SubsystemName
,
877 LPTSTR ObjectTypeName
,
879 PSECURITY_DESCRIPTOR SecurityDescriptor
,
881 PGENERIC_MAPPING GenericMapping
,
882 WINBOOL ObjectCreation
,
883 LPDWORD GrantedAccess
,
885 LPBOOL pfGenerateOnClose
890 InterlockedIncrement(
896 InterlockedDecrement(
908 InterlockedCompareExchange(
929 HINSTANCE hPrevInstance
,
943 FreeLibraryAndExitThread(
950 DisableThreadLibraryCalls(
1062 LPMEMORYSTATUS lpBuffer
1146 FlushInstructionCache(
1148 LPCVOID lpBaseAddress
,
1158 DWORD flAllocationType
,
1178 PDWORD lpflOldProtect
1186 PMEMORY_BASIC_INFORMATION lpBuffer
,
1198 PDWORD lpflOldProtect
1207 PMEMORY_BASIC_INFORMATION lpBuffer
,
1216 DWORD dwInitialSize
,
1276 GetProcessHeap( VOID
);
1281 DWORD NumberOfHeaps
,
1282 PHANDLE ProcessHeaps
1301 LPPROCESS_HEAP_ENTRY lpEntry
1306 GetProcessAffinityMask(
1308 LPDWORD lpProcessAffinityMask
,
1309 LPDWORD lpSystemAffinityMask
1316 LPFILETIME lpCreationTime
,
1317 LPFILETIME lpExitTime
,
1318 LPFILETIME lpKernelTime
,
1319 LPFILETIME lpUserTime
1324 GetProcessWorkingSetSize(
1326 LPDWORD lpMinimumWorkingSetSize
,
1327 LPDWORD lpMaximumWorkingSetSize
1332 SetProcessWorkingSetSize(
1334 DWORD dwMinimumWorkingSetSize
,
1335 DWORD dwMaximumWorkingSetSize
1341 DWORD dwDesiredAccess
,
1342 WINBOOL bInheritHandle
,
1354 GetCurrentProcessId(
1362 ) __attribute__ ((noreturn
));
1387 DWORD dwExceptionCode
,
1388 DWORD dwExceptionFlags
,
1389 DWORD nNumberOfArguments
,
1390 CONST DWORD
*lpArguments
1395 UnhandledExceptionFilter(
1396 struct _EXCEPTION_POINTERS
*ExceptionInfo
1400 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1401 LPTOP_LEVEL_EXCEPTION_FILTER
1403 SetUnhandledExceptionFilter(
1404 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1412 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1414 LPTHREAD_START_ROUTINE lpStartAddress
,
1416 DWORD dwCreationFlags
,
1425 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1427 LPTHREAD_START_ROUTINE lpStartAddress
,
1429 DWORD dwCreationFlags
,
1450 SetThreadAffinityMask(
1452 DWORD dwThreadAffinityMask
1475 LPFILETIME lpCreationTime
,
1476 LPFILETIME lpExitTime
,
1477 LPFILETIME lpKernelTime
,
1478 LPFILETIME lpUserTime
1506 GetThreadSelectorEntry(
1509 LPLDT_ENTRY lpSelectorEntry
1529 GetOverlappedResult(
1531 LPOVERLAPPED lpOverlapped
,
1532 LPDWORD lpNumberOfBytesTransferred
,
1539 CreateIoCompletionPort(
1541 HANDLE ExistingCompletionPort
,
1542 DWORD CompletionKey
,
1543 DWORD NumberOfConcurrentThreads
1549 GetQueuedCompletionStatus(
1550 HANDLE CompletionPort
,
1551 LPDWORD lpNumberOfBytesTransferred
,
1552 LPDWORD lpCompletionKey
,
1553 LPOVERLAPPED
*lpOverlapped
,
1554 DWORD dwMilliseconds
1568 LPCVOID lpBaseAddress
,
1571 LPDWORD lpNumberOfBytesRead
1579 LPVOID lpBaseAddress
,
1582 LPDWORD lpNumberOfBytesWritten
1598 CONST CONTEXT
*lpContext
1626 LPDEBUG_EVENT lpDebugEvent
,
1627 DWORD dwMilliseconds
1636 DWORD dwContinueStatus
1649 InitializeCriticalSection(
1650 LPCRITICAL_SECTION lpCriticalSection
1656 EnterCriticalSection(
1657 LPCRITICAL_SECTION lpCriticalSection
1663 LeaveCriticalSection(
1664 LPCRITICAL_SECTION lpCriticalSection
1670 DeleteCriticalSection(
1671 LPCRITICAL_SECTION lpCriticalSection
1701 LPLONG lpPreviousCount
1714 WaitForSingleObject(
1716 DWORD dwMilliseconds
1722 WaitForMultipleObjects(
1724 CONST HANDLE
*lpHandles
,
1726 DWORD dwMilliseconds
1733 DWORD dwMilliseconds
1793 DWORD dwFileOffsetLow
,
1794 DWORD dwFileOffsetHigh
,
1795 DWORD nNumberOfBytesToLockLow
,
1796 DWORD nNumberOfBytesToLockHigh
1804 DWORD dwFileOffsetLow
,
1805 DWORD dwFileOffsetHigh
,
1806 DWORD nNumberOfBytesToUnlockLow
,
1807 DWORD nNumberOfBytesToUnlockHigh
1817 DWORD nNumberOfBytesToLockLow
,
1818 DWORD nNumberOfBytesToLockHigh
,
1819 LPOVERLAPPED lpOverlapped
1827 DWORD nNumberOfBytesToUnlockLow
,
1828 DWORD nNumberOfBytesToUnlockHigh
,
1829 LPOVERLAPPED lpOverlapped
1834 GetFileInformationByHandle(
1836 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1851 LPDWORD lpFileSizeHigh
1875 DWORD nNumberOfBytesToWrite
,
1876 LPDWORD lpNumberOfBytesWritten
,
1877 LPOVERLAPPED lpOverlapped
1886 DWORD nNumberOfBytesToRead
,
1887 LPDWORD lpNumberOfBytesRead
,
1888 LPOVERLAPPED lpOverlapped
1903 DWORD dwIoControlCode
,
1905 DWORD nInBufferSize
,
1907 DWORD nOutBufferSize
,
1908 LPDWORD lpBytesReturned
,
1909 LPOVERLAPPED lpOverlapped
1924 LONG lDistanceToMove
,
1925 PLONG lpDistanceToMoveHigh
,
1941 LPFILETIME lpCreationTime
,
1942 LPFILETIME lpLastAccessTime
,
1943 LPFILETIME lpLastWriteTime
1951 CONST FILETIME
*lpCreationTime
,
1952 CONST FILETIME
*lpLastAccessTime
,
1953 CONST FILETIME
*lpLastWriteTime
1967 HANDLE hSourceProcessHandle
,
1968 HANDLE hSourceHandle
,
1969 HANDLE hTargetProcessHandle
,
1970 LPHANDLE lpTargetHandle
,
1971 DWORD dwDesiredAccess
,
1972 WINBOOL bInheritHandle
,
1979 GetHandleInformation(
1987 SetHandleInformation(
1996 LPCSTR lpModuleName
,
1997 LPVOID lpParameterBlock
2063 LPCOMMPROP lpCommProp
2087 LPCOMMTIMEOUTS lpCommTimeouts
2135 LPCOMMTIMEOUTS lpCommTimeouts
2152 LPOVERLAPPED lpOverlapped
2161 DWORD dwPositionMethod
,
2173 DWORD dwPositionType
,
2174 LPDWORD lpdwPartition
,
2175 LPDWORD lpdwOffsetLow
,
2176 LPDWORD lpdwOffsetHigh
2200 CreateTapePartition(
2202 DWORD dwPartitionMethod
,
2212 DWORD dwTapemarkType
,
2213 DWORD dwTapemarkCount
,
2231 LPVOID lpTapeInformation
2239 LPVOID lpTapeInformation
2388 LPSYSTEMTIME lpSystemTime
2395 CONST SYSTEMTIME
*lpSystemTime
2402 LPSYSTEMTIME lpSystemTime
2409 CONST SYSTEMTIME
*lpSystemTime
2416 LPSYSTEM_INFO lpSystemInfo
2421 SystemTimeToTzSpecificLocalTime(
2422 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2423 LPSYSTEMTIME lpUniversalTime
,
2424 LPSYSTEMTIME lpLocalTime
2430 GetTimeZoneInformation(
2431 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2437 SetTimeZoneInformation(
2438 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2443 SystemTimeToFileTime(
2444 CONST SYSTEMTIME
*lpSystemTime
,
2445 LPFILETIME lpFileTime
2451 FileTimeToLocalFileTime(
2452 CONST FILETIME
*lpFileTime
,
2453 LPFILETIME lpLocalFileTime
2459 LocalFileTimeToFileTime(
2460 CONST FILETIME
*lpLocalFileTime
,
2461 LPFILETIME lpFileTime
2467 FileTimeToSystemTime(
2468 CONST FILETIME
*lpFileTime
,
2469 LPSYSTEMTIME lpSystemTime
2476 CONST FILETIME
*lpFileTime1
,
2477 CONST FILETIME
*lpFileTime2
2483 FileTimeToDosDateTime(
2484 CONST FILETIME
*lpFileTime
,
2492 DosDateTimeToFileTime(
2495 LPFILETIME lpFileTime
2508 SetSystemTimeAdjustment(
2509 DWORD dwTimeAdjustment
,
2510 WINBOOL bTimeAdjustmentDisabled
2516 GetSystemTimeAdjustment(
2517 PDWORD lpTimeAdjustment
,
2518 PDWORD lpTimeIncrement
,
2519 PWINBOOL lpTimeAdjustmentDisabled
2528 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2537 LPOVERLAPPED lpOverlapped
2543 DisconnectNamedPipe(
2550 SetNamedPipeHandleState(
2553 LPDWORD lpMaxCollectionCount
,
2554 LPDWORD lpCollectDataTimeout
2563 LPDWORD lpOutBufferSize
,
2564 LPDWORD lpInBufferSize
,
2565 LPDWORD lpMaxInstances
2575 LPDWORD lpBytesRead
,
2576 LPDWORD lpTotalBytesAvail
,
2577 LPDWORD lpBytesLeftThisMessage
2586 DWORD nInBufferSize
,
2588 DWORD nOutBufferSize
,
2589 LPDWORD lpBytesRead
,
2590 LPOVERLAPPED lpOverlapped
2599 LPDWORD lpMaxMessageSize
,
2601 LPDWORD lpMessageCount
,
2602 LPDWORD lpReadTimeout
2617 HANDLE hFileMappingObject
,
2618 DWORD dwDesiredAccess
,
2619 DWORD dwFileOffsetHigh
,
2620 DWORD dwFileOffsetLow
,
2621 DWORD dwNumberOfBytesToMap
2628 LPCVOID lpBaseAddress
,
2629 DWORD dwNumberOfBytesToFlush
2636 LPVOID lpBaseAddress
2643 LPOFSTRUCT lpReOpenBuff
,
2719 CONST LPVOID lpBuffer
,
2755 DWORD dwMilliseconds
,
2762 WaitForSingleObjectEx(
2764 DWORD dwMilliseconds
,
2771 WaitForMultipleObjectsEx(
2773 CONST HANDLE
*lpHandles
,
2775 DWORD dwMilliseconds
,
2785 DWORD nNumberOfBytesToRead
,
2786 LPOVERLAPPED lpOverlapped
,
2787 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2796 DWORD nNumberOfBytesToWrite
,
2797 LPOVERLAPPED lpOverlapped
,
2798 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2807 DWORD nNumberOfBytesToRead
,
2808 LPDWORD lpNumberOfBytesRead
,
2810 WINBOOL bProcessSecurity
,
2819 DWORD dwLowBytesToSeek
,
2820 DWORD dwHighBytesToSeek
,
2821 LPDWORD lpdwLowByteSeeked
,
2822 LPDWORD lpdwHighByteSeeked
,
2832 DWORD nNumberOfBytesToWrite
,
2833 LPDWORD lpNumberOfBytesWritten
,
2835 WINBOOL bProcessSecurity
,
2841 SetProcessShutdownParameters(
2849 GetProcessShutdownParameters(
2857 SetFileApisToOEM( VOID
);
2862 SetFileApisToANSI( VOID
);
2867 AreFileApisANSI( VOID
);
2878 DeregisterEventSource (
2885 NotifyChangeEventLog (
2893 GetNumberOfEventLogRecords (
2895 PDWORD NumberOfRecords
2901 GetOldestEventLogRecord (
2909 HANDLE ExistingTokenHandle
,
2910 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2911 PHANDLE DuplicateTokenHandle
2917 GetKernelObjectSecurity (
2919 SECURITY_INFORMATION RequestedInformation
,
2920 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2922 LPDWORD lpnLengthNeeded
2928 ImpersonateNamedPipeClient(
2935 ImpersonateLoggedOnUser(
2943 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2966 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2968 DWORD DesiredAccess
,
2969 PGENERIC_MAPPING GenericMapping
,
2970 PPRIVILEGE_SET PrivilegeSet
,
2971 LPDWORD PrivilegeSetLength
,
2972 LPDWORD GrantedAccess
,
2981 HANDLE ProcessHandle
,
2982 DWORD DesiredAccess
,
2991 HANDLE ThreadHandle
,
2992 DWORD DesiredAccess
,
3001 GetTokenInformation (
3003 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3004 LPVOID TokenInformation
,
3005 DWORD TokenInformationLength
,
3013 SetTokenInformation (
3015 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3016 LPVOID TokenInformation
,
3017 DWORD TokenInformationLength
3024 AdjustTokenPrivileges (
3026 WINBOOL DisableAllPrivileges
,
3027 PTOKEN_PRIVILEGES NewState
,
3029 PTOKEN_PRIVILEGES PreviousState
,
3039 WINBOOL ResetToDefault
,
3040 PTOKEN_GROUPS NewState
,
3042 PTOKEN_GROUPS PreviousState
,
3052 PPRIVILEGE_SET RequiredPrivileges
,
3086 GetSidLengthRequired (
3087 UCHAR nSubAuthorityCount
3094 AllocateAndInitializeSid (
3095 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3096 BYTE nSubAuthorityCount
,
3097 DWORD nSubAuthority0
,
3098 DWORD nSubAuthority1
,
3099 DWORD nSubAuthority2
,
3100 DWORD nSubAuthority3
,
3101 DWORD nSubAuthority4
,
3102 DWORD nSubAuthority5
,
3103 DWORD nSubAuthority6
,
3104 DWORD nSubAuthority7
,
3120 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3121 BYTE nSubAuthorityCount
3126 PSID_IDENTIFIER_AUTHORITY
3128 GetSidIdentifierAuthority (
3136 GetSidSubAuthority (
3145 GetSidSubAuthorityCount (
3162 DWORD nDestinationSidLength
,
3163 PSID pDestinationSid
,
3171 AreAllAccessesGranted (
3172 DWORD GrantedAccess
,
3180 AreAnyAccessesGranted (
3181 DWORD GrantedAccess
,
3191 PGENERIC_MAPPING GenericMapping
3218 LPVOID pAclInformation
,
3219 DWORD nAclInformationLength
,
3220 ACL_INFORMATION_CLASS dwAclInformationClass
3229 LPVOID pAclInformation
,
3230 DWORD nAclInformationLength
,
3231 ACL_INFORMATION_CLASS dwAclInformationClass
3240 DWORD dwAceRevision
,
3241 DWORD dwStartingAceIndex
,
3243 DWORD nAceListLength
3269 AddAccessAllowedAce (
3271 DWORD dwAceRevision
,
3280 AddAccessDeniedAce (
3282 DWORD dwAceRevision
,
3293 DWORD dwAceRevision
,
3296 WINBOOL bAuditSuccess
,
3297 WINBOOL bAuditFailure
3313 InitializeSecurityDescriptor (
3314 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3322 IsValidSecurityDescriptor (
3323 PSECURITY_DESCRIPTOR pSecurityDescriptor
3330 GetSecurityDescriptorLength (
3331 PSECURITY_DESCRIPTOR pSecurityDescriptor
3338 GetSecurityDescriptorControl (
3339 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3340 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3341 LPDWORD lpdwRevision
3348 SetSecurityDescriptorDacl (
3349 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3350 WINBOOL bDaclPresent
,
3352 WINBOOL bDaclDefaulted
3359 GetSecurityDescriptorDacl (
3360 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3361 LPBOOL lpbDaclPresent
,
3363 LPBOOL lpbDaclDefaulted
3370 SetSecurityDescriptorSacl (
3371 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3372 WINBOOL bSaclPresent
,
3374 WINBOOL bSaclDefaulted
3381 GetSecurityDescriptorSacl (
3382 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3383 LPBOOL lpbSaclPresent
,
3385 LPBOOL lpbSaclDefaulted
3392 SetSecurityDescriptorOwner (
3393 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3395 WINBOOL bOwnerDefaulted
3402 GetSecurityDescriptorOwner (
3403 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3405 LPBOOL lpbOwnerDefaulted
3412 SetSecurityDescriptorGroup (
3413 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3415 WINBOOL bGroupDefaulted
3422 GetSecurityDescriptorGroup (
3423 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3425 LPBOOL lpbGroupDefaulted
3432 CreatePrivateObjectSecurity (
3433 PSECURITY_DESCRIPTOR ParentDescriptor
,
3434 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3435 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3436 WINBOOL IsDirectoryObject
,
3438 PGENERIC_MAPPING GenericMapping
3445 SetPrivateObjectSecurity (
3446 SECURITY_INFORMATION SecurityInformation
,
3447 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3448 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3449 PGENERIC_MAPPING GenericMapping
,
3457 GetPrivateObjectSecurity (
3458 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3459 SECURITY_INFORMATION SecurityInformation
,
3460 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3461 DWORD DescriptorLength
,
3469 DestroyPrivateObjectSecurity (
3470 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3477 MakeSelfRelativeSD (
3478 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3479 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3480 LPDWORD lpdwBufferLength
3488 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3489 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3490 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3492 LPDWORD lpdwDaclSize
,
3494 LPDWORD lpdwSaclSize
,
3496 LPDWORD lpdwOwnerSize
,
3498 LPDWORD lpdwPrimaryGroupSize
3505 SetKernelObjectSecurity (
3507 SECURITY_INFORMATION SecurityInformation
,
3508 PSECURITY_DESCRIPTOR SecurityDescriptor
3514 FindNextChangeNotification(
3515 HANDLE hChangeHandle
3521 FindCloseChangeNotification(
3522 HANDLE hChangeHandle
3545 HANDLE hFileMappingObject
,
3546 DWORD dwDesiredAccess
,
3547 DWORD dwFileOffsetHigh
,
3548 DWORD dwFileOffsetLow
,
3549 DWORD dwNumberOfBytesToMap
,
3550 LPVOID lpBaseAddress
3558 DWORD dwPriorityClass
3609 AllocateLocallyUniqueId(
3616 QueryPerformanceCounter(
3617 LARGE_INTEGER
*lpPerformanceCount
3623 QueryPerformanceFrequency(
3624 LARGE_INTEGER
*lpFrequency
3650 /* The memory functions don't seem to be defined in the libraries, so
3651 define macro versions as well. */
3652 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3653 #define FillMemory(p, c, v) memset ((p), (v), (c))
3654 #define ZeroMemory(p, c) memset ((p), 0, (c))
3659 ActivateKeyboardLayout(
3665 ActivateKeyboardLayout(
3685 UnloadKeyboardLayout(
3691 GetKeyboardLayoutList(
3708 DWORD dwDesiredAccess
);
3714 ENUMWINDOWSPROC lpfn
,
3750 SetProcessWindowStation(
3756 GetProcessWindowStation(
3762 SetUserObjectSecurity(
3764 PSECURITY_INFORMATION pSIRequested
,
3765 PSECURITY_DESCRIPTOR pSID
);
3770 GetUserObjectSecurity(
3772 PSECURITY_INFORMATION pSIRequested
,
3773 PSECURITY_DESCRIPTOR pSID
,
3775 LPDWORD lpnLengthNeeded
);
3831 GetMessageExtraInfo(
3837 SetMessageExtraInfo(
3843 BroadcastSystemMessage(
3874 DWORD dwMilliseconds
);
3980 HWND hWndInsertAfter
,
3992 WINDOWPLACEMENT
*lpwndpl
);
3999 CONST WINDOWPLACEMENT
*lpwndpl
);
4004 BeginDeferWindowPos(
4013 HWND hWndInsertAfter
,
4085 WINBOOL
*lpTranslated
,
4103 int nIDCheckButton
);
4115 GetNextDlgGroupItem(
4137 GetDialogBaseUnits(VOID
);
4160 HWND hWndNewViewer
);
4171 ChangeClipboardChain(
4192 CountClipboardFormats(
4198 EnumClipboardFormats(
4210 IsClipboardFormatAvailable(
4216 GetPriorityClipboardFormat(
4217 UINT
*paFormatPriorityList
,
4223 GetOpenClipboardWindow(
4227 /* Despite the A these are ASCII functions! */
4232 LPCSTR lpCurrentChar
,
4241 LPCSTR lpCurrentChar
,
4387 MsgWaitForMultipleObjects(
4391 DWORD dwMilliseconds
,
4401 TIMERPROC lpTimerFunc
);
4432 DestroyAcceleratorTable(
4557 HBITMAP hBitmapUnchecked
,
4558 HBITMAP hBitmapChecked
);
4563 GetMenuCheckMarkDimensions(
4576 CONST RECT
*prcRect
);
4594 GetMenuItemRect(HWND hWnd
,
4601 MenuItemFromPoint(HWND hWnd
,
4608 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4613 DragDetect(HWND hwnd
,
4639 GetForegroundWindow(
4644 PaintDesktop(HDC hdc
);
4649 SetForegroundWindow(
4690 LPPAINTSTRUCT lpPaint
);
4697 CONST PAINTSTRUCT
*lpPaint
);
4750 CONST RECT
*lpRect
);
4772 CONST RECT
*lprcUpdate
,
4790 CONST RECT
*lpClipRect
);
4799 CONST RECT
*lprcScroll
,
4800 CONST RECT
*lprcClip
,
4811 CONST RECT
*prcScroll
,
4812 CONST RECT
*prcClip
,
4901 SetWindowContextHelpId(HWND
, DWORD
);
4905 GetWindowContextHelpId(HWND
);
4909 SetMenuContextHelpId(HMENU
, DWORD
);
4913 GetMenuContextHelpId(HMENU
);
4950 CONST RECT
*lpRect
);
5048 ChildWindowFromPoint(
5069 CONST INT
* lpaElements
,
5070 CONST COLORREF
* lpaRgbValues
);
5123 CONST RECT
*lprcSrc
);
5138 CONST RECT
*lprcSrc1
,
5139 CONST RECT
*lprcSrc2
);
5146 CONST RECT
*lprcSrc1
,
5147 CONST RECT
*lprcSrc2
);
5154 CONST RECT
*lprcSrc1
,
5155 CONST RECT
*lprcSrc2
);
5231 HWND hWndNewParent
);
5238 ENUMWINDOWSPROC lpEnumFunc
,
5245 ENUMWINDOWSPROC lpEnumFunc
,
5253 ENUMWINDOWSPROC lpfn
,
5264 GetWindowThreadProcessId(
5266 LPDWORD lpdwProcessId
);
5285 HOOKPROC pfnFilterProc
);
5289 UnhookWindowsHookEx(
5304 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5314 CONST VOID
*pvANDPlane
,
5315 CONST VOID
*pvXORPlane
);
5334 HINSTANCE hInstance
,
5339 CONST BYTE
*lpbANDbits
,
5340 CONST BYTE
*lpbXORbits
);
5351 LookupIconIdFromDirectory(
5358 LookupIconIdFromDirectoryEx(
5368 CreateIconFromResource(
5377 CreateIconFromResourceEx(
5400 PICONINFO piconinfo
);
5413 PICONINFO piconinfo
);
5424 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5428 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5432 TranslateMDISysAccel(
5439 ArrangeIconicWindows(
5444 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5448 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5467 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5471 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5475 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5479 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5483 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5487 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5491 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5492 HICON hIcon
, int cxWidth
, int cyWidth
,
5493 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5497 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5501 Arc(HDC
, int, int, int, int, int, int, int, int);
5505 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5513 Chord(HDC
, int, int, int, int, int, int, int, int);
5521 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5525 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5529 CreateBitmapIndirect(CONST BITMAP
*);
5533 CreateBrushIndirect(CONST LOGBRUSH
*);
5537 CreateCompatibleBitmap(HDC
, int, int);
5541 CreateDiscardableBitmap(HDC
, int, int);
5545 CreateCompatibleDC(HDC
);
5549 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5553 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5557 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5561 CreateEllipticRgn(int, int, int, int);
5565 CreateEllipticRgnIndirect(CONST RECT
*);
5569 CreateHatchBrush(int, COLORREF
);
5573 CreatePalette(CONST LOGPALETTE
*);
5577 CreatePen(int, int, COLORREF
);
5581 CreatePenIndirect(CONST LOGPEN
*);
5585 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5589 CreatePatternBrush(HBITMAP
);
5593 CreateRectRgn(int, int, int, int);
5597 CreateRectRgnIndirect(CONST RECT
*);
5601 CreateRoundRectRgn(int, int, int, int, int, int);
5605 CreateSolidBrush(COLORREF
);
5613 DeleteMetaFile(HMETAFILE
);
5617 DeleteObject(HGDIOBJ
);
5621 DrawEscape(HDC
, int, int, LPCSTR
);
5625 Ellipse(HDC
, int, int, int, int);
5629 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5633 EqualRgn(HRGN
, HRGN
);
5637 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5641 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5645 ExcludeClipRect(HDC
, int, int, int, int);
5649 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5653 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5657 FillRgn(HDC
, HRGN
, HBRUSH
);
5661 FloodFill(HDC
, int, int, COLORREF
);
5665 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5669 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5673 GdiProcessSetup (VOID
);
5681 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5693 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5697 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5701 GetBoundsRect(HDC
, LPRECT
, UINT
);
5705 GetBrushOrgEx(HDC
, LPPOINT
);
5709 GetClipBox(HDC
, LPRECT
);
5713 GetClipRgn(HDC
, HRGN
);
5717 GetMetaRgn(HDC
, HRGN
);
5721 GetCurrentObject(HDC
, UINT
);
5725 GetCurrentPositionEx(HDC
, LPPOINT
);
5729 GetDeviceCaps(HDC
, int);
5733 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5737 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5741 GetGraphicsMode(HDC
);
5749 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5753 GetNearestColor(HDC
, COLORREF
);
5757 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5761 GetObjectType(HGDIOBJ h
);
5765 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5769 GetPixel(HDC
, int, int);
5773 GetPixelFormat(HDC
);
5777 GetPolyFillMode(HDC
);
5781 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5785 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5789 GetRgnBox(HRGN
, LPRECT
);
5793 GetStockObject(int);
5797 GetStretchBltMode(HDC
);
5801 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5805 GetSystemPaletteUse(HDC
);
5809 GetTextCharacterExtra(HDC
);
5821 GetTextCharset(HDC hdc
);
5825 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5829 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5833 GetFontLanguageInfo( HDC
);
5837 GetViewportExtEx(HDC
, LPSIZE
);
5841 GetViewportOrgEx(HDC
, LPPOINT
);
5845 GetWindowExtEx(HDC
, LPSIZE
);
5849 GetWindowOrgEx(HDC
, LPPOINT
);
5853 IntersectClipRect(HDC
, int, int, int, int);
5857 InvertRgn(HDC
, HRGN
);
5861 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5865 LineTo(HDC
, int, int);
5869 MaskBlt(HDC
, int, int, int, int,
5870 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5874 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5875 int, HBITMAP
, int, int);
5879 OffsetClipRgn(HDC
, int, int);
5883 OffsetRgn(HRGN
, int, int);
5887 PatBlt(HDC
, int, int, int, int, DWORD
);
5891 Pie(HDC
, int, int, int, int, int, int, int, int);
5895 PlayMetaFile(HDC
, HMETAFILE
);
5899 PaintRgn(HDC
, HRGN
);
5903 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5907 PtInRegion(HRGN
, int, int);
5911 PtVisible(HDC
, int, int);
5915 RectInRegion(HRGN
, CONST RECT
*);
5919 RectVisible(HDC
, CONST RECT
*);
5923 Rectangle(HDC
, int, int, int, int);
5927 RestoreDC(HDC
, int);
5931 RealizePalette(HDC
);
5935 RoundRect(HDC
, int, int, int, int, int, int);
5939 ResizePalette(HPALETTE
, UINT
);
5947 SelectClipRgn(HDC
, HRGN
);
5951 ExtSelectClipRgn(HDC
, HRGN
, int);
5959 SelectObject(HDC
, HGDIOBJ
);
5963 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5967 SetBkColor(HDC
, COLORREF
);
5971 SetBkMode(HDC
, int);
5975 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
5979 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
5983 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5987 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
5988 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5992 SetMapperFlags(HDC
, DWORD
);
5996 SetGraphicsMode(HDC hdc
, int iMode
);
6000 SetMapMode(HDC
, int);
6004 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6008 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6012 SetPixel(HDC
, int, int, COLORREF
);
6016 SetPixelV(HDC
, int, int, COLORREF
);
6020 SetPolyFillMode(HDC
, int);
6024 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6028 SetRectRgn(HRGN
, int, int, int, int);
6031 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6032 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6040 SetStretchBltMode(HDC
, int);
6044 SetSystemPaletteUse(HDC
, UINT
);
6048 SetTextCharacterExtra(HDC
, int);
6052 SetTextColor(HDC
, COLORREF
);
6056 SetTextAlign(HDC
, UINT
);
6060 SetTextJustification(HDC
, int, int);
6068 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6072 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6076 CloseEnhMetaFile(HDC
);
6080 DeleteEnhMetaFile(HENHMETAFILE
);
6084 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6085 LPVOID
, CONST RECT
*);
6089 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6093 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6097 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6101 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6105 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6109 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6114 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6119 GdiComment(HDC
, UINT
, CONST BYTE
*);
6123 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6127 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6131 GetWorldTransform(HDC
, LPXFORM
);
6135 SetWorldTransform(HDC
, CONST XFORM
*);
6139 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6143 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6147 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
**, HANDLE
, DWORD
);
6151 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6155 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6159 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6163 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6167 CreateHalftonePalette(HDC
);
6187 SetAbortProc(HDC
, ABORTPROC
);
6195 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6219 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6227 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6231 SelectClipPath(HDC
, int);
6235 SetArcDirection(HDC
, int);
6239 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6243 StrokeAndFillPath(HDC
);
6255 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6259 GetMiterLimit(HDC
, PFLOAT
);
6263 GetArcDirection(HDC
);
6267 MoveToEx(HDC
, int, int, LPPOINT
);
6271 CreatePolygonRgn(CONST POINT
*, int, int);
6275 DPtoLP(HDC
, LPPOINT
, int);
6279 LPtoDP(HDC
, LPPOINT
, int);
6283 Polygon(HDC
, CONST POINT
*, int);
6287 Polyline(HDC
, CONST POINT
*, int);
6291 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6295 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6299 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6303 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6307 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6311 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6315 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6319 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6323 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6327 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6331 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6335 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6339 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6343 GetDCOrgEx(HDC
,LPPOINT
);
6347 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6351 UnrealizeObject(HGDIOBJ
);
6359 GdiSetBatchLimit(DWORD
);
6363 GdiGetBatchLimit(void);
6367 SetICMMode(HDC
, int);
6371 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6379 SetColorSpace(HDC
,HCOLORSPACE
);
6383 DeleteColorSpace(HCOLORSPACE
);
6387 GetDeviceGammaRamp(HDC
,LPVOID
);
6391 SetDeviceGammaRamp(HDC
,LPVOID
);
6395 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6399 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6403 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6407 InitCommonControls(void);
6409 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6413 ImageList_Create(int cx
, int cy
, UINT flags
,
6414 int cInitial
, int cGrow
);
6418 ImageList_Destroy(HIMAGELIST himl
);
6422 ImageList_GetImageCount(HIMAGELIST himl
);
6426 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6431 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6435 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6439 ImageList_GetBkColor(HIMAGELIST himl
);
6443 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6448 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6452 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6456 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6460 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6464 ImageList_Remove(HIMAGELIST himl
, int i
);
6468 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6472 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6476 ImageList_EndDrag(void);
6480 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6484 ImageList_DragLeave(HWND hwndLock
);
6488 ImageList_DragMove(int x
, int y
);
6492 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6496 ImageList_DragShowNolock(WINBOOL fShow
);
6500 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6504 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6508 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6512 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6516 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6520 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6521 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6522 int iNumButtons
, int dxButton
, int dyButton
,
6523 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6527 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6528 UINT wFlags
, LPCOLORMAP lpColorMap
,
6534 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6538 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6542 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6546 MakeDragList(HWND hLB
);
6550 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6554 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6558 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6559 HWND hParent
, int nID
, HINSTANCE hInst
,
6561 int nUpper
, int nLower
, int nPos
);
6565 CommDlgExtendedError(VOID
);
6567 /* Animation controls */
6569 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6571 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6573 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6575 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6577 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6579 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6581 /* Property sheet macros */
6583 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6585 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6587 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6589 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6591 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6593 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6595 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6597 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6599 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6601 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6603 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6605 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6607 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6609 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6611 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6613 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6615 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6617 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6619 /* Header control */
6620 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6622 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6624 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6626 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6628 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6630 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6633 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6635 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6637 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6639 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6641 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6643 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6645 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6647 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6649 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6651 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6653 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6655 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6657 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6659 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6661 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6663 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6665 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6667 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6669 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6671 #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))
6673 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6675 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6677 #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);}
6679 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6681 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6683 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6685 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6687 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6689 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6691 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6693 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6695 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6697 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6699 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6701 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6703 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6705 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6707 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6709 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6711 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6714 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6716 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6718 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6720 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6722 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6724 #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);}
6726 #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);}
6728 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6730 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6732 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6734 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6737 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6739 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6741 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6743 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6745 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6747 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6749 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6751 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6753 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6755 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6757 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6759 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6761 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6763 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6765 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6767 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6769 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6771 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6773 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6775 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6777 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6779 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6782 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6784 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6786 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6788 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6790 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6792 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6794 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6796 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6798 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6800 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6802 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6804 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6806 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6808 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6810 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6814 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6816 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6818 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6820 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6822 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6824 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6826 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6828 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6830 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6832 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6834 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6836 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6838 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6840 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6842 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6844 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6846 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6848 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6850 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6852 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6854 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6856 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6858 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6860 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6863 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6865 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6866 #endif /* !UNICODE */
6868 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6870 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6873 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6875 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6876 #endif /* !UNICODE */
6878 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6880 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6883 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6885 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6886 #endif /* !UNICODE */
6888 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6890 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6892 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6894 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6906 SECURITY_INFORMATION SecurityInformation
,
6907 PSECURITY_DESCRIPTOR pSecurityDescriptor
6920 SECURITY_INFORMATION SecurityInformation
,
6921 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6922 LPDWORD lpcbSecurityDescriptor
6927 RegNotifyChangeKeyValue (
6929 WINBOOL bWatchSubtree
,
6930 DWORD dwNotifyFilter
,
6932 WINBOOL fAsynchronus
6953 GetCPInfo(UINT
, LPCPINFO
);
6971 MultiByteToWideChar(
6974 LPCSTR lpMultiByteStr
,
6976 LPWSTR lpWideCharStr
,
6982 WideCharToMultiByte(
6985 LPCWSTR lpWideCharStr
,
6987 LPSTR lpMultiByteStr
,
6989 LPCSTR lpDefaultChar
,
6990 LPBOOL lpUsedDefaultChar
);
7001 ConvertDefaultLocale(
7007 GetThreadLocale(void);
7019 GetSystemDefaultLangID(void);
7024 GetUserDefaultLangID(void);
7029 GetSystemDefaultLCID(void);
7034 GetUserDefaultLCID(void);
7039 ReadConsoleOutputAttribute(
7040 HANDLE hConsoleOutput
,
7044 LPDWORD lpNumberOfAttrsRead
7050 WriteConsoleOutputAttribute(
7051 HANDLE hConsoleOutput
,
7052 CONST WORD
*lpAttribute
,
7055 LPDWORD lpNumberOfAttrsWritten
7061 FillConsoleOutputAttribute(
7062 HANDLE hConsoleOutput
,
7066 LPDWORD lpNumberOfAttrsWritten
7073 HANDLE hConsoleHandle
,
7080 GetNumberOfConsoleInputEvents(
7081 HANDLE hConsoleInput
,
7082 LPDWORD lpNumberOfEvents
7088 GetConsoleScreenBufferInfo(
7089 HANDLE hConsoleOutput
,
7090 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7096 GetLargestConsoleWindowSize(
7097 HANDLE hConsoleOutput
7103 GetConsoleCursorInfo(
7104 HANDLE hConsoleOutput
,
7105 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7111 GetNumberOfConsoleMouseButtons(
7112 LPDWORD lpNumberOfMouseButtons
7119 HANDLE hConsoleHandle
,
7126 SetConsoleActiveScreenBuffer(
7127 HANDLE hConsoleOutput
7133 FlushConsoleInputBuffer(
7134 HANDLE hConsoleInput
7140 SetConsoleScreenBufferSize(
7141 HANDLE hConsoleOutput
,
7148 SetConsoleCursorPosition(
7149 HANDLE hConsoleOutput
,
7150 COORD dwCursorPosition
7156 SetConsoleCursorInfo(
7157 HANDLE hConsoleOutput
,
7158 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7163 SetConsoleWindowInfo(
7164 HANDLE hConsoleOutput
,
7166 CONST SMALL_RECT
*lpConsoleWindow
7172 SetConsoleTextAttribute(
7173 HANDLE hConsoleOutput
,
7180 SetConsoleCtrlHandler(
7181 PHANDLER_ROUTINE HandlerRoutine
,
7188 GenerateConsoleCtrlEvent(
7190 DWORD dwProcessGroupId
7196 AllocConsole( VOID
);
7201 FreeConsole( VOID
);
7207 CreateConsoleScreenBuffer(
7208 DWORD dwDesiredAccess
,
7210 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7212 LPVOID lpScreenBufferData
7218 GetConsoleCP( VOID
);
7230 GetConsoleOutputCP( VOID
);
7240 WNetConnectionDialog(
7246 WNetDisconnectDialog(
7268 LPSERVICE_STATUS lpServiceStatus
7279 LockServiceDatabase(
7280 SC_HANDLE hSCManager
7286 NotifyBootConfigStatus(
7287 WINBOOL BootAcceptable
7292 QueryServiceObjectSecurity(
7294 SECURITY_INFORMATION dwSecurityInformation
,
7295 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7297 LPDWORD pcbBytesNeeded
7305 LPSERVICE_STATUS lpServiceStatus
7310 SetServiceObjectSecurity(
7312 SECURITY_INFORMATION dwSecurityInformation
,
7313 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7320 SERVICE_STATUS_HANDLE hServiceStatus
,
7321 LPSERVICE_STATUS lpServiceStatus
7326 UnlockServiceDatabase(
7330 /* Extensions to OpenGL */
7333 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7336 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7339 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7340 CONST PIXELFORMATDESCRIPTOR
*);
7343 GetPixelFormat(HDC
);
7346 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7352 wglCreateContext(HDC
);
7355 wglCreateLayerContext(HDC
, int);
7358 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7361 wglDeleteContext(HGLRC
);
7364 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7367 wglGetCurrentContext(VOID
);
7370 wglGetCurrentDC(VOID
);
7373 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7376 wglGetProcAddress(LPCSTR
);
7379 wglMakeCurrent(HDC
, HGLRC
);
7382 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7385 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7388 wglShareLists(HGLRC
, HGLRC
);
7391 wglSwapLayerBuffers(HDC
, UINT
);
7394 Why are these different between ANSI and UNICODE?
7395 There doesn't seem to be any difference.
7399 #define wglUseFontBitmaps wglUseFontBitmapsW
7400 #define wglUseFontOutlines wglUseFontOutlinesW
7402 #define wglUseFontBitmaps wglUseFontBitmapsA
7403 #define wglUseFontOutlines wglUseFontOutlinesA
7404 #endif /* !UNICODE */
7406 /* ------------------------------------- */
7407 /* From shellapi.h in old Cygnus headers */
7410 DragQueryPoint (HDROP
, LPPOINT
);
7416 DragAcceptFiles (HWND
, WINBOOL
);
7419 DuplicateIcon (HINSTANCE
, HICON
);
7421 /* end of stuff from shellapi.h in old Cygnus headers */
7422 /* -------------------------------------------------- */
7423 /* From ddeml.h in old Cygnus headers */
7425 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7426 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7427 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7428 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7429 UINT WINAPI
DdeGetLastError (DWORD
);
7430 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7431 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7432 HCONV WINAPI
DdeReconnect (HCONV
);
7433 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7434 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7435 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7438 /* end of stuff from ddeml.h in old Cygnus headers */
7439 /* ----------------------------------------------- */
7441 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7443 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7444 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7445 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7446 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7448 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7452 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7454 DWORD STDCALL
GetCurrentTime(VOID
);
7457 SHAddToRecentDocs (UINT
, LPCVOID
);
7460 SHBrowseForFolder (LPBROWSEINFO
);
7463 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7466 SHFileOperation (LPSHFILEOPSTRUCT
);
7469 SHFreeNameMappings (HANDLE
);
7471 /* Define when SHELLFOLDER is defined.
7473 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7476 SHGetDesktopFolder (LPSHELLFOLDER);
7480 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7482 /* Define when IUnknown is defined.
7484 SHGetInstanceExplorer (IUnknown **);
7487 /* Define when MALLOC is defined.
7489 SHGetMalloc (LPMALLOC *);
7493 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7496 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7498 /* Define when REFCLSID is defined.
7500 SHLoadInProc (REFCLSID);
7505 #endif /* __cplusplus */
7507 #endif /* WIN32_LEAN_AND_MEAN */
7509 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */