4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
45 #endif /* !UNICODE_ONLY */
49 #endif /* !ANSI_ONLY */
51 /* Define the approprate declaration based upon UNICODE or ASCII */
56 #define RegConnectRegistry RegConnectRegistryW
57 #define RegCreateKey RegCreateKeyW
58 #define RegCreateKeyEx RegCreateKeyExW
59 #define RegDeleteKey RegDeleteKeyW
60 #define RegDeleteValue RegDeleteValueW
61 #define RegEnumKey RegEnumKeyW
62 #define RegEnumKeyEx RegEnumKeyExW
63 #define RegEnumValue RegEnumValueW
64 #define RegLoadKey RegLoadKeyW
65 #define RegOpenKey RegOpenKeyW
66 #define RegOpenKeyEx RegOpenKeyExW
67 #define RegQueryInfoKey RegQueryInfoKeyW
68 #define RegQueryValue RegQueryValueW
69 #define RegQueryMultipleValues RegQueryMultipleValuesW
70 #define RegQueryValueEx RegQueryValueExW
71 #define RegReplaceKey RegReplaceKeyW
72 #define RegRestoreKey RegRestoreKeyW
73 #define RegSaveKey RegSaveKeyW
74 #define RegSetValue RegSetValueW
75 #define RegSetValueEx RegSetValueExW
76 #define AbortSystemShutdown AbortSystemShutdownW
77 #define InitiateSystemShutdown InitiateSystemShutdownW
78 #define RegUnLoadKey RegUnLoadKeyW
79 #define SetProp SetPropW
80 #define GetProp GetPropW
81 #define RemoveProp RemovePropW
82 #define EnumPropsEx EnumPropsExW
83 #define EnumProps EnumPropsW
84 #define SetWindowText SetWindowTextW
85 #define GetWindowText GetWindowTextW
86 #define GetWindowTextLength GetWindowTextLengthW
87 #define MessageBox MessageBoxW
88 #define MessageBoxEx MessageBoxExW
89 #define MessageBoxIndirect MessageBoxIndirectW
90 #define GetWindowLong GetWindowLongW
91 #define SetWindowLong SetWindowLongW
92 #define GetClassLong GetClassLongW
93 #define SetClassLong SetClassLongW
94 #define FindWindow FindWindowW
95 #define FindWindowEx FindWindowExW
96 #define GetClassName GetClassNameW
97 #define SetWindowsHookEx SetWindowsHookExW
98 #define LoadBitmap LoadBitmapW
99 #define LoadCursor LoadCursorW
100 #define LoadCursorFromFile LoadCursorFromFileW
101 #define LoadIcon LoadIconW
102 #define LoadImage LoadImageW
103 #define LoadString LoadStringW
104 #define IsDialogMessage IsDialogMessageW
105 #define DlgDirList DlgDirListW
106 #define DlgDirSelectEx DlgDirSelectExW
107 #define DlgDirListComboBox DlgDirListComboBoxW
108 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
109 #define DefFrameProc DefFrameProcW
110 #define DefMDIChildProc DefMDIChildProcW
111 #define CreateMDIWindow CreateMDIWindowW
112 #define WinHelp WinHelpW
113 #define ChangeDisplaySettings ChangeDisplaySettingsW
114 #define EnumDisplaySettings EnumDisplaySettingsW
115 #define SystemParametersInfo SystemParametersInfoW
116 #define AddFontResource AddFontResourceW
117 #define CopyMetaFile CopyMetaFileW
118 #define CreateDC CreateDCW
119 #define CreateFontIndirect CreateFontIndirectW
120 #define CreateFont CreateFontW
121 #define CreateIC CreateICW
122 #define CreateMetaFile CreateMetaFileW
123 #define CreateScalableFontResource CreateScalableFontResourceW
124 #define DeviceCapabilities DeviceCapabilitiesW
125 #define EnumFontFamiliesEx EnumFontFamiliesExW
126 #define EnumFontFamilies EnumFontFamiliesW
127 #define EnumFonts EnumFontsW
128 #define GetCharWidth GetCharWidthW
129 #define GetCharWidth32 GetCharWidth32W
130 #define GetCharWidthFloat GetCharWidthFloatW
131 #define GetCharABCWidths GetCharABCWidthsW
132 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
133 #define GetGlyphOutline GetGlyphOutlineW
134 #define GetMetaFile GetMetaFileW
135 #define GetOutlineTextMetrics GetOutlineTextMetricsW
136 #define GetTextExtentPoint GetTextExtentPointW
137 #define GetTextExtentPoint32 GetTextExtentPoint32W
138 #define GetTextExtentExPoint GetTextExtentExPointW
139 #define GetCharacterPlacement GetCharacterPlacementW
140 #define ResetDC ResetDCW
141 #define RemoveFontResource RemoveFontResourceW
142 #define CopyEnhMetaFile CopyEnhMetaFileW
143 #define CreateEnhMetaFile CreateEnhMetaFileW
144 #define GetEnhMetaFile GetEnhMetaFileW
145 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
146 #define GetTextMetrics GetTextMetricsW
147 #define StartDoc StartDocW
148 #define GetObject GetObjectW
149 #define TextOut TextOutW
150 #define ExtTextOut ExtTextOutW
151 #define PolyTextOut PolyTextOutW
152 #define GetTextFace GetTextFaceW
153 #define GetKerningPairs GetKerningPairsW
154 #define GetLogColorSpace GetLogColorSpaceW
155 #define CreateColorSpace CreateColorSpaceW
156 #define GetICMProfile GetICMProfileW
157 #define SetICMProfile SetICMProfileW
158 #define UpdateICMRegKey UpdateICMRegKeyW
159 #define EnumICMProfiles EnumICMProfilesW
160 #define CreatePropertySheetPage CreatePropertySheetPageW
161 #define PropertySheet PropertySheetW
162 #define ImageList_LoadImage ImageList_LoadImageW
163 #define CreateStatusWindow CreateStatusWindowW
164 #define DrawStatusText DrawStatusTextW
165 #define GetOpenFileName GetOpenFileNameW
166 #define GetSaveFileName GetSaveFileNameW
167 #define GetFileTitle GetFileTitleW
168 #define ChooseColor ChooseColorW
169 #define FindText FindTextW
170 #define ReplaceText ReplaceTextW
171 #define ChooseFont ChooseFontW
172 #define PrintDlg PrintDlgW
173 #define PageSetupDlg PageSetupDlgW
174 #define DefWindowProc DefWindowProcW
175 #define CallWindowProc CallWindowProcW
176 #define RegisterClass RegisterClassW
177 #define UnregisterClass UnregisterClassW
178 #define GetClassInfo GetClassInfoW
179 #define RegisterClassEx RegisterClassExW
180 #define GetClassInfoEx GetClassInfoExW
181 #define CreateWindowEx CreateWindowExW
182 #define CreateWindow CreateWindowW
183 #define CreateDialogParam CreateDialogParamW
184 #define CreateDialogIndirectParam CreateDialogIndirectParamW
185 #define CreateDialog CreateDialogW
186 #define CreateDialogIndirect CreateDialogIndirectW
187 #define DialogBoxParam DialogBoxParamW
188 #define DialogBoxIndirectParam DialogBoxIndirectParamW
189 #define DialogBox DialogBoxW
190 #define DialogBoxIndirect DialogBoxIndirectW
191 #define RegisterClipboardFormat RegisterClipboardFormatW
192 #define SetDlgItemText SetDlgItemTextW
193 #define GetDlgItemText GetDlgItemTextW
194 #define SendDlgItemMessage SendDlgItemMessageW
195 #define DefDlgProc DefDlgProcW
196 #define CallMsgFilter CallMsgFilterW
197 #define GetClipboardFormatName GetClipboardFormatNameW
198 #define CharToOem CharToOemW
199 #define OemToChar OemToCharW
200 #define CharToOemBuff CharToOemBuffW
201 #define OemToCharBuff OemToCharBuffW
202 #define CharUpper CharUpperW
203 #define CharUpperBuff CharUpperBuffW
204 #define CharLower CharLowerW
205 #define CharLowerBuff CharLowerBuffW
206 #define CharNext CharNextW
207 #define CharPrev CharPrevW
208 #define IsCharAlpha IsCharAlphaW
209 #define IsCharAlphaNumeric IsCharAlphaNumericW
210 #define IsCharUpper IsCharUpperW
211 #define IsCharLower IsCharLowerW
212 #define GetKeyNameText GetKeyNameTextW
213 #define VkKeyScan VkKeyScanW
214 #define VkKeyScanEx VkKeyScanExW
215 #define MapVirtualKey MapVirtualKeyW
216 #define MapVirtualKeyEx MapVirtualKeyExW
217 #define LoadAccelerators LoadAcceleratorsW
218 #define CreateAcceleratorTable CreateAcceleratorTableW
219 #define CopyAcceleratorTable CopyAcceleratorTableW
220 #define TranslateAccelerator TranslateAcceleratorW
221 #define LoadMenu LoadMenuW
222 #define LoadMenuIndirect LoadMenuIndirectW
223 #define ChangeMenu ChangeMenuW
224 #define GetMenuString GetMenuStringW
225 #define InsertMenu InsertMenuW
226 #define AppendMenu AppendMenuW
227 #define ModifyMenu ModifyMenuW
228 #define InsertMenuItem InsertMenuItemW
229 #define GetMenuItemInfo GetMenuItemInfoW
230 #define SetMenuItemInfo SetMenuItemInfoW
231 #define DrawText DrawTextW
232 #define DrawTextEx DrawTextExW
233 #define GrayString GrayStringW
234 #define DrawState DrawStateW
235 #define TabbedTextOut TabbedTextOutW
236 #define GetTabbedTextExtent GetTabbedTextExtentW
237 #define GetVersionEx GetVersionExW
238 #define wvsprintf wvsprintfW
239 #define wsprintf wsprintfW
240 #define LoadKeyboardLayout LoadKeyboardLayoutW
241 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
242 #define CreateDesktop CreateDesktopW
243 #define OpenDesktop OpenDesktopW
244 #define EnumDesktops EnumDesktopsW
245 #define CreateWindowStation CreateWindowStationW
246 #define OpenWindowStation OpenWindowStationW
247 #define EnumWindowStations EnumWindowStationsW
248 #define IsBadStringPtr IsBadStringPtrW
249 #define LookupAccountSid LookupAccountSidW
250 #define LookupAccountName LookupAccountNameW
251 #define LookupPrivilegeValue LookupPrivilegeValueW
252 #define LookupPrivilegeName LookupPrivilegeNameW
253 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
254 #define BuildCommDCB BuildCommDCBW
255 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
256 #define CommConfigDialog CommConfigDialogW
257 #define GetDefaultCommConfig GetDefaultCommConfigW
258 #define SetDefaultCommConfig SetDefaultCommConfigW
259 #define GetComputerName GetComputerNameW
260 #define SetComputerName SetComputerNameW
261 #define GetUserName GetUserNameW
262 #define CreateMailslot CreateMailslotW
263 #define FormatMessage FormatMessageW
264 #define GetEnvironmentStrings GetEnvironmentStringsW
265 #define FreeEnvironmentStrings FreeEnvironmentStringsW
266 #define lstrcmp lstrcmpW
267 #define lstrcmpi lstrcmpiW
268 #define lstrcpyn lstrcpynW
269 #define lstrcpy lstrcpyW
270 #define lstrcat lstrcatW
271 #define lstrlen lstrlenW
272 #define GetBinaryType GetBinaryTypeW
273 #define GetShortPathName GetShortPathNameW
274 #define SetFileSecurity SetFileSecurityW
275 #define GetFileSecurity GetFileSecurityW
276 #define FindFirstChangeNotification FindFirstChangeNotificationW
277 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
278 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
279 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
280 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
281 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
282 #define OpenEventLog OpenEventLogW
283 #define RegisterEventSource RegisterEventSourceW
284 #define OpenBackupEventLog OpenBackupEventLogW
285 #define ReadEventLog ReadEventLogW
286 #define ReportEvent ReportEventW
287 #define CreateProcess CreateProcessW
288 #define FatalAppExit FatalAppExitW
289 #define GetStartupInfo GetStartupInfoW
290 #define GetEnvironmentVariable GetEnvironmentVariableW
291 #define GetCommandLine GetCommandLineW
292 #define SetEnvironmentVariable SetEnvironmentVariableW
293 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
294 #define OutputDebugString OutputDebugStringW
295 #define FindResource FindResourceW
296 #define FindResourceEx FindResourceExW
297 #define EnumResourceTypes EnumResourceTypesW
298 #define EnumResourceNames EnumResourceNamesW
299 #define EnumResourceLanguages EnumResourceLanguagesW
300 #define BeginUpdateResource BeginUpdateResourceW
301 #define UpdateResource UpdateResourceW
302 #define EndUpdateResource EndUpdateResourceW
303 #define GlobalAddAtom GlobalAddAtomW
304 #define GlobalFindAtom GlobalFindAtomW
305 #define GlobalGetAtomName GlobalGetAtomNameW
306 #define AddAtom AddAtomW
307 #define FindAtom FindAtomW
308 #define GetAtomName GetAtomNameW
309 #define GetProfileInt GetProfileIntW
310 #define GetProfileString GetProfileStringW
311 #define WriteProfileString WriteProfileStringW
312 #define GetProfileSection GetProfileSectionW
313 #define WriteProfileSection WriteProfileSectionW
314 #define GetPrivateProfileInt GetPrivateProfileIntW
315 #define GetPrivateProfileString GetPrivateProfileStringW
316 #define WritePrivateProfileString WritePrivateProfileStringW
317 #define GetPrivateProfileSection GetPrivateProfileSectionW
318 #define WritePrivateProfileSection WritePrivateProfileSectionW
319 #define GetDriveType GetDriveTypeW
320 #define GetSystemDirectory GetSystemDirectoryW
321 #define GetTempPath GetTempPathW
322 #define GetTempFileName GetTempFileNameW
323 #define GetWindowsDirectory GetWindowsDirectoryW
324 #define SetCurrentDirectory SetCurrentDirectoryW
325 #define GetCurrentDirectory GetCurrentDirectoryW
326 #define GetDiskFreeSpace GetDiskFreeSpaceW
327 #define CreateDirectory CreateDirectoryW
328 #define CreateDirectoryEx CreateDirectoryExW
329 #define RemoveDirectory RemoveDirectoryW
330 #define GetFullPathName GetFullPathNameW
331 #define DefineDosDevice DefineDosDeviceW
332 #define QueryDosDevice QueryDosDeviceW
333 #define CreateFile CreateFileW
334 #define SetFileAttributes SetFileAttributesW
335 #define GetFileAttributes GetFileAttributesW
336 #define GetCompressedFileSize GetCompressedFileSizeW
337 #define DeleteFile DeleteFileW
338 #define FindFirstFileEx FindFirstFileExW
339 #define FindFirstFile FindFirstFileW
340 #define FindNextFile FindNextFileW
341 #define SearchPath SearchPathW
342 #define CopyFile CopyFileW
343 #define MoveFile MoveFileW
344 #define MoveFileEx MoveFileExW
345 #define CreateNamedPipe CreateNamedPipeW
346 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
347 #define CallNamedPipe CallNamedPipeW
348 #define WaitNamedPipe WaitNamedPipeW
349 #define SetVolumeLabel SetVolumeLabelW
350 #define GetVolumeInformation GetVolumeInformationW
351 #define ClearEventLog ClearEventLogW
352 #define BackupEventLog BackupEventLogW
353 #define CreateMutex CreateMutexW
354 #define OpenMutex OpenMutexW
355 #define CreateEvent CreateEventW
356 #define OpenEvent OpenEventW
357 #define CreateSemaphore CreateSemaphoreW
358 #define OpenSemaphore OpenSemaphoreW
359 #define CreateFileMapping CreateFileMappingW
360 #define OpenFileMapping OpenFileMappingW
361 #define GetLogicalDriveStrings GetLogicalDriveStringsW
362 #define LoadLibrary LoadLibraryW
363 #define LoadLibraryEx LoadLibraryExW
364 #define GetModuleFileName GetModuleFileNameW
365 #define GetModuleHandle GetModuleHandleW
366 #define GetUserObjectInformation GetUserObjectInformationW
367 #define SetUserObjectInformation SetUserObjectInformationW
368 #define RegisterWindowMessage RegisterWindowMessageW
369 #define GetMessage GetMessageW
370 #define DispatchMessage DispatchMessageW
371 #define PeekMessage PeekMessageW
372 #define SendMessage SendMessageW
373 #define SendMessageTimeout SendMessageTimeoutW
374 #define SendNotifyMessage SendNotifyMessageW
375 #define SendMessageCallback SendMessageCallbackW
376 #define PostMessage PostMessageW
377 #define PostThreadMessage PostThreadMessageW
378 #define VerFindFile VerFindFileW
379 #define VerInstallFile VerInstallFileW
380 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
381 #define GetFileVersionInfo GetFileVersionInfoW
382 #define VerLanguageName VerLanguageNameW
383 #define VerQueryValue VerQueryValueW
384 #define CompareString CompareStringW
385 #define LCMapString LCMapStringW
386 #define GetLocaleInfo GetLocaleInfoW
387 #define SetLocaleInfo SetLocaleInfoW
388 #define GetTimeFormat GetTimeFormatW
389 #define GetDateFormat GetDateFormatW
390 #define GetNumberFormat GetNumberFormatW
391 #define GetCurrencyFormat GetCurrencyFormatW
392 #define EnumCalendarInfo EnumCalendarInfoW
393 #define EnumTimeFormats EnumTimeFormatsW
394 #define FoldString FoldStringW
395 #define EnumSystemCodePages EnumSystemCodePagesW
396 #define EnumSystemLocales EnumSystemLocalesW
397 #define GetStringTypeEx GetStringTypeExW
398 #define EnumDateFormats EnumDateFormatsW
399 #define GetConsoleTitle GetConsoleTitleW
400 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
401 #define SetConsoleTitle SetConsoleTitleW
402 #define ReadConsole ReadConsoleW
403 #define WriteConsole WriteConsoleW
404 #define PeekConsoleInput PeekConsoleInputW
405 #define ReadConsoleInput ReadConsoleInputW
406 #define WriteConsoleInput WriteConsoleInputW
407 #define ReadConsoleOutput ReadConsoleOutputW
408 #define WriteConsoleOutput WriteConsoleOutputW
409 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
410 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
411 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
412 #define WNetGetProviderName WNetGetProviderNameW
413 #define WNetGetNetworkInformation WNetGetNetworkInformationW
414 #define WNetGetLastError WNetGetLastErrorW
415 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
416 #define WNetConnectionDialog1 WNetConnectionDialog1W
417 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
418 #define WNetOpenEnum WNetOpenEnumW
419 #define WNetEnumResource WNetEnumResourceW
420 #define WNetGetUniversalName WNetGetUniversalNameW
421 #define WNetGetUser WNetGetUserW
422 #define WNetAddConnection WNetAddConnectionW
423 #define WNetAddConnection2 WNetAddConnection2W
424 #define WNetAddConnection3 WNetAddConnection3W
425 #define WNetCancelConnection WNetCancelConnectionW
426 #define WNetCancelConnection2 WNetCancelConnection2W
427 #define WNetGetConnection WNetGetConnectionW
428 #define WNetUseConnection WNetUseConnectionW
429 #define WNetSetConnection WNetSetConnectionW
430 #define CreateService CreateServiceW
431 #define ChangeServiceConfig ChangeServiceConfigW
432 #define EnumDependentServices EnumDependentServicesW
433 #define EnumServicesStatus EnumServicesStatusW
434 #define GetServiceKeyName GetServiceKeyNameW
435 #define GetServiceDisplayName GetServiceDisplayNameW
436 #define OpenSCManager OpenSCManagerW
437 #define OpenService OpenServiceW
438 #define QueryServiceConfig QueryServiceConfigW
439 #define QueryServiceLockStatus QueryServiceLockStatusW
440 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
441 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
442 #define StartService StartServiceW
443 #define DragQueryFile DragQueryFileW
444 #define ExtractAssociatedIcon ExtractAssociatedIconW
445 #define ExtractIcon ExtractIconW
446 #define FindExecutable FindExecutableW
447 #define ShellAbout ShellAboutW
448 #define ShellExecute ShellExecuteW
449 #define DdeCreateStringHandle DdeCreateStringHandleW
450 #define DdeInitialize DdeInitializeW
451 #define DdeQueryString DdeQueryStringW
452 #define LogonUser LogonUserW
453 #define CreateProcessAsUser CreateProcessAsUserW
458 #define RegConnectRegistry RegConnectRegistryA
459 #define RegCreateKey RegCreateKeyA
460 #define RegCreateKeyEx RegCreateKeyExA
461 #define RegDeleteKey RegDeleteKeyA
462 #define RegDeleteValue RegDeleteValueA
463 #define RegEnumKey RegEnumKeyA
464 #define RegEnumKeyEx RegEnumKeyExA
465 #define RegEnumValue RegEnumValueA
466 #define RegLoadKey RegLoadKeyA
467 #define RegOpenKey RegOpenKeyA
468 #define RegOpenKeyEx RegOpenKeyExA
469 #define RegQueryInfoKey RegQueryInfoKeyA
470 #define RegQueryValue RegQueryValueA
471 #define RegQueryMultipleValues RegQueryMultipleValuesA
472 #define RegQueryValueEx RegQueryValueExA
473 #define RegReplaceKey RegReplaceKeyA
474 #define RegRestoreKey RegRestoreKeyA
475 #define RegSaveKey RegSaveKeyA
476 #define RegSetValue RegSetValueA
477 #define RegSetValueEx RegSetValueExA
478 #define AbortSystemShutdown AbortSystemShutdownA
479 #define InitiateSystemShutdown InitiateSystemShutdownA
480 #define RegUnLoadKey RegUnLoadKeyA
481 #define LoadIcon LoadIconA
482 #define LoadImage LoadImageA
483 #define LoadString LoadStringA
484 #define IsDialogMessage IsDialogMessageA
485 #define DlgDirList DlgDirListA
486 #define DlgDirSelectEx DlgDirSelectExA
487 #define DlgDirListComboBox DlgDirListComboBoxA
488 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
489 #define DefFrameProc DefFrameProcA
490 #define DefMDIChildProc DefMDIChildProcA
491 #define CreateMDIWindow CreateMDIWindowA
492 #define WinHelp WinHelpA
493 #define ChangeDisplaySettings ChangeDisplaySettingsA
494 #define EnumDisplaySettings EnumDisplaySettingsA
495 #define SystemParametersInfo SystemParametersInfoA
496 #define GetWindowLong GetWindowLongA
497 #define SetWindowLong SetWindowLongA
498 #define GetClassLong GetClassLongA
499 #define SetClassLong SetClassLongA
500 #define FindWindow FindWindowA
501 #define FindWindowEx FindWindowExA
502 #define GetClassName GetClassNameA
503 #define SetWindowsHookEx SetWindowsHookExA
504 #define LoadBitmap LoadBitmapA
505 #define LoadCursor LoadCursorA
506 #define LoadCursorFromFile LoadCursorFromFileA
507 #define SetProp SetPropA
508 #define GetProp GetPropA
509 #define RemoveProp RemovePropA
510 #define EnumPropsEx EnumPropsExA
511 #define EnumProps EnumPropsA
512 #define SetWindowText SetWindowTextA
513 #define GetWindowText GetWindowTextA
514 #define GetWindowTextLength GetWindowTextLengthA
515 #define MessageBox MessageBoxA
516 #define MessageBoxEx MessageBoxExA
517 #define MessageBoxIndirect MessageBoxIndirectA
518 #define AddFontResource AddFontResourceA
519 #define CopyMetaFile CopyMetaFileA
520 #define CreateDC CreateDCA
521 #define CreateFontIndirect CreateFontIndirectA
522 #define CreateFont CreateFontA
523 #define CreateIC CreateICA
524 #define CreateMetaFile CreateMetaFileA
525 #define CreateScalableFontResource CreateScalableFontResourceA
526 #define DeviceCapabilities DeviceCapabilitiesA
527 #define EnumFontFamiliesEx EnumFontFamiliesExA
528 #define EnumFontFamilies EnumFontFamiliesA
529 #define EnumFonts EnumFontsA
530 #define GetCharWidth GetCharWidthA
531 #define GetCharWidth32 GetCharWidth32A
532 #define GetCharWidthFloat GetCharWidthFloatA
533 #define GetCharABCWidths GetCharABCWidthsA
534 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
535 #define GetGlyphOutline GetGlyphOutlineA
536 #define GetMetaFile GetMetaFileA
537 #define GetOutlineTextMetrics GetOutlineTextMetricsA
538 #define GetTextExtentPoint GetTextExtentPointA
539 #define GetTextExtentPoint32 GetTextExtentPoint32A
540 #define GetTextExtentExPoint GetTextExtentExPointA
541 #define GetCharacterPlacement GetCharacterPlacementA
542 #define ResetDC ResetDCA
543 #define RemoveFontResource RemoveFontResourceA
544 #define CopyEnhMetaFile CopyEnhMetaFileA
545 #define CreateEnhMetaFile CreateEnhMetaFileA
546 #define GetEnhMetaFile GetEnhMetaFileA
547 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
548 #define GetTextMetrics GetTextMetricsA
549 #define StartDoc StartDocA
550 #define GetObject GetObjectA
551 #define TextOut TextOutA
552 #define ExtTextOut ExtTextOutA
553 #define PolyTextOut PolyTextOutA
554 #define GetTextFace GetTextFaceA
555 #define GetKerningPairs GetKerningPairsA
556 #define GetLogColorSpace GetLogColorSpaceA
557 #define CreateColorSpace CreateColorSpaceA
558 #define GetICMProfile GetICMProfileA
559 #define SetICMProfile SetICMProfileA
560 #define UpdateICMRegKey UpdateICMRegKeyA
561 #define EnumICMProfiles EnumICMProfilesA
562 #define CreatePropertySheetPage CreatePropertySheetPageA
563 #define PropertySheet PropertySheetA
564 #define ImageList_LoadImage ImageList_LoadImageA
565 #define CreateStatusWindow CreateStatusWindowA
566 #define DrawStatusText DrawStatusTextA
567 #define GetOpenFileName GetOpenFileNameA
568 #define GetSaveFileName GetSaveFileNameA
569 #define GetFileTitle GetFileTitleA
570 #define ChooseColor ChooseColorA
571 #define FindText FindTextA
572 #define ReplaceText ReplaceTextA
573 #define ChooseFont ChooseFontA
574 #define PrintDlg PrintDlgA
575 #define PageSetupDlg PageSetupDlgA
576 #define DefWindowProc DefWindowProcA
577 #define CallWindowProc CallWindowProcA
578 #define RegisterClass RegisterClassA
579 #define UnregisterClass UnregisterClassA
580 #define GetClassInfo GetClassInfoA
581 #define RegisterClassEx RegisterClassExA
582 #define GetClassInfoEx GetClassInfoExA
583 #define CreateWindowEx CreateWindowExA
584 #define CreateWindow CreateWindowA
585 #define CreateDialogParam CreateDialogParamA
586 #define CreateDialogIndirectParam CreateDialogIndirectParamA
587 #define CreateDialog CreateDialogA
588 #define CreateDialogIndirect CreateDialogIndirectA
589 #define CreateWaitableTimer CreateWaitableTimerA
590 #define DialogBoxParam DialogBoxParamA
591 #define DialogBoxIndirectParam DialogBoxIndirectParamA
592 #define DialogBox DialogBoxA
593 #define DialogBoxIndirect DialogBoxIndirectA
594 #define RegisterClipboardFormat RegisterClipboardFormatA
595 #define SetDlgItemText SetDlgItemTextA
596 #define GetDlgItemText GetDlgItemTextA
597 #define SendDlgItemMessage SendDlgItemMessageA
598 #define DefDlgProc DefDlgProcA
599 #define CallMsgFilter CallMsgFilterA
600 #define GetClipboardFormatName GetClipboardFormatNameA
601 #define CharToOem CharToOemA
602 #define OemToChar OemToCharA
603 #define CharToOemBuff CharToOemBuffA
604 #define OemToCharBuff OemToCharBuffA
605 #define CharUpper CharUpperA
606 #define CharUpperBuff CharUpperBuffA
607 #define CharLower CharLowerA
608 #define CharLowerBuff CharLowerBuffA
609 #define CharNext CharNextA
610 #define CharPrev CharPrevA
611 #define IsCharAlpha IsCharAlphaA
612 #define IsCharAlphaNumeric IsCharAlphaNumericA
613 #define IsCharUpper IsCharUpperA
614 #define IsCharLower IsCharLowerA
615 #define GetKeyNameText GetKeyNameTextA
616 #define VkKeyScan VkKeyScanA
617 #define VkKeyScanEx VkKeyScanExA
618 #define MapVirtualKey MapVirtualKeyA
619 #define MapVirtualKeyEx MapVirtualKeyExA
620 #define LoadAccelerators LoadAcceleratorsA
621 #define CreateAcceleratorTable CreateAcceleratorTableA
622 #define CopyAcceleratorTable CopyAcceleratorTableA
623 #define TranslateAccelerator TranslateAcceleratorA
624 #define LoadMenu LoadMenuA
625 #define LoadMenuIndirect LoadMenuIndirectA
626 #define ChangeMenu ChangeMenuA
627 #define GetMenuString GetMenuStringA
628 #define InsertMenu InsertMenuA
629 #define AppendMenu AppendMenuA
630 #define ModifyMenu ModifyMenuA
631 #define InsertMenuItem InsertMenuItemA
632 #define GetMenuItemInfo GetMenuItemInfoA
633 #define SetMenuItemInfo SetMenuItemInfoA
634 #define DrawText DrawTextA
635 #define DrawTextEx DrawTextExA
636 #define GrayString GrayStringA
637 #define DrawState DrawStateA
638 #define TabbedTextOut TabbedTextOutA
639 #define GetTabbedTextExtent GetTabbedTextExtentA
640 #define GetVersionEx GetVersionExA
641 #define wvsprintf wvsprintfA
642 #define wsprintf wsprintfA
643 #define LoadKeyboardLayout LoadKeyboardLayoutA
644 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
645 #define CreateDesktop CreateDesktopA
646 #define OpenDesktop OpenDesktopA
647 #define EnumDesktops EnumDesktopsA
648 #define CreateWindowStation CreateWindowStationA
649 #define OpenWindowStation OpenWindowStationA
650 #define EnumWindowStations EnumWindowStationsA
651 #define IsBadStringPtr IsBadStringPtrA
652 #define LookupAccountSid LookupAccountSidA
653 #define LookupAccountName LookupAccountNameA
654 #define LookupPrivilegeValue LookupPrivilegeValueA
655 #define LookupPrivilegeName LookupPrivilegeNameA
656 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
657 #define BuildCommDCB BuildCommDCBA
658 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
659 #define CommConfigDialog CommConfigDialogA
660 #define GetDefaultCommConfig GetDefaultCommConfigA
661 #define SetDefaultCommConfig SetDefaultCommConfigA
662 #define GetComputerName GetComputerNameA
663 #define SetComputerName SetComputerNameA
664 #define GetUserName GetUserNameA
665 #define CreateMailslot CreateMailslotA
666 #define FormatMessage FormatMessageA
667 #define GetEnvironmentStrings GetEnvironmentStringsA
668 #define FreeEnvironmentStrings FreeEnvironmentStringsA
669 #define lstrcmp lstrcmpA
670 #define lstrcmpi lstrcmpiA
671 #define lstrcpyn lstrcpynA
672 #define lstrcpy lstrcpyA
673 #define lstrcat lstrcatA
674 #define lstrlen lstrlenA
675 #define GetBinaryType GetBinaryTypeA
676 #define GetShortPathName GetShortPathNameA
677 #define SetFileSecurity SetFileSecurityA
678 #define GetFileSecurity GetFileSecurityA
679 #define FindFirstChangeNotification FindFirstChangeNotificationA
680 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
681 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
682 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
683 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
684 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
685 #define OpenEventLog OpenEventLogA
686 #define RegisterEventSource RegisterEventSourceA
687 #define OpenBackupEventLog OpenBackupEventLogA
688 #define ReadEventLog ReadEventLogA
689 #define ReportEvent ReportEventA
690 #define CreateProcess CreateProcessA
691 #define FatalAppExit FatalAppExitA
692 #define GetStartupInfo GetStartupInfoA
693 #define GetCommandLine GetCommandLineA
694 #define GetEnvironmentVariable GetEnvironmentVariableA
695 #define SetEnvironmentVariable SetEnvironmentVariableA
696 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
697 #define OutputDebugString OutputDebugStringA
698 #define FindResource FindResourceA
699 #define FindResourceEx FindResourceExA
700 #define EnumResourceTypes EnumResourceTypesA
701 #define EnumResourceNames EnumResourceNamesA
702 #define EnumResourceLanguages EnumResourceLanguagesA
703 #define BeginUpdateResource BeginUpdateResourceA
704 #define UpdateResource UpdateResourceA
705 #define EndUpdateResource EndUpdateResourceA
706 #define GlobalAddAtom GlobalAddAtomA
707 #define GlobalFindAtom GlobalFindAtomA
708 #define GlobalGetAtomName GlobalGetAtomNameA
709 #define AddAtom AddAtomA
710 #define FindAtom FindAtomA
711 #define GetProfileInt GetProfileIntA
712 #define GetAtomName GetAtomNameA
713 #define GetProfileString GetProfileStringA
714 #define WriteProfileString WriteProfileStringA
715 #define GetProfileSection GetProfileSectionA
716 #define WriteProfileSection WriteProfileSectionA
717 #define GetPrivateProfileInt GetPrivateProfileIntA
718 #define GetPrivateProfileString GetPrivateProfileStringA
719 #define WritePrivateProfileString WritePrivateProfileStringA
720 #define GetPrivateProfileSection GetPrivateProfileSectionA
721 #define WritePrivateProfileSection WritePrivateProfileSectionA
722 #define GetDriveType GetDriveTypeA
723 #define GetSystemDirectory GetSystemDirectoryA
724 #define GetTempPath GetTempPathA
725 #define GetTempFileName GetTempFileNameA
726 #define GetWindowsDirectory GetWindowsDirectoryA
727 #define SetCurrentDirectory SetCurrentDirectoryA
728 #define GetCurrentDirectory GetCurrentDirectoryA
729 #define GetDiskFreeSpace GetDiskFreeSpaceA
730 #define CreateDirectory CreateDirectoryA
731 #define CreateDirectoryEx CreateDirectoryExA
732 #define RemoveDirectory RemoveDirectoryA
733 #define GetFullPathName GetFullPathNameA
734 #define DefineDosDevice DefineDosDeviceA
735 #define QueryDosDevice QueryDosDeviceA
736 #define CreateFile CreateFileA
737 #define SetFileAttributes SetFileAttributesA
738 #define GetFileAttributes GetFileAttributesA
739 #define GetCompressedFileSize GetCompressedFileSizeA
740 #define DeleteFile DeleteFileA
741 #define FindFirstFileEx FindFirstFileExA
742 #define FindFirstFile FindFirstFileA
743 #define FindNextFile FindNextFileA
744 #define SearchPath SearchPathA
745 #define CopyFile CopyFileA
746 #define MoveFile MoveFileA
747 #define MoveFileEx MoveFileExA
748 #define CreateNamedPipe CreateNamedPipeA
749 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
750 #define CallNamedPipe CallNamedPipeA
751 #define WaitNamedPipe WaitNamedPipeA
752 #define SetVolumeLabel SetVolumeLabelA
753 #define GetVolumeInformation GetVolumeInformationA
754 #define ClearEventLog ClearEventLogA
755 #define BackupEventLog BackupEventLogA
756 #define CreateMutex CreateMutexA
757 #define OpenMutex OpenMutexA
758 #define CreateEvent CreateEventA
759 #define OpenEvent OpenEventA
760 #define CreateSemaphore CreateSemaphoreA
761 #define OpenSemaphore OpenSemaphoreA
762 #define CreateFileMapping CreateFileMappingA
763 #define OpenFileMapping OpenFileMappingA
764 #define GetLogicalDriveStrings GetLogicalDriveStringsA
765 #define LoadLibrary LoadLibraryA
766 #define LoadLibraryEx LoadLibraryExA
767 #define GetModuleFileName GetModuleFileNameA
768 #define GetModuleHandle GetModuleHandleA
769 #define GetUserObjectInformation GetUserObjectInformationA
770 #define SetUserObjectInformation SetUserObjectInformationA
771 #define RegisterWindowMessage RegisterWindowMessageA
772 #define GetMessage GetMessageA
773 #define DispatchMessage DispatchMessageA
774 #define PeekMessage PeekMessageA
775 #define SendMessage SendMessageA
776 #define SendMessageTimeout SendMessageTimeoutA
777 #define SendNotifyMessage SendNotifyMessageA
778 #define SendMessageCallback SendMessageCallbackA
779 #define PostMessage PostMessageA
780 #define PostThreadMessage PostThreadMessageA
781 #define VerFindFile VerFindFileA
782 #define VerInstallFile VerInstallFileA
783 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
784 #define GetFileVersionInfo GetFileVersionInfoA
785 #define VerLanguageName VerLanguageNameA
786 #define VerQueryValue VerQueryValueA
787 #define CompareString CompareStringA
788 #define LCMapString LCMapStringA
789 #define GetLocaleInfo GetLocaleInfoA
790 #define SetLocaleInfo SetLocaleInfoA
791 #define GetTimeFormat GetTimeFormatA
792 #define GetDateFormat GetDateFormatA
793 #define GetNumberFormat GetNumberFormatA
794 #define GetCurrencyFormat GetCurrencyFormatA
795 #define EnumCalendarInfo EnumCalendarInfoA
796 #define EnumTimeFormats EnumTimeFormatsA
797 #define FoldString FoldStringA
798 #define EnumSystemCodePages EnumSystemCodePagesA
799 #define EnumSystemLocales EnumSystemLocalesA
800 #define GetStringTypeEx GetStringTypeExA
801 #define EnumDateFormats EnumDateFormatsA
802 #define GetConsoleTitle GetConsoleTitleA
803 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
804 #define SetConsoleTitle SetConsoleTitleA
805 #define ReadConsole ReadConsoleA
806 #define WriteConsole WriteConsoleA
807 #define PeekConsoleInput PeekConsoleInputA
808 #define ReadConsoleInput ReadConsoleInputA
809 #define WriteConsoleInput WriteConsoleInputA
810 #define ReadConsoleOutput ReadConsoleOutputA
811 #define WriteConsoleOutput WriteConsoleOutputA
812 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
813 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
814 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
815 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
816 #define WNetGetLastError WNetGetLastErrorA
817 #define WNetGetProviderName WNetGetProviderNameA
818 #define WNetGetNetworkInformation WNetGetNetworkInformationA
819 #define WNetConnectionDialog1 WNetConnectionDialog1A
820 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
821 #define WNetOpenEnum WNetOpenEnumA
822 #define WNetEnumResource WNetEnumResourceA
823 #define WNetGetUniversalName WNetGetUniversalNameA
824 #define WNetGetUser WNetGetUserA
825 #define WNetAddConnection WNetAddConnectionA
826 #define WNetAddConnection2 WNetAddConnection2A
827 #define WNetAddConnection3 WNetAddConnection3A
828 #define WNetCancelConnection WNetCancelConnectionA
829 #define WNetCancelConnection2 WNetCancelConnection2A
830 #define WNetGetConnection WNetGetConnectionA
831 #define WNetUseConnection WNetUseConnectionA
832 #define WNetSetConnection WNetSetConnectionA
833 #define OpenService OpenServiceA
834 #define QueryServiceConfig QueryServiceConfigA
835 #define QueryServiceLockStatus QueryServiceLockStatusA
836 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
837 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
838 #define StartService StartServiceA
839 #define ChangeServiceConfig ChangeServiceConfigA
840 #define CreateService CreateServiceA
841 #define EnumDependentServices EnumDependentServicesA
842 #define EnumServicesStatus EnumServicesStatusA
843 #define GetServiceKeyName GetServiceKeyNameA
844 #define GetServiceDisplayName GetServiceDisplayNameA
845 #define OpenSCManager OpenSCManagerA
846 #define DragQueryFile DragQueryFileA
847 #define ExtractAssociatedIcon ExtractAssociatedIconA
848 #define ExtractIcon ExtractIconA
849 #define FindExecutable FindExecutableA
850 #define ShellAbout ShellAboutA
851 #define ShellExecute ShellExecuteA
852 #define DdeCreateStringHandle DdeCreateStringHandleA
853 #define DdeInitialize DdeInitializeA
854 #define DdeQueryString DdeQueryStringA
855 #define LogonUser LogonUserA
856 #define CreateProcessAsUser CreateProcessAsUserA
858 #endif /* UNICODE and ASCII defines */
860 WINBOOL STDCALL
AbnormalTermination(VOID
);
861 int STDCALL
AbortDoc(HDC
);
862 WINBOOL STDCALL
AbortPath(HDC
);
863 WINBOOL STDCALL
AbortPrinter(HANDLE
);
864 WINBOOL CALLBACK
AbortProc(HDC
, int);
865 WINBOOL STDCALL
AbortSystemShutdown(LPTSTR
);
866 WINBOOL STDCALL
AccessCheck(
867 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
870 PGENERIC_MAPPING GenericMapping
,
871 PPRIVILEGE_SET PrivilegeSet
,
872 LPDWORD PrivilegeSetLength
,
873 LPDWORD GrantedAccess
,
877 WINBOOL STDCALL
AccessCheckAndAuditAlarm(
878 LPCTSTR SubsystemName
,
880 LPTSTR ObjectTypeName
,
882 PSECURITY_DESCRIPTOR SecurityDescriptor
,
884 PGENERIC_MAPPING GenericMapping
,
885 WINBOOL ObjectCreation
,
886 LPDWORD GrantedAccess
,
888 LPBOOL pfGenerateOnClose
893 InterlockedIncrement(
899 InterlockedDecrement(
911 InterlockedCompareExchange(
932 HINSTANCE hPrevInstance
,
946 FreeLibraryAndExitThread(
953 DisableThreadLibraryCalls(
1065 LPMEMORYSTATUS lpBuffer
1149 FlushInstructionCache(
1151 LPCVOID lpBaseAddress
,
1161 DWORD flAllocationType
,
1181 PDWORD lpflOldProtect
1189 PMEMORY_BASIC_INFORMATION lpBuffer
,
1201 PDWORD lpflOldProtect
1210 PMEMORY_BASIC_INFORMATION lpBuffer
,
1219 DWORD dwInitialSize
,
1279 GetProcessHeap( VOID
);
1284 DWORD NumberOfHeaps
,
1285 PHANDLE ProcessHeaps
1310 LPPROCESS_HEAP_ENTRY lpEntry
1315 GetProcessAffinityMask(
1317 LPDWORD lpProcessAffinityMask
,
1318 LPDWORD lpSystemAffinityMask
1325 LPFILETIME lpCreationTime
,
1326 LPFILETIME lpExitTime
,
1327 LPFILETIME lpKernelTime
,
1328 LPFILETIME lpUserTime
1333 GetProcessWorkingSetSize(
1335 LPDWORD lpMinimumWorkingSetSize
,
1336 LPDWORD lpMaximumWorkingSetSize
1341 SetProcessWorkingSetSize(
1343 DWORD dwMinimumWorkingSetSize
,
1344 DWORD dwMaximumWorkingSetSize
1350 DWORD dwDesiredAccess
,
1351 WINBOOL bInheritHandle
,
1363 GetCurrentProcessId(
1371 ) __attribute__ ((noreturn
));
1396 DWORD dwExceptionCode
,
1397 DWORD dwExceptionFlags
,
1398 DWORD nNumberOfArguments
,
1399 CONST DWORD
*lpArguments
1404 UnhandledExceptionFilter(
1405 struct _EXCEPTION_POINTERS
*ExceptionInfo
1409 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1410 LPTOP_LEVEL_EXCEPTION_FILTER
1412 SetUnhandledExceptionFilter(
1413 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1421 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1423 LPTHREAD_START_ROUTINE lpStartAddress
,
1425 DWORD dwCreationFlags
,
1434 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
1436 LPTHREAD_START_ROUTINE lpStartAddress
,
1438 DWORD dwCreationFlags
,
1459 SetThreadAffinityMask(
1461 DWORD dwThreadAffinityMask
1484 LPFILETIME lpCreationTime
,
1485 LPFILETIME lpExitTime
,
1486 LPFILETIME lpKernelTime
,
1487 LPFILETIME lpUserTime
1515 GetThreadSelectorEntry(
1518 LPLDT_ENTRY lpSelectorEntry
1538 GetOverlappedResult(
1540 LPOVERLAPPED lpOverlapped
,
1541 LPDWORD lpNumberOfBytesTransferred
,
1548 CreateIoCompletionPort(
1550 HANDLE ExistingCompletionPort
,
1551 DWORD CompletionKey
,
1552 DWORD NumberOfConcurrentThreads
1558 GetQueuedCompletionStatus(
1559 HANDLE CompletionPort
,
1560 LPDWORD lpNumberOfBytesTransferred
,
1561 LPDWORD lpCompletionKey
,
1562 LPOVERLAPPED
*lpOverlapped
,
1563 DWORD dwMilliseconds
1577 LPCVOID lpBaseAddress
,
1580 LPDWORD lpNumberOfBytesRead
1588 LPVOID lpBaseAddress
,
1591 LPDWORD lpNumberOfBytesWritten
1607 CONST CONTEXT
*lpContext
1635 LPDEBUG_EVENT lpDebugEvent
,
1636 DWORD dwMilliseconds
1645 DWORD dwContinueStatus
1658 InitializeCriticalSection(
1659 LPCRITICAL_SECTION lpCriticalSection
1665 EnterCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1672 LeaveCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1679 DeleteCriticalSection(
1680 LPCRITICAL_SECTION lpCriticalSection
1710 LPLONG lpPreviousCount
1723 WaitForSingleObject(
1725 DWORD dwMilliseconds
1731 WaitForMultipleObjects(
1733 CONST HANDLE
*lpHandles
,
1735 DWORD dwMilliseconds
1742 DWORD dwMilliseconds
1802 DWORD dwFileOffsetLow
,
1803 DWORD dwFileOffsetHigh
,
1804 DWORD nNumberOfBytesToLockLow
,
1805 DWORD nNumberOfBytesToLockHigh
1813 DWORD dwFileOffsetLow
,
1814 DWORD dwFileOffsetHigh
,
1815 DWORD nNumberOfBytesToUnlockLow
,
1816 DWORD nNumberOfBytesToUnlockHigh
1826 DWORD nNumberOfBytesToLockLow
,
1827 DWORD nNumberOfBytesToLockHigh
,
1828 LPOVERLAPPED lpOverlapped
1836 DWORD nNumberOfBytesToUnlockLow
,
1837 DWORD nNumberOfBytesToUnlockHigh
,
1838 LPOVERLAPPED lpOverlapped
1843 GetFileInformationByHandle(
1845 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1860 LPDWORD lpFileSizeHigh
1884 DWORD nNumberOfBytesToWrite
,
1885 LPDWORD lpNumberOfBytesWritten
,
1886 LPOVERLAPPED lpOverlapped
1895 DWORD nNumberOfBytesToRead
,
1896 LPDWORD lpNumberOfBytesRead
,
1897 LPOVERLAPPED lpOverlapped
1912 DWORD dwIoControlCode
,
1914 DWORD nInBufferSize
,
1916 DWORD nOutBufferSize
,
1917 LPDWORD lpBytesReturned
,
1918 LPOVERLAPPED lpOverlapped
1933 LONG lDistanceToMove
,
1934 PLONG lpDistanceToMoveHigh
,
1950 LPFILETIME lpCreationTime
,
1951 LPFILETIME lpLastAccessTime
,
1952 LPFILETIME lpLastWriteTime
1960 CONST FILETIME
*lpCreationTime
,
1961 CONST FILETIME
*lpLastAccessTime
,
1962 CONST FILETIME
*lpLastWriteTime
1976 HANDLE hSourceProcessHandle
,
1977 HANDLE hSourceHandle
,
1978 HANDLE hTargetProcessHandle
,
1979 LPHANDLE lpTargetHandle
,
1980 DWORD dwDesiredAccess
,
1981 WINBOOL bInheritHandle
,
1988 GetHandleInformation(
1996 SetHandleInformation(
2005 LPCSTR lpModuleName
,
2006 LPVOID lpParameterBlock
2072 LPCOMMPROP lpCommProp
2096 LPCOMMTIMEOUTS lpCommTimeouts
2144 LPCOMMTIMEOUTS lpCommTimeouts
2161 LPOVERLAPPED lpOverlapped
2170 DWORD dwPositionMethod
,
2182 DWORD dwPositionType
,
2183 LPDWORD lpdwPartition
,
2184 LPDWORD lpdwOffsetLow
,
2185 LPDWORD lpdwOffsetHigh
2209 CreateTapePartition(
2211 DWORD dwPartitionMethod
,
2221 DWORD dwTapemarkType
,
2222 DWORD dwTapemarkCount
,
2240 LPVOID lpTapeInformation
2248 LPVOID lpTapeInformation
2397 LPSYSTEMTIME lpSystemTime
2402 GetSystemTimeAsFileTime (
2403 LPFILETIME lpSystemTimeAsFileTime
2409 CONST SYSTEMTIME
*lpSystemTime
2416 LPSYSTEMTIME lpSystemTime
2423 CONST SYSTEMTIME
*lpSystemTime
2430 LPSYSTEM_INFO lpSystemInfo
2435 SystemTimeToTzSpecificLocalTime(
2436 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
2437 LPSYSTEMTIME lpUniversalTime
,
2438 LPSYSTEMTIME lpLocalTime
2444 GetTimeZoneInformation(
2445 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2451 SetTimeZoneInformation(
2452 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
2457 SystemTimeToFileTime(
2458 CONST SYSTEMTIME
*lpSystemTime
,
2459 LPFILETIME lpFileTime
2465 FileTimeToLocalFileTime(
2466 CONST FILETIME
*lpFileTime
,
2467 LPFILETIME lpLocalFileTime
2473 LocalFileTimeToFileTime(
2474 CONST FILETIME
*lpLocalFileTime
,
2475 LPFILETIME lpFileTime
2481 FileTimeToSystemTime(
2482 CONST FILETIME
*lpFileTime
,
2483 LPSYSTEMTIME lpSystemTime
2490 CONST FILETIME
*lpFileTime1
,
2491 CONST FILETIME
*lpFileTime2
2497 FileTimeToDosDateTime(
2498 CONST FILETIME
*lpFileTime
,
2506 DosDateTimeToFileTime(
2509 LPFILETIME lpFileTime
2522 SetSystemTimeAdjustment(
2523 DWORD dwTimeAdjustment
,
2524 WINBOOL bTimeAdjustmentDisabled
2530 GetSystemTimeAdjustment(
2531 PDWORD lpTimeAdjustment
,
2532 PDWORD lpTimeIncrement
,
2533 PWINBOOL lpTimeAdjustmentDisabled
2542 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
2551 LPOVERLAPPED lpOverlapped
2557 DisconnectNamedPipe(
2564 SetNamedPipeHandleState(
2567 LPDWORD lpMaxCollectionCount
,
2568 LPDWORD lpCollectDataTimeout
2577 LPDWORD lpOutBufferSize
,
2578 LPDWORD lpInBufferSize
,
2579 LPDWORD lpMaxInstances
2589 LPDWORD lpBytesRead
,
2590 LPDWORD lpTotalBytesAvail
,
2591 LPDWORD lpBytesLeftThisMessage
2600 DWORD nInBufferSize
,
2602 DWORD nOutBufferSize
,
2603 LPDWORD lpBytesRead
,
2604 LPOVERLAPPED lpOverlapped
2613 LPDWORD lpMaxMessageSize
,
2615 LPDWORD lpMessageCount
,
2616 LPDWORD lpReadTimeout
2631 HANDLE hFileMappingObject
,
2632 DWORD dwDesiredAccess
,
2633 DWORD dwFileOffsetHigh
,
2634 DWORD dwFileOffsetLow
,
2635 DWORD dwNumberOfBytesToMap
2642 LPCVOID lpBaseAddress
,
2643 DWORD dwNumberOfBytesToFlush
2650 LPVOID lpBaseAddress
2657 LPOFSTRUCT lpReOpenBuff
,
2733 CONST LPVOID lpBuffer
,
2769 DWORD dwMilliseconds
,
2776 WaitForSingleObjectEx(
2778 DWORD dwMilliseconds
,
2785 WaitForMultipleObjectsEx(
2787 CONST HANDLE
*lpHandles
,
2789 DWORD dwMilliseconds
,
2799 DWORD nNumberOfBytesToRead
,
2800 LPOVERLAPPED lpOverlapped
,
2801 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2810 DWORD nNumberOfBytesToWrite
,
2811 LPOVERLAPPED lpOverlapped
,
2812 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2821 DWORD nNumberOfBytesToRead
,
2822 LPDWORD lpNumberOfBytesRead
,
2824 WINBOOL bProcessSecurity
,
2833 DWORD dwLowBytesToSeek
,
2834 DWORD dwHighBytesToSeek
,
2835 LPDWORD lpdwLowByteSeeked
,
2836 LPDWORD lpdwHighByteSeeked
,
2846 DWORD nNumberOfBytesToWrite
,
2847 LPDWORD lpNumberOfBytesWritten
,
2849 WINBOOL bProcessSecurity
,
2855 SetProcessShutdownParameters(
2863 GetProcessShutdownParameters(
2871 SetFileApisToOEM( VOID
);
2876 SetFileApisToANSI( VOID
);
2881 AreFileApisANSI( VOID
);
2892 DeregisterEventSource (
2899 NotifyChangeEventLog (
2907 GetNumberOfEventLogRecords (
2909 PDWORD NumberOfRecords
2915 GetOldestEventLogRecord (
2923 HANDLE ExistingTokenHandle
,
2924 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
2925 PHANDLE DuplicateTokenHandle
2931 GetKernelObjectSecurity (
2933 SECURITY_INFORMATION RequestedInformation
,
2934 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2936 LPDWORD lpnLengthNeeded
2942 ImpersonateNamedPipeClient(
2949 ImpersonateLoggedOnUser(
2957 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2980 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
2982 DWORD DesiredAccess
,
2983 PGENERIC_MAPPING GenericMapping
,
2984 PPRIVILEGE_SET PrivilegeSet
,
2985 LPDWORD PrivilegeSetLength
,
2986 LPDWORD GrantedAccess
,
2995 HANDLE ProcessHandle
,
2996 DWORD DesiredAccess
,
3005 HANDLE ThreadHandle
,
3006 DWORD DesiredAccess
,
3015 GetTokenInformation (
3017 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3018 LPVOID TokenInformation
,
3019 DWORD TokenInformationLength
,
3027 SetTokenInformation (
3029 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3030 LPVOID TokenInformation
,
3031 DWORD TokenInformationLength
3038 AdjustTokenPrivileges (
3040 WINBOOL DisableAllPrivileges
,
3041 PTOKEN_PRIVILEGES NewState
,
3043 PTOKEN_PRIVILEGES PreviousState
,
3053 WINBOOL ResetToDefault
,
3054 PTOKEN_GROUPS NewState
,
3056 PTOKEN_GROUPS PreviousState
,
3066 PPRIVILEGE_SET RequiredPrivileges
,
3100 GetSidLengthRequired (
3101 UCHAR nSubAuthorityCount
3108 AllocateAndInitializeSid (
3109 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3110 BYTE nSubAuthorityCount
,
3111 DWORD nSubAuthority0
,
3112 DWORD nSubAuthority1
,
3113 DWORD nSubAuthority2
,
3114 DWORD nSubAuthority3
,
3115 DWORD nSubAuthority4
,
3116 DWORD nSubAuthority5
,
3117 DWORD nSubAuthority6
,
3118 DWORD nSubAuthority7
,
3134 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3135 BYTE nSubAuthorityCount
3140 PSID_IDENTIFIER_AUTHORITY
3142 GetSidIdentifierAuthority (
3150 GetSidSubAuthority (
3159 GetSidSubAuthorityCount (
3176 DWORD nDestinationSidLength
,
3177 PSID pDestinationSid
,
3185 AreAllAccessesGranted (
3186 DWORD GrantedAccess
,
3194 AreAnyAccessesGranted (
3195 DWORD GrantedAccess
,
3205 PGENERIC_MAPPING GenericMapping
3232 LPVOID pAclInformation
,
3233 DWORD nAclInformationLength
,
3234 ACL_INFORMATION_CLASS dwAclInformationClass
3243 LPVOID pAclInformation
,
3244 DWORD nAclInformationLength
,
3245 ACL_INFORMATION_CLASS dwAclInformationClass
3254 DWORD dwAceRevision
,
3255 DWORD dwStartingAceIndex
,
3257 DWORD nAceListLength
3283 AddAccessAllowedAce (
3285 DWORD dwAceRevision
,
3294 AddAccessDeniedAce (
3296 DWORD dwAceRevision
,
3307 DWORD dwAceRevision
,
3310 WINBOOL bAuditSuccess
,
3311 WINBOOL bAuditFailure
3327 InitializeSecurityDescriptor (
3328 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3336 IsValidSecurityDescriptor (
3337 PSECURITY_DESCRIPTOR pSecurityDescriptor
3344 GetSecurityDescriptorLength (
3345 PSECURITY_DESCRIPTOR pSecurityDescriptor
3352 GetSecurityDescriptorControl (
3353 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3354 PSECURITY_DESCRIPTOR_CONTROL pControl
,
3355 LPDWORD lpdwRevision
3362 SetSecurityDescriptorDacl (
3363 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3364 WINBOOL bDaclPresent
,
3366 WINBOOL bDaclDefaulted
3373 GetSecurityDescriptorDacl (
3374 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3375 LPBOOL lpbDaclPresent
,
3377 LPBOOL lpbDaclDefaulted
3384 SetSecurityDescriptorSacl (
3385 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3386 WINBOOL bSaclPresent
,
3388 WINBOOL bSaclDefaulted
3395 GetSecurityDescriptorSacl (
3396 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3397 LPBOOL lpbSaclPresent
,
3399 LPBOOL lpbSaclDefaulted
3406 SetSecurityDescriptorOwner (
3407 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3409 WINBOOL bOwnerDefaulted
3416 GetSecurityDescriptorOwner (
3417 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3419 LPBOOL lpbOwnerDefaulted
3426 SetSecurityDescriptorGroup (
3427 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3429 WINBOOL bGroupDefaulted
3436 GetSecurityDescriptorGroup (
3437 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3439 LPBOOL lpbGroupDefaulted
3446 CreatePrivateObjectSecurity (
3447 PSECURITY_DESCRIPTOR ParentDescriptor
,
3448 PSECURITY_DESCRIPTOR CreatorDescriptor
,
3449 PSECURITY_DESCRIPTOR
* NewDescriptor
,
3450 WINBOOL IsDirectoryObject
,
3452 PGENERIC_MAPPING GenericMapping
3459 SetPrivateObjectSecurity (
3460 SECURITY_INFORMATION SecurityInformation
,
3461 PSECURITY_DESCRIPTOR ModificationDescriptor
,
3462 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
3463 PGENERIC_MAPPING GenericMapping
,
3471 GetPrivateObjectSecurity (
3472 PSECURITY_DESCRIPTOR ObjectDescriptor
,
3473 SECURITY_INFORMATION SecurityInformation
,
3474 PSECURITY_DESCRIPTOR ResultantDescriptor
,
3475 DWORD DescriptorLength
,
3483 DestroyPrivateObjectSecurity (
3484 PSECURITY_DESCRIPTOR
* ObjectDescriptor
3491 MakeSelfRelativeSD (
3492 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3493 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3494 LPDWORD lpdwBufferLength
3502 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
3503 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
3504 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
3506 LPDWORD lpdwDaclSize
,
3508 LPDWORD lpdwSaclSize
,
3510 LPDWORD lpdwOwnerSize
,
3512 LPDWORD lpdwPrimaryGroupSize
3519 SetKernelObjectSecurity (
3521 SECURITY_INFORMATION SecurityInformation
,
3522 PSECURITY_DESCRIPTOR SecurityDescriptor
3528 FindNextChangeNotification(
3529 HANDLE hChangeHandle
3535 FindCloseChangeNotification(
3536 HANDLE hChangeHandle
3559 HANDLE hFileMappingObject
,
3560 DWORD dwDesiredAccess
,
3561 DWORD dwFileOffsetHigh
,
3562 DWORD dwFileOffsetLow
,
3563 DWORD dwNumberOfBytesToMap
,
3564 LPVOID lpBaseAddress
3572 DWORD dwPriorityClass
3623 AllocateLocallyUniqueId(
3630 QueryPerformanceCounter(
3631 LARGE_INTEGER
*lpPerformanceCount
3637 QueryPerformanceFrequency(
3638 LARGE_INTEGER
*lpFrequency
3664 /* The memory functions don't seem to be defined in the libraries, so
3665 define macro versions as well. */
3666 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3667 #define FillMemory(p, c, v) memset ((p), (v), (c))
3668 #define ZeroMemory(p, c) memset ((p), 0, (c))
3673 ActivateKeyboardLayout(
3679 ActivateKeyboardLayout(
3699 UnloadKeyboardLayout(
3705 GetKeyboardLayoutList(
3722 DWORD dwDesiredAccess
);
3728 ENUMWINDOWSPROC lpfn
,
3764 SetProcessWindowStation(
3770 GetProcessWindowStation(
3776 SetUserObjectSecurity(
3778 PSECURITY_INFORMATION pSIRequested
,
3779 PSECURITY_DESCRIPTOR pSID
);
3784 GetUserObjectSecurity(
3786 PSECURITY_INFORMATION pSIRequested
,
3787 PSECURITY_DESCRIPTOR pSID
,
3789 LPDWORD lpnLengthNeeded
);
3845 GetMessageExtraInfo(
3851 SetMessageExtraInfo(
3857 BroadcastSystemMessage(
3888 DWORD dwMilliseconds
);
3994 HWND hWndInsertAfter
,
4006 WINDOWPLACEMENT
*lpwndpl
);
4013 CONST WINDOWPLACEMENT
*lpwndpl
);
4018 BeginDeferWindowPos(
4027 HWND hWndInsertAfter
,
4099 WINBOOL
*lpTranslated
,
4117 int nIDCheckButton
);
4129 GetNextDlgGroupItem(
4151 GetDialogBaseUnits(VOID
);
4174 HWND hWndNewViewer
);
4185 ChangeClipboardChain(
4206 CountClipboardFormats(
4212 EnumClipboardFormats(
4224 IsClipboardFormatAvailable(
4230 GetPriorityClipboardFormat(
4231 UINT
*paFormatPriorityList
,
4237 GetOpenClipboardWindow(
4241 /* Despite the A these are ASCII functions! */
4246 LPCSTR lpCurrentChar
,
4255 LPCSTR lpCurrentChar
,
4401 MsgWaitForMultipleObjects(
4405 DWORD dwMilliseconds
,
4415 TIMERPROC lpTimerFunc
);
4420 SetWaitableTimer(HANDLE hTimer
,
4421 const LARGE_INTEGER
*pDueTime
,
4423 PTIMERAPCROUTINE pfnCompletionRoutine
,
4424 LPVOID lpArgToCompletionRoutine
,
4456 DestroyAcceleratorTable(
4581 HBITMAP hBitmapUnchecked
,
4582 HBITMAP hBitmapChecked
);
4587 GetMenuCheckMarkDimensions(
4600 CONST RECT
*prcRect
);
4618 GetMenuItemRect(HWND hWnd
,
4625 MenuItemFromPoint(HWND hWnd
,
4632 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
4637 DragDetect(HWND hwnd
,
4663 GetForegroundWindow(
4668 PaintDesktop(HDC hdc
);
4673 SetForegroundWindow(
4714 LPPAINTSTRUCT lpPaint
);
4721 CONST PAINTSTRUCT
*lpPaint
);
4774 CONST RECT
*lpRect
);
4796 CONST RECT
*lprcUpdate
,
4814 CONST RECT
*lpClipRect
);
4823 CONST RECT
*lprcScroll
,
4824 CONST RECT
*lprcClip
,
4835 CONST RECT
*prcScroll
,
4836 CONST RECT
*prcClip
,
4925 SetWindowContextHelpId(HWND
, DWORD
);
4929 GetWindowContextHelpId(HWND
);
4933 SetMenuContextHelpId(HMENU
, DWORD
);
4937 GetMenuContextHelpId(HMENU
);
4974 CONST RECT
*lpRect
);
5072 ChildWindowFromPoint(
5093 CONST INT
* lpaElements
,
5094 CONST COLORREF
* lpaRgbValues
);
5147 CONST RECT
*lprcSrc
);
5162 CONST RECT
*lprcSrc1
,
5163 CONST RECT
*lprcSrc2
);
5170 CONST RECT
*lprcSrc1
,
5171 CONST RECT
*lprcSrc2
);
5178 CONST RECT
*lprcSrc1
,
5179 CONST RECT
*lprcSrc2
);
5255 HWND hWndNewParent
);
5262 ENUMWINDOWSPROC lpEnumFunc
,
5269 ENUMWINDOWSPROC lpEnumFunc
,
5277 ENUMWINDOWSPROC lpfn
,
5288 GetWindowThreadProcessId(
5290 LPDWORD lpdwProcessId
);
5309 HOOKPROC pfnFilterProc
);
5313 UnhookWindowsHookEx(
5328 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
5338 CONST VOID
*pvANDPlane
,
5339 CONST VOID
*pvXORPlane
);
5358 HINSTANCE hInstance
,
5363 CONST BYTE
*lpbANDbits
,
5364 CONST BYTE
*lpbXORbits
);
5375 LookupIconIdFromDirectory(
5382 LookupIconIdFromDirectoryEx(
5392 CreateIconFromResource(
5401 CreateIconFromResourceEx(
5424 PICONINFO piconinfo
);
5437 PICONINFO piconinfo
);
5448 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
5452 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
5456 TranslateMDISysAccel(
5463 ArrangeIconicWindows(
5468 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5472 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
5491 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
5495 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
5499 DrawCaption(HWND
, HDC
, CONST RECT
*, UINT
);
5503 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
5507 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
5511 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
5515 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
5516 HICON hIcon
, int cxWidth
, int cyWidth
,
5517 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
5521 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
5525 Arc(HDC
, int, int, int, int, int, int, int, int);
5529 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
5537 Chord(HDC
, int, int, int, int, int, int, int, int);
5545 CombineRgn(HRGN
, HRGN
, HRGN
, int);
5549 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
5553 CreateBitmapIndirect(CONST BITMAP
*);
5557 CreateBrushIndirect(CONST LOGBRUSH
*);
5561 CreateCompatibleBitmap(HDC
, int, int);
5565 CreateDiscardableBitmap(HDC
, int, int);
5569 CreateCompatibleDC(HDC
);
5573 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
5577 CreateDIBPatternBrush(HGLOBAL
, UINT
);
5581 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
5585 CreateEllipticRgn(int, int, int, int);
5589 CreateEllipticRgnIndirect(CONST RECT
*);
5593 CreateHatchBrush(int, COLORREF
);
5597 CreatePalette(CONST LOGPALETTE
*);
5601 CreatePen(int, int, COLORREF
);
5605 CreatePenIndirect(CONST LOGPEN
*);
5609 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
5613 CreatePatternBrush(HBITMAP
);
5617 CreateRectRgn(int, int, int, int);
5621 CreateRectRgnIndirect(CONST RECT
*);
5625 CreateRoundRectRgn(int, int, int, int, int, int);
5629 CreateSolidBrush(COLORREF
);
5637 DeleteMetaFile(HMETAFILE
);
5641 DeleteObject(HGDIOBJ
);
5645 DrawEscape(HDC
, int, int, LPCSTR
);
5649 Ellipse(HDC
, int, int, int, int);
5653 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
5657 EqualRgn(HRGN
, HRGN
);
5661 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
5665 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
5669 ExcludeClipRect(HDC
, int, int, int, int);
5673 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
5677 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
5681 FillRgn(HDC
, HRGN
, HBRUSH
);
5685 FloodFill(HDC
, int, int, COLORREF
);
5689 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
5693 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
5697 GdiProcessSetup (VOID
);
5705 GetAspectRatioFilterEx(HDC
, LPSIZE
);
5717 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
5721 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
5725 GetBoundsRect(HDC
, LPRECT
, UINT
);
5729 GetBrushOrgEx(HDC
, LPPOINT
);
5733 GetClipBox(HDC
, LPRECT
);
5737 GetClipRgn(HDC
, HRGN
);
5741 GetMetaRgn(HDC
, HRGN
);
5745 GetCurrentObject(HDC
, UINT
);
5749 GetCurrentPositionEx(HDC
, LPPOINT
);
5753 GetDeviceCaps(HDC
, int);
5757 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
5761 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
5765 GetGraphicsMode(HDC
);
5773 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
5777 GetNearestColor(HDC
, COLORREF
);
5781 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
5785 GetObjectType(HGDIOBJ h
);
5789 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
5793 GetPixel(HDC
, int, int);
5797 GetPixelFormat(HDC
);
5801 GetPolyFillMode(HDC
);
5805 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
5809 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
5813 GetRgnBox(HRGN
, LPRECT
);
5817 GetStockObject(int);
5821 GetStretchBltMode(HDC
);
5825 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
5829 GetSystemPaletteUse(HDC
);
5833 GetTextCharacterExtra(HDC
);
5845 GetTextCharset(HDC hdc
);
5849 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
5853 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
5857 GetFontLanguageInfo( HDC
);
5861 GetViewportExtEx(HDC
, LPSIZE
);
5865 GetViewportOrgEx(HDC
, LPPOINT
);
5869 GetWindowExtEx(HDC
, LPSIZE
);
5873 GetWindowOrgEx(HDC
, LPPOINT
);
5877 IntersectClipRect(HDC
, int, int, int, int);
5881 InvertRgn(HDC
, HRGN
);
5885 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
5889 LineTo(HDC
, int, int);
5893 MaskBlt(HDC
, int, int, int, int,
5894 HDC
, int, int, HBITMAP
, int, int, DWORD
);
5898 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
5899 int, HBITMAP
, int, int);
5903 OffsetClipRgn(HDC
, int, int);
5907 OffsetRgn(HRGN
, int, int);
5911 PatBlt(HDC
, int, int, int, int, DWORD
);
5915 Pie(HDC
, int, int, int, int, int, int, int, int);
5919 PlayMetaFile(HDC
, HMETAFILE
);
5923 PaintRgn(HDC
, HRGN
);
5927 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
5931 PtInRegion(HRGN
, int, int);
5935 PtVisible(HDC
, int, int);
5939 RectInRegion(HRGN
, CONST RECT
*);
5943 RectVisible(HDC
, CONST RECT
*);
5947 Rectangle(HDC
, int, int, int, int);
5951 RestoreDC(HDC
, int);
5955 RealizePalette(HDC
);
5959 RoundRect(HDC
, int, int, int, int, int, int);
5963 ResizePalette(HPALETTE
, UINT
);
5971 SelectClipRgn(HDC
, HRGN
);
5975 ExtSelectClipRgn(HDC
, HRGN
, int);
5983 SelectObject(HDC
, HGDIOBJ
);
5987 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
5991 SetBkColor(HDC
, COLORREF
);
5995 SetBkMode(HDC
, int);
5999 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
6003 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
6007 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6011 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
6012 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6016 SetMapperFlags(HDC
, DWORD
);
6020 SetGraphicsMode(HDC hdc
, int iMode
);
6024 SetMapMode(HDC
, int);
6028 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6032 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6036 SetPixel(HDC
, int, int, COLORREF
);
6040 SetPixelV(HDC
, int, int, COLORREF
);
6044 SetPolyFillMode(HDC
, int);
6048 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6052 SetRectRgn(HRGN
, int, int, int, int);
6055 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6056 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6064 SetStretchBltMode(HDC
, int);
6068 SetSystemPaletteUse(HDC
, UINT
);
6072 SetTextCharacterExtra(HDC
, int);
6076 SetTextColor(HDC
, COLORREF
);
6080 SetTextAlign(HDC
, UINT
);
6084 SetTextJustification(HDC
, int, int);
6092 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6096 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6100 CloseEnhMetaFile(HDC
);
6104 DeleteEnhMetaFile(HENHMETAFILE
);
6108 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6109 LPVOID
, CONST RECT
*);
6113 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6117 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
6121 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
6125 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
6129 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
6133 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
6138 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
6143 GdiComment(HDC
, UINT
, CONST BYTE
*);
6147 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
6151 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
6155 GetWorldTransform(HDC
, LPXFORM
);
6159 SetWorldTransform(HDC
, CONST XFORM
*);
6163 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
6167 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
6171 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
6175 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
6179 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
6183 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
6187 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
6191 CreateHalftonePalette(HDC
);
6211 SetAbortProc(HDC
, ABORTPROC
);
6219 ArcTo(HDC
, int, int, int, int, int, int,int, int);
6243 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
6251 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
6255 SelectClipPath(HDC
, int);
6259 SetArcDirection(HDC
, int);
6263 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
6267 StrokeAndFillPath(HDC
);
6279 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
6283 GetMiterLimit(HDC
, PFLOAT
);
6287 GetArcDirection(HDC
);
6291 MoveToEx(HDC
, int, int, LPPOINT
);
6295 CreatePolygonRgn(CONST POINT
*, int, int);
6299 DPtoLP(HDC
, LPPOINT
, int);
6303 LPtoDP(HDC
, LPPOINT
, int);
6307 Polygon(HDC
, CONST POINT
*, int);
6311 Polyline(HDC
, CONST POINT
*, int);
6315 PolyBezier(HDC
, CONST POINT
*, DWORD
);
6319 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
6323 PolylineTo(HDC
, CONST POINT
*, DWORD
);
6327 SetViewportExtEx(HDC
, int, int, LPSIZE
);
6331 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
6335 SetWindowExtEx(HDC
, int, int, LPSIZE
);
6339 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
6343 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
6347 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
6351 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
6355 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
6359 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
6363 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
6367 GetDCOrgEx(HDC
,LPPOINT
);
6371 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
6375 UnrealizeObject(HGDIOBJ
);
6383 GdiSetBatchLimit(DWORD
);
6387 GdiGetBatchLimit(void);
6391 SetICMMode(HDC
, int);
6395 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
6403 SetColorSpace(HDC
,HCOLORSPACE
);
6407 DeleteColorSpace(HCOLORSPACE
);
6411 GetDeviceGammaRamp(HDC
,LPVOID
);
6415 SetDeviceGammaRamp(HDC
,LPVOID
);
6419 ColorMatchToTarget(HDC
,HDC
,DWORD
);
6423 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp
);
6427 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
6431 InitCommonControls(void);
6433 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6437 ImageList_Create(int cx
, int cy
, UINT flags
,
6438 int cInitial
, int cGrow
);
6442 ImageList_Destroy(HIMAGELIST himl
);
6446 ImageList_GetImageCount(HIMAGELIST himl
);
6450 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
6455 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
6459 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
6463 ImageList_GetBkColor(HIMAGELIST himl
);
6467 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
6472 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
6476 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
6480 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
6484 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
6488 ImageList_Remove(HIMAGELIST himl
, int i
);
6492 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
6496 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
6500 ImageList_EndDrag(void);
6504 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
6508 ImageList_DragLeave(HWND hwndLock
);
6512 ImageList_DragMove(int x
, int y
);
6516 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
6520 ImageList_DragShowNolock(WINBOOL fShow
);
6524 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
6528 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
6532 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
6536 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
6540 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
6544 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
6545 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
6546 int iNumButtons
, int dxButton
, int dyButton
,
6547 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
6551 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
6552 UINT wFlags
, LPCOLORMAP lpColorMap
,
6558 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
6562 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
6566 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
6570 MakeDragList(HWND hLB
);
6574 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
6578 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
6582 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
6583 HWND hParent
, int nID
, HINSTANCE hInst
,
6585 int nUpper
, int nLower
, int nPos
);
6589 CommDlgExtendedError(VOID
);
6591 /* Animation controls */
6593 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6595 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6597 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6599 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6601 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6603 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6605 /* Property sheet macros */
6607 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6609 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6611 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6613 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6615 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6617 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6619 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6621 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6623 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6625 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6627 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6629 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6631 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6633 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6635 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6637 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6639 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6641 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6643 /* Header control */
6644 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6646 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6648 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6650 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6652 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6654 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6657 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6659 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6661 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6663 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6665 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6667 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6669 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6671 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6673 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6675 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6677 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6679 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6681 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6683 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6685 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6687 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6689 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6691 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6693 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6695 #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))
6697 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6699 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6701 #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);}
6703 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6705 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6707 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6709 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6711 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6713 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6715 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6717 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6719 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6721 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6723 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6725 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6727 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6729 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6731 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6733 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6735 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6738 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6740 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6742 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6744 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6746 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6748 #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);}
6750 #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);}
6752 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6754 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6756 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6758 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6761 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6763 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6765 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6767 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6769 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6771 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6773 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6775 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6777 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6779 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6781 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6783 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6785 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6787 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6789 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6791 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6793 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6795 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6797 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6799 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6801 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6803 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6806 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6808 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6810 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6812 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6814 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6816 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6818 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6820 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6822 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6824 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6826 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6828 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6830 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6832 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6834 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6838 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6840 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6842 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6844 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6846 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6848 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6850 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6852 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6854 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6856 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6858 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6860 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6862 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6864 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6866 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6868 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6870 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6872 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6874 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6876 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6878 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6880 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6882 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6884 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6887 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6889 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6890 #endif /* !UNICODE */
6892 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6894 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6897 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6899 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6900 #endif /* !UNICODE */
6902 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6904 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6907 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6909 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6910 #endif /* !UNICODE */
6912 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6914 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6916 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6918 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6930 SECURITY_INFORMATION SecurityInformation
,
6931 PSECURITY_DESCRIPTOR pSecurityDescriptor
6944 SECURITY_INFORMATION SecurityInformation
,
6945 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
6946 LPDWORD lpcbSecurityDescriptor
6951 RegNotifyChangeKeyValue (
6953 WINBOOL bWatchSubtree
,
6954 DWORD dwNotifyFilter
,
6956 WINBOOL fAsynchronus
6977 GetCPInfo(UINT
, LPCPINFO
);
6995 MultiByteToWideChar(
6998 LPCSTR lpMultiByteStr
,
7000 LPWSTR lpWideCharStr
,
7006 WideCharToMultiByte(
7009 LPCWSTR lpWideCharStr
,
7011 LPSTR lpMultiByteStr
,
7013 LPCSTR lpDefaultChar
,
7014 LPBOOL lpUsedDefaultChar
);
7025 ConvertDefaultLocale(
7031 GetThreadLocale(void);
7043 GetSystemDefaultLangID(void);
7048 GetUserDefaultLangID(void);
7053 GetSystemDefaultLCID(void);
7058 GetUserDefaultLCID(void);
7063 ReadConsoleOutputAttribute(
7064 HANDLE hConsoleOutput
,
7068 LPDWORD lpNumberOfAttrsRead
7074 WriteConsoleOutputAttribute(
7075 HANDLE hConsoleOutput
,
7076 CONST WORD
*lpAttribute
,
7079 LPDWORD lpNumberOfAttrsWritten
7085 FillConsoleOutputAttribute(
7086 HANDLE hConsoleOutput
,
7090 LPDWORD lpNumberOfAttrsWritten
7097 HANDLE hConsoleHandle
,
7104 GetNumberOfConsoleInputEvents(
7105 HANDLE hConsoleInput
,
7106 LPDWORD lpNumberOfEvents
7112 GetConsoleScreenBufferInfo(
7113 HANDLE hConsoleOutput
,
7114 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7120 GetLargestConsoleWindowSize(
7121 HANDLE hConsoleOutput
7127 GetConsoleCursorInfo(
7128 HANDLE hConsoleOutput
,
7129 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7135 GetNumberOfConsoleMouseButtons(
7136 LPDWORD lpNumberOfMouseButtons
7143 HANDLE hConsoleHandle
,
7150 SetConsoleActiveScreenBuffer(
7151 HANDLE hConsoleOutput
7157 FlushConsoleInputBuffer(
7158 HANDLE hConsoleInput
7164 SetConsoleScreenBufferSize(
7165 HANDLE hConsoleOutput
,
7172 SetConsoleCursorPosition(
7173 HANDLE hConsoleOutput
,
7174 COORD dwCursorPosition
7180 SetConsoleCursorInfo(
7181 HANDLE hConsoleOutput
,
7182 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
7187 SetConsoleWindowInfo(
7188 HANDLE hConsoleOutput
,
7190 CONST SMALL_RECT
*lpConsoleWindow
7196 SetConsoleTextAttribute(
7197 HANDLE hConsoleOutput
,
7204 SetConsoleCtrlHandler(
7205 PHANDLER_ROUTINE HandlerRoutine
,
7212 GenerateConsoleCtrlEvent(
7214 DWORD dwProcessGroupId
7220 AllocConsole( VOID
);
7225 FreeConsole( VOID
);
7231 CreateConsoleScreenBuffer(
7232 DWORD dwDesiredAccess
,
7234 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
7236 LPVOID lpScreenBufferData
7242 GetConsoleCP( VOID
);
7254 GetConsoleOutputCP( VOID
);
7264 WNetConnectionDialog(
7270 WNetDisconnectDialog(
7292 LPSERVICE_STATUS lpServiceStatus
7303 LockServiceDatabase(
7304 SC_HANDLE hSCManager
7310 NotifyBootConfigStatus(
7311 WINBOOL BootAcceptable
7316 QueryServiceObjectSecurity(
7318 SECURITY_INFORMATION dwSecurityInformation
,
7319 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
7321 LPDWORD pcbBytesNeeded
7329 LPSERVICE_STATUS lpServiceStatus
7334 SetServiceObjectSecurity(
7336 SECURITY_INFORMATION dwSecurityInformation
,
7337 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7344 SERVICE_STATUS_HANDLE hServiceStatus
,
7345 LPSERVICE_STATUS lpServiceStatus
7350 UnlockServiceDatabase(
7354 /* Extensions to OpenGL */
7357 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
7360 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
7363 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
7364 CONST PIXELFORMATDESCRIPTOR
*);
7367 GetPixelFormat(HDC
);
7370 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
7376 wglCreateContext(HDC
);
7379 wglCreateLayerContext(HDC
, int);
7382 wglCopyContext(HGLRC
, HGLRC
, UINT
);
7385 wglDeleteContext(HGLRC
);
7388 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
7391 wglGetCurrentContext(VOID
);
7394 wglGetCurrentDC(VOID
);
7397 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7400 wglGetProcAddress(LPCSTR
);
7403 wglMakeCurrent(HDC
, HGLRC
);
7406 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
7409 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
7412 wglShareLists(HGLRC
, HGLRC
);
7415 wglSwapLayerBuffers(HDC
, UINT
);
7418 Why are these different between ANSI and UNICODE?
7419 There doesn't seem to be any difference.
7423 #define wglUseFontBitmaps wglUseFontBitmapsW
7424 #define wglUseFontOutlines wglUseFontOutlinesW
7426 #define wglUseFontBitmaps wglUseFontBitmapsA
7427 #define wglUseFontOutlines wglUseFontOutlinesA
7428 #endif /* !UNICODE */
7430 /* ------------------------------------- */
7431 /* From shellapi.h in old Cygnus headers */
7434 DragQueryPoint (HDROP
, LPPOINT
);
7440 DragAcceptFiles (HWND
, WINBOOL
);
7443 DuplicateIcon (HINSTANCE
, HICON
);
7445 /* end of stuff from shellapi.h in old Cygnus headers */
7446 /* -------------------------------------------------- */
7447 /* From ddeml.h in old Cygnus headers */
7449 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
7450 WINBOOL WINAPI
DdeDisconnect (HCONV
);
7451 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
7452 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
7453 UINT WINAPI
DdeGetLastError (DWORD
);
7454 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
7455 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
7456 HCONV WINAPI
DdeReconnect (HCONV
);
7457 WINBOOL WINAPI
DdeUninitialize (DWORD
);
7458 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
7459 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
7462 /* end of stuff from ddeml.h in old Cygnus headers */
7463 /* ----------------------------------------------- */
7465 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7467 DWORD STDCALL
NetApiBufferFree (LPVOID
);
7468 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
7469 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
7470 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7472 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
7476 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
7478 DWORD STDCALL
GetCurrentTime(VOID
);
7481 SHAddToRecentDocs (UINT
, LPCVOID
);
7484 SHBrowseForFolder (LPBROWSEINFO
);
7487 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
7490 SHFileOperation (LPSHFILEOPSTRUCT
);
7493 SHFreeNameMappings (HANDLE
);
7495 /* Define when SHELLFOLDER is defined.
7497 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7500 SHGetDesktopFolder (LPSHELLFOLDER);
7504 SHGetFileInfo (LPCTSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
7506 /* Define when IUnknown is defined.
7508 SHGetInstanceExplorer (IUnknown **);
7511 /* Define when MALLOC is defined.
7513 SHGetMalloc (LPMALLOC *);
7517 SHGetPathFromIDList (LPCITEMIDLIST
, LPTSTR
);
7520 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
7522 /* Define when REFCLSID is defined.
7524 SHLoadInProc (REFCLSID);
7530 VOID (WINAPI
*PFIBER_START_ROUTINE
) (
7531 IN LPVOID lpFiberArgument
7533 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
;
7537 ConvertThreadToFiber (
7544 LPFIBER_START_ROUTINE lpStartAddress
,
7571 #endif /* __cplusplus */
7573 #endif /* WIN32_LEAN_AND_MEAN */
7575 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */