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 */
41 DWORD (CALLBACK *PPROGRESS_ROUTINE)(
42 LARGE_INTEGER TotalFileSize,
43 LARGE_INTEGER TotalBytesTransferred,
44 LARGE_INTEGER StreamSize,
45 LARGE_INTEGER StreamBytesTransferred,
49 HANDLE DestinationFile,
51 typedef PPROGRESS_ROUTINE LPPROGRESS_ROUTINE;
53 /* These functions were a real pain, having to figure out which
54 had Unicode/Ascii versions and which did not */
58 #endif /* !UNICODE_ONLY */
62 #endif /* !ANSI_ONLY */
64 /* Define the approprate declaration based upon UNICODE or ASCII */
69 #define RegConnectRegistry RegConnectRegistryW
70 #define RegCreateKey RegCreateKeyW
71 #define RegCreateKeyEx RegCreateKeyExW
72 #define RegDeleteKey RegDeleteKeyW
73 #define RegDeleteValue RegDeleteValueW
74 #define RegEnumKey RegEnumKeyW
75 #define RegEnumKeyEx RegEnumKeyExW
76 #define RegEnumValue RegEnumValueW
77 #define RegLoadKey RegLoadKeyW
78 #define RegOpenKey RegOpenKeyW
79 #define RegOpenKeyEx RegOpenKeyExW
80 #define RegQueryInfoKey RegQueryInfoKeyW
81 #define RegQueryValue RegQueryValueW
82 #define RegQueryMultipleValues RegQueryMultipleValuesW
83 #define RegQueryValueEx RegQueryValueExW
84 #define RegReplaceKey RegReplaceKeyW
85 #define RegRestoreKey RegRestoreKeyW
86 #define RegSaveKey RegSaveKeyW
87 #define RegSetValue RegSetValueW
88 #define RegSetValueEx RegSetValueExW
89 #define AbortSystemShutdown AbortSystemShutdownW
90 #define InitiateSystemShutdown InitiateSystemShutdownW
91 #define RegUnLoadKey RegUnLoadKeyW
92 #define SetProp SetPropW
93 #define GetProp GetPropW
94 #define RemoveProp RemovePropW
95 #define EnumPropsEx EnumPropsExW
96 #define EnumProps EnumPropsW
97 #define SetWindowText SetWindowTextW
98 #define GetWindowText GetWindowTextW
99 #define GetWindowTextLength GetWindowTextLengthW
100 #define MessageBox MessageBoxW
101 #define MessageBoxEx MessageBoxExW
102 #define MessageBoxIndirect MessageBoxIndirectW
103 #define GetWindowLong GetWindowLongW
104 #define SetWindowLong SetWindowLongW
105 #define GetClassLong GetClassLongW
106 #define SetClassLong SetClassLongW
107 #define FindWindow FindWindowW
108 #define FindWindowEx FindWindowExW
109 #define GetClassName GetClassNameW
110 #define SetWindowsHookEx SetWindowsHookExW
111 #define LoadBitmap LoadBitmapW
112 #define LoadCursor LoadCursorW
113 #define LoadCursorFromFile LoadCursorFromFileW
114 #define LoadIcon LoadIconW
115 #define LoadImage LoadImageW
116 #define LoadString LoadStringW
117 #define IsDialogMessage IsDialogMessageW
118 #define DlgDirList DlgDirListW
119 #define DlgDirSelectEx DlgDirSelectExW
120 #define DlgDirListComboBox DlgDirListComboBoxW
121 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
122 #define DefFrameProc DefFrameProcW
123 #define DefMDIChildProc DefMDIChildProcW
124 #define CreateMDIWindow CreateMDIWindowW
125 #define WinHelp WinHelpW
126 #define ChangeDisplaySettings ChangeDisplaySettingsW
127 #define EnumDisplaySettings EnumDisplaySettingsW
128 #define SystemParametersInfo SystemParametersInfoW
129 #define AddFontResource AddFontResourceW
130 #define CopyMetaFile CopyMetaFileW
131 #define CreateDC CreateDCW
132 #define CreateFontIndirect CreateFontIndirectW
133 #define CreateFont CreateFontW
134 #define CreateIC CreateICW
135 #define CreateMetaFile CreateMetaFileW
136 #define CreateScalableFontResource CreateScalableFontResourceW
137 #define DeviceCapabilities DeviceCapabilitiesW
138 #define EnumFontFamiliesEx EnumFontFamiliesExW
139 #define EnumFontFamilies EnumFontFamiliesW
140 #define EnumFonts EnumFontsW
141 #define GetCharWidth GetCharWidthW
142 #define GetCharWidth32 GetCharWidth32W
143 #define GetCharWidthFloat GetCharWidthFloatW
144 #define GetCharABCWidths GetCharABCWidthsW
145 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
146 #define GetGlyphOutline GetGlyphOutlineW
147 #define GetMetaFile GetMetaFileW
148 #define GetOutlineTextMetrics GetOutlineTextMetricsW
149 #define GetTextExtentPoint GetTextExtentPointW
150 #define GetTextExtentPoint32 GetTextExtentPoint32W
151 #define GetTextExtentExPoint GetTextExtentExPointW
152 #define GetCharacterPlacement GetCharacterPlacementW
153 #define ResetDC ResetDCW
154 #define RemoveFontResource RemoveFontResourceW
155 #define CopyEnhMetaFile CopyEnhMetaFileW
156 #define CreateEnhMetaFile CreateEnhMetaFileW
157 #define GetEnhMetaFile GetEnhMetaFileW
158 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
159 #define GetTextMetrics GetTextMetricsW
160 #define StartDoc StartDocW
161 #define GetObject GetObjectW
162 #define TextOut TextOutW
163 #define ExtTextOut ExtTextOutW
164 #define PolyTextOut PolyTextOutW
165 #define GetTextFace GetTextFaceW
166 #define GetKerningPairs GetKerningPairsW
167 #define GetLogColorSpace GetLogColorSpaceW
168 #define CreateColorSpace CreateColorSpaceW
169 #define GetICMProfile GetICMProfileW
170 #define SetICMProfile SetICMProfileW
171 #define UpdateICMRegKey UpdateICMRegKeyW
172 #define EnumICMProfiles EnumICMProfilesW
173 #define CreatePropertySheetPage CreatePropertySheetPageW
174 #define PropertySheet PropertySheetW
175 #define ImageList_LoadImage ImageList_LoadImageW
176 #define CreateStatusWindow CreateStatusWindowW
177 #define DrawStatusText DrawStatusTextW
178 #define GetOpenFileName GetOpenFileNameW
179 #define GetSaveFileName GetSaveFileNameW
180 #define GetFileTitle GetFileTitleW
181 #define ChooseColor ChooseColorW
182 #define FindText FindTextW
183 #define ReplaceText ReplaceTextW
184 #define ChooseFont ChooseFontW
185 #define PrintDlg PrintDlgW
186 #define PageSetupDlg PageSetupDlgW
187 #define DefWindowProc DefWindowProcW
188 #define CallWindowProc CallWindowProcW
189 #define RegisterClass RegisterClassW
190 #define UnregisterClass UnregisterClassW
191 #define GetClassInfo GetClassInfoW
192 #define RegisterClassEx RegisterClassExW
193 #define GetClassInfoEx GetClassInfoExW
194 #define CreateWindowEx CreateWindowExW
195 #define CreateWindow CreateWindowW
196 #define CreateDialogParam CreateDialogParamW
197 #define CreateDialogIndirectParam CreateDialogIndirectParamW
198 #define CreateDialog CreateDialogW
199 #define CreateDialogIndirect CreateDialogIndirectW
200 #define DialogBoxParam DialogBoxParamW
201 #define DialogBoxIndirectParam DialogBoxIndirectParamW
202 #define DialogBox DialogBoxW
203 #define DialogBoxIndirect DialogBoxIndirectW
204 #define RegisterClipboardFormat RegisterClipboardFormatW
205 #define SetDlgItemText SetDlgItemTextW
206 #define GetDlgItemText GetDlgItemTextW
207 #define SendDlgItemMessage SendDlgItemMessageW
208 #define DefDlgProc DefDlgProcW
209 #define CallMsgFilter CallMsgFilterW
210 #define GetClipboardFormatName GetClipboardFormatNameW
211 #define CharToOem CharToOemW
212 #define OemToChar OemToCharW
213 #define CharToOemBuff CharToOemBuffW
214 #define OemToCharBuff OemToCharBuffW
215 #define CharUpper CharUpperW
216 #define CharUpperBuff CharUpperBuffW
217 #define CharLower CharLowerW
218 #define CharLowerBuff CharLowerBuffW
219 #define CharNext CharNextW
220 #define CharPrev CharPrevW
221 #define IsCharAlpha IsCharAlphaW
222 #define IsCharAlphaNumeric IsCharAlphaNumericW
223 #define IsCharUpper IsCharUpperW
224 #define IsCharLower IsCharLowerW
225 #define GetKeyNameText GetKeyNameTextW
226 #define VkKeyScan VkKeyScanW
227 #define VkKeyScanEx VkKeyScanExW
228 #define MapVirtualKey MapVirtualKeyW
229 #define MapVirtualKeyEx MapVirtualKeyExW
230 #define LoadAccelerators LoadAcceleratorsW
231 #define CreateAcceleratorTable CreateAcceleratorTableW
232 #define CopyAcceleratorTable CopyAcceleratorTableW
233 #define TranslateAccelerator TranslateAcceleratorW
234 #define LoadMenu LoadMenuW
235 #define LoadMenuIndirect LoadMenuIndirectW
236 #define ChangeMenu ChangeMenuW
237 #define GetMenuString GetMenuStringW
238 #define InsertMenu InsertMenuW
239 #define AppendMenu AppendMenuW
240 #define ModifyMenu ModifyMenuW
241 #define InsertMenuItem InsertMenuItemW
242 #define GetMenuItemInfo GetMenuItemInfoW
243 #define SetMenuItemInfo SetMenuItemInfoW
244 #define DrawText DrawTextW
245 #define DrawTextEx DrawTextExW
246 #define GrayString GrayStringW
247 #define DrawState DrawStateW
248 #define TabbedTextOut TabbedTextOutW
249 #define GetTabbedTextExtent GetTabbedTextExtentW
250 #define GetVersionEx GetVersionExW
251 #define wvsprintf wvsprintfW
252 #define wsprintf wsprintfW
253 #define LoadKeyboardLayout LoadKeyboardLayoutW
254 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
255 #define CreateDesktop CreateDesktopW
256 #define OpenDesktop OpenDesktopW
257 #define EnumDesktops EnumDesktopsW
258 #define CreateWindowStation CreateWindowStationW
259 #define OpenWindowStation OpenWindowStationW
260 #define EnumWindowStations EnumWindowStationsW
261 #define IsBadStringPtr IsBadStringPtrW
262 #define LookupAccountSid LookupAccountSidW
263 #define LookupAccountName LookupAccountNameW
264 #define LookupPrivilegeValue LookupPrivilegeValueW
265 #define LookupPrivilegeName LookupPrivilegeNameW
266 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
267 #define BuildCommDCB BuildCommDCBW
268 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
269 #define CommConfigDialog CommConfigDialogW
270 #define GetDefaultCommConfig GetDefaultCommConfigW
271 #define SetDefaultCommConfig SetDefaultCommConfigW
272 #define GetComputerName GetComputerNameW
273 #define SetComputerName SetComputerNameW
274 #define GetUserName GetUserNameW
275 #define CreateMailslot CreateMailslotW
276 #define FormatMessage FormatMessageW
277 #define GetEnvironmentStrings GetEnvironmentStringsW
278 #define FreeEnvironmentStrings FreeEnvironmentStringsW
279 #define lstrcmp lstrcmpW
280 #define lstrcmpi lstrcmpiW
281 #define lstrcpyn lstrcpynW
282 #define lstrcpy lstrcpyW
283 #define lstrcat lstrcatW
284 #define lstrlen lstrlenW
285 #define GetBinaryType GetBinaryTypeW
286 #define GetShortPathName GetShortPathNameW
287 #define SetFileSecurity SetFileSecurityW
288 #define GetFileSecurity GetFileSecurityW
289 #define FindFirstChangeNotification FindFirstChangeNotificationW
290 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
291 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
292 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
293 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
294 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
295 #define OpenEventLog OpenEventLogW
296 #define RegisterEventSource RegisterEventSourceW
297 #define OpenBackupEventLog OpenBackupEventLogW
298 #define ReadEventLog ReadEventLogW
299 #define ReportEvent ReportEventW
300 #define CreateProcess CreateProcessW
301 #define FatalAppExit FatalAppExitW
302 #define GetStartupInfo GetStartupInfoW
303 #define GetEnvironmentVariable GetEnvironmentVariableW
304 #define GetCommandLine GetCommandLineW
305 #define SetEnvironmentVariable SetEnvironmentVariableW
306 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
307 #define OutputDebugString OutputDebugStringW
308 #define FindResource FindResourceW
309 #define FindResourceEx FindResourceExW
310 #define EnumResourceTypes EnumResourceTypesW
311 #define EnumResourceNames EnumResourceNamesW
312 #define EnumResourceLanguages EnumResourceLanguagesW
313 #define BeginUpdateResource BeginUpdateResourceW
314 #define UpdateResource UpdateResourceW
315 #define EndUpdateResource EndUpdateResourceW
316 #define GlobalAddAtom GlobalAddAtomW
317 #define GlobalFindAtom GlobalFindAtomW
318 #define GlobalGetAtomName GlobalGetAtomNameW
319 #define AddAtom AddAtomW
320 #define FindAtom FindAtomW
321 #define GetAtomName GetAtomNameW
322 #define GetProfileInt GetProfileIntW
323 #define GetProfileString GetProfileStringW
324 #define WriteProfileString WriteProfileStringW
325 #define GetProfileSection GetProfileSectionW
326 #define WriteProfileSection WriteProfileSectionW
327 #define GetPrivateProfileInt GetPrivateProfileIntW
328 #define GetPrivateProfileString GetPrivateProfileStringW
329 #define WritePrivateProfileString WritePrivateProfileStringW
330 #define GetPrivateProfileSection GetPrivateProfileSectionW
331 #define WritePrivateProfileSection WritePrivateProfileSectionW
332 #define GetDriveType GetDriveTypeW
333 #define GetSystemDirectory GetSystemDirectoryW
334 #define GetTempPath GetTempPathW
335 #define GetTempFileName GetTempFileNameW
336 #define GetWindowsDirectory GetWindowsDirectoryW
337 #define SetCurrentDirectory SetCurrentDirectoryW
338 #define GetCurrentDirectory GetCurrentDirectoryW
339 #define GetDiskFreeSpace GetDiskFreeSpaceW
340 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
341 #define CreateDirectory CreateDirectoryW
342 #define CreateDirectoryEx CreateDirectoryExW
343 #define RemoveDirectory RemoveDirectoryW
344 #define GetFullPathName GetFullPathNameW
345 #define DefineDosDevice DefineDosDeviceW
346 #define QueryDosDevice QueryDosDeviceW
347 #define CreateFile CreateFileW
348 #define SetFileAttributes SetFileAttributesW
349 #define GetFileAttributes GetFileAttributesW
350 #define GetCompressedFileSize GetCompressedFileSizeW
351 #define DeleteFile DeleteFileW
352 #define FindFirstFileEx FindFirstFileExW
353 #define FindFirstFile FindFirstFileW
354 #define FindNextFile FindNextFileW
355 #define SearchPath SearchPathW
356 #define CopyFile CopyFileW
357 #define CopyFileEx CopyFileExW
358 #define MoveFile MoveFileW
359 #define MoveFileEx MoveFileExW
360 #define MoveFileWithProgress MoveFileWithProgressW
361 #define CreateNamedPipe CreateNamedPipeW
362 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
363 #define CallNamedPipe CallNamedPipeW
364 #define WaitNamedPipe WaitNamedPipeW
365 #define SetVolumeLabel SetVolumeLabelW
366 #define GetVolumeInformation GetVolumeInformationW
367 #define ClearEventLog ClearEventLogW
368 #define BackupEventLog BackupEventLogW
369 #define CreateMutex CreateMutexW
370 #define OpenMutex OpenMutexW
371 #define CreateEvent CreateEventW
372 #define OpenEvent OpenEventW
373 #define CreateSemaphore CreateSemaphoreW
374 #define OpenSemaphore OpenSemaphoreW
375 #define CreateFileMapping CreateFileMappingW
376 #define OpenFileMapping OpenFileMappingW
377 #define GetLogicalDriveStrings GetLogicalDriveStringsW
378 #define LoadLibrary LoadLibraryW
379 #define LoadLibraryEx LoadLibraryExW
380 #define GetModuleFileName GetModuleFileNameW
381 #define GetModuleHandle GetModuleHandleW
382 #define GetUserObjectInformation GetUserObjectInformationW
383 #define SetUserObjectInformation SetUserObjectInformationW
384 #define RegisterWindowMessage RegisterWindowMessageW
385 #define GetMessage GetMessageW
386 #define DispatchMessage DispatchMessageW
387 #define PeekMessage PeekMessageW
388 #define SendMessage SendMessageW
389 #define SendMessageTimeout SendMessageTimeoutW
390 #define SendNotifyMessage SendNotifyMessageW
391 #define SendMessageCallback SendMessageCallbackW
392 #define PostMessage PostMessageW
393 #define PostThreadMessage PostThreadMessageW
394 #define VerFindFile VerFindFileW
395 #define VerInstallFile VerInstallFileW
396 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
397 #define GetFileVersionInfo GetFileVersionInfoW
398 #define VerLanguageName VerLanguageNameW
399 #define VerQueryValue VerQueryValueW
400 #define CompareString CompareStringW
401 #define LCMapString LCMapStringW
402 #define GetLocaleInfo GetLocaleInfoW
403 #define SetLocaleInfo SetLocaleInfoW
404 #define GetTimeFormat GetTimeFormatW
405 #define GetDateFormat GetDateFormatW
406 #define GetNumberFormat GetNumberFormatW
407 #define GetCurrencyFormat GetCurrencyFormatW
408 #define EnumCalendarInfo EnumCalendarInfoW
409 #define EnumTimeFormats EnumTimeFormatsW
410 #define FoldString FoldStringW
411 #define EnumSystemCodePages EnumSystemCodePagesW
412 #define EnumSystemLocales EnumSystemLocalesW
413 #define GetStringTypeEx GetStringTypeExW
414 #define EnumDateFormats EnumDateFormatsW
415 #define GetConsoleTitle GetConsoleTitleW
416 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
417 #define SetConsoleTitle SetConsoleTitleW
418 #define ReadConsole ReadConsoleW
419 #define WriteConsole WriteConsoleW
420 #define PeekConsoleInput PeekConsoleInputW
421 #define ReadConsoleInput ReadConsoleInputW
422 #define WriteConsoleInput WriteConsoleInputW
423 #define ReadConsoleOutput ReadConsoleOutputW
424 #define WriteConsoleOutput WriteConsoleOutputW
425 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
426 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
427 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
428 #define WNetGetProviderName WNetGetProviderNameW
429 #define WNetGetNetworkInformation WNetGetNetworkInformationW
430 #define WNetGetLastError WNetGetLastErrorW
431 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
432 #define WNetConnectionDialog1 WNetConnectionDialog1W
433 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
434 #define WNetOpenEnum WNetOpenEnumW
435 #define WNetEnumResource WNetEnumResourceW
436 #define WNetGetUniversalName WNetGetUniversalNameW
437 #define WNetGetUser WNetGetUserW
438 #define WNetAddConnection WNetAddConnectionW
439 #define WNetAddConnection2 WNetAddConnection2W
440 #define WNetAddConnection3 WNetAddConnection3W
441 #define WNetCancelConnection WNetCancelConnectionW
442 #define WNetCancelConnection2 WNetCancelConnection2W
443 #define WNetGetConnection WNetGetConnectionW
444 #define WNetUseConnection WNetUseConnectionW
445 #define WNetSetConnection WNetSetConnectionW
446 #define CreateService CreateServiceW
447 #define ChangeServiceConfig ChangeServiceConfigW
448 #define EnumDependentServices EnumDependentServicesW
449 #define EnumServicesStatus EnumServicesStatusW
450 #define GetServiceKeyName GetServiceKeyNameW
451 #define GetServiceDisplayName GetServiceDisplayNameW
452 #define OpenSCManager OpenSCManagerW
453 #define OpenService OpenServiceW
454 #define QueryServiceConfig QueryServiceConfigW
455 #define QueryServiceLockStatus QueryServiceLockStatusW
456 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
457 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
458 #define StartService StartServiceW
459 #define DragQueryFile DragQueryFileW
460 #define ExtractAssociatedIcon ExtractAssociatedIconW
461 #define ExtractIcon ExtractIconW
462 #define FindExecutable FindExecutableW
463 #define ShellAbout ShellAboutW
464 #define ShellExecute ShellExecuteW
465 #define DdeCreateStringHandle DdeCreateStringHandleW
466 #define DdeInitialize DdeInitializeW
467 #define DdeQueryString DdeQueryStringW
468 #define LogonUser LogonUserW
469 #define CreateProcessAsUser CreateProcessAsUserW
474 #define RegConnectRegistry RegConnectRegistryA
475 #define RegCreateKey RegCreateKeyA
476 #define RegCreateKeyEx RegCreateKeyExA
477 #define RegDeleteKey RegDeleteKeyA
478 #define RegDeleteValue RegDeleteValueA
479 #define RegEnumKey RegEnumKeyA
480 #define RegEnumKeyEx RegEnumKeyExA
481 #define RegEnumValue RegEnumValueA
482 #define RegLoadKey RegLoadKeyA
483 #define RegOpenKey RegOpenKeyA
484 #define RegOpenKeyEx RegOpenKeyExA
485 #define RegQueryInfoKey RegQueryInfoKeyA
486 #define RegQueryValue RegQueryValueA
487 #define RegQueryMultipleValues RegQueryMultipleValuesA
488 #define RegQueryValueEx RegQueryValueExA
489 #define RegReplaceKey RegReplaceKeyA
490 #define RegRestoreKey RegRestoreKeyA
491 #define RegSaveKey RegSaveKeyA
492 #define RegSetValue RegSetValueA
493 #define RegSetValueEx RegSetValueExA
494 #define AbortSystemShutdown AbortSystemShutdownA
495 #define InitiateSystemShutdown InitiateSystemShutdownA
496 #define RegUnLoadKey RegUnLoadKeyA
497 #define LoadIcon LoadIconA
498 #define LoadImage LoadImageA
499 #define LoadString LoadStringA
500 #define IsDialogMessage IsDialogMessageA
501 #define DlgDirList DlgDirListA
502 #define DlgDirSelectEx DlgDirSelectExA
503 #define DlgDirListComboBox DlgDirListComboBoxA
504 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
505 #define DefFrameProc DefFrameProcA
506 #define DefMDIChildProc DefMDIChildProcA
507 #define CreateMDIWindow CreateMDIWindowA
508 #define WinHelp WinHelpA
509 #define ChangeDisplaySettings ChangeDisplaySettingsA
510 #define EnumDisplaySettings EnumDisplaySettingsA
511 #define SystemParametersInfo SystemParametersInfoA
512 #define GetWindowLong GetWindowLongA
513 #define SetWindowLong SetWindowLongA
514 #define GetClassLong GetClassLongA
515 #define SetClassLong SetClassLongA
516 #define FindWindow FindWindowA
517 #define FindWindowEx FindWindowExA
518 #define GetClassName GetClassNameA
519 #define SetWindowsHookEx SetWindowsHookExA
520 #define LoadBitmap LoadBitmapA
521 #define LoadCursor LoadCursorA
522 #define LoadCursorFromFile LoadCursorFromFileA
523 #define SetProp SetPropA
524 #define GetProp GetPropA
525 #define RemoveProp RemovePropA
526 #define EnumPropsEx EnumPropsExA
527 #define EnumProps EnumPropsA
528 #define SetWindowText SetWindowTextA
529 #define GetWindowText GetWindowTextA
530 #define GetWindowTextLength GetWindowTextLengthA
531 #define MessageBox MessageBoxA
532 #define MessageBoxEx MessageBoxExA
533 #define MessageBoxIndirect MessageBoxIndirectA
534 #define AddFontResource AddFontResourceA
535 #define CopyMetaFile CopyMetaFileA
536 #define CreateDC CreateDCA
537 #define CreateFontIndirect CreateFontIndirectA
538 #define CreateFont CreateFontA
539 #define CreateIC CreateICA
540 #define CreateMetaFile CreateMetaFileA
541 #define CreateScalableFontResource CreateScalableFontResourceA
542 #define DeviceCapabilities DeviceCapabilitiesA
543 #define EnumFontFamiliesEx EnumFontFamiliesExA
544 #define EnumFontFamilies EnumFontFamiliesA
545 #define EnumFonts EnumFontsA
546 #define GetCharWidth GetCharWidthA
547 #define GetCharWidth32 GetCharWidth32A
548 #define GetCharWidthFloat GetCharWidthFloatA
549 #define GetCharABCWidths GetCharABCWidthsA
550 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
551 #define GetGlyphOutline GetGlyphOutlineA
552 #define GetMetaFile GetMetaFileA
553 #define GetOutlineTextMetrics GetOutlineTextMetricsA
554 #define GetTextExtentPoint GetTextExtentPointA
555 #define GetTextExtentPoint32 GetTextExtentPoint32A
556 #define GetTextExtentExPoint GetTextExtentExPointA
557 #define GetCharacterPlacement GetCharacterPlacementA
558 #define ResetDC ResetDCA
559 #define RemoveFontResource RemoveFontResourceA
560 #define CopyEnhMetaFile CopyEnhMetaFileA
561 #define CreateEnhMetaFile CreateEnhMetaFileA
562 #define GetEnhMetaFile GetEnhMetaFileA
563 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
564 #define GetTextMetrics GetTextMetricsA
565 #define StartDoc StartDocA
566 #define GetObject GetObjectA
567 #define TextOut TextOutA
568 #define ExtTextOut ExtTextOutA
569 #define PolyTextOut PolyTextOutA
570 #define GetTextFace GetTextFaceA
571 #define GetKerningPairs GetKerningPairsA
572 #define GetLogColorSpace GetLogColorSpaceA
573 #define CreateColorSpace CreateColorSpaceA
574 #define GetICMProfile GetICMProfileA
575 #define SetICMProfile SetICMProfileA
576 #define UpdateICMRegKey UpdateICMRegKeyA
577 #define EnumICMProfiles EnumICMProfilesA
578 #define CreatePropertySheetPage CreatePropertySheetPageA
579 #define PropertySheet PropertySheetA
580 #define ImageList_LoadImage ImageList_LoadImageA
581 #define CreateStatusWindow CreateStatusWindowA
582 #define DrawStatusText DrawStatusTextA
583 #define GetOpenFileName GetOpenFileNameA
584 #define GetSaveFileName GetSaveFileNameA
585 #define GetFileTitle GetFileTitleA
586 #define ChooseColor ChooseColorA
587 #define FindText FindTextA
588 #define ReplaceText ReplaceTextA
589 #define ChooseFont ChooseFontA
590 #define PrintDlg PrintDlgA
591 #define PageSetupDlg PageSetupDlgA
592 #define DefWindowProc DefWindowProcA
593 #define CallWindowProc CallWindowProcA
594 #define RegisterClass RegisterClassA
595 #define UnregisterClass UnregisterClassA
596 #define GetClassInfo GetClassInfoA
597 #define RegisterClassEx RegisterClassExA
598 #define GetClassInfoEx GetClassInfoExA
599 #define CreateWindowEx CreateWindowExA
600 #define CreateWindow CreateWindowA
601 #define CreateDialogParam CreateDialogParamA
602 #define CreateDialogIndirectParam CreateDialogIndirectParamA
603 #define CreateDialog CreateDialogA
604 #define CreateDialogIndirect CreateDialogIndirectA
605 #define CreateWaitableTimer CreateWaitableTimerA
606 #define DialogBoxParam DialogBoxParamA
607 #define DialogBoxIndirectParam DialogBoxIndirectParamA
608 #define DialogBox DialogBoxA
609 #define DialogBoxIndirect DialogBoxIndirectA
610 #define RegisterClipboardFormat RegisterClipboardFormatA
611 #define SetDlgItemText SetDlgItemTextA
612 #define GetDlgItemText GetDlgItemTextA
613 #define SendDlgItemMessage SendDlgItemMessageA
614 #define DefDlgProc DefDlgProcA
615 #define CallMsgFilter CallMsgFilterA
616 #define GetClipboardFormatName GetClipboardFormatNameA
617 #define CharToOem CharToOemA
618 #define OemToChar OemToCharA
619 #define CharToOemBuff CharToOemBuffA
620 #define OemToCharBuff OemToCharBuffA
621 #define CharUpper CharUpperA
622 #define CharUpperBuff CharUpperBuffA
623 #define CharLower CharLowerA
624 #define CharLowerBuff CharLowerBuffA
625 #define CharNext CharNextA
626 #define CharPrev CharPrevA
627 #define IsCharAlpha IsCharAlphaA
628 #define IsCharAlphaNumeric IsCharAlphaNumericA
629 #define IsCharUpper IsCharUpperA
630 #define IsCharLower IsCharLowerA
631 #define GetKeyNameText GetKeyNameTextA
632 #define VkKeyScan VkKeyScanA
633 #define VkKeyScanEx VkKeyScanExA
634 #define MapVirtualKey MapVirtualKeyA
635 #define MapVirtualKeyEx MapVirtualKeyExA
636 #define LoadAccelerators LoadAcceleratorsA
637 #define CreateAcceleratorTable CreateAcceleratorTableA
638 #define CopyAcceleratorTable CopyAcceleratorTableA
639 #define TranslateAccelerator TranslateAcceleratorA
640 #define LoadMenu LoadMenuA
641 #define LoadMenuIndirect LoadMenuIndirectA
642 #define ChangeMenu ChangeMenuA
643 #define GetMenuString GetMenuStringA
644 #define InsertMenu InsertMenuA
645 #define AppendMenu AppendMenuA
646 #define ModifyMenu ModifyMenuA
647 #define InsertMenuItem InsertMenuItemA
648 #define GetMenuItemInfo GetMenuItemInfoA
649 #define SetMenuItemInfo SetMenuItemInfoA
650 #define DrawText DrawTextA
651 #define DrawTextEx DrawTextExA
652 #define GrayString GrayStringA
653 #define DrawState DrawStateA
654 #define TabbedTextOut TabbedTextOutA
655 #define GetTabbedTextExtent GetTabbedTextExtentA
656 #define GetVersionEx GetVersionExA
657 #define wvsprintf wvsprintfA
658 #define wsprintf wsprintfA
659 #define LoadKeyboardLayout LoadKeyboardLayoutA
660 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
661 #define CreateDesktop CreateDesktopA
662 #define OpenDesktop OpenDesktopA
663 #define EnumDesktops EnumDesktopsA
664 #define CreateWindowStation CreateWindowStationA
665 #define OpenWindowStation OpenWindowStationA
666 #define EnumWindowStations EnumWindowStationsA
667 #define IsBadStringPtr IsBadStringPtrA
668 #define LookupAccountSid LookupAccountSidA
669 #define LookupAccountName LookupAccountNameA
670 #define LookupPrivilegeValue LookupPrivilegeValueA
671 #define LookupPrivilegeName LookupPrivilegeNameA
672 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
673 #define BuildCommDCB BuildCommDCBA
674 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
675 #define CommConfigDialog CommConfigDialogA
676 #define GetDefaultCommConfig GetDefaultCommConfigA
677 #define SetDefaultCommConfig SetDefaultCommConfigA
678 #define GetComputerName GetComputerNameA
679 #define SetComputerName SetComputerNameA
680 #define GetUserName GetUserNameA
681 #define CreateMailslot CreateMailslotA
682 #define FormatMessage FormatMessageA
683 #define GetEnvironmentStrings GetEnvironmentStringsA
684 #define FreeEnvironmentStrings FreeEnvironmentStringsA
685 #define lstrcmp lstrcmpA
686 #define lstrcmpi lstrcmpiA
687 #define lstrcpyn lstrcpynA
688 #define lstrcpy lstrcpyA
689 #define lstrcat lstrcatA
690 #define lstrlen lstrlenA
691 #define GetBinaryType GetBinaryTypeA
692 #define GetShortPathName GetShortPathNameA
693 #define SetFileSecurity SetFileSecurityA
694 #define GetFileSecurity GetFileSecurityA
695 #define FindFirstChangeNotification FindFirstChangeNotificationA
696 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
697 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
698 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
699 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
700 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
701 #define OpenEventLog OpenEventLogA
702 #define RegisterEventSource RegisterEventSourceA
703 #define OpenBackupEventLog OpenBackupEventLogA
704 #define ReadEventLog ReadEventLogA
705 #define ReportEvent ReportEventA
706 #define CreateProcess CreateProcessA
707 #define FatalAppExit FatalAppExitA
708 #define GetStartupInfo GetStartupInfoA
709 #define GetCommandLine GetCommandLineA
710 #define GetEnvironmentVariable GetEnvironmentVariableA
711 #define SetEnvironmentVariable SetEnvironmentVariableA
712 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
713 #define OutputDebugString OutputDebugStringA
714 #define FindResource FindResourceA
715 #define FindResourceEx FindResourceExA
716 #define EnumResourceTypes EnumResourceTypesA
717 #define EnumResourceNames EnumResourceNamesA
718 #define EnumResourceLanguages EnumResourceLanguagesA
719 #define BeginUpdateResource BeginUpdateResourceA
720 #define UpdateResource UpdateResourceA
721 #define EndUpdateResource EndUpdateResourceA
722 #define GlobalAddAtom GlobalAddAtomA
723 #define GlobalFindAtom GlobalFindAtomA
724 #define GlobalGetAtomName GlobalGetAtomNameA
725 #define AddAtom AddAtomA
726 #define FindAtom FindAtomA
727 #define GetProfileInt GetProfileIntA
728 #define GetAtomName GetAtomNameA
729 #define GetProfileString GetProfileStringA
730 #define WriteProfileString WriteProfileStringA
731 #define GetProfileSection GetProfileSectionA
732 #define WriteProfileSection WriteProfileSectionA
733 #define GetPrivateProfileInt GetPrivateProfileIntA
734 #define GetPrivateProfileString GetPrivateProfileStringA
735 #define WritePrivateProfileString WritePrivateProfileStringA
736 #define GetPrivateProfileSection GetPrivateProfileSectionA
737 #define WritePrivateProfileSection WritePrivateProfileSectionA
738 #define GetDriveType GetDriveTypeA
739 #define GetSystemDirectory GetSystemDirectoryA
740 #define GetTempPath GetTempPathA
741 #define GetTempFileName GetTempFileNameA
742 #define GetWindowsDirectory GetWindowsDirectoryA
743 #define SetCurrentDirectory SetCurrentDirectoryA
744 #define GetCurrentDirectory GetCurrentDirectoryA
745 #define GetDiskFreeSpace GetDiskFreeSpaceA
746 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
747 #define CreateDirectory CreateDirectoryA
748 #define CreateDirectoryEx CreateDirectoryExA
749 #define RemoveDirectory RemoveDirectoryA
750 #define GetFullPathName GetFullPathNameA
751 #define DefineDosDevice DefineDosDeviceA
752 #define QueryDosDevice QueryDosDeviceA
753 #define CreateFile CreateFileA
754 #define SetFileAttributes SetFileAttributesA
755 #define GetFileAttributes GetFileAttributesA
756 #define GetCompressedFileSize GetCompressedFileSizeA
757 #define DeleteFile DeleteFileA
758 #define FindFirstFileEx FindFirstFileExA
759 #define FindFirstFile FindFirstFileA
760 #define FindNextFile FindNextFileA
761 #define SearchPath SearchPathA
762 #define CopyFile CopyFileA
763 #define CopyFileEx CopyFileExA
764 #define MoveFile MoveFileA
765 #define MoveFileEx MoveFileExA
766 #define MoveFileWithProgress MoveFileWithProgressA
767 #define CreateNamedPipe CreateNamedPipeA
768 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
769 #define CallNamedPipe CallNamedPipeA
770 #define WaitNamedPipe WaitNamedPipeA
771 #define SetVolumeLabel SetVolumeLabelA
772 #define GetVolumeInformation GetVolumeInformationA
773 #define ClearEventLog ClearEventLogA
774 #define BackupEventLog BackupEventLogA
775 #define CreateMutex CreateMutexA
776 #define OpenMutex OpenMutexA
777 #define CreateEvent CreateEventA
778 #define OpenEvent OpenEventA
779 #define CreateSemaphore CreateSemaphoreA
780 #define OpenSemaphore OpenSemaphoreA
781 #define CreateFileMapping CreateFileMappingA
782 #define OpenFileMapping OpenFileMappingA
783 #define GetLogicalDriveStrings GetLogicalDriveStringsA
784 #define LoadLibrary LoadLibraryA
785 #define LoadLibraryEx LoadLibraryExA
786 #define GetModuleFileName GetModuleFileNameA
787 #define GetModuleHandle GetModuleHandleA
788 #define GetUserObjectInformation GetUserObjectInformationA
789 #define SetUserObjectInformation SetUserObjectInformationA
790 #define RegisterWindowMessage RegisterWindowMessageA
791 #define GetMessage GetMessageA
792 #define DispatchMessage DispatchMessageA
793 #define PeekMessage PeekMessageA
794 #define SendMessage SendMessageA
795 #define SendMessageTimeout SendMessageTimeoutA
796 #define SendNotifyMessage SendNotifyMessageA
797 #define SendMessageCallback SendMessageCallbackA
798 #define PostMessage PostMessageA
799 #define PostThreadMessage PostThreadMessageA
800 #define VerFindFile VerFindFileA
801 #define VerInstallFile VerInstallFileA
802 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
803 #define GetFileVersionInfo GetFileVersionInfoA
804 #define VerLanguageName VerLanguageNameA
805 #define VerQueryValue VerQueryValueA
806 #define CompareString CompareStringA
807 #define LCMapString LCMapStringA
808 #define GetLocaleInfo GetLocaleInfoA
809 #define SetLocaleInfo SetLocaleInfoA
810 #define GetTimeFormat GetTimeFormatA
811 #define GetDateFormat GetDateFormatA
812 #define GetNumberFormat GetNumberFormatA
813 #define GetCurrencyFormat GetCurrencyFormatA
814 #define EnumCalendarInfo EnumCalendarInfoA
815 #define EnumTimeFormats EnumTimeFormatsA
816 #define FoldString FoldStringA
817 #define EnumSystemCodePages EnumSystemCodePagesA
818 #define EnumSystemLocales EnumSystemLocalesA
819 #define GetStringTypeEx GetStringTypeExA
820 #define EnumDateFormats EnumDateFormatsA
821 #define GetConsoleTitle GetConsoleTitleA
822 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
823 #define SetConsoleTitle SetConsoleTitleA
824 #define ReadConsole ReadConsoleA
825 #define WriteConsole WriteConsoleA
826 #define PeekConsoleInput PeekConsoleInputA
827 #define ReadConsoleInput ReadConsoleInputA
828 #define WriteConsoleInput WriteConsoleInputA
829 #define ReadConsoleOutput ReadConsoleOutputA
830 #define WriteConsoleOutput WriteConsoleOutputA
831 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
832 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
833 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
834 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
835 #define WNetGetLastError WNetGetLastErrorA
836 #define WNetGetProviderName WNetGetProviderNameA
837 #define WNetGetNetworkInformation WNetGetNetworkInformationA
838 #define WNetConnectionDialog1 WNetConnectionDialog1A
839 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
840 #define WNetOpenEnum WNetOpenEnumA
841 #define WNetEnumResource WNetEnumResourceA
842 #define WNetGetUniversalName WNetGetUniversalNameA
843 #define WNetGetUser WNetGetUserA
844 #define WNetAddConnection WNetAddConnectionA
845 #define WNetAddConnection2 WNetAddConnection2A
846 #define WNetAddConnection3 WNetAddConnection3A
847 #define WNetCancelConnection WNetCancelConnectionA
848 #define WNetCancelConnection2 WNetCancelConnection2A
849 #define WNetGetConnection WNetGetConnectionA
850 #define WNetUseConnection WNetUseConnectionA
851 #define WNetSetConnection WNetSetConnectionA
852 #define OpenService OpenServiceA
853 #define QueryServiceConfig QueryServiceConfigA
854 #define QueryServiceLockStatus QueryServiceLockStatusA
855 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
856 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
857 #define StartService StartServiceA
858 #define ChangeServiceConfig ChangeServiceConfigA
859 #define CreateService CreateServiceA
860 #define EnumDependentServices EnumDependentServicesA
861 #define EnumServicesStatus EnumServicesStatusA
862 #define GetServiceKeyName GetServiceKeyNameA
863 #define GetServiceDisplayName GetServiceDisplayNameA
864 #define OpenSCManager OpenSCManagerA
865 #define DragQueryFile DragQueryFileA
866 #define ExtractAssociatedIcon ExtractAssociatedIconA
867 #define ExtractIcon ExtractIconA
868 #define FindExecutable FindExecutableA
869 #define ShellAbout ShellAboutA
870 #define ShellExecute ShellExecuteA
871 #define DdeCreateStringHandle DdeCreateStringHandleA
872 #define DdeInitialize DdeInitializeA
873 #define DdeQueryString DdeQueryStringA
874 #define LogonUser LogonUserA
875 #define CreateProcessAsUser CreateProcessAsUserA
877 #endif /* UNICODE and ASCII defines */
879 HWND STDCALL GetAncestor(HWND hWnd, UINT GaFlags);
880 WINBOOL STDCALL AbnormalTermination(VOID);
881 int STDCALL AbortDoc(HDC);
882 WINBOOL STDCALL AbortPath(HDC);
883 WINBOOL STDCALL AbortPrinter(HANDLE);
884 WINBOOL CALLBACK AbortProc(HDC, int);
885 WINBOOL STDCALL AccessCheck(
886 PSECURITY_DESCRIPTOR pSecurityDescriptor,
889 PGENERIC_MAPPING GenericMapping,
890 PPRIVILEGE_SET PrivilegeSet,
891 LPDWORD PrivilegeSetLength,
892 LPDWORD GrantedAccess,
896 WINBOOL STDCALL AccessCheckAndAuditAlarm(
897 LPCTSTR SubsystemName,
899 LPTSTR ObjectTypeName,
901 PSECURITY_DESCRIPTOR SecurityDescriptor,
903 PGENERIC_MAPPING GenericMapping,
904 WINBOOL ObjectCreation,
905 LPDWORD GrantedAccess,
907 LPBOOL pfGenerateOnClose
913 InterlockedIncrement(
919 InterlockedDecrement(
932 InterlockedCompareExchange(
959 HINSTANCE hPrevInstance,
973 FreeLibraryAndExitThread(
980 DisableThreadLibraryCalls(
1092 LPMEMORYSTATUS lpBuffer
1176 FlushInstructionCache(
1178 LPCVOID lpBaseAddress,
1188 DWORD flAllocationType,
1208 PDWORD lpflOldProtect
1216 PMEMORY_BASIC_INFORMATION lpBuffer,
1228 PDWORD lpflOldProtect
1237 PMEMORY_BASIC_INFORMATION lpBuffer,
1246 DWORD dwInitialSize,
1306 GetProcessHeap( VOID );
1311 DWORD NumberOfHeaps,
1312 PHANDLE ProcessHeaps
1337 LPPROCESS_HEAP_ENTRY lpEntry
1342 GetProcessAffinityMask(
1344 LPDWORD lpProcessAffinityMask,
1345 LPDWORD lpSystemAffinityMask
1352 LPFILETIME lpCreationTime,
1353 LPFILETIME lpExitTime,
1354 LPFILETIME lpKernelTime,
1355 LPFILETIME lpUserTime
1360 GetProcessWorkingSetSize(
1362 LPDWORD lpMinimumWorkingSetSize,
1363 LPDWORD lpMaximumWorkingSetSize
1368 SetProcessWorkingSetSize(
1370 DWORD dwMinimumWorkingSetSize,
1371 DWORD dwMaximumWorkingSetSize
1377 DWORD dwDesiredAccess,
1378 WINBOOL bInheritHandle,
1390 GetCurrentProcessId(
1398 ) __attribute__ ((noreturn));
1423 DWORD dwExceptionCode,
1424 DWORD dwExceptionFlags,
1425 DWORD nNumberOfArguments,
1426 CONST DWORD *lpArguments
1431 UnhandledExceptionFilter(
1432 struct _EXCEPTION_POINTERS *ExceptionInfo
1436 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1437 LPTOP_LEVEL_EXCEPTION_FILTER
1439 SetUnhandledExceptionFilter(
1440 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1448 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1450 LPTHREAD_START_ROUTINE lpStartAddress,
1452 DWORD dwCreationFlags,
1461 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1463 LPTHREAD_START_ROUTINE lpStartAddress,
1465 DWORD dwCreationFlags,
1486 SetThreadAffinityMask(
1488 DWORD dwThreadAffinityMask
1511 LPFILETIME lpCreationTime,
1512 LPFILETIME lpExitTime,
1513 LPFILETIME lpKernelTime,
1514 LPFILETIME lpUserTime
1542 GetThreadSelectorEntry(
1545 LPLDT_ENTRY lpSelectorEntry
1565 GetOverlappedResult(
1567 LPOVERLAPPED lpOverlapped,
1568 LPDWORD lpNumberOfBytesTransferred,
1575 CreateIoCompletionPort(
1577 HANDLE ExistingCompletionPort,
1578 DWORD CompletionKey,
1579 DWORD NumberOfConcurrentThreads
1585 GetQueuedCompletionStatus(
1586 HANDLE CompletionPort,
1587 LPDWORD lpNumberOfBytesTransferred,
1588 LPDWORD lpCompletionKey,
1589 LPOVERLAPPED *lpOverlapped,
1590 DWORD dwMilliseconds
1604 LPCVOID lpBaseAddress,
1607 LPDWORD lpNumberOfBytesRead
1615 LPVOID lpBaseAddress,
1618 LPDWORD lpNumberOfBytesWritten
1634 CONST CONTEXT *lpContext
1662 LPDEBUG_EVENT lpDebugEvent,
1663 DWORD dwMilliseconds
1672 DWORD dwContinueStatus
1685 InitializeCriticalSection(
1686 LPCRITICAL_SECTION lpCriticalSection
1692 EnterCriticalSection(
1693 LPCRITICAL_SECTION lpCriticalSection
1699 LeaveCriticalSection(
1700 LPCRITICAL_SECTION lpCriticalSection
1706 DeleteCriticalSection(
1707 LPCRITICAL_SECTION lpCriticalSection
1737 LPLONG lpPreviousCount
1750 WaitForSingleObject(
1752 DWORD dwMilliseconds
1758 WaitForMultipleObjects(
1760 CONST HANDLE *lpHandles,
1762 DWORD dwMilliseconds
1769 DWORD dwMilliseconds
1829 DWORD dwFileOffsetLow,
1830 DWORD dwFileOffsetHigh,
1831 DWORD nNumberOfBytesToLockLow,
1832 DWORD nNumberOfBytesToLockHigh
1840 DWORD dwFileOffsetLow,
1841 DWORD dwFileOffsetHigh,
1842 DWORD nNumberOfBytesToUnlockLow,
1843 DWORD nNumberOfBytesToUnlockHigh
1853 DWORD nNumberOfBytesToLockLow,
1854 DWORD nNumberOfBytesToLockHigh,
1855 LPOVERLAPPED lpOverlapped
1863 DWORD nNumberOfBytesToUnlockLow,
1864 DWORD nNumberOfBytesToUnlockHigh,
1865 LPOVERLAPPED lpOverlapped
1870 GetFileInformationByHandle(
1872 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1887 LPDWORD lpFileSizeHigh
1911 DWORD nNumberOfBytesToWrite,
1912 LPDWORD lpNumberOfBytesWritten,
1913 LPOVERLAPPED lpOverlapped
1922 DWORD nNumberOfBytesToRead,
1923 LPDWORD lpNumberOfBytesRead,
1924 LPOVERLAPPED lpOverlapped
1939 DWORD dwIoControlCode,
1941 DWORD nInBufferSize,
1943 DWORD nOutBufferSize,
1944 LPDWORD lpBytesReturned,
1945 LPOVERLAPPED lpOverlapped
1960 LONG lDistanceToMove,
1961 PLONG lpDistanceToMoveHigh,
1977 LPFILETIME lpCreationTime,
1978 LPFILETIME lpLastAccessTime,
1979 LPFILETIME lpLastWriteTime
1987 CONST FILETIME *lpCreationTime,
1988 CONST FILETIME *lpLastAccessTime,
1989 CONST FILETIME *lpLastWriteTime
2003 HANDLE hSourceProcessHandle,
2004 HANDLE hSourceHandle,
2005 HANDLE hTargetProcessHandle,
2006 LPHANDLE lpTargetHandle,
2007 DWORD dwDesiredAccess,
2008 WINBOOL bInheritHandle,
2015 GetHandleInformation(
2023 SetHandleInformation(
2032 LPCSTR lpModuleName,
2033 LPVOID lpParameterBlock
2099 LPCOMMPROP lpCommProp
2123 LPCOMMTIMEOUTS lpCommTimeouts
2171 LPCOMMTIMEOUTS lpCommTimeouts
2188 LPOVERLAPPED lpOverlapped
2197 DWORD dwPositionMethod,
2209 DWORD dwPositionType,
2210 LPDWORD lpdwPartition,
2211 LPDWORD lpdwOffsetLow,
2212 LPDWORD lpdwOffsetHigh
2226 ProcessIdToSessionId(
2242 CreateTapePartition(
2244 DWORD dwPartitionMethod,
2254 DWORD dwTapemarkType,
2255 DWORD dwTapemarkCount,
2273 LPVOID lpTapeInformation
2281 LPVOID lpTapeInformation
2430 LPSYSTEMTIME lpSystemTime
2435 GetSystemTimeAsFileTime (
2436 LPFILETIME lpSystemTimeAsFileTime
2442 CONST SYSTEMTIME *lpSystemTime
2449 LPSYSTEMTIME lpSystemTime
2456 CONST SYSTEMTIME *lpSystemTime
2463 LPSYSTEM_INFO lpSystemInfo
2468 SystemTimeToTzSpecificLocalTime(
2469 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
2470 LPSYSTEMTIME lpUniversalTime,
2471 LPSYSTEMTIME lpLocalTime
2477 GetTimeZoneInformation(
2478 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2484 SetTimeZoneInformation(
2485 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
2490 SystemTimeToFileTime(
2491 CONST SYSTEMTIME *lpSystemTime,
2492 LPFILETIME lpFileTime
2498 FileTimeToLocalFileTime(
2499 CONST FILETIME *lpFileTime,
2500 LPFILETIME lpLocalFileTime
2506 LocalFileTimeToFileTime(
2507 CONST FILETIME *lpLocalFileTime,
2508 LPFILETIME lpFileTime
2514 FileTimeToSystemTime(
2515 CONST FILETIME *lpFileTime,
2516 LPSYSTEMTIME lpSystemTime
2523 CONST FILETIME *lpFileTime1,
2524 CONST FILETIME *lpFileTime2
2530 FileTimeToDosDateTime(
2531 CONST FILETIME *lpFileTime,
2539 DosDateTimeToFileTime(
2542 LPFILETIME lpFileTime
2555 SetSystemTimeAdjustment(
2556 DWORD dwTimeAdjustment,
2557 WINBOOL bTimeAdjustmentDisabled
2563 GetSystemTimeAdjustment(
2564 PDWORD lpTimeAdjustment,
2565 PDWORD lpTimeIncrement,
2566 PWINBOOL lpTimeAdjustmentDisabled
2575 LPSECURITY_ATTRIBUTES lpPipeAttributes,
2584 LPOVERLAPPED lpOverlapped
2590 DisconnectNamedPipe(
2597 SetNamedPipeHandleState(
2600 LPDWORD lpMaxCollectionCount,
2601 LPDWORD lpCollectDataTimeout
2610 LPDWORD lpOutBufferSize,
2611 LPDWORD lpInBufferSize,
2612 LPDWORD lpMaxInstances
2622 LPDWORD lpBytesRead,
2623 LPDWORD lpTotalBytesAvail,
2624 LPDWORD lpBytesLeftThisMessage
2633 DWORD nInBufferSize,
2635 DWORD nOutBufferSize,
2636 LPDWORD lpBytesRead,
2637 LPOVERLAPPED lpOverlapped
2646 LPDWORD lpMaxMessageSize,
2648 LPDWORD lpMessageCount,
2649 LPDWORD lpReadTimeout
2664 HANDLE hFileMappingObject,
2665 DWORD dwDesiredAccess,
2666 DWORD dwFileOffsetHigh,
2667 DWORD dwFileOffsetLow,
2668 DWORD dwNumberOfBytesToMap
2675 LPCVOID lpBaseAddress,
2676 DWORD dwNumberOfBytesToFlush
2683 LPVOID lpBaseAddress
2690 LPOFSTRUCT lpReOpenBuff,
2766 CONST LPVOID lpBuffer,
2802 DWORD dwMilliseconds,
2809 WaitForSingleObjectEx(
2811 DWORD dwMilliseconds,
2818 WaitForMultipleObjectsEx(
2820 CONST HANDLE *lpHandles,
2822 DWORD dwMilliseconds,
2832 DWORD nNumberOfBytesToRead,
2833 LPOVERLAPPED lpOverlapped,
2834 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2843 DWORD nNumberOfBytesToWrite,
2844 LPOVERLAPPED lpOverlapped,
2845 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2854 DWORD nNumberOfBytesToRead,
2855 LPDWORD lpNumberOfBytesRead,
2857 WINBOOL bProcessSecurity,
2866 DWORD dwLowBytesToSeek,
2867 DWORD dwHighBytesToSeek,
2868 LPDWORD lpdwLowByteSeeked,
2869 LPDWORD lpdwHighByteSeeked,
2879 DWORD nNumberOfBytesToWrite,
2880 LPDWORD lpNumberOfBytesWritten,
2882 WINBOOL bProcessSecurity,
2888 SetProcessShutdownParameters(
2896 GetProcessShutdownParameters(
2904 SetFileApisToOEM( VOID );
2909 SetFileApisToANSI( VOID );
2914 AreFileApisANSI( VOID );
2925 DeregisterEventSource (
2932 NotifyChangeEventLog (
2940 GetNumberOfEventLogRecords (
2942 PDWORD NumberOfRecords
2948 GetOldestEventLogRecord (
2956 HANDLE ExistingTokenHandle,
2957 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
2958 PHANDLE DuplicateTokenHandle
2964 GetKernelObjectSecurity (
2966 SECURITY_INFORMATION RequestedInformation,
2967 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2969 LPDWORD lpnLengthNeeded
2975 ImpersonateNamedPipeClient(
2982 ImpersonateLoggedOnUser(
2990 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
3013 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3015 DWORD DesiredAccess,
3016 PGENERIC_MAPPING GenericMapping,
3017 PPRIVILEGE_SET PrivilegeSet,
3018 LPDWORD PrivilegeSetLength,
3019 LPDWORD GrantedAccess,
3028 HANDLE ProcessHandle,
3029 DWORD DesiredAccess,
3038 HANDLE ThreadHandle,
3039 DWORD DesiredAccess,
3048 GetTokenInformation (
3050 TOKEN_INFORMATION_CLASS TokenInformationClass,
3051 LPVOID TokenInformation,
3052 DWORD TokenInformationLength,
3060 SetTokenInformation (
3062 TOKEN_INFORMATION_CLASS TokenInformationClass,
3063 LPVOID TokenInformation,
3064 DWORD TokenInformationLength
3071 AdjustTokenPrivileges (
3073 WINBOOL DisableAllPrivileges,
3074 PTOKEN_PRIVILEGES NewState,
3076 PTOKEN_PRIVILEGES PreviousState,
3086 WINBOOL ResetToDefault,
3087 PTOKEN_GROUPS NewState,
3089 PTOKEN_GROUPS PreviousState,
3099 PPRIVILEGE_SET RequiredPrivileges,
3133 GetSidLengthRequired (
3134 UCHAR nSubAuthorityCount
3141 AllocateAndInitializeSid (
3142 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3143 BYTE nSubAuthorityCount,
3144 DWORD nSubAuthority0,
3145 DWORD nSubAuthority1,
3146 DWORD nSubAuthority2,
3147 DWORD nSubAuthority3,
3148 DWORD nSubAuthority4,
3149 DWORD nSubAuthority5,
3150 DWORD nSubAuthority6,
3151 DWORD nSubAuthority7,
3167 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3168 BYTE nSubAuthorityCount
3173 PSID_IDENTIFIER_AUTHORITY
3175 GetSidIdentifierAuthority (
3183 GetSidSubAuthority (
3192 GetSidSubAuthorityCount (
3209 DWORD nDestinationSidLength,
3210 PSID pDestinationSid,
3218 AreAllAccessesGranted (
3219 DWORD GrantedAccess,
3227 AreAnyAccessesGranted (
3228 DWORD GrantedAccess,
3238 PGENERIC_MAPPING GenericMapping
3265 LPVOID pAclInformation,
3266 DWORD nAclInformationLength,
3267 ACL_INFORMATION_CLASS dwAclInformationClass
3276 LPVOID pAclInformation,
3277 DWORD nAclInformationLength,
3278 ACL_INFORMATION_CLASS dwAclInformationClass
3287 DWORD dwAceRevision,
3288 DWORD dwStartingAceIndex,
3290 DWORD nAceListLength
3316 AddAccessAllowedAce (
3318 DWORD dwAceRevision,
3327 AddAccessDeniedAce (
3329 DWORD dwAceRevision,
3340 DWORD dwAceRevision,
3343 WINBOOL bAuditSuccess,
3344 WINBOOL bAuditFailure
3360 InitializeSecurityDescriptor (
3361 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3369 IsValidSecurityDescriptor (
3370 PSECURITY_DESCRIPTOR pSecurityDescriptor
3377 GetSecurityDescriptorLength (
3378 PSECURITY_DESCRIPTOR pSecurityDescriptor
3385 GetSecurityDescriptorControl (
3386 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3387 PSECURITY_DESCRIPTOR_CONTROL pControl,
3388 LPDWORD lpdwRevision
3395 SetSecurityDescriptorDacl (
3396 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3397 WINBOOL bDaclPresent,
3399 WINBOOL bDaclDefaulted
3406 GetSecurityDescriptorDacl (
3407 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3408 LPBOOL lpbDaclPresent,
3410 LPBOOL lpbDaclDefaulted
3417 SetSecurityDescriptorSacl (
3418 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3419 WINBOOL bSaclPresent,
3421 WINBOOL bSaclDefaulted
3428 GetSecurityDescriptorSacl (
3429 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3430 LPBOOL lpbSaclPresent,
3432 LPBOOL lpbSaclDefaulted
3439 SetSecurityDescriptorOwner (
3440 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3442 WINBOOL bOwnerDefaulted
3449 GetSecurityDescriptorOwner (
3450 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3452 LPBOOL lpbOwnerDefaulted
3459 SetSecurityDescriptorGroup (
3460 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3462 WINBOOL bGroupDefaulted
3469 GetSecurityDescriptorGroup (
3470 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3472 LPBOOL lpbGroupDefaulted
3479 CreatePrivateObjectSecurity (
3480 PSECURITY_DESCRIPTOR ParentDescriptor,
3481 PSECURITY_DESCRIPTOR CreatorDescriptor,
3482 PSECURITY_DESCRIPTOR * NewDescriptor,
3483 WINBOOL IsDirectoryObject,
3485 PGENERIC_MAPPING GenericMapping
3492 SetPrivateObjectSecurity (
3493 SECURITY_INFORMATION SecurityInformation,
3494 PSECURITY_DESCRIPTOR ModificationDescriptor,
3495 PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
3496 PGENERIC_MAPPING GenericMapping,
3504 GetPrivateObjectSecurity (
3505 PSECURITY_DESCRIPTOR ObjectDescriptor,
3506 SECURITY_INFORMATION SecurityInformation,
3507 PSECURITY_DESCRIPTOR ResultantDescriptor,
3508 DWORD DescriptorLength,
3516 DestroyPrivateObjectSecurity (
3517 PSECURITY_DESCRIPTOR * ObjectDescriptor
3524 MakeSelfRelativeSD (
3525 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3526 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3527 LPDWORD lpdwBufferLength
3535 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3536 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3537 LPDWORD lpdwAbsoluteSecurityDescriptorSize,
3539 LPDWORD lpdwDaclSize,
3541 LPDWORD lpdwSaclSize,
3543 LPDWORD lpdwOwnerSize,
3545 LPDWORD lpdwPrimaryGroupSize
3552 SetKernelObjectSecurity (
3554 SECURITY_INFORMATION SecurityInformation,
3555 PSECURITY_DESCRIPTOR SecurityDescriptor
3561 FindNextChangeNotification(
3562 HANDLE hChangeHandle
3568 FindCloseChangeNotification(
3569 HANDLE hChangeHandle
3592 HANDLE hFileMappingObject,
3593 DWORD dwDesiredAccess,
3594 DWORD dwFileOffsetHigh,
3595 DWORD dwFileOffsetLow,
3596 DWORD dwNumberOfBytesToMap,
3597 LPVOID lpBaseAddress
3605 DWORD dwPriorityClass
3656 AllocateLocallyUniqueId(
3663 QueryPerformanceCounter(
3664 LARGE_INTEGER *lpPerformanceCount
3670 QueryPerformanceFrequency(
3671 LARGE_INTEGER *lpFrequency
3697 /* The memory functions don't seem to be defined in the libraries, so
3698 define macro versions as well. */
3699 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3700 #define FillMemory(p, c, v) memset ((p), (v), (c))
3701 #define ZeroMemory(p, c) memset ((p), 0, (c))
3706 ActivateKeyboardLayout(
3712 ActivateKeyboardLayout(
3732 UnloadKeyboardLayout(
3738 GetKeyboardLayoutList(
3755 DWORD dwDesiredAccess);
3761 ENUMWINDOWSPROC lpfn,
3797 SetProcessWindowStation(
3803 GetProcessWindowStation(
3809 SetUserObjectSecurity(
3811 PSECURITY_INFORMATION pSIRequested,
3812 PSECURITY_DESCRIPTOR pSID);
3817 GetUserObjectSecurity(
3819 PSECURITY_INFORMATION pSIRequested,
3820 PSECURITY_DESCRIPTOR pSID,
3822 LPDWORD lpnLengthNeeded);
3878 GetMessageExtraInfo(
3884 SetMessageExtraInfo(
3890 BroadcastSystemMessage(
3921 DWORD dwMilliseconds);
4027 HWND hWndInsertAfter ,
4039 WINDOWPLACEMENT *lpwndpl);
4046 CONST WINDOWPLACEMENT *lpwndpl);
4051 BeginDeferWindowPos(
4060 HWND hWndInsertAfter,
4132 WINBOOL *lpTranslated,
4150 int nIDCheckButton);
4162 GetNextDlgGroupItem(
4184 GetDialogBaseUnits(VOID);
4207 HWND hWndNewViewer);
4218 ChangeClipboardChain(
4239 CountClipboardFormats(
4245 EnumClipboardFormats(
4257 IsClipboardFormatAvailable(
4263 GetPriorityClipboardFormat(
4264 UINT *paFormatPriorityList,
4270 GetOpenClipboardWindow(
4274 /* Despite the A these are ASCII functions! */
4279 LPCSTR lpCurrentChar,
4288 LPCSTR lpCurrentChar,
4434 MsgWaitForMultipleObjects(
4438 DWORD dwMilliseconds,
4448 TIMERPROC lpTimerFunc);
4453 SetWaitableTimer(HANDLE hTimer,
4454 const LARGE_INTEGER *pDueTime,
4456 PTIMERAPCROUTINE pfnCompletionRoutine,
4457 LPVOID lpArgToCompletionRoutine,
4489 DestroyAcceleratorTable(
4614 HBITMAP hBitmapUnchecked,
4615 HBITMAP hBitmapChecked);
4620 GetMenuCheckMarkDimensions(
4633 CONST RECT *prcRect);
4651 GetMenuItemRect(HWND hWnd,
4658 MenuItemFromPoint(HWND hWnd,
4665 DragObject(HWND, HWND, UINT, DWORD, HCURSOR);
4670 DragDetect(HWND hwnd,
4696 GetForegroundWindow(
4701 PaintDesktop(HDC hdc);
4706 SetForegroundWindow(
4747 LPPAINTSTRUCT lpPaint);
4754 CONST PAINTSTRUCT *lpPaint);
4807 CONST RECT *lpRect);
4829 CONST RECT *lprcUpdate,
4847 CONST RECT *lpClipRect);
4856 CONST RECT *lprcScroll,
4857 CONST RECT *lprcClip ,
4868 CONST RECT *prcScroll,
4869 CONST RECT *prcClip ,
4958 SetWindowContextHelpId(HWND, DWORD);
4962 GetWindowContextHelpId(HWND);
4966 SetMenuContextHelpId(HMENU, DWORD);
4970 GetMenuContextHelpId(HMENU);
5007 CONST RECT *lpRect);
5105 ChildWindowFromPoint(
5126 CONST INT * lpaElements,
5127 CONST COLORREF * lpaRgbValues);
5180 CONST RECT *lprcSrc);
5195 CONST RECT *lprcSrc1,
5196 CONST RECT *lprcSrc2);
5203 CONST RECT *lprcSrc1,
5204 CONST RECT *lprcSrc2);
5211 CONST RECT *lprcSrc1,
5212 CONST RECT *lprcSrc2);
5288 HWND hWndNewParent);
5295 ENUMWINDOWSPROC lpEnumFunc,
5302 ENUMWINDOWSPROC lpEnumFunc,
5310 ENUMWINDOWSPROC lpfn,
5321 GetWindowThreadProcessId(
5323 LPDWORD lpdwProcessId);
5342 HOOKPROC pfnFilterProc);
5346 UnhookWindowsHookEx(
5361 CheckMenuRadioItem(HMENU, UINT, UINT, UINT, UINT);
5371 CONST VOID *pvANDPlane,
5372 CONST VOID *pvXORPlane);
5391 HINSTANCE hInstance,
5396 CONST BYTE *lpbANDbits,
5397 CONST BYTE *lpbXORbits);
5408 LookupIconIdFromDirectory(
5415 LookupIconIdFromDirectoryEx(
5425 CreateIconFromResource(
5434 CreateIconFromResourceEx(
5457 PICONINFO piconinfo);
5470 PICONINFO piconinfo);
5481 SetScrollInfo(HWND, int, LPCSCROLLINFO, WINBOOL);
5485 GetScrollInfo(HWND, int, LPSCROLLINFO);
5489 TranslateMDISysAccel(
5496 ArrangeIconicWindows(
5501 TileWindows(HWND hwndParent, UINT wHow, CONST RECT * lpRect, UINT cKids, const HWND *lpKids);
5505 CascadeWindows(HWND hwndParent, UINT wHow, CONST RECT * lpRect, UINT cKids, const HWND *lpKids);
5524 DrawEdge(HDC hdc, LPRECT qrc, UINT edge, UINT grfFlags);
5528 DrawFrameControl(HDC, LPRECT, UINT, UINT);
5540 DrawAnimatedRects(HWND hwnd, int idAni, CONST RECT * lprcFrom, CONST RECT * lprcTo);
5544 TrackPopupMenuEx(HMENU, UINT, int, int, HWND, LPTPMPARAMS);
5548 ChildWindowFromPointEx(HWND, POINT, UINT);
5552 DrawIconEx(HDC hdc, int xLeft, int yTop,
5553 HICON hIcon, int cxWidth, int cyWidth,
5554 UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags);
5558 AnimatePalette(HPALETTE, UINT, UINT, CONST PALETTEENTRY *);
5562 Arc(HDC, int, int, int, int, int, int, int, int);
5566 BitBlt(HDC, int, int, int, int, HDC, int, int, DWORD);
5574 Chord(HDC, int, int, int, int, int, int, int, int);
5582 CombineRgn(HRGN, HRGN, HRGN, int);
5586 CreateBitmap(int, int, UINT, UINT, CONST VOID *);
5590 CreateBitmapIndirect(CONST BITMAP *);
5594 CreateBrushIndirect(CONST LOGBRUSH *);
5598 CreateCompatibleBitmap(HDC, int, int);
5602 CreateDiscardableBitmap(HDC, int, int);
5606 CreateCompatibleDC(HDC);
5610 CreateDIBitmap(HDC, CONST BITMAPINFOHEADER *, DWORD, CONST VOID *, CONST BITMAPINFO *, UINT);
5614 CreateDIBPatternBrush(HGLOBAL, UINT);
5618 CreateDIBPatternBrushPt(CONST VOID *, UINT);
5622 CreateEllipticRgn(int, int, int, int);
5626 CreateEllipticRgnIndirect(CONST RECT *);
5630 CreateHatchBrush(int, COLORREF);
5634 CreatePalette(CONST LOGPALETTE *);
5638 CreatePen(int, int, COLORREF);
5642 CreatePenIndirect(CONST LOGPEN *);
5646 CreatePolyPolygonRgn(CONST POINT *, CONST INT *, int, int);
5650 CreatePatternBrush(HBITMAP);
5654 CreateRectRgn(int, int, int, int);
5658 CreateRectRgnIndirect(CONST RECT *);
5662 CreateRoundRectRgn(int, int, int, int, int, int);
5666 CreateSolidBrush(COLORREF);
5674 DeleteMetaFile(HMETAFILE);
5678 DeleteObject(HGDIOBJ);
5682 DrawEscape(HDC, int, int, LPCSTR);
5686 Ellipse(HDC, int, int, int, int);
5690 EnumObjects(HDC, int, ENUMOBJECTSPROC, LPARAM);
5694 EqualRgn(HRGN, HRGN);
5698 Escape(HDC, int, int, LPCSTR, LPVOID);
5702 ExtEscape(HDC, int, int, LPCSTR, int, LPSTR);
5706 ExcludeClipRect(HDC, int, int, int, int);
5710 ExtCreateRegion(CONST XFORM *, DWORD, CONST RGNDATA *);
5714 ExtFloodFill(HDC, int, int, COLORREF, UINT);
5718 FillRgn(HDC, HRGN, HBRUSH);
5722 FloodFill(HDC, int, int, COLORREF);
5726 FrameRgn(HDC, HRGN, HBRUSH, int, int);
5730 GdiDllInitialize (HANDLE, DWORD, LPVOID);
5734 GdiProcessSetup (VOID);
5742 GetAspectRatioFilterEx(HDC, LPSIZE);
5754 GetBitmapBits(HBITMAP, LONG, LPVOID);
5758 GetBitmapDimensionEx(HBITMAP, LPSIZE);
5762 GetBoundsRect(HDC, LPRECT, UINT);
5766 GetBrushOrgEx(HDC, LPPOINT);
5770 GetClipBox(HDC, LPRECT);
5774 GetClipRgn(HDC, HRGN);
5778 GetMetaRgn(HDC, HRGN);
5782 GetCurrentObject(HDC, UINT);
5786 GetCurrentPositionEx(HDC, LPPOINT);
5790 GetDeviceCaps(HDC, int);
5794 GetDIBits(HDC, HBITMAP, UINT, UINT, LPVOID, LPBITMAPINFO, UINT);
5798 GetFontData(HDC, DWORD, DWORD, LPVOID, DWORD);
5802 GetGraphicsMode(HDC);
5810 GetMetaFileBitsEx(HMETAFILE, UINT, LPVOID);
5814 GetNearestColor(HDC, COLORREF);
5818 GetNearestPaletteIndex(HPALETTE, COLORREF);
5822 GetObjectType(HGDIOBJ h);
5826 GetPaletteEntries(HPALETTE, UINT, UINT, LPPALETTEENTRY);
5830 GetPixel(HDC, int, int);
5834 GetPixelFormat(HDC);
5838 GetPolyFillMode(HDC);
5842 GetRasterizerCaps(LPRASTERIZER_STATUS, UINT);
5846 GetRegionData(HRGN, DWORD, LPRGNDATA);
5850 GetRgnBox(HRGN, LPRECT);
5854 GetStockObject(int);
5858 GetStretchBltMode(HDC);
5862 GetSystemPaletteEntries(HDC, UINT, UINT, LPPALETTEENTRY);
5866 GetSystemPaletteUse(HDC);
5870 GetTextCharacterExtra(HDC);
5882 GetTextCharset(HDC hdc);
5886 GetTextCharsetInfo(HDC hdc, LPFONTSIGNATURE lpSig, DWORD dwFlags);
5890 TranslateCharsetInfo( DWORD *lpSrc, LPCHARSETINFO lpCs, DWORD dwFlags);
5894 GetFontLanguageInfo( HDC );
5898 GetViewportExtEx(HDC, LPSIZE);
5902 GetViewportOrgEx(HDC, LPPOINT);
5906 GetWindowExtEx(HDC, LPSIZE);
5910 GetWindowOrgEx(HDC, LPPOINT);
5914 IntersectClipRect(HDC, int, int, int, int);
5918 InvertRgn(HDC, HRGN);
5922 LineDDA(int, int, int, int, LINEDDAPROC, LPARAM);
5926 LineTo(HDC, int, int);
5930 MaskBlt(HDC, int, int, int, int,
5931 HDC, int, int, HBITMAP, int, int, DWORD);
5935 PlgBlt(HDC, CONST POINT *, HDC, int, int, int,
5936 int, HBITMAP, int, int);
5940 OffsetClipRgn(HDC, int, int);
5944 OffsetRgn(HRGN, int, int);
5948 PatBlt(HDC, int, int, int, int, DWORD);
5952 Pie(HDC, int, int, int, int, int, int, int, int);
5956 PlayMetaFile(HDC, HMETAFILE);
5960 PaintRgn(HDC, HRGN);
5964 PolyPolygon(HDC, CONST POINT *, CONST INT *, int);
5968 PtInRegion(HRGN, int, int);
5972 PtVisible(HDC, int, int);
5976 RectInRegion(HRGN, CONST RECT *);
5980 RectVisible(HDC, CONST RECT *);
5984 Rectangle(HDC, int, int, int, int);
5988 RestoreDC(HDC, int);
5992 RealizePalette(HDC);
5996 RoundRect(HDC, int, int, int, int, int, int);
6000 ResizePalette(HPALETTE, UINT);
6008 SelectClipRgn(HDC, HRGN);
6012 ExtSelectClipRgn(HDC, HRGN, int);
6020 SelectObject(HDC, HGDIOBJ);
6024 SelectPalette(HDC, HPALETTE, WINBOOL);
6028 SetBkColor(HDC, COLORREF);
6032 SetBkMode(HDC, int);
6036 SetBitmapBits(HBITMAP, DWORD, CONST VOID *);
6040 SetBoundsRect(HDC, CONST RECT *, UINT);
6044 SetDIBits(HDC, HBITMAP, UINT, UINT, CONST VOID *, CONST BITMAPINFO *, UINT);
6048 SetDIBitsToDevice(HDC, int, int, DWORD, DWORD, int,
6049 int, UINT, UINT, CONST VOID *, CONST BITMAPINFO *, UINT);
6053 SetMapperFlags(HDC, DWORD);
6057 SetGraphicsMode(HDC hdc, int iMode);
6061 SetMapMode(HDC, int);
6065 SetMetaFileBitsEx(UINT, CONST BYTE *);
6069 SetPaletteEntries(HPALETTE, UINT, UINT, CONST PALETTEENTRY *);
6073 SetPixel(HDC, int, int, COLORREF);
6077 SetPixelV(HDC, int, int, COLORREF);
6081 SetPolyFillMode(HDC, int);
6085 StretchBlt(HDC, int, int, int, int, HDC, int, int, int, int, DWORD);
6089 SetRectRgn(HRGN, int, int, int, int);
6092 StretchDIBits(HDC, int, int, int, int, int, int, int, int, CONST
6093 VOID *, CONST BITMAPINFO *, UINT, DWORD);
6101 SetStretchBltMode(HDC, int);
6105 SetSystemPaletteUse(HDC, UINT);
6109 SetTextCharacterExtra(HDC, int);
6113 SetTextColor(HDC, COLORREF);
6117 SetTextAlign(HDC, UINT);
6121 SetTextJustification(HDC, int, int);
6129 PlayMetaFileRecord(HDC, LPHANDLETABLE, LPMETARECORD, UINT);
6133 EnumMetaFile(HDC, HMETAFILE, ENUMMETAFILEPROC, LPARAM);
6137 CloseEnhMetaFile(HDC);
6141 DeleteEnhMetaFile(HENHMETAFILE);
6145 EnumEnhMetaFile(HDC, HENHMETAFILE, ENHMETAFILEPROC,
6146 LPVOID, CONST RECT *);
6150 GetEnhMetaFileHeader(HENHMETAFILE, UINT, LPENHMETAHEADER );
6154 GetEnhMetaFilePaletteEntries(HENHMETAFILE, UINT, LPPALETTEENTRY );
6158 GetWinMetaFileBits(HENHMETAFILE, UINT, LPBYTE, INT, HDC);
6162 PlayEnhMetaFile(HDC, HENHMETAFILE, CONST RECT *);
6166 PlayEnhMetaFileRecord(HDC, LPHANDLETABLE, CONST ENHMETARECORD *, UINT);
6170 SetEnhMetaFileBits(UINT, CONST BYTE *);
6175 SetWinMetaFileBits(UINT, CONST BYTE *, HDC, CONST METAFILEPICT *);
6180 GdiComment(HDC, UINT, CONST BYTE *);
6184 AngleArc(HDC, int, int, DWORD, FLOAT, FLOAT);
6188 PolyPolyline(HDC, CONST POINT *, CONST DWORD *, DWORD);
6192 GetWorldTransform(HDC, LPXFORM);
6196 SetWorldTransform(HDC, CONST XFORM *);
6200 ModifyWorldTransform(HDC, CONST XFORM *, DWORD);
6204 CombineTransform(LPXFORM, CONST XFORM *, CONST XFORM *);
6208 CreateDIBSection(HDC, CONST BITMAPINFO *, UINT, VOID *, HANDLE, DWORD);
6212 GetDIBColorTable(HDC, UINT, UINT, RGBQUAD *);
6216 SetDIBColorTable(HDC, UINT, UINT, CONST RGBQUAD *);
6220 SetColorAdjustment(HDC, CONST COLORADJUSTMENT *);
6224 GetColorAdjustment(HDC, LPCOLORADJUSTMENT);
6228 CreateHalftonePalette(HDC);
6248 SetAbortProc(HDC, ABORTPROC);
6256 ArcTo(HDC, int, int, int, int, int, int,int, int);
6280 GetPath(HDC, LPPOINT, LPBYTE, int);
6288 PolyDraw(HDC, CONST POINT *, CONST BYTE *, int);
6292 SelectClipPath(HDC, int);
6296 SetArcDirection(HDC, int);
6300 SetMiterLimit(HDC, FLOAT, PFLOAT);
6304 StrokeAndFillPath(HDC);
6316 ExtCreatePen(DWORD, DWORD, CONST LOGBRUSH *, DWORD, CONST DWORD *);
6320 GetMiterLimit(HDC, PFLOAT);
6324 GetArcDirection(HDC);
6328 MoveToEx(HDC, int, int, LPPOINT);
6332 CreatePolygonRgn(CONST POINT *, int, int);
6336 DPtoLP(HDC, LPPOINT, int);
6340 LPtoDP(HDC, LPPOINT, int);
6344 Polygon(HDC, CONST POINT *, int);
6348 Polyline(HDC, CONST POINT *, int);
6352 PolyBezier(HDC, CONST POINT *, DWORD);
6356 PolyBezierTo(HDC, CONST POINT *, DWORD);
6360 PolylineTo(HDC, CONST POINT *, DWORD);
6364 SetViewportExtEx(HDC, int, int, LPSIZE);
6368 SetViewportOrgEx(HDC, int, int, LPPOINT);
6372 SetWindowExtEx(HDC, int, int, LPSIZE);
6376 SetWindowOrgEx(HDC, int, int, LPPOINT);
6380 OffsetViewportOrgEx(HDC, int, int, LPPOINT);
6384 OffsetWindowOrgEx(HDC, int, int, LPPOINT);
6388 ScaleViewportExtEx(HDC, int, int, int, int, LPSIZE);
6392 ScaleWindowExtEx(HDC, int, int, int, int, LPSIZE);
6396 SetBitmapDimensionEx(HBITMAP, int, int, LPSIZE);
6400 SetBrushOrgEx(HDC, int, int, LPPOINT);
6404 GetDCOrgEx(HDC,LPPOINT);
6408 FixBrushOrgEx(HDC,int,int,LPPOINT);
6412 UnrealizeObject(HGDIOBJ);
6420 GdiSetBatchLimit(DWORD);
6424 GdiGetBatchLimit(void);
6428 SetICMMode(HDC, int);
6432 CheckColorsInGamut(HDC,LPVOID,LPVOID,DWORD);
6440 SetColorSpace(HDC,HCOLORSPACE);
6444 DeleteColorSpace(HCOLORSPACE);
6448 GetDeviceGammaRamp(HDC,LPVOID);
6452 SetDeviceGammaRamp(HDC,LPVOID);
6456 ColorMatchToTarget(HDC,HDC,DWORD);
6460 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp);
6464 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage);
6468 InitCommonControls(void);
6470 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6474 ImageList_Create(int cx, int cy, UINT flags,
6475 int cInitial, int cGrow);
6479 ImageList_Destroy(HIMAGELIST himl);
6483 ImageList_GetImageCount(HIMAGELIST himl);
6487 ImageList_Add(HIMAGELIST himl, HBITMAP hbmImage,
6492 ImageList_ReplaceIcon(HIMAGELIST himl, int i, HICON hicon);
6496 ImageList_SetBkColor(HIMAGELIST himl, COLORREF clrBk);
6500 ImageList_GetBkColor(HIMAGELIST himl);
6504 ImageList_SetOverlayImage(HIMAGELIST himl, int iImage,
6509 ImageList_Draw(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, UINT fStyle);
6513 ImageList_Replace(HIMAGELIST himl, int i, HBITMAP hbmImage, HBITMAP hbmMask);
6517 ImageList_AddMasked(HIMAGELIST himl, HBITMAP hbmImage, COLORREF crMask);
6521 ImageList_DrawEx(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle);
6525 ImageList_Remove(HIMAGELIST himl, int i);
6529 ImageList_GetIcon(HIMAGELIST himl, int i, UINT flags);
6533 ImageList_BeginDrag(HIMAGELIST himlTrack, int iTrack, int dxHotspot, int dyHotspot);
6537 ImageList_EndDrag(void);
6541 ImageList_DragEnter(HWND hwndLock, int x, int y);
6545 ImageList_DragLeave(HWND hwndLock);
6549 ImageList_DragMove(int x, int y);
6553 ImageList_SetDragCursorImage(HIMAGELIST himlDrag, int iDrag, int dxHotspot, int dyHotspot);
6557 ImageList_DragShowNolock(WINBOOL fShow);
6561 ImageList_GetDragImage(POINT * ppt,POINT * pptHotspot);
6565 ImageList_GetIconSize(HIMAGELIST himl, int *cx, int *cy);
6569 ImageList_SetIconSize(HIMAGELIST himl, int cx, int cy);
6573 ImageList_GetImageInfo(HIMAGELIST himl, int i, IMAGEINFO * pImageInfo);
6577 ImageList_Merge(HIMAGELIST himl1, int i1, HIMAGELIST himl2, int i2, int dx, int dy);
6581 CreateToolbarEx(HWND hwnd, DWORD ws, UINT wID, int nBitmaps,
6582 HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons,
6583 int iNumButtons, int dxButton, int dyButton,
6584 int dxBitmap, int dyBitmap, UINT uStructSize);
6588 CreateMappedBitmap(HINSTANCE hInstance, int idBitmap,
6589 UINT wFlags, LPCOLORMAP lpColorMap,
6595 MenuHelp(UINT uMsg, WPARAM wParam, LPARAM lParam, HMENU hMainMenu, HINSTANCE hInst, HWND hwndStatus, UINT *lpwIDs);
6599 ShowHideMenuCtl(HWND hWnd, UINT uFlags, LPINT lpInfo);
6603 GetEffectiveClientRect(HWND hWnd, LPRECT lprc, LPINT lpInfo);
6607 MakeDragList(HWND hLB);
6611 DrawInsert(HWND handParent, HWND hLB, int nItem);
6615 LBItemFromPt(HWND hLB, POINT pt, WINBOOL bAutoScroll);
6619 CreateUpDownControl(DWORD dwStyle, int x, int y, int cx, int cy,
6620 HWND hParent, int nID, HINSTANCE hInst,
6622 int nUpper, int nLower, int nPos);
6626 CommDlgExtendedError(VOID);
6628 /* Animation controls */
6630 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6632 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6634 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6636 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6638 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6640 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6642 /* Property sheet macros */
6644 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6646 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6648 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6650 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6652 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6654 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6656 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6658 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6660 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6662 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6664 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6666 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6668 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6670 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6672 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6674 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6676 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6678 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6680 /* Header control */
6681 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6683 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6685 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6687 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6689 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6691 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6694 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6696 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6698 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6700 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6702 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6704 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6706 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6708 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6710 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6712 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6714 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6716 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6718 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6720 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6722 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6724 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6726 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6728 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6730 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6732 #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))
6734 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6736 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6738 #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);}
6740 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6742 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6744 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6746 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6748 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6750 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6752 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6754 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6756 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6758 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6760 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6762 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6764 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6766 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6768 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6770 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6772 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6775 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6777 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6779 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6781 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6783 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6785 #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);}
6787 #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);}
6789 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6791 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6793 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6795 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6798 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6800 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6802 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6804 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6806 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6808 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6810 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6812 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6814 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6816 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6818 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6820 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6822 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6824 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6826 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6828 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6830 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6832 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6834 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6836 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6838 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6840 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6843 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6845 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6847 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6849 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6851 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6853 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6855 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6857 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6859 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6861 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6863 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6865 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6867 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6869 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6871 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6875 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6877 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6879 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6881 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6883 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6885 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6887 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6889 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6891 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6893 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6895 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6897 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6899 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6901 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6903 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6905 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6907 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6909 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6911 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6913 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6915 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6917 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6919 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6921 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6924 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6926 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6927 #endif /* !UNICODE */
6929 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6931 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6934 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6936 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6937 #endif /* !UNICODE */
6939 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6941 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6944 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6946 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6947 #endif /* !UNICODE */
6949 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6951 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6953 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6955 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6967 SECURITY_INFORMATION SecurityInformation,
6968 PSECURITY_DESCRIPTOR pSecurityDescriptor
6981 SECURITY_INFORMATION SecurityInformation,
6982 PSECURITY_DESCRIPTOR pSecurityDescriptor,
6983 LPDWORD lpcbSecurityDescriptor
6988 RegNotifyChangeKeyValue (
6990 WINBOOL bWatchSubtree,
6991 DWORD dwNotifyFilter,
6993 WINBOOL fAsynchronus
7014 GetCPInfo(UINT, LPCPINFO);
7032 MultiByteToWideChar(
7035 LPCSTR lpMultiByteStr,
7037 LPWSTR lpWideCharStr,
7043 WideCharToMultiByte(
7046 LPCWSTR lpWideCharStr,
7048 LPSTR lpMultiByteStr,
7050 LPCSTR lpDefaultChar,
7051 LPBOOL lpUsedDefaultChar);
7062 ConvertDefaultLocale(
7068 GetThreadLocale(void);
7080 GetSystemDefaultLangID(void);
7085 GetUserDefaultLangID(void);
7090 GetSystemDefaultLCID(void);
7095 GetUserDefaultLCID(void);
7100 ReadConsoleOutputAttribute(
7101 HANDLE hConsoleOutput,
7105 LPDWORD lpNumberOfAttrsRead
7111 WriteConsoleOutputAttribute(
7112 HANDLE hConsoleOutput,
7113 CONST WORD *lpAttribute,
7116 LPDWORD lpNumberOfAttrsWritten
7122 FillConsoleOutputAttribute(
7123 HANDLE hConsoleOutput,
7127 LPDWORD lpNumberOfAttrsWritten
7134 HANDLE hConsoleHandle,
7141 GetNumberOfConsoleInputEvents(
7142 HANDLE hConsoleInput,
7143 LPDWORD lpNumberOfEvents
7149 GetConsoleScreenBufferInfo(
7150 HANDLE hConsoleOutput,
7151 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7157 GetLargestConsoleWindowSize(
7158 HANDLE hConsoleOutput
7164 GetConsoleCursorInfo(
7165 HANDLE hConsoleOutput,
7166 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7172 GetNumberOfConsoleMouseButtons(
7173 LPDWORD lpNumberOfMouseButtons
7180 HANDLE hConsoleHandle,
7187 SetConsoleActiveScreenBuffer(
7188 HANDLE hConsoleOutput
7194 FlushConsoleInputBuffer(
7195 HANDLE hConsoleInput
7201 SetConsoleScreenBufferSize(
7202 HANDLE hConsoleOutput,
7209 SetConsoleCursorPosition(
7210 HANDLE hConsoleOutput,
7211 COORD dwCursorPosition
7217 SetConsoleCursorInfo(
7218 HANDLE hConsoleOutput,
7219 CONST CONSOLE_CURSOR_INFO *lpConsoleCursorInfo
7224 SetConsoleWindowInfo(
7225 HANDLE hConsoleOutput,
7227 CONST SMALL_RECT *lpConsoleWindow
7233 SetConsoleTextAttribute(
7234 HANDLE hConsoleOutput,
7241 SetConsoleCtrlHandler(
7242 PHANDLER_ROUTINE HandlerRoutine,
7249 GenerateConsoleCtrlEvent(
7251 DWORD dwProcessGroupId
7257 AllocConsole( VOID );
7262 FreeConsole( VOID );
7268 CreateConsoleScreenBuffer(
7269 DWORD dwDesiredAccess,
7271 CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,
7273 LPVOID lpScreenBufferData
7279 GetConsoleCP( VOID );
7291 GetConsoleOutputCP( VOID );
7302 VerifyConsoleIoHandle(
7307 WNetConnectionDialog(
7313 WNetDisconnectDialog(
7335 LPSERVICE_STATUS lpServiceStatus
7346 LockServiceDatabase(
7347 SC_HANDLE hSCManager
7353 NotifyBootConfigStatus(
7354 WINBOOL BootAcceptable
7359 QueryServiceObjectSecurity(
7361 SECURITY_INFORMATION dwSecurityInformation,
7362 PSECURITY_DESCRIPTOR lpSecurityDescriptor,
7364 LPDWORD pcbBytesNeeded
7372 LPSERVICE_STATUS lpServiceStatus
7377 SetServiceObjectSecurity(
7379 SECURITY_INFORMATION dwSecurityInformation,
7380 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7387 SERVICE_STATUS_HANDLE hServiceStatus,
7388 LPSERVICE_STATUS lpServiceStatus
7393 UnlockServiceDatabase(
7397 /* Extensions to OpenGL */
7400 ChoosePixelFormat(HDC, CONST PIXELFORMATDESCRIPTOR *);
7403 DescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
7406 GetEnhMetaFilePixelFormat(HENHMETAFILE, DWORD,
7407 CONST PIXELFORMATDESCRIPTOR *);
7410 GetPixelFormat(HDC);
7413 SetPixelFormat(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
7419 wglCreateContext(HDC);
7422 wglCreateLayerContext(HDC, int);
7425 wglCopyContext(HGLRC, HGLRC, UINT);
7428 wglDeleteContext(HGLRC);
7431 wglDescribeLayerPlane(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR);
7434 wglGetCurrentContext(VOID);
7437 wglGetCurrentDC(VOID);
7440 wglGetLayerPaletteEntries(HDC, int, int, int, CONST COLORREF *);
7443 wglGetProcAddress(LPCSTR);
7446 wglMakeCurrent(HDC, HGLRC);
7449 wglRealizeLayerPalette(HDC, int, WINBOOL);
7452 wglSetLayerPaletteEntries(HDC, int, int, int, CONST COLORREF *);
7455 wglShareLists(HGLRC, HGLRC);
7458 wglSwapLayerBuffers(HDC, UINT);
7461 Why are these different between ANSI and UNICODE?
7462 There doesn't seem to be any difference.
7466 #define wglUseFontBitmaps wglUseFontBitmapsW
7467 #define wglUseFontOutlines wglUseFontOutlinesW
7469 #define wglUseFontBitmaps wglUseFontBitmapsA
7470 #define wglUseFontOutlines wglUseFontOutlinesA
7471 #endif /* !UNICODE */
7473 /* ------------------------------------- */
7474 /* From shellapi.h in old Cygnus headers */
7477 DragQueryPoint (HDROP, LPPOINT);
7483 DragAcceptFiles (HWND, WINBOOL);
7486 DuplicateIcon (HINSTANCE, HICON);
7488 /* end of stuff from shellapi.h in old Cygnus headers */
7489 /* -------------------------------------------------- */
7490 /* From ddeml.h in old Cygnus headers */
7492 HCONV WINAPI DdeConnect (DWORD, HSZ, HSZ, CONVCONTEXT *);
7493 WINBOOL WINAPI DdeDisconnect (HCONV);
7494 WINBOOL WINAPI DdeFreeDataHandle (HDDEDATA);
7495 DWORD WINAPI DdeGetData (HDDEDATA, BYTE *, DWORD, DWORD);
7496 UINT WINAPI DdeGetLastError (DWORD);
7497 HDDEDATA WINAPI DdeNameService (DWORD, HSZ, HSZ, UINT);
7498 WINBOOL WINAPI DdePostAdvise (DWORD, HSZ, HSZ);
7499 HCONV WINAPI DdeReconnect (HCONV);
7500 WINBOOL WINAPI DdeUninitialize (DWORD);
7501 int WINAPI DdeCmpStringHandles (HSZ, HSZ);
7502 HDDEDATA WINAPI DdeCreateDataHandle (DWORD, LPBYTE, DWORD, DWORD, HSZ,
7505 /* end of stuff from ddeml.h in old Cygnus headers */
7506 /* ----------------------------------------------- */
7508 DWORD STDCALL NetUserEnum (LPWSTR, DWORD, DWORD, LPBYTE*, DWORD, LPDWORD,
7510 DWORD STDCALL NetApiBufferFree (LPVOID);
7511 DWORD STDCALL NetUserGetInfo (LPWSTR, LPWSTR, DWORD, LPBYTE);
7512 DWORD STDCALL NetGetDCName (LPWSTR, LPWSTR, LPBYTE*);
7513 DWORD STDCALL NetGroupEnum (LPWSTR, DWORD, LPBYTE*, DWORD, LPDWORD,
7515 DWORD STDCALL NetLocalGroupEnum (LPWSTR, DWORD, LPBYTE*, DWORD, LPDWORD,
7519 VOID CopyMemory(PVOID Destination, CONST VOID* Source, DWORD Length);
7521 DWORD STDCALL GetCurrentTime(VOID);
7524 SHAddToRecentDocs (UINT, LPCVOID);
7527 SHBrowseForFolder (LPBROWSEINFO);
7530 SHChangeNotify (LONG, UINT, LPCVOID, LPCVOID);
7533 SHFileOperation (LPSHFILEOPSTRUCT);
7536 SHFreeNameMappings (HANDLE);
7538 /* Define when SHELLFOLDER is defined.
7540 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7543 SHGetDesktopFolder (LPSHELLFOLDER);
7547 SHGetFileInfo (LPCTSTR, DWORD, SHFILEINFO FAR *, UINT, UINT);
7549 /* Define when IUnknown is defined.
7551 SHGetInstanceExplorer (IUnknown **);
7554 /* Define when MALLOC is defined.
7556 SHGetMalloc (LPMALLOC *);
7560 SHGetPathFromIDList (LPCITEMIDLIST, LPTSTR);
7563 SHGetSpecialFolderLocation (HWND, int, LPITEMIDLIST *);
7565 /* Define when REFCLSID is defined.
7567 SHLoadInProc (REFCLSID);
7573 VOID (WINAPI *PFIBER_START_ROUTINE) (
7574 IN LPVOID lpFiberArgument
7576 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE;
7580 ConvertThreadToFiber (
7587 LPFIBER_START_ROUTINE lpStartAddress,
7613 RegisterServicesProcess(DWORD ServicesProcessId);
7617 #endif /* __cplusplus */
7619 #endif /* WIN32_LEAN_AND_MEAN */
7621 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */