4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
40 /* These functions were a real pain, having to figure out which
41 had Unicode/Ascii versions and which did not */
45 #endif /* !UNICODE_ONLY */
49 #endif /* !ANSI_ONLY */
51 /* Define the approprate declaration based upon UNICODE or ASCII */
56 #define RegConnectRegistry RegConnectRegistryW
57 #define RegCreateKey RegCreateKeyW
58 #define RegCreateKeyEx RegCreateKeyExW
59 #define RegDeleteKey RegDeleteKeyW
60 #define RegDeleteValue RegDeleteValueW
61 #define RegEnumKey RegEnumKeyW
62 #define RegEnumKeyEx RegEnumKeyExW
63 #define RegEnumValue RegEnumValueW
64 #define RegLoadKey RegLoadKeyW
65 #define RegOpenKey RegOpenKeyW
66 #define RegOpenKeyEx RegOpenKeyExW
67 #define RegQueryInfoKey RegQueryInfoKeyW
68 #define RegQueryValue RegQueryValueW
69 #define RegQueryMultipleValues RegQueryMultipleValuesW
70 #define RegQueryValueEx RegQueryValueExW
71 #define RegReplaceKey RegReplaceKeyW
72 #define RegRestoreKey RegRestoreKeyW
73 #define RegSaveKey RegSaveKeyW
74 #define RegSetValue RegSetValueW
75 #define RegSetValueEx RegSetValueExW
76 #define AbortSystemShutdown AbortSystemShutdownW
77 #define InitiateSystemShutdown InitiateSystemShutdownW
78 #define RegUnLoadKey RegUnLoadKeyW
79 #define SetProp SetPropW
80 #define GetProp GetPropW
81 #define RemoveProp RemovePropW
82 #define EnumPropsEx EnumPropsExW
83 #define EnumProps EnumPropsW
84 #define SetWindowText SetWindowTextW
85 #define GetWindowText GetWindowTextW
86 #define GetWindowTextLength GetWindowTextLengthW
87 #define MessageBox MessageBoxW
88 #define MessageBoxEx MessageBoxExW
89 #define MessageBoxIndirect MessageBoxIndirectW
90 #define GetWindowLong GetWindowLongW
91 #define SetWindowLong SetWindowLongW
92 #define GetClassLong GetClassLongW
93 #define SetClassLong SetClassLongW
94 #define FindWindow FindWindowW
95 #define FindWindowEx FindWindowExW
96 #define GetClassName GetClassNameW
97 #define SetWindowsHookEx SetWindowsHookExW
98 #define LoadBitmap LoadBitmapW
99 #define LoadCursor LoadCursorW
100 #define LoadCursorFromFile LoadCursorFromFileW
101 #define LoadIcon LoadIconW
102 #define LoadImage LoadImageW
103 #define LoadString LoadStringW
104 #define IsDialogMessage IsDialogMessageW
105 #define DlgDirList DlgDirListW
106 #define DlgDirSelectEx DlgDirSelectExW
107 #define DlgDirListComboBox DlgDirListComboBoxW
108 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
109 #define DefFrameProc DefFrameProcW
110 #define DefMDIChildProc DefMDIChildProcW
111 #define CreateMDIWindow CreateMDIWindowW
112 #define WinHelp WinHelpW
113 #define ChangeDisplaySettings ChangeDisplaySettingsW
114 #define EnumDisplaySettings EnumDisplaySettingsW
115 #define SystemParametersInfo SystemParametersInfoW
116 #define AddFontResource AddFontResourceW
117 #define CopyMetaFile CopyMetaFileW
118 #define CreateDC CreateDCW
119 #define CreateFontIndirect CreateFontIndirectW
120 #define CreateFont CreateFontW
121 #define CreateIC CreateICW
122 #define CreateMetaFile CreateMetaFileW
123 #define CreateScalableFontResource CreateScalableFontResourceW
124 #define DeviceCapabilities DeviceCapabilitiesW
125 #define EnumFontFamiliesEx EnumFontFamiliesExW
126 #define EnumFontFamilies EnumFontFamiliesW
127 #define EnumFonts EnumFontsW
128 #define GetCharWidth GetCharWidthW
129 #define GetCharWidth32 GetCharWidth32W
130 #define GetCharWidthFloat GetCharWidthFloatW
131 #define GetCharABCWidths GetCharABCWidthsW
132 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
133 #define GetGlyphOutline GetGlyphOutlineW
134 #define GetMetaFile GetMetaFileW
135 #define GetOutlineTextMetrics GetOutlineTextMetricsW
136 #define GetTextExtentPoint GetTextExtentPointW
137 #define GetTextExtentPoint32 GetTextExtentPoint32W
138 #define GetTextExtentExPoint GetTextExtentExPointW
139 #define GetCharacterPlacement GetCharacterPlacementW
140 #define ResetDC ResetDCW
141 #define RemoveFontResource RemoveFontResourceW
142 #define CopyEnhMetaFile CopyEnhMetaFileW
143 #define CreateEnhMetaFile CreateEnhMetaFileW
144 #define GetEnhMetaFile GetEnhMetaFileW
145 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
146 #define GetTextMetrics GetTextMetricsW
147 #define StartDoc StartDocW
148 #define GetObject GetObjectW
149 #define TextOut TextOutW
150 #define ExtTextOut ExtTextOutW
151 #define PolyTextOut PolyTextOutW
152 #define GetTextFace GetTextFaceW
153 #define GetKerningPairs GetKerningPairsW
154 #define GetLogColorSpace GetLogColorSpaceW
155 #define CreateColorSpace CreateColorSpaceW
156 #define GetICMProfile GetICMProfileW
157 #define SetICMProfile SetICMProfileW
158 #define UpdateICMRegKey UpdateICMRegKeyW
159 #define EnumICMProfiles EnumICMProfilesW
160 #define CreatePropertySheetPage CreatePropertySheetPageW
161 #define PropertySheet PropertySheetW
162 #define ImageList_LoadImage ImageList_LoadImageW
163 #define CreateStatusWindow CreateStatusWindowW
164 #define DrawStatusText DrawStatusTextW
165 #define GetOpenFileName GetOpenFileNameW
166 #define GetSaveFileName GetSaveFileNameW
167 #define GetFileTitle GetFileTitleW
168 #define ChooseColor ChooseColorW
169 #define FindText FindTextW
170 #define ReplaceText ReplaceTextW
171 #define ChooseFont ChooseFontW
172 #define PrintDlg PrintDlgW
173 #define PageSetupDlg PageSetupDlgW
174 #define DefWindowProc DefWindowProcW
175 #define CallWindowProc CallWindowProcW
176 #define RegisterClass RegisterClassW
177 #define UnregisterClass UnregisterClassW
178 #define GetClassInfo GetClassInfoW
179 #define RegisterClassEx RegisterClassExW
180 #define GetClassInfoEx GetClassInfoExW
181 #define CreateWindowEx CreateWindowExW
182 #define CreateWindow CreateWindowW
183 #define CreateDialogParam CreateDialogParamW
184 #define CreateDialogIndirectParam CreateDialogIndirectParamW
185 #define CreateDialog CreateDialogW
186 #define CreateDialogIndirect CreateDialogIndirectW
187 #define DialogBoxParam DialogBoxParamW
188 #define DialogBoxIndirectParam DialogBoxIndirectParamW
189 #define DialogBox DialogBoxW
190 #define DialogBoxIndirect DialogBoxIndirectW
191 #define RegisterClipboardFormat RegisterClipboardFormatW
192 #define SetDlgItemText SetDlgItemTextW
193 #define GetDlgItemText GetDlgItemTextW
194 #define SendDlgItemMessage SendDlgItemMessageW
195 #define DefDlgProc DefDlgProcW
196 #define CallMsgFilter CallMsgFilterW
197 #define GetClipboardFormatName GetClipboardFormatNameW
198 #define CharToOem CharToOemW
199 #define OemToChar OemToCharW
200 #define CharToOemBuff CharToOemBuffW
201 #define OemToCharBuff OemToCharBuffW
202 #define CharUpper CharUpperW
203 #define CharUpperBuff CharUpperBuffW
204 #define CharLower CharLowerW
205 #define CharLowerBuff CharLowerBuffW
206 #define CharNext CharNextW
207 #define CharPrev CharPrevW
208 #define IsCharAlpha IsCharAlphaW
209 #define IsCharAlphaNumeric IsCharAlphaNumericW
210 #define IsCharUpper IsCharUpperW
211 #define IsCharLower IsCharLowerW
212 #define GetKeyNameText GetKeyNameTextW
213 #define VkKeyScan VkKeyScanW
214 #define VkKeyScanEx VkKeyScanExW
215 #define MapVirtualKey MapVirtualKeyW
216 #define MapVirtualKeyEx MapVirtualKeyExW
217 #define LoadAccelerators LoadAcceleratorsW
218 #define CreateAcceleratorTable CreateAcceleratorTableW
219 #define CopyAcceleratorTable CopyAcceleratorTableW
220 #define TranslateAccelerator TranslateAcceleratorW
221 #define LoadMenu LoadMenuW
222 #define LoadMenuIndirect LoadMenuIndirectW
223 #define ChangeMenu ChangeMenuW
224 #define GetMenuString GetMenuStringW
225 #define InsertMenu InsertMenuW
226 #define AppendMenu AppendMenuW
227 #define ModifyMenu ModifyMenuW
228 #define InsertMenuItem InsertMenuItemW
229 #define GetMenuItemInfo GetMenuItemInfoW
230 #define SetMenuItemInfo SetMenuItemInfoW
231 #define DrawText DrawTextW
232 #define DrawTextEx DrawTextExW
233 #define GrayString GrayStringW
234 #define DrawState DrawStateW
235 #define TabbedTextOut TabbedTextOutW
236 #define GetTabbedTextExtent GetTabbedTextExtentW
237 #define GetVersionEx GetVersionExW
238 #define wvsprintf wvsprintfW
239 #define wsprintf wsprintfW
240 #define LoadKeyboardLayout LoadKeyboardLayoutW
241 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
242 #define CreateDesktop CreateDesktopW
243 #define OpenDesktop OpenDesktopW
244 #define EnumDesktops EnumDesktopsW
245 #define CreateWindowStation CreateWindowStationW
246 #define OpenWindowStation OpenWindowStationW
247 #define EnumWindowStations EnumWindowStationsW
248 #define IsBadStringPtr IsBadStringPtrW
249 #define LookupAccountSid LookupAccountSidW
250 #define LookupAccountName LookupAccountNameW
251 #define LookupPrivilegeValue LookupPrivilegeValueW
252 #define LookupPrivilegeName LookupPrivilegeNameW
253 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
254 #define BuildCommDCB BuildCommDCBW
255 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
256 #define CommConfigDialog CommConfigDialogW
257 #define GetDefaultCommConfig GetDefaultCommConfigW
258 #define SetDefaultCommConfig SetDefaultCommConfigW
259 #define GetComputerName GetComputerNameW
260 #define SetComputerName SetComputerNameW
261 #define GetUserName GetUserNameW
262 #define CreateMailslot CreateMailslotW
263 #define FormatMessage FormatMessageW
264 #define GetEnvironmentStrings GetEnvironmentStringsW
265 #define FreeEnvironmentStrings FreeEnvironmentStringsW
266 #define lstrcmp lstrcmpW
267 #define lstrcmpi lstrcmpiW
268 #define lstrcpyn lstrcpynW
269 #define lstrcpy lstrcpyW
270 #define lstrcat lstrcatW
271 #define lstrlen lstrlenW
272 #define GetBinaryType GetBinaryTypeW
273 #define GetShortPathName GetShortPathNameW
274 #define SetFileSecurity SetFileSecurityW
275 #define GetFileSecurity GetFileSecurityW
276 #define FindFirstChangeNotification FindFirstChangeNotificationW
277 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
278 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
279 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
280 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
281 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
282 #define OpenEventLog OpenEventLogW
283 #define RegisterEventSource RegisterEventSourceW
284 #define OpenBackupEventLog OpenBackupEventLogW
285 #define ReadEventLog ReadEventLogW
286 #define ReportEvent ReportEventW
287 #define CreateProcess CreateProcessW
288 #define FatalAppExit FatalAppExitW
289 #define GetStartupInfo GetStartupInfoW
290 #define GetEnvironmentVariable GetEnvironmentVariableW
291 #define GetCommandLine GetCommandLineW
292 #define SetEnvironmentVariable SetEnvironmentVariableW
293 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
294 #define OutputDebugString OutputDebugStringW
295 #define FindResource FindResourceW
296 #define FindResourceEx FindResourceExW
297 #define EnumResourceTypes EnumResourceTypesW
298 #define EnumResourceNames EnumResourceNamesW
299 #define EnumResourceLanguages EnumResourceLanguagesW
300 #define BeginUpdateResource BeginUpdateResourceW
301 #define UpdateResource UpdateResourceW
302 #define EndUpdateResource EndUpdateResourceW
303 #define GlobalAddAtom GlobalAddAtomW
304 #define GlobalFindAtom GlobalFindAtomW
305 #define GlobalGetAtomName GlobalGetAtomNameW
306 #define AddAtom AddAtomW
307 #define FindAtom FindAtomW
308 #define GetAtomName GetAtomNameW
309 #define GetProfileInt GetProfileIntW
310 #define GetProfileString GetProfileStringW
311 #define WriteProfileString WriteProfileStringW
312 #define GetProfileSection GetProfileSectionW
313 #define WriteProfileSection WriteProfileSectionW
314 #define GetPrivateProfileInt GetPrivateProfileIntW
315 #define GetPrivateProfileString GetPrivateProfileStringW
316 #define WritePrivateProfileString WritePrivateProfileStringW
317 #define GetPrivateProfileSection GetPrivateProfileSectionW
318 #define WritePrivateProfileSection WritePrivateProfileSectionW
319 #define GetDriveType GetDriveTypeW
320 #define GetSystemDirectory GetSystemDirectoryW
321 #define GetTempPath GetTempPathW
322 #define GetTempFileName GetTempFileNameW
323 #define GetWindowsDirectory GetWindowsDirectoryW
324 #define SetCurrentDirectory SetCurrentDirectoryW
325 #define GetCurrentDirectory GetCurrentDirectoryW
326 #define GetDiskFreeSpace GetDiskFreeSpaceW
327 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
328 #define CreateDirectory CreateDirectoryW
329 #define CreateDirectoryEx CreateDirectoryExW
330 #define RemoveDirectory RemoveDirectoryW
331 #define GetFullPathName GetFullPathNameW
332 #define DefineDosDevice DefineDosDeviceW
333 #define QueryDosDevice QueryDosDeviceW
334 #define CreateFile CreateFileW
335 #define SetFileAttributes SetFileAttributesW
336 #define GetFileAttributes GetFileAttributesW
337 #define GetCompressedFileSize GetCompressedFileSizeW
338 #define DeleteFile DeleteFileW
339 #define FindFirstFileEx FindFirstFileExW
340 #define FindFirstFile FindFirstFileW
341 #define FindNextFile FindNextFileW
342 #define SearchPath SearchPathW
343 #define CopyFile CopyFileW
344 #define MoveFile MoveFileW
345 #define MoveFileEx MoveFileExW
346 #define CreateNamedPipe CreateNamedPipeW
347 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
348 #define CallNamedPipe CallNamedPipeW
349 #define WaitNamedPipe WaitNamedPipeW
350 #define SetVolumeLabel SetVolumeLabelW
351 #define GetVolumeInformation GetVolumeInformationW
352 #define ClearEventLog ClearEventLogW
353 #define BackupEventLog BackupEventLogW
354 #define CreateMutex CreateMutexW
355 #define OpenMutex OpenMutexW
356 #define CreateEvent CreateEventW
357 #define OpenEvent OpenEventW
358 #define CreateSemaphore CreateSemaphoreW
359 #define OpenSemaphore OpenSemaphoreW
360 #define CreateFileMapping CreateFileMappingW
361 #define OpenFileMapping OpenFileMappingW
362 #define GetLogicalDriveStrings GetLogicalDriveStringsW
363 #define LoadLibrary LoadLibraryW
364 #define LoadLibraryEx LoadLibraryExW
365 #define GetModuleFileName GetModuleFileNameW
366 #define GetModuleHandle GetModuleHandleW
367 #define GetUserObjectInformation GetUserObjectInformationW
368 #define SetUserObjectInformation SetUserObjectInformationW
369 #define RegisterWindowMessage RegisterWindowMessageW
370 #define GetMessage GetMessageW
371 #define DispatchMessage DispatchMessageW
372 #define PeekMessage PeekMessageW
373 #define SendMessage SendMessageW
374 #define SendMessageTimeout SendMessageTimeoutW
375 #define SendNotifyMessage SendNotifyMessageW
376 #define SendMessageCallback SendMessageCallbackW
377 #define PostMessage PostMessageW
378 #define PostThreadMessage PostThreadMessageW
379 #define VerFindFile VerFindFileW
380 #define VerInstallFile VerInstallFileW
381 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
382 #define GetFileVersionInfo GetFileVersionInfoW
383 #define VerLanguageName VerLanguageNameW
384 #define VerQueryValue VerQueryValueW
385 #define CompareString CompareStringW
386 #define LCMapString LCMapStringW
387 #define GetLocaleInfo GetLocaleInfoW
388 #define SetLocaleInfo SetLocaleInfoW
389 #define GetTimeFormat GetTimeFormatW
390 #define GetDateFormat GetDateFormatW
391 #define GetNumberFormat GetNumberFormatW
392 #define GetCurrencyFormat GetCurrencyFormatW
393 #define EnumCalendarInfo EnumCalendarInfoW
394 #define EnumTimeFormats EnumTimeFormatsW
395 #define FoldString FoldStringW
396 #define EnumSystemCodePages EnumSystemCodePagesW
397 #define EnumSystemLocales EnumSystemLocalesW
398 #define GetStringTypeEx GetStringTypeExW
399 #define EnumDateFormats EnumDateFormatsW
400 #define GetConsoleTitle GetConsoleTitleW
401 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
402 #define SetConsoleTitle SetConsoleTitleW
403 #define ReadConsole ReadConsoleW
404 #define WriteConsole WriteConsoleW
405 #define PeekConsoleInput PeekConsoleInputW
406 #define ReadConsoleInput ReadConsoleInputW
407 #define WriteConsoleInput WriteConsoleInputW
408 #define ReadConsoleOutput ReadConsoleOutputW
409 #define WriteConsoleOutput WriteConsoleOutputW
410 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
411 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
412 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
413 #define WNetGetProviderName WNetGetProviderNameW
414 #define WNetGetNetworkInformation WNetGetNetworkInformationW
415 #define WNetGetLastError WNetGetLastErrorW
416 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
417 #define WNetConnectionDialog1 WNetConnectionDialog1W
418 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
419 #define WNetOpenEnum WNetOpenEnumW
420 #define WNetEnumResource WNetEnumResourceW
421 #define WNetGetUniversalName WNetGetUniversalNameW
422 #define WNetGetUser WNetGetUserW
423 #define WNetAddConnection WNetAddConnectionW
424 #define WNetAddConnection2 WNetAddConnection2W
425 #define WNetAddConnection3 WNetAddConnection3W
426 #define WNetCancelConnection WNetCancelConnectionW
427 #define WNetCancelConnection2 WNetCancelConnection2W
428 #define WNetGetConnection WNetGetConnectionW
429 #define WNetUseConnection WNetUseConnectionW
430 #define WNetSetConnection WNetSetConnectionW
431 #define CreateService CreateServiceW
432 #define ChangeServiceConfig ChangeServiceConfigW
433 #define EnumDependentServices EnumDependentServicesW
434 #define EnumServicesStatus EnumServicesStatusW
435 #define GetServiceKeyName GetServiceKeyNameW
436 #define GetServiceDisplayName GetServiceDisplayNameW
437 #define OpenSCManager OpenSCManagerW
438 #define OpenService OpenServiceW
439 #define QueryServiceConfig QueryServiceConfigW
440 #define QueryServiceLockStatus QueryServiceLockStatusW
441 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
442 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
443 #define StartService StartServiceW
444 #define DragQueryFile DragQueryFileW
445 #define ExtractAssociatedIcon ExtractAssociatedIconW
446 #define ExtractIcon ExtractIconW
447 #define FindExecutable FindExecutableW
448 #define ShellAbout ShellAboutW
449 #define ShellExecute ShellExecuteW
450 #define DdeCreateStringHandle DdeCreateStringHandleW
451 #define DdeInitialize DdeInitializeW
452 #define DdeQueryString DdeQueryStringW
453 #define LogonUser LogonUserW
454 #define CreateProcessAsUser CreateProcessAsUserW
459 #define RegConnectRegistry RegConnectRegistryA
460 #define RegCreateKey RegCreateKeyA
461 #define RegCreateKeyEx RegCreateKeyExA
462 #define RegDeleteKey RegDeleteKeyA
463 #define RegDeleteValue RegDeleteValueA
464 #define RegEnumKey RegEnumKeyA
465 #define RegEnumKeyEx RegEnumKeyExA
466 #define RegEnumValue RegEnumValueA
467 #define RegLoadKey RegLoadKeyA
468 #define RegOpenKey RegOpenKeyA
469 #define RegOpenKeyEx RegOpenKeyExA
470 #define RegQueryInfoKey RegQueryInfoKeyA
471 #define RegQueryValue RegQueryValueA
472 #define RegQueryMultipleValues RegQueryMultipleValuesA
473 #define RegQueryValueEx RegQueryValueExA
474 #define RegReplaceKey RegReplaceKeyA
475 #define RegRestoreKey RegRestoreKeyA
476 #define RegSaveKey RegSaveKeyA
477 #define RegSetValue RegSetValueA
478 #define RegSetValueEx RegSetValueExA
479 #define AbortSystemShutdown AbortSystemShutdownA
480 #define InitiateSystemShutdown InitiateSystemShutdownA
481 #define RegUnLoadKey RegUnLoadKeyA
482 #define LoadIcon LoadIconA
483 #define LoadImage LoadImageA
484 #define LoadString LoadStringA
485 #define IsDialogMessage IsDialogMessageA
486 #define DlgDirList DlgDirListA
487 #define DlgDirSelectEx DlgDirSelectExA
488 #define DlgDirListComboBox DlgDirListComboBoxA
489 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
490 #define DefFrameProc DefFrameProcA
491 #define DefMDIChildProc DefMDIChildProcA
492 #define CreateMDIWindow CreateMDIWindowA
493 #define WinHelp WinHelpA
494 #define ChangeDisplaySettings ChangeDisplaySettingsA
495 #define EnumDisplaySettings EnumDisplaySettingsA
496 #define SystemParametersInfo SystemParametersInfoA
497 #define GetWindowLong GetWindowLongA
498 #define SetWindowLong SetWindowLongA
499 #define GetClassLong GetClassLongA
500 #define SetClassLong SetClassLongA
501 #define FindWindow FindWindowA
502 #define FindWindowEx FindWindowExA
503 #define GetClassName GetClassNameA
504 #define SetWindowsHookEx SetWindowsHookExA
505 #define LoadBitmap LoadBitmapA
506 #define LoadCursor LoadCursorA
507 #define LoadCursorFromFile LoadCursorFromFileA
508 #define SetProp SetPropA
509 #define GetProp GetPropA
510 #define RemoveProp RemovePropA
511 #define EnumPropsEx EnumPropsExA
512 #define EnumProps EnumPropsA
513 #define SetWindowText SetWindowTextA
514 #define GetWindowText GetWindowTextA
515 #define GetWindowTextLength GetWindowTextLengthA
516 #define MessageBox MessageBoxA
517 #define MessageBoxEx MessageBoxExA
518 #define MessageBoxIndirect MessageBoxIndirectA
519 #define AddFontResource AddFontResourceA
520 #define CopyMetaFile CopyMetaFileA
521 #define CreateDC CreateDCA
522 #define CreateFontIndirect CreateFontIndirectA
523 #define CreateFont CreateFontA
524 #define CreateIC CreateICA
525 #define CreateMetaFile CreateMetaFileA
526 #define CreateScalableFontResource CreateScalableFontResourceA
527 #define DeviceCapabilities DeviceCapabilitiesA
528 #define EnumFontFamiliesEx EnumFontFamiliesExA
529 #define EnumFontFamilies EnumFontFamiliesA
530 #define EnumFonts EnumFontsA
531 #define GetCharWidth GetCharWidthA
532 #define GetCharWidth32 GetCharWidth32A
533 #define GetCharWidthFloat GetCharWidthFloatA
534 #define GetCharABCWidths GetCharABCWidthsA
535 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
536 #define GetGlyphOutline GetGlyphOutlineA
537 #define GetMetaFile GetMetaFileA
538 #define GetOutlineTextMetrics GetOutlineTextMetricsA
539 #define GetTextExtentPoint GetTextExtentPointA
540 #define GetTextExtentPoint32 GetTextExtentPoint32A
541 #define GetTextExtentExPoint GetTextExtentExPointA
542 #define GetCharacterPlacement GetCharacterPlacementA
543 #define ResetDC ResetDCA
544 #define RemoveFontResource RemoveFontResourceA
545 #define CopyEnhMetaFile CopyEnhMetaFileA
546 #define CreateEnhMetaFile CreateEnhMetaFileA
547 #define GetEnhMetaFile GetEnhMetaFileA
548 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
549 #define GetTextMetrics GetTextMetricsA
550 #define StartDoc StartDocA
551 #define GetObject GetObjectA
552 #define TextOut TextOutA
553 #define ExtTextOut ExtTextOutA
554 #define PolyTextOut PolyTextOutA
555 #define GetTextFace GetTextFaceA
556 #define GetKerningPairs GetKerningPairsA
557 #define GetLogColorSpace GetLogColorSpaceA
558 #define CreateColorSpace CreateColorSpaceA
559 #define GetICMProfile GetICMProfileA
560 #define SetICMProfile SetICMProfileA
561 #define UpdateICMRegKey UpdateICMRegKeyA
562 #define EnumICMProfiles EnumICMProfilesA
563 #define CreatePropertySheetPage CreatePropertySheetPageA
564 #define PropertySheet PropertySheetA
565 #define ImageList_LoadImage ImageList_LoadImageA
566 #define CreateStatusWindow CreateStatusWindowA
567 #define DrawStatusText DrawStatusTextA
568 #define GetOpenFileName GetOpenFileNameA
569 #define GetSaveFileName GetSaveFileNameA
570 #define GetFileTitle GetFileTitleA
571 #define ChooseColor ChooseColorA
572 #define FindText FindTextA
573 #define ReplaceText ReplaceTextA
574 #define ChooseFont ChooseFontA
575 #define PrintDlg PrintDlgA
576 #define PageSetupDlg PageSetupDlgA
577 #define DefWindowProc DefWindowProcA
578 #define CallWindowProc CallWindowProcA
579 #define RegisterClass RegisterClassA
580 #define UnregisterClass UnregisterClassA
581 #define GetClassInfo GetClassInfoA
582 #define RegisterClassEx RegisterClassExA
583 #define GetClassInfoEx GetClassInfoExA
584 #define CreateWindowEx CreateWindowExA
585 #define CreateWindow CreateWindowA
586 #define CreateDialogParam CreateDialogParamA
587 #define CreateDialogIndirectParam CreateDialogIndirectParamA
588 #define CreateDialog CreateDialogA
589 #define CreateDialogIndirect CreateDialogIndirectA
590 #define CreateWaitableTimer CreateWaitableTimerA
591 #define DialogBoxParam DialogBoxParamA
592 #define DialogBoxIndirectParam DialogBoxIndirectParamA
593 #define DialogBox DialogBoxA
594 #define DialogBoxIndirect DialogBoxIndirectA
595 #define RegisterClipboardFormat RegisterClipboardFormatA
596 #define SetDlgItemText SetDlgItemTextA
597 #define GetDlgItemText GetDlgItemTextA
598 #define SendDlgItemMessage SendDlgItemMessageA
599 #define DefDlgProc DefDlgProcA
600 #define CallMsgFilter CallMsgFilterA
601 #define GetClipboardFormatName GetClipboardFormatNameA
602 #define CharToOem CharToOemA
603 #define OemToChar OemToCharA
604 #define CharToOemBuff CharToOemBuffA
605 #define OemToCharBuff OemToCharBuffA
606 #define CharUpper CharUpperA
607 #define CharUpperBuff CharUpperBuffA
608 #define CharLower CharLowerA
609 #define CharLowerBuff CharLowerBuffA
610 #define CharNext CharNextA
611 #define CharPrev CharPrevA
612 #define IsCharAlpha IsCharAlphaA
613 #define IsCharAlphaNumeric IsCharAlphaNumericA
614 #define IsCharUpper IsCharUpperA
615 #define IsCharLower IsCharLowerA
616 #define GetKeyNameText GetKeyNameTextA
617 #define VkKeyScan VkKeyScanA
618 #define VkKeyScanEx VkKeyScanExA
619 #define MapVirtualKey MapVirtualKeyA
620 #define MapVirtualKeyEx MapVirtualKeyExA
621 #define LoadAccelerators LoadAcceleratorsA
622 #define CreateAcceleratorTable CreateAcceleratorTableA
623 #define CopyAcceleratorTable CopyAcceleratorTableA
624 #define TranslateAccelerator TranslateAcceleratorA
625 #define LoadMenu LoadMenuA
626 #define LoadMenuIndirect LoadMenuIndirectA
627 #define ChangeMenu ChangeMenuA
628 #define GetMenuString GetMenuStringA
629 #define InsertMenu InsertMenuA
630 #define AppendMenu AppendMenuA
631 #define ModifyMenu ModifyMenuA
632 #define InsertMenuItem InsertMenuItemA
633 #define GetMenuItemInfo GetMenuItemInfoA
634 #define SetMenuItemInfo SetMenuItemInfoA
635 #define DrawText DrawTextA
636 #define DrawTextEx DrawTextExA
637 #define GrayString GrayStringA
638 #define DrawState DrawStateA
639 #define TabbedTextOut TabbedTextOutA
640 #define GetTabbedTextExtent GetTabbedTextExtentA
641 #define GetVersionEx GetVersionExA
642 #define wvsprintf wvsprintfA
643 #define wsprintf wsprintfA
644 #define LoadKeyboardLayout LoadKeyboardLayoutA
645 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
646 #define CreateDesktop CreateDesktopA
647 #define OpenDesktop OpenDesktopA
648 #define EnumDesktops EnumDesktopsA
649 #define CreateWindowStation CreateWindowStationA
650 #define OpenWindowStation OpenWindowStationA
651 #define EnumWindowStations EnumWindowStationsA
652 #define IsBadStringPtr IsBadStringPtrA
653 #define LookupAccountSid LookupAccountSidA
654 #define LookupAccountName LookupAccountNameA
655 #define LookupPrivilegeValue LookupPrivilegeValueA
656 #define LookupPrivilegeName LookupPrivilegeNameA
657 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
658 #define BuildCommDCB BuildCommDCBA
659 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
660 #define CommConfigDialog CommConfigDialogA
661 #define GetDefaultCommConfig GetDefaultCommConfigA
662 #define SetDefaultCommConfig SetDefaultCommConfigA
663 #define GetComputerName GetComputerNameA
664 #define SetComputerName SetComputerNameA
665 #define GetUserName GetUserNameA
666 #define CreateMailslot CreateMailslotA
667 #define FormatMessage FormatMessageA
668 #define GetEnvironmentStrings GetEnvironmentStringsA
669 #define FreeEnvironmentStrings FreeEnvironmentStringsA
670 #define lstrcmp lstrcmpA
671 #define lstrcmpi lstrcmpiA
672 #define lstrcpyn lstrcpynA
673 #define lstrcpy lstrcpyA
674 #define lstrcat lstrcatA
675 #define lstrlen lstrlenA
676 #define GetBinaryType GetBinaryTypeA
677 #define GetShortPathName GetShortPathNameA
678 #define SetFileSecurity SetFileSecurityA
679 #define GetFileSecurity GetFileSecurityA
680 #define FindFirstChangeNotification FindFirstChangeNotificationA
681 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
682 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
683 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
684 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
685 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
686 #define OpenEventLog OpenEventLogA
687 #define RegisterEventSource RegisterEventSourceA
688 #define OpenBackupEventLog OpenBackupEventLogA
689 #define ReadEventLog ReadEventLogA
690 #define ReportEvent ReportEventA
691 #define CreateProcess CreateProcessA
692 #define FatalAppExit FatalAppExitA
693 #define GetStartupInfo GetStartupInfoA
694 #define GetCommandLine GetCommandLineA
695 #define GetEnvironmentVariable GetEnvironmentVariableA
696 #define SetEnvironmentVariable SetEnvironmentVariableA
697 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
698 #define OutputDebugString OutputDebugStringA
699 #define FindResource FindResourceA
700 #define FindResourceEx FindResourceExA
701 #define EnumResourceTypes EnumResourceTypesA
702 #define EnumResourceNames EnumResourceNamesA
703 #define EnumResourceLanguages EnumResourceLanguagesA
704 #define BeginUpdateResource BeginUpdateResourceA
705 #define UpdateResource UpdateResourceA
706 #define EndUpdateResource EndUpdateResourceA
707 #define GlobalAddAtom GlobalAddAtomA
708 #define GlobalFindAtom GlobalFindAtomA
709 #define GlobalGetAtomName GlobalGetAtomNameA
710 #define AddAtom AddAtomA
711 #define FindAtom FindAtomA
712 #define GetProfileInt GetProfileIntA
713 #define GetAtomName GetAtomNameA
714 #define GetProfileString GetProfileStringA
715 #define WriteProfileString WriteProfileStringA
716 #define GetProfileSection GetProfileSectionA
717 #define WriteProfileSection WriteProfileSectionA
718 #define GetPrivateProfileInt GetPrivateProfileIntA
719 #define GetPrivateProfileString GetPrivateProfileStringA
720 #define WritePrivateProfileString WritePrivateProfileStringA
721 #define GetPrivateProfileSection GetPrivateProfileSectionA
722 #define WritePrivateProfileSection WritePrivateProfileSectionA
723 #define GetDriveType GetDriveTypeA
724 #define GetSystemDirectory GetSystemDirectoryA
725 #define GetTempPath GetTempPathA
726 #define GetTempFileName GetTempFileNameA
727 #define GetWindowsDirectory GetWindowsDirectoryA
728 #define SetCurrentDirectory SetCurrentDirectoryA
729 #define GetCurrentDirectory GetCurrentDirectoryA
730 #define GetDiskFreeSpace GetDiskFreeSpaceA
731 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
732 #define CreateDirectory CreateDirectoryA
733 #define CreateDirectoryEx CreateDirectoryExA
734 #define RemoveDirectory RemoveDirectoryA
735 #define GetFullPathName GetFullPathNameA
736 #define DefineDosDevice DefineDosDeviceA
737 #define QueryDosDevice QueryDosDeviceA
738 #define CreateFile CreateFileA
739 #define SetFileAttributes SetFileAttributesA
740 #define GetFileAttributes GetFileAttributesA
741 #define GetCompressedFileSize GetCompressedFileSizeA
742 #define DeleteFile DeleteFileA
743 #define FindFirstFileEx FindFirstFileExA
744 #define FindFirstFile FindFirstFileA
745 #define FindNextFile FindNextFileA
746 #define SearchPath SearchPathA
747 #define CopyFile CopyFileA
748 #define MoveFile MoveFileA
749 #define MoveFileEx MoveFileExA
750 #define CreateNamedPipe CreateNamedPipeA
751 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
752 #define CallNamedPipe CallNamedPipeA
753 #define WaitNamedPipe WaitNamedPipeA
754 #define SetVolumeLabel SetVolumeLabelA
755 #define GetVolumeInformation GetVolumeInformationA
756 #define ClearEventLog ClearEventLogA
757 #define BackupEventLog BackupEventLogA
758 #define CreateMutex CreateMutexA
759 #define OpenMutex OpenMutexA
760 #define CreateEvent CreateEventA
761 #define OpenEvent OpenEventA
762 #define CreateSemaphore CreateSemaphoreA
763 #define OpenSemaphore OpenSemaphoreA
764 #define CreateFileMapping CreateFileMappingA
765 #define OpenFileMapping OpenFileMappingA
766 #define GetLogicalDriveStrings GetLogicalDriveStringsA
767 #define LoadLibrary LoadLibraryA
768 #define LoadLibraryEx LoadLibraryExA
769 #define GetModuleFileName GetModuleFileNameA
770 #define GetModuleHandle GetModuleHandleA
771 #define GetUserObjectInformation GetUserObjectInformationA
772 #define SetUserObjectInformation SetUserObjectInformationA
773 #define RegisterWindowMessage RegisterWindowMessageA
774 #define GetMessage GetMessageA
775 #define DispatchMessage DispatchMessageA
776 #define PeekMessage PeekMessageA
777 #define SendMessage SendMessageA
778 #define SendMessageTimeout SendMessageTimeoutA
779 #define SendNotifyMessage SendNotifyMessageA
780 #define SendMessageCallback SendMessageCallbackA
781 #define PostMessage PostMessageA
782 #define PostThreadMessage PostThreadMessageA
783 #define VerFindFile VerFindFileA
784 #define VerInstallFile VerInstallFileA
785 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
786 #define GetFileVersionInfo GetFileVersionInfoA
787 #define VerLanguageName VerLanguageNameA
788 #define VerQueryValue VerQueryValueA
789 #define CompareString CompareStringA
790 #define LCMapString LCMapStringA
791 #define GetLocaleInfo GetLocaleInfoA
792 #define SetLocaleInfo SetLocaleInfoA
793 #define GetTimeFormat GetTimeFormatA
794 #define GetDateFormat GetDateFormatA
795 #define GetNumberFormat GetNumberFormatA
796 #define GetCurrencyFormat GetCurrencyFormatA
797 #define EnumCalendarInfo EnumCalendarInfoA
798 #define EnumTimeFormats EnumTimeFormatsA
799 #define FoldString FoldStringA
800 #define EnumSystemCodePages EnumSystemCodePagesA
801 #define EnumSystemLocales EnumSystemLocalesA
802 #define GetStringTypeEx GetStringTypeExA
803 #define EnumDateFormats EnumDateFormatsA
804 #define GetConsoleTitle GetConsoleTitleA
805 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
806 #define SetConsoleTitle SetConsoleTitleA
807 #define ReadConsole ReadConsoleA
808 #define WriteConsole WriteConsoleA
809 #define PeekConsoleInput PeekConsoleInputA
810 #define ReadConsoleInput ReadConsoleInputA
811 #define WriteConsoleInput WriteConsoleInputA
812 #define ReadConsoleOutput ReadConsoleOutputA
813 #define WriteConsoleOutput WriteConsoleOutputA
814 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
815 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
816 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
817 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
818 #define WNetGetLastError WNetGetLastErrorA
819 #define WNetGetProviderName WNetGetProviderNameA
820 #define WNetGetNetworkInformation WNetGetNetworkInformationA
821 #define WNetConnectionDialog1 WNetConnectionDialog1A
822 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
823 #define WNetOpenEnum WNetOpenEnumA
824 #define WNetEnumResource WNetEnumResourceA
825 #define WNetGetUniversalName WNetGetUniversalNameA
826 #define WNetGetUser WNetGetUserA
827 #define WNetAddConnection WNetAddConnectionA
828 #define WNetAddConnection2 WNetAddConnection2A
829 #define WNetAddConnection3 WNetAddConnection3A
830 #define WNetCancelConnection WNetCancelConnectionA
831 #define WNetCancelConnection2 WNetCancelConnection2A
832 #define WNetGetConnection WNetGetConnectionA
833 #define WNetUseConnection WNetUseConnectionA
834 #define WNetSetConnection WNetSetConnectionA
835 #define OpenService OpenServiceA
836 #define QueryServiceConfig QueryServiceConfigA
837 #define QueryServiceLockStatus QueryServiceLockStatusA
838 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
839 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
840 #define StartService StartServiceA
841 #define ChangeServiceConfig ChangeServiceConfigA
842 #define CreateService CreateServiceA
843 #define EnumDependentServices EnumDependentServicesA
844 #define EnumServicesStatus EnumServicesStatusA
845 #define GetServiceKeyName GetServiceKeyNameA
846 #define GetServiceDisplayName GetServiceDisplayNameA
847 #define OpenSCManager OpenSCManagerA
848 #define DragQueryFile DragQueryFileA
849 #define ExtractAssociatedIcon ExtractAssociatedIconA
850 #define ExtractIcon ExtractIconA
851 #define FindExecutable FindExecutableA
852 #define ShellAbout ShellAboutA
853 #define ShellExecute ShellExecuteA
854 #define DdeCreateStringHandle DdeCreateStringHandleA
855 #define DdeInitialize DdeInitializeA
856 #define DdeQueryString DdeQueryStringA
857 #define LogonUser LogonUserA
858 #define CreateProcessAsUser CreateProcessAsUserA
860 #endif /* UNICODE and ASCII defines */
862 HWND STDCALL GetAncestor(HWND hWnd, UINT GaFlags);
863 WINBOOL STDCALL AbnormalTermination(VOID);
864 int STDCALL AbortDoc(HDC);
865 WINBOOL STDCALL AbortPath(HDC);
866 WINBOOL STDCALL AbortPrinter(HANDLE);
867 WINBOOL CALLBACK AbortProc(HDC, int);
868 WINBOOL STDCALL AbortSystemShutdown(LPTSTR);
869 WINBOOL STDCALL AccessCheck(
870 PSECURITY_DESCRIPTOR pSecurityDescriptor,
873 PGENERIC_MAPPING GenericMapping,
874 PPRIVILEGE_SET PrivilegeSet,
875 LPDWORD PrivilegeSetLength,
876 LPDWORD GrantedAccess,
880 WINBOOL STDCALL AccessCheckAndAuditAlarm(
881 LPCTSTR SubsystemName,
883 LPTSTR ObjectTypeName,
885 PSECURITY_DESCRIPTOR SecurityDescriptor,
887 PGENERIC_MAPPING GenericMapping,
888 WINBOOL ObjectCreation,
889 LPDWORD GrantedAccess,
891 LPBOOL pfGenerateOnClose
897 InterlockedIncrement(
903 InterlockedDecrement(
916 InterlockedCompareExchange(
939 HINSTANCE hPrevInstance,
953 FreeLibraryAndExitThread(
960 DisableThreadLibraryCalls(
1072 LPMEMORYSTATUS lpBuffer
1156 FlushInstructionCache(
1158 LPCVOID lpBaseAddress,
1168 DWORD flAllocationType,
1188 PDWORD lpflOldProtect
1196 PMEMORY_BASIC_INFORMATION lpBuffer,
1208 PDWORD lpflOldProtect
1217 PMEMORY_BASIC_INFORMATION lpBuffer,
1226 DWORD dwInitialSize,
1286 GetProcessHeap( VOID );
1291 DWORD NumberOfHeaps,
1292 PHANDLE ProcessHeaps
1317 LPPROCESS_HEAP_ENTRY lpEntry
1322 GetProcessAffinityMask(
1324 LPDWORD lpProcessAffinityMask,
1325 LPDWORD lpSystemAffinityMask
1332 LPFILETIME lpCreationTime,
1333 LPFILETIME lpExitTime,
1334 LPFILETIME lpKernelTime,
1335 LPFILETIME lpUserTime
1340 GetProcessWorkingSetSize(
1342 LPDWORD lpMinimumWorkingSetSize,
1343 LPDWORD lpMaximumWorkingSetSize
1348 SetProcessWorkingSetSize(
1350 DWORD dwMinimumWorkingSetSize,
1351 DWORD dwMaximumWorkingSetSize
1357 DWORD dwDesiredAccess,
1358 WINBOOL bInheritHandle,
1370 GetCurrentProcessId(
1378 ) __attribute__ ((noreturn));
1403 DWORD dwExceptionCode,
1404 DWORD dwExceptionFlags,
1405 DWORD nNumberOfArguments,
1406 CONST DWORD *lpArguments
1411 UnhandledExceptionFilter(
1412 struct _EXCEPTION_POINTERS *ExceptionInfo
1416 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
1417 LPTOP_LEVEL_EXCEPTION_FILTER
1419 SetUnhandledExceptionFilter(
1420 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
1428 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1430 LPTHREAD_START_ROUTINE lpStartAddress,
1432 DWORD dwCreationFlags,
1441 LPSECURITY_ATTRIBUTES lpThreadAttributes,
1443 LPTHREAD_START_ROUTINE lpStartAddress,
1445 DWORD dwCreationFlags,
1466 SetThreadAffinityMask(
1468 DWORD dwThreadAffinityMask
1491 LPFILETIME lpCreationTime,
1492 LPFILETIME lpExitTime,
1493 LPFILETIME lpKernelTime,
1494 LPFILETIME lpUserTime
1522 GetThreadSelectorEntry(
1525 LPLDT_ENTRY lpSelectorEntry
1545 GetOverlappedResult(
1547 LPOVERLAPPED lpOverlapped,
1548 LPDWORD lpNumberOfBytesTransferred,
1555 CreateIoCompletionPort(
1557 HANDLE ExistingCompletionPort,
1558 DWORD CompletionKey,
1559 DWORD NumberOfConcurrentThreads
1565 GetQueuedCompletionStatus(
1566 HANDLE CompletionPort,
1567 LPDWORD lpNumberOfBytesTransferred,
1568 LPDWORD lpCompletionKey,
1569 LPOVERLAPPED *lpOverlapped,
1570 DWORD dwMilliseconds
1584 LPCVOID lpBaseAddress,
1587 LPDWORD lpNumberOfBytesRead
1595 LPVOID lpBaseAddress,
1598 LPDWORD lpNumberOfBytesWritten
1614 CONST CONTEXT *lpContext
1642 LPDEBUG_EVENT lpDebugEvent,
1643 DWORD dwMilliseconds
1652 DWORD dwContinueStatus
1665 InitializeCriticalSection(
1666 LPCRITICAL_SECTION lpCriticalSection
1672 EnterCriticalSection(
1673 LPCRITICAL_SECTION lpCriticalSection
1679 LeaveCriticalSection(
1680 LPCRITICAL_SECTION lpCriticalSection
1686 DeleteCriticalSection(
1687 LPCRITICAL_SECTION lpCriticalSection
1717 LPLONG lpPreviousCount
1730 WaitForSingleObject(
1732 DWORD dwMilliseconds
1738 WaitForMultipleObjects(
1740 CONST HANDLE *lpHandles,
1742 DWORD dwMilliseconds
1749 DWORD dwMilliseconds
1809 DWORD dwFileOffsetLow,
1810 DWORD dwFileOffsetHigh,
1811 DWORD nNumberOfBytesToLockLow,
1812 DWORD nNumberOfBytesToLockHigh
1820 DWORD dwFileOffsetLow,
1821 DWORD dwFileOffsetHigh,
1822 DWORD nNumberOfBytesToUnlockLow,
1823 DWORD nNumberOfBytesToUnlockHigh
1833 DWORD nNumberOfBytesToLockLow,
1834 DWORD nNumberOfBytesToLockHigh,
1835 LPOVERLAPPED lpOverlapped
1843 DWORD nNumberOfBytesToUnlockLow,
1844 DWORD nNumberOfBytesToUnlockHigh,
1845 LPOVERLAPPED lpOverlapped
1850 GetFileInformationByHandle(
1852 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
1867 LPDWORD lpFileSizeHigh
1891 DWORD nNumberOfBytesToWrite,
1892 LPDWORD lpNumberOfBytesWritten,
1893 LPOVERLAPPED lpOverlapped
1902 DWORD nNumberOfBytesToRead,
1903 LPDWORD lpNumberOfBytesRead,
1904 LPOVERLAPPED lpOverlapped
1919 DWORD dwIoControlCode,
1921 DWORD nInBufferSize,
1923 DWORD nOutBufferSize,
1924 LPDWORD lpBytesReturned,
1925 LPOVERLAPPED lpOverlapped
1940 LONG lDistanceToMove,
1941 PLONG lpDistanceToMoveHigh,
1957 LPFILETIME lpCreationTime,
1958 LPFILETIME lpLastAccessTime,
1959 LPFILETIME lpLastWriteTime
1967 CONST FILETIME *lpCreationTime,
1968 CONST FILETIME *lpLastAccessTime,
1969 CONST FILETIME *lpLastWriteTime
1983 HANDLE hSourceProcessHandle,
1984 HANDLE hSourceHandle,
1985 HANDLE hTargetProcessHandle,
1986 LPHANDLE lpTargetHandle,
1987 DWORD dwDesiredAccess,
1988 WINBOOL bInheritHandle,
1995 GetHandleInformation(
2003 SetHandleInformation(
2012 LPCSTR lpModuleName,
2013 LPVOID lpParameterBlock
2079 LPCOMMPROP lpCommProp
2103 LPCOMMTIMEOUTS lpCommTimeouts
2151 LPCOMMTIMEOUTS lpCommTimeouts
2168 LPOVERLAPPED lpOverlapped
2177 DWORD dwPositionMethod,
2189 DWORD dwPositionType,
2190 LPDWORD lpdwPartition,
2191 LPDWORD lpdwOffsetLow,
2192 LPDWORD lpdwOffsetHigh
2206 ProcessIdToSessionId(
2222 CreateTapePartition(
2224 DWORD dwPartitionMethod,
2234 DWORD dwTapemarkType,
2235 DWORD dwTapemarkCount,
2253 LPVOID lpTapeInformation
2261 LPVOID lpTapeInformation
2410 LPSYSTEMTIME lpSystemTime
2415 GetSystemTimeAsFileTime (
2416 LPFILETIME lpSystemTimeAsFileTime
2422 CONST SYSTEMTIME *lpSystemTime
2429 LPSYSTEMTIME lpSystemTime
2436 CONST SYSTEMTIME *lpSystemTime
2443 LPSYSTEM_INFO lpSystemInfo
2448 SystemTimeToTzSpecificLocalTime(
2449 LPTIME_ZONE_INFORMATION lpTimeZoneInformation,
2450 LPSYSTEMTIME lpUniversalTime,
2451 LPSYSTEMTIME lpLocalTime
2457 GetTimeZoneInformation(
2458 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
2464 SetTimeZoneInformation(
2465 CONST TIME_ZONE_INFORMATION *lpTimeZoneInformation
2470 SystemTimeToFileTime(
2471 CONST SYSTEMTIME *lpSystemTime,
2472 LPFILETIME lpFileTime
2478 FileTimeToLocalFileTime(
2479 CONST FILETIME *lpFileTime,
2480 LPFILETIME lpLocalFileTime
2486 LocalFileTimeToFileTime(
2487 CONST FILETIME *lpLocalFileTime,
2488 LPFILETIME lpFileTime
2494 FileTimeToSystemTime(
2495 CONST FILETIME *lpFileTime,
2496 LPSYSTEMTIME lpSystemTime
2503 CONST FILETIME *lpFileTime1,
2504 CONST FILETIME *lpFileTime2
2510 FileTimeToDosDateTime(
2511 CONST FILETIME *lpFileTime,
2519 DosDateTimeToFileTime(
2522 LPFILETIME lpFileTime
2535 SetSystemTimeAdjustment(
2536 DWORD dwTimeAdjustment,
2537 WINBOOL bTimeAdjustmentDisabled
2543 GetSystemTimeAdjustment(
2544 PDWORD lpTimeAdjustment,
2545 PDWORD lpTimeIncrement,
2546 PWINBOOL lpTimeAdjustmentDisabled
2555 LPSECURITY_ATTRIBUTES lpPipeAttributes,
2564 LPOVERLAPPED lpOverlapped
2570 DisconnectNamedPipe(
2577 SetNamedPipeHandleState(
2580 LPDWORD lpMaxCollectionCount,
2581 LPDWORD lpCollectDataTimeout
2590 LPDWORD lpOutBufferSize,
2591 LPDWORD lpInBufferSize,
2592 LPDWORD lpMaxInstances
2602 LPDWORD lpBytesRead,
2603 LPDWORD lpTotalBytesAvail,
2604 LPDWORD lpBytesLeftThisMessage
2613 DWORD nInBufferSize,
2615 DWORD nOutBufferSize,
2616 LPDWORD lpBytesRead,
2617 LPOVERLAPPED lpOverlapped
2626 LPDWORD lpMaxMessageSize,
2628 LPDWORD lpMessageCount,
2629 LPDWORD lpReadTimeout
2644 HANDLE hFileMappingObject,
2645 DWORD dwDesiredAccess,
2646 DWORD dwFileOffsetHigh,
2647 DWORD dwFileOffsetLow,
2648 DWORD dwNumberOfBytesToMap
2655 LPCVOID lpBaseAddress,
2656 DWORD dwNumberOfBytesToFlush
2663 LPVOID lpBaseAddress
2670 LPOFSTRUCT lpReOpenBuff,
2746 CONST LPVOID lpBuffer,
2782 DWORD dwMilliseconds,
2789 WaitForSingleObjectEx(
2791 DWORD dwMilliseconds,
2798 WaitForMultipleObjectsEx(
2800 CONST HANDLE *lpHandles,
2802 DWORD dwMilliseconds,
2812 DWORD nNumberOfBytesToRead,
2813 LPOVERLAPPED lpOverlapped,
2814 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2823 DWORD nNumberOfBytesToWrite,
2824 LPOVERLAPPED lpOverlapped,
2825 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
2834 DWORD nNumberOfBytesToRead,
2835 LPDWORD lpNumberOfBytesRead,
2837 WINBOOL bProcessSecurity,
2846 DWORD dwLowBytesToSeek,
2847 DWORD dwHighBytesToSeek,
2848 LPDWORD lpdwLowByteSeeked,
2849 LPDWORD lpdwHighByteSeeked,
2859 DWORD nNumberOfBytesToWrite,
2860 LPDWORD lpNumberOfBytesWritten,
2862 WINBOOL bProcessSecurity,
2868 SetProcessShutdownParameters(
2876 GetProcessShutdownParameters(
2884 SetFileApisToOEM( VOID );
2889 SetFileApisToANSI( VOID );
2894 AreFileApisANSI( VOID );
2905 DeregisterEventSource (
2912 NotifyChangeEventLog (
2920 GetNumberOfEventLogRecords (
2922 PDWORD NumberOfRecords
2928 GetOldestEventLogRecord (
2936 HANDLE ExistingTokenHandle,
2937 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel,
2938 PHANDLE DuplicateTokenHandle
2944 GetKernelObjectSecurity (
2946 SECURITY_INFORMATION RequestedInformation,
2947 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2949 LPDWORD lpnLengthNeeded
2955 ImpersonateNamedPipeClient(
2962 ImpersonateLoggedOnUser(
2970 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
2993 PSECURITY_DESCRIPTOR pSecurityDescriptor,
2995 DWORD DesiredAccess,
2996 PGENERIC_MAPPING GenericMapping,
2997 PPRIVILEGE_SET PrivilegeSet,
2998 LPDWORD PrivilegeSetLength,
2999 LPDWORD GrantedAccess,
3008 HANDLE ProcessHandle,
3009 DWORD DesiredAccess,
3018 HANDLE ThreadHandle,
3019 DWORD DesiredAccess,
3028 GetTokenInformation (
3030 TOKEN_INFORMATION_CLASS TokenInformationClass,
3031 LPVOID TokenInformation,
3032 DWORD TokenInformationLength,
3040 SetTokenInformation (
3042 TOKEN_INFORMATION_CLASS TokenInformationClass,
3043 LPVOID TokenInformation,
3044 DWORD TokenInformationLength
3051 AdjustTokenPrivileges (
3053 WINBOOL DisableAllPrivileges,
3054 PTOKEN_PRIVILEGES NewState,
3056 PTOKEN_PRIVILEGES PreviousState,
3066 WINBOOL ResetToDefault,
3067 PTOKEN_GROUPS NewState,
3069 PTOKEN_GROUPS PreviousState,
3079 PPRIVILEGE_SET RequiredPrivileges,
3113 GetSidLengthRequired (
3114 UCHAR nSubAuthorityCount
3121 AllocateAndInitializeSid (
3122 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3123 BYTE nSubAuthorityCount,
3124 DWORD nSubAuthority0,
3125 DWORD nSubAuthority1,
3126 DWORD nSubAuthority2,
3127 DWORD nSubAuthority3,
3128 DWORD nSubAuthority4,
3129 DWORD nSubAuthority5,
3130 DWORD nSubAuthority6,
3131 DWORD nSubAuthority7,
3147 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
3148 BYTE nSubAuthorityCount
3153 PSID_IDENTIFIER_AUTHORITY
3155 GetSidIdentifierAuthority (
3163 GetSidSubAuthority (
3172 GetSidSubAuthorityCount (
3189 DWORD nDestinationSidLength,
3190 PSID pDestinationSid,
3198 AreAllAccessesGranted (
3199 DWORD GrantedAccess,
3207 AreAnyAccessesGranted (
3208 DWORD GrantedAccess,
3218 PGENERIC_MAPPING GenericMapping
3245 LPVOID pAclInformation,
3246 DWORD nAclInformationLength,
3247 ACL_INFORMATION_CLASS dwAclInformationClass
3256 LPVOID pAclInformation,
3257 DWORD nAclInformationLength,
3258 ACL_INFORMATION_CLASS dwAclInformationClass
3267 DWORD dwAceRevision,
3268 DWORD dwStartingAceIndex,
3270 DWORD nAceListLength
3296 AddAccessAllowedAce (
3298 DWORD dwAceRevision,
3307 AddAccessDeniedAce (
3309 DWORD dwAceRevision,
3320 DWORD dwAceRevision,
3323 WINBOOL bAuditSuccess,
3324 WINBOOL bAuditFailure
3340 InitializeSecurityDescriptor (
3341 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3349 IsValidSecurityDescriptor (
3350 PSECURITY_DESCRIPTOR pSecurityDescriptor
3357 GetSecurityDescriptorLength (
3358 PSECURITY_DESCRIPTOR pSecurityDescriptor
3365 GetSecurityDescriptorControl (
3366 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3367 PSECURITY_DESCRIPTOR_CONTROL pControl,
3368 LPDWORD lpdwRevision
3375 SetSecurityDescriptorDacl (
3376 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3377 WINBOOL bDaclPresent,
3379 WINBOOL bDaclDefaulted
3386 GetSecurityDescriptorDacl (
3387 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3388 LPBOOL lpbDaclPresent,
3390 LPBOOL lpbDaclDefaulted
3397 SetSecurityDescriptorSacl (
3398 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3399 WINBOOL bSaclPresent,
3401 WINBOOL bSaclDefaulted
3408 GetSecurityDescriptorSacl (
3409 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3410 LPBOOL lpbSaclPresent,
3412 LPBOOL lpbSaclDefaulted
3419 SetSecurityDescriptorOwner (
3420 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3422 WINBOOL bOwnerDefaulted
3429 GetSecurityDescriptorOwner (
3430 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3432 LPBOOL lpbOwnerDefaulted
3439 SetSecurityDescriptorGroup (
3440 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3442 WINBOOL bGroupDefaulted
3449 GetSecurityDescriptorGroup (
3450 PSECURITY_DESCRIPTOR pSecurityDescriptor,
3452 LPBOOL lpbGroupDefaulted
3459 CreatePrivateObjectSecurity (
3460 PSECURITY_DESCRIPTOR ParentDescriptor,
3461 PSECURITY_DESCRIPTOR CreatorDescriptor,
3462 PSECURITY_DESCRIPTOR * NewDescriptor,
3463 WINBOOL IsDirectoryObject,
3465 PGENERIC_MAPPING GenericMapping
3472 SetPrivateObjectSecurity (
3473 SECURITY_INFORMATION SecurityInformation,
3474 PSECURITY_DESCRIPTOR ModificationDescriptor,
3475 PSECURITY_DESCRIPTOR *ObjectsSecurityDescriptor,
3476 PGENERIC_MAPPING GenericMapping,
3484 GetPrivateObjectSecurity (
3485 PSECURITY_DESCRIPTOR ObjectDescriptor,
3486 SECURITY_INFORMATION SecurityInformation,
3487 PSECURITY_DESCRIPTOR ResultantDescriptor,
3488 DWORD DescriptorLength,
3496 DestroyPrivateObjectSecurity (
3497 PSECURITY_DESCRIPTOR * ObjectDescriptor
3504 MakeSelfRelativeSD (
3505 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3506 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3507 LPDWORD lpdwBufferLength
3515 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor,
3516 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor,
3517 LPDWORD lpdwAbsoluteSecurityDescriptorSize,
3519 LPDWORD lpdwDaclSize,
3521 LPDWORD lpdwSaclSize,
3523 LPDWORD lpdwOwnerSize,
3525 LPDWORD lpdwPrimaryGroupSize
3532 SetKernelObjectSecurity (
3534 SECURITY_INFORMATION SecurityInformation,
3535 PSECURITY_DESCRIPTOR SecurityDescriptor
3541 FindNextChangeNotification(
3542 HANDLE hChangeHandle
3548 FindCloseChangeNotification(
3549 HANDLE hChangeHandle
3572 HANDLE hFileMappingObject,
3573 DWORD dwDesiredAccess,
3574 DWORD dwFileOffsetHigh,
3575 DWORD dwFileOffsetLow,
3576 DWORD dwNumberOfBytesToMap,
3577 LPVOID lpBaseAddress
3585 DWORD dwPriorityClass
3636 AllocateLocallyUniqueId(
3643 QueryPerformanceCounter(
3644 LARGE_INTEGER *lpPerformanceCount
3650 QueryPerformanceFrequency(
3651 LARGE_INTEGER *lpFrequency
3677 /* The memory functions don't seem to be defined in the libraries, so
3678 define macro versions as well. */
3679 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
3680 #define FillMemory(p, c, v) memset ((p), (v), (c))
3681 #define ZeroMemory(p, c) memset ((p), 0, (c))
3686 ActivateKeyboardLayout(
3692 ActivateKeyboardLayout(
3712 UnloadKeyboardLayout(
3718 GetKeyboardLayoutList(
3735 DWORD dwDesiredAccess);
3741 ENUMWINDOWSPROC lpfn,
3777 SetProcessWindowStation(
3783 GetProcessWindowStation(
3789 SetUserObjectSecurity(
3791 PSECURITY_INFORMATION pSIRequested,
3792 PSECURITY_DESCRIPTOR pSID);
3797 GetUserObjectSecurity(
3799 PSECURITY_INFORMATION pSIRequested,
3800 PSECURITY_DESCRIPTOR pSID,
3802 LPDWORD lpnLengthNeeded);
3858 GetMessageExtraInfo(
3864 SetMessageExtraInfo(
3870 BroadcastSystemMessage(
3901 DWORD dwMilliseconds);
4007 HWND hWndInsertAfter ,
4019 WINDOWPLACEMENT *lpwndpl);
4026 CONST WINDOWPLACEMENT *lpwndpl);
4031 BeginDeferWindowPos(
4040 HWND hWndInsertAfter,
4112 WINBOOL *lpTranslated,
4130 int nIDCheckButton);
4142 GetNextDlgGroupItem(
4164 GetDialogBaseUnits(VOID);
4187 HWND hWndNewViewer);
4198 ChangeClipboardChain(
4219 CountClipboardFormats(
4225 EnumClipboardFormats(
4237 IsClipboardFormatAvailable(
4243 GetPriorityClipboardFormat(
4244 UINT *paFormatPriorityList,
4250 GetOpenClipboardWindow(
4254 /* Despite the A these are ASCII functions! */
4259 LPCSTR lpCurrentChar,
4268 LPCSTR lpCurrentChar,
4414 MsgWaitForMultipleObjects(
4418 DWORD dwMilliseconds,
4428 TIMERPROC lpTimerFunc);
4433 SetWaitableTimer(HANDLE hTimer,
4434 const LARGE_INTEGER *pDueTime,
4436 PTIMERAPCROUTINE pfnCompletionRoutine,
4437 LPVOID lpArgToCompletionRoutine,
4469 DestroyAcceleratorTable(
4594 HBITMAP hBitmapUnchecked,
4595 HBITMAP hBitmapChecked);
4600 GetMenuCheckMarkDimensions(
4613 CONST RECT *prcRect);
4631 GetMenuItemRect(HWND hWnd,
4638 MenuItemFromPoint(HWND hWnd,
4645 DragObject(HWND, HWND, UINT, DWORD, HCURSOR);
4650 DragDetect(HWND hwnd,
4676 GetForegroundWindow(
4681 PaintDesktop(HDC hdc);
4686 SetForegroundWindow(
4727 LPPAINTSTRUCT lpPaint);
4734 CONST PAINTSTRUCT *lpPaint);
4787 CONST RECT *lpRect);
4809 CONST RECT *lprcUpdate,
4827 CONST RECT *lpClipRect);
4836 CONST RECT *lprcScroll,
4837 CONST RECT *lprcClip ,
4848 CONST RECT *prcScroll,
4849 CONST RECT *prcClip ,
4938 SetWindowContextHelpId(HWND, DWORD);
4942 GetWindowContextHelpId(HWND);
4946 SetMenuContextHelpId(HMENU, DWORD);
4950 GetMenuContextHelpId(HMENU);
4987 CONST RECT *lpRect);
5085 ChildWindowFromPoint(
5106 CONST INT * lpaElements,
5107 CONST COLORREF * lpaRgbValues);
5160 CONST RECT *lprcSrc);
5175 CONST RECT *lprcSrc1,
5176 CONST RECT *lprcSrc2);
5183 CONST RECT *lprcSrc1,
5184 CONST RECT *lprcSrc2);
5191 CONST RECT *lprcSrc1,
5192 CONST RECT *lprcSrc2);
5268 HWND hWndNewParent);
5275 ENUMWINDOWSPROC lpEnumFunc,
5282 ENUMWINDOWSPROC lpEnumFunc,
5290 ENUMWINDOWSPROC lpfn,
5301 GetWindowThreadProcessId(
5303 LPDWORD lpdwProcessId);
5322 HOOKPROC pfnFilterProc);
5326 UnhookWindowsHookEx(
5341 CheckMenuRadioItem(HMENU, UINT, UINT, UINT, UINT);
5351 CONST VOID *pvANDPlane,
5352 CONST VOID *pvXORPlane);
5371 HINSTANCE hInstance,
5376 CONST BYTE *lpbANDbits,
5377 CONST BYTE *lpbXORbits);
5388 LookupIconIdFromDirectory(
5395 LookupIconIdFromDirectoryEx(
5405 CreateIconFromResource(
5414 CreateIconFromResourceEx(
5437 PICONINFO piconinfo);
5450 PICONINFO piconinfo);
5461 SetScrollInfo(HWND, int, LPCSCROLLINFO, WINBOOL);
5465 GetScrollInfo(HWND, int, LPSCROLLINFO);
5469 TranslateMDISysAccel(
5476 ArrangeIconicWindows(
5481 TileWindows(HWND hwndParent, UINT wHow, CONST RECT * lpRect, UINT cKids, const HWND *lpKids);
5485 CascadeWindows(HWND hwndParent, UINT wHow, CONST RECT * lpRect, UINT cKids, const HWND *lpKids);
5504 DrawEdge(HDC hdc, LPRECT qrc, UINT edge, UINT grfFlags);
5507 DrawFrameControl(HDC, LPRECT, UINT, UINT);
5519 DrawAnimatedRects(HWND hwnd, int idAni, CONST RECT * lprcFrom, CONST RECT * lprcTo);
5523 TrackPopupMenuEx(HMENU, UINT, int, int, HWND, LPTPMPARAMS);
5527 ChildWindowFromPointEx(HWND, POINT, UINT);
5531 DrawIconEx(HDC hdc, int xLeft, int yTop,
5532 HICON hIcon, int cxWidth, int cyWidth,
5533 UINT istepIfAniCur, HBRUSH hbrFlickerFreeDraw, UINT diFlags);
5537 AnimatePalette(HPALETTE, UINT, UINT, CONST PALETTEENTRY *);
5541 Arc(HDC, int, int, int, int, int, int, int, int);
5545 BitBlt(HDC, int, int, int, int, HDC, int, int, DWORD);
5553 Chord(HDC, int, int, int, int, int, int, int, int);
5561 CombineRgn(HRGN, HRGN, HRGN, int);
5565 CreateBitmap(int, int, UINT, UINT, CONST VOID *);
5569 CreateBitmapIndirect(CONST BITMAP *);
5573 CreateBrushIndirect(CONST LOGBRUSH *);
5577 CreateCompatibleBitmap(HDC, int, int);
5581 CreateDiscardableBitmap(HDC, int, int);
5585 CreateCompatibleDC(HDC);
5589 CreateDIBitmap(HDC, CONST BITMAPINFOHEADER *, DWORD, CONST VOID *, CONST BITMAPINFO *, UINT);
5593 CreateDIBPatternBrush(HGLOBAL, UINT);
5597 CreateDIBPatternBrushPt(CONST VOID *, UINT);
5601 CreateEllipticRgn(int, int, int, int);
5605 CreateEllipticRgnIndirect(CONST RECT *);
5609 CreateHatchBrush(int, COLORREF);
5613 CreatePalette(CONST LOGPALETTE *);
5617 CreatePen(int, int, COLORREF);
5621 CreatePenIndirect(CONST LOGPEN *);
5625 CreatePolyPolygonRgn(CONST POINT *, CONST INT *, int, int);
5629 CreatePatternBrush(HBITMAP);
5633 CreateRectRgn(int, int, int, int);
5637 CreateRectRgnIndirect(CONST RECT *);
5641 CreateRoundRectRgn(int, int, int, int, int, int);
5645 CreateSolidBrush(COLORREF);
5653 DeleteMetaFile(HMETAFILE);
5657 DeleteObject(HGDIOBJ);
5661 DrawEscape(HDC, int, int, LPCSTR);
5665 Ellipse(HDC, int, int, int, int);
5669 EnumObjects(HDC, int, ENUMOBJECTSPROC, LPARAM);
5673 EqualRgn(HRGN, HRGN);
5677 Escape(HDC, int, int, LPCSTR, LPVOID);
5681 ExtEscape(HDC, int, int, LPCSTR, int, LPSTR);
5685 ExcludeClipRect(HDC, int, int, int, int);
5689 ExtCreateRegion(CONST XFORM *, DWORD, CONST RGNDATA *);
5693 ExtFloodFill(HDC, int, int, COLORREF, UINT);
5697 FillRgn(HDC, HRGN, HBRUSH);
5701 FloodFill(HDC, int, int, COLORREF);
5705 FrameRgn(HDC, HRGN, HBRUSH, int, int);
5709 GdiDllInitialize (HANDLE, DWORD, LPVOID);
5713 GdiProcessSetup (VOID);
5721 GetAspectRatioFilterEx(HDC, LPSIZE);
5733 GetBitmapBits(HBITMAP, LONG, LPVOID);
5737 GetBitmapDimensionEx(HBITMAP, LPSIZE);
5741 GetBoundsRect(HDC, LPRECT, UINT);
5745 GetBrushOrgEx(HDC, LPPOINT);
5749 GetClipBox(HDC, LPRECT);
5753 GetClipRgn(HDC, HRGN);
5757 GetMetaRgn(HDC, HRGN);
5761 GetCurrentObject(HDC, UINT);
5765 GetCurrentPositionEx(HDC, LPPOINT);
5769 GetDeviceCaps(HDC, int);
5773 GetDIBits(HDC, HBITMAP, UINT, UINT, LPVOID, LPBITMAPINFO, UINT);
5777 GetFontData(HDC, DWORD, DWORD, LPVOID, DWORD);
5781 GetGraphicsMode(HDC);
5789 GetMetaFileBitsEx(HMETAFILE, UINT, LPVOID);
5793 GetNearestColor(HDC, COLORREF);
5797 GetNearestPaletteIndex(HPALETTE, COLORREF);
5801 GetObjectType(HGDIOBJ h);
5805 GetPaletteEntries(HPALETTE, UINT, UINT, LPPALETTEENTRY);
5809 GetPixel(HDC, int, int);
5813 GetPixelFormat(HDC);
5817 GetPolyFillMode(HDC);
5821 GetRasterizerCaps(LPRASTERIZER_STATUS, UINT);
5825 GetRegionData(HRGN, DWORD, LPRGNDATA);
5829 GetRgnBox(HRGN, LPRECT);
5833 GetStockObject(int);
5837 GetStretchBltMode(HDC);
5841 GetSystemPaletteEntries(HDC, UINT, UINT, LPPALETTEENTRY);
5845 GetSystemPaletteUse(HDC);
5849 GetTextCharacterExtra(HDC);
5861 GetTextCharset(HDC hdc);
5865 GetTextCharsetInfo(HDC hdc, LPFONTSIGNATURE lpSig, DWORD dwFlags);
5869 TranslateCharsetInfo( DWORD *lpSrc, LPCHARSETINFO lpCs, DWORD dwFlags);
5873 GetFontLanguageInfo( HDC );
5877 GetViewportExtEx(HDC, LPSIZE);
5881 GetViewportOrgEx(HDC, LPPOINT);
5885 GetWindowExtEx(HDC, LPSIZE);
5889 GetWindowOrgEx(HDC, LPPOINT);
5893 IntersectClipRect(HDC, int, int, int, int);
5897 InvertRgn(HDC, HRGN);
5901 LineDDA(int, int, int, int, LINEDDAPROC, LPARAM);
5905 LineTo(HDC, int, int);
5909 MaskBlt(HDC, int, int, int, int,
5910 HDC, int, int, HBITMAP, int, int, DWORD);
5914 PlgBlt(HDC, CONST POINT *, HDC, int, int, int,
5915 int, HBITMAP, int, int);
5919 OffsetClipRgn(HDC, int, int);
5923 OffsetRgn(HRGN, int, int);
5927 PatBlt(HDC, int, int, int, int, DWORD);
5931 Pie(HDC, int, int, int, int, int, int, int, int);
5935 PlayMetaFile(HDC, HMETAFILE);
5939 PaintRgn(HDC, HRGN);
5943 PolyPolygon(HDC, CONST POINT *, CONST INT *, int);
5947 PtInRegion(HRGN, int, int);
5951 PtVisible(HDC, int, int);
5955 RectInRegion(HRGN, CONST RECT *);
5959 RectVisible(HDC, CONST RECT *);
5963 Rectangle(HDC, int, int, int, int);
5967 RestoreDC(HDC, int);
5971 RealizePalette(HDC);
5975 RoundRect(HDC, int, int, int, int, int, int);
5979 ResizePalette(HPALETTE, UINT);
5987 SelectClipRgn(HDC, HRGN);
5991 ExtSelectClipRgn(HDC, HRGN, int);
5999 SelectObject(HDC, HGDIOBJ);
6003 SelectPalette(HDC, HPALETTE, WINBOOL);
6007 SetBkColor(HDC, COLORREF);
6011 SetBkMode(HDC, int);
6015 SetBitmapBits(HBITMAP, DWORD, CONST VOID *);
6019 SetBoundsRect(HDC, CONST RECT *, UINT);
6023 SetDIBits(HDC, HBITMAP, UINT, UINT, CONST VOID *, CONST BITMAPINFO *, UINT);
6027 SetDIBitsToDevice(HDC, int, int, DWORD, DWORD, int,
6028 int, UINT, UINT, CONST VOID *, CONST BITMAPINFO *, UINT);
6032 SetMapperFlags(HDC, DWORD);
6036 SetGraphicsMode(HDC hdc, int iMode);
6040 SetMapMode(HDC, int);
6044 SetMetaFileBitsEx(UINT, CONST BYTE *);
6048 SetPaletteEntries(HPALETTE, UINT, UINT, CONST PALETTEENTRY *);
6052 SetPixel(HDC, int, int, COLORREF);
6056 SetPixelV(HDC, int, int, COLORREF);
6060 SetPolyFillMode(HDC, int);
6064 StretchBlt(HDC, int, int, int, int, HDC, int, int, int, int, DWORD);
6068 SetRectRgn(HRGN, int, int, int, int);
6071 StretchDIBits(HDC, int, int, int, int, int, int, int, int, CONST
6072 VOID *, CONST BITMAPINFO *, UINT, DWORD);
6080 SetStretchBltMode(HDC, int);
6084 SetSystemPaletteUse(HDC, UINT);
6088 SetTextCharacterExtra(HDC, int);
6092 SetTextColor(HDC, COLORREF);
6096 SetTextAlign(HDC, UINT);
6100 SetTextJustification(HDC, int, int);
6108 PlayMetaFileRecord(HDC, LPHANDLETABLE, LPMETARECORD, UINT);
6112 EnumMetaFile(HDC, HMETAFILE, ENUMMETAFILEPROC, LPARAM);
6116 CloseEnhMetaFile(HDC);
6120 DeleteEnhMetaFile(HENHMETAFILE);
6124 EnumEnhMetaFile(HDC, HENHMETAFILE, ENHMETAFILEPROC,
6125 LPVOID, CONST RECT *);
6129 GetEnhMetaFileHeader(HENHMETAFILE, UINT, LPENHMETAHEADER );
6133 GetEnhMetaFilePaletteEntries(HENHMETAFILE, UINT, LPPALETTEENTRY );
6137 GetWinMetaFileBits(HENHMETAFILE, UINT, LPBYTE, INT, HDC);
6141 PlayEnhMetaFile(HDC, HENHMETAFILE, CONST RECT *);
6145 PlayEnhMetaFileRecord(HDC, LPHANDLETABLE, CONST ENHMETARECORD *, UINT);
6149 SetEnhMetaFileBits(UINT, CONST BYTE *);
6154 SetWinMetaFileBits(UINT, CONST BYTE *, HDC, CONST METAFILEPICT *);
6159 GdiComment(HDC, UINT, CONST BYTE *);
6163 AngleArc(HDC, int, int, DWORD, FLOAT, FLOAT);
6167 PolyPolyline(HDC, CONST POINT *, CONST DWORD *, DWORD);
6171 GetWorldTransform(HDC, LPXFORM);
6175 SetWorldTransform(HDC, CONST XFORM *);
6179 ModifyWorldTransform(HDC, CONST XFORM *, DWORD);
6183 CombineTransform(LPXFORM, CONST XFORM *, CONST XFORM *);
6187 CreateDIBSection(HDC, CONST BITMAPINFO *, UINT, VOID *, HANDLE, DWORD);
6191 GetDIBColorTable(HDC, UINT, UINT, RGBQUAD *);
6195 SetDIBColorTable(HDC, UINT, UINT, CONST RGBQUAD *);
6199 SetColorAdjustment(HDC, CONST COLORADJUSTMENT *);
6203 GetColorAdjustment(HDC, LPCOLORADJUSTMENT);
6207 CreateHalftonePalette(HDC);
6227 SetAbortProc(HDC, ABORTPROC);
6235 ArcTo(HDC, int, int, int, int, int, int,int, int);
6259 GetPath(HDC, LPPOINT, LPBYTE, int);
6267 PolyDraw(HDC, CONST POINT *, CONST BYTE *, int);
6271 SelectClipPath(HDC, int);
6275 SetArcDirection(HDC, int);
6279 SetMiterLimit(HDC, FLOAT, PFLOAT);
6283 StrokeAndFillPath(HDC);
6295 ExtCreatePen(DWORD, DWORD, CONST LOGBRUSH *, DWORD, CONST DWORD *);
6299 GetMiterLimit(HDC, PFLOAT);
6303 GetArcDirection(HDC);
6307 MoveToEx(HDC, int, int, LPPOINT);
6311 CreatePolygonRgn(CONST POINT *, int, int);
6315 DPtoLP(HDC, LPPOINT, int);
6319 LPtoDP(HDC, LPPOINT, int);
6323 Polygon(HDC, CONST POINT *, int);
6327 Polyline(HDC, CONST POINT *, int);
6331 PolyBezier(HDC, CONST POINT *, DWORD);
6335 PolyBezierTo(HDC, CONST POINT *, DWORD);
6339 PolylineTo(HDC, CONST POINT *, DWORD);
6343 SetViewportExtEx(HDC, int, int, LPSIZE);
6347 SetViewportOrgEx(HDC, int, int, LPPOINT);
6351 SetWindowExtEx(HDC, int, int, LPSIZE);
6355 SetWindowOrgEx(HDC, int, int, LPPOINT);
6359 OffsetViewportOrgEx(HDC, int, int, LPPOINT);
6363 OffsetWindowOrgEx(HDC, int, int, LPPOINT);
6367 ScaleViewportExtEx(HDC, int, int, int, int, LPSIZE);
6371 ScaleWindowExtEx(HDC, int, int, int, int, LPSIZE);
6375 SetBitmapDimensionEx(HBITMAP, int, int, LPSIZE);
6379 SetBrushOrgEx(HDC, int, int, LPPOINT);
6383 GetDCOrgEx(HDC,LPPOINT);
6387 FixBrushOrgEx(HDC,int,int,LPPOINT);
6391 UnrealizeObject(HGDIOBJ);
6399 GdiSetBatchLimit(DWORD);
6403 GdiGetBatchLimit(void);
6407 SetICMMode(HDC, int);
6411 CheckColorsInGamut(HDC,LPVOID,LPVOID,DWORD);
6419 SetColorSpace(HDC,HCOLORSPACE);
6423 DeleteColorSpace(HCOLORSPACE);
6427 GetDeviceGammaRamp(HDC,LPVOID);
6431 SetDeviceGammaRamp(HDC,LPVOID);
6435 ColorMatchToTarget(HDC,HDC,DWORD);
6439 CreatePropertySheetPageA(LPCPROPSHEETPAGE lppsp);
6443 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage);
6447 InitCommonControls(void);
6449 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
6453 ImageList_Create(int cx, int cy, UINT flags,
6454 int cInitial, int cGrow);
6458 ImageList_Destroy(HIMAGELIST himl);
6462 ImageList_GetImageCount(HIMAGELIST himl);
6466 ImageList_Add(HIMAGELIST himl, HBITMAP hbmImage,
6471 ImageList_ReplaceIcon(HIMAGELIST himl, int i, HICON hicon);
6475 ImageList_SetBkColor(HIMAGELIST himl, COLORREF clrBk);
6479 ImageList_GetBkColor(HIMAGELIST himl);
6483 ImageList_SetOverlayImage(HIMAGELIST himl, int iImage,
6488 ImageList_Draw(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, UINT fStyle);
6492 ImageList_Replace(HIMAGELIST himl, int i, HBITMAP hbmImage, HBITMAP hbmMask);
6496 ImageList_AddMasked(HIMAGELIST himl, HBITMAP hbmImage, COLORREF crMask);
6500 ImageList_DrawEx(HIMAGELIST himl, int i, HDC hdcDst, int x, int y, int dx, int dy, COLORREF rgbBk, COLORREF rgbFg, UINT fStyle);
6504 ImageList_Remove(HIMAGELIST himl, int i);
6508 ImageList_GetIcon(HIMAGELIST himl, int i, UINT flags);
6512 ImageList_BeginDrag(HIMAGELIST himlTrack, int iTrack, int dxHotspot, int dyHotspot);
6516 ImageList_EndDrag(void);
6520 ImageList_DragEnter(HWND hwndLock, int x, int y);
6524 ImageList_DragLeave(HWND hwndLock);
6528 ImageList_DragMove(int x, int y);
6532 ImageList_SetDragCursorImage(HIMAGELIST himlDrag, int iDrag, int dxHotspot, int dyHotspot);
6536 ImageList_DragShowNolock(WINBOOL fShow);
6540 ImageList_GetDragImage(POINT * ppt,POINT * pptHotspot);
6544 ImageList_GetIconSize(HIMAGELIST himl, int *cx, int *cy);
6548 ImageList_SetIconSize(HIMAGELIST himl, int cx, int cy);
6552 ImageList_GetImageInfo(HIMAGELIST himl, int i, IMAGEINFO * pImageInfo);
6556 ImageList_Merge(HIMAGELIST himl1, int i1, HIMAGELIST himl2, int i2, int dx, int dy);
6560 CreateToolbarEx(HWND hwnd, DWORD ws, UINT wID, int nBitmaps,
6561 HINSTANCE hBMInst, UINT wBMID, LPCTBBUTTON lpButtons,
6562 int iNumButtons, int dxButton, int dyButton,
6563 int dxBitmap, int dyBitmap, UINT uStructSize);
6567 CreateMappedBitmap(HINSTANCE hInstance, int idBitmap,
6568 UINT wFlags, LPCOLORMAP lpColorMap,
6574 MenuHelp(UINT uMsg, WPARAM wParam, LPARAM lParam, HMENU hMainMenu, HINSTANCE hInst, HWND hwndStatus, UINT *lpwIDs);
6578 ShowHideMenuCtl(HWND hWnd, UINT uFlags, LPINT lpInfo);
6582 GetEffectiveClientRect(HWND hWnd, LPRECT lprc, LPINT lpInfo);
6586 MakeDragList(HWND hLB);
6590 DrawInsert(HWND handParent, HWND hLB, int nItem);
6594 LBItemFromPt(HWND hLB, POINT pt, WINBOOL bAutoScroll);
6598 CreateUpDownControl(DWORD dwStyle, int x, int y, int cx, int cy,
6599 HWND hParent, int nID, HINSTANCE hInst,
6601 int nUpper, int nLower, int nPos);
6605 CommDlgExtendedError(VOID);
6607 /* Animation controls */
6609 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
6611 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
6613 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
6615 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
6617 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
6619 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
6621 /* Property sheet macros */
6623 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
6625 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
6627 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
6629 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
6631 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
6633 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
6635 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
6637 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
6639 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
6641 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
6643 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6645 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
6647 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
6649 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
6651 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
6653 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
6655 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
6657 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
6659 /* Header control */
6660 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
6662 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
6664 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
6666 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6668 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
6670 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
6673 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
6675 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
6677 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
6679 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
6681 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
6683 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
6685 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
6687 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
6689 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
6691 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
6693 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
6695 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
6697 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
6699 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
6701 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
6703 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6705 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
6707 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
6709 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
6711 #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))
6713 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
6715 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
6717 #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);}
6719 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
6721 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
6723 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
6725 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
6727 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
6729 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
6731 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
6733 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
6735 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
6737 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6739 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6741 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
6743 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
6745 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
6747 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
6749 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
6751 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
6754 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
6756 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
6758 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
6760 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
6762 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
6764 #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);}
6766 #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);}
6768 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
6770 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
6772 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
6774 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
6777 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
6779 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
6781 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
6783 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6785 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
6787 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
6789 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
6791 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
6793 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
6795 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
6797 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6799 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
6801 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
6803 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
6805 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
6807 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
6809 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
6811 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
6813 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
6815 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
6817 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
6819 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
6822 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
6824 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
6826 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
6828 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
6830 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
6832 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
6834 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
6836 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
6838 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
6840 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
6842 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
6844 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
6846 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
6848 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
6850 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
6854 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
6856 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
6858 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
6860 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6862 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
6864 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
6866 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
6868 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
6870 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
6872 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
6874 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
6876 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
6878 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
6880 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
6882 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
6884 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
6886 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
6888 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
6890 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
6892 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
6894 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
6896 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
6898 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6900 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6903 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
6905 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
6906 #endif /* !UNICODE */
6908 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6910 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6913 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
6915 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
6916 #endif /* !UNICODE */
6918 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
6920 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
6923 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
6925 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
6926 #endif /* !UNICODE */
6928 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
6930 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
6932 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
6934 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
6946 SECURITY_INFORMATION SecurityInformation,
6947 PSECURITY_DESCRIPTOR pSecurityDescriptor
6960 SECURITY_INFORMATION SecurityInformation,
6961 PSECURITY_DESCRIPTOR pSecurityDescriptor,
6962 LPDWORD lpcbSecurityDescriptor
6967 RegNotifyChangeKeyValue (
6969 WINBOOL bWatchSubtree,
6970 DWORD dwNotifyFilter,
6972 WINBOOL fAsynchronus
6993 GetCPInfo(UINT, LPCPINFO);
7011 MultiByteToWideChar(
7014 LPCSTR lpMultiByteStr,
7016 LPWSTR lpWideCharStr,
7022 WideCharToMultiByte(
7025 LPCWSTR lpWideCharStr,
7027 LPSTR lpMultiByteStr,
7029 LPCSTR lpDefaultChar,
7030 LPBOOL lpUsedDefaultChar);
7041 ConvertDefaultLocale(
7047 GetThreadLocale(void);
7059 GetSystemDefaultLangID(void);
7064 GetUserDefaultLangID(void);
7069 GetSystemDefaultLCID(void);
7074 GetUserDefaultLCID(void);
7079 ReadConsoleOutputAttribute(
7080 HANDLE hConsoleOutput,
7084 LPDWORD lpNumberOfAttrsRead
7090 WriteConsoleOutputAttribute(
7091 HANDLE hConsoleOutput,
7092 CONST WORD *lpAttribute,
7095 LPDWORD lpNumberOfAttrsWritten
7101 FillConsoleOutputAttribute(
7102 HANDLE hConsoleOutput,
7106 LPDWORD lpNumberOfAttrsWritten
7113 HANDLE hConsoleHandle,
7120 GetNumberOfConsoleInputEvents(
7121 HANDLE hConsoleInput,
7122 LPDWORD lpNumberOfEvents
7128 GetConsoleScreenBufferInfo(
7129 HANDLE hConsoleOutput,
7130 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
7136 GetLargestConsoleWindowSize(
7137 HANDLE hConsoleOutput
7143 GetConsoleCursorInfo(
7144 HANDLE hConsoleOutput,
7145 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
7151 GetNumberOfConsoleMouseButtons(
7152 LPDWORD lpNumberOfMouseButtons
7159 HANDLE hConsoleHandle,
7166 SetConsoleActiveScreenBuffer(
7167 HANDLE hConsoleOutput
7173 FlushConsoleInputBuffer(
7174 HANDLE hConsoleInput
7180 SetConsoleScreenBufferSize(
7181 HANDLE hConsoleOutput,
7188 SetConsoleCursorPosition(
7189 HANDLE hConsoleOutput,
7190 COORD dwCursorPosition
7196 SetConsoleCursorInfo(
7197 HANDLE hConsoleOutput,
7198 CONST CONSOLE_CURSOR_INFO *lpConsoleCursorInfo
7203 SetConsoleWindowInfo(
7204 HANDLE hConsoleOutput,
7206 CONST SMALL_RECT *lpConsoleWindow
7212 SetConsoleTextAttribute(
7213 HANDLE hConsoleOutput,
7220 SetConsoleCtrlHandler(
7221 PHANDLER_ROUTINE HandlerRoutine,
7228 GenerateConsoleCtrlEvent(
7230 DWORD dwProcessGroupId
7236 AllocConsole( VOID );
7241 FreeConsole( VOID );
7247 CreateConsoleScreenBuffer(
7248 DWORD dwDesiredAccess,
7250 CONST SECURITY_ATTRIBUTES *lpSecurityAttributes,
7252 LPVOID lpScreenBufferData
7258 GetConsoleCP( VOID );
7270 GetConsoleOutputCP( VOID );
7280 WNetConnectionDialog(
7286 WNetDisconnectDialog(
7308 LPSERVICE_STATUS lpServiceStatus
7319 LockServiceDatabase(
7320 SC_HANDLE hSCManager
7326 NotifyBootConfigStatus(
7327 WINBOOL BootAcceptable
7332 QueryServiceObjectSecurity(
7334 SECURITY_INFORMATION dwSecurityInformation,
7335 PSECURITY_DESCRIPTOR lpSecurityDescriptor,
7337 LPDWORD pcbBytesNeeded
7345 LPSERVICE_STATUS lpServiceStatus
7350 SetServiceObjectSecurity(
7352 SECURITY_INFORMATION dwSecurityInformation,
7353 PSECURITY_DESCRIPTOR lpSecurityDescriptor
7360 SERVICE_STATUS_HANDLE hServiceStatus,
7361 LPSERVICE_STATUS lpServiceStatus
7366 UnlockServiceDatabase(
7370 /* Extensions to OpenGL */
7373 ChoosePixelFormat(HDC, CONST PIXELFORMATDESCRIPTOR *);
7376 DescribePixelFormat(HDC, int, UINT, LPPIXELFORMATDESCRIPTOR);
7379 GetEnhMetaFilePixelFormat(HENHMETAFILE, DWORD,
7380 CONST PIXELFORMATDESCRIPTOR *);
7383 GetPixelFormat(HDC);
7386 SetPixelFormat(HDC, int, CONST PIXELFORMATDESCRIPTOR *);
7392 wglCreateContext(HDC);
7395 wglCreateLayerContext(HDC, int);
7398 wglCopyContext(HGLRC, HGLRC, UINT);
7401 wglDeleteContext(HGLRC);
7404 wglDescribeLayerPlane(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR);
7407 wglGetCurrentContext(VOID);
7410 wglGetCurrentDC(VOID);
7413 wglGetLayerPaletteEntries(HDC, int, int, int, CONST COLORREF *);
7416 wglGetProcAddress(LPCSTR);
7419 wglMakeCurrent(HDC, HGLRC);
7422 wglRealizeLayerPalette(HDC, int, WINBOOL);
7425 wglSetLayerPaletteEntries(HDC, int, int, int, CONST COLORREF *);
7428 wglShareLists(HGLRC, HGLRC);
7431 wglSwapLayerBuffers(HDC, UINT);
7434 Why are these different between ANSI and UNICODE?
7435 There doesn't seem to be any difference.
7439 #define wglUseFontBitmaps wglUseFontBitmapsW
7440 #define wglUseFontOutlines wglUseFontOutlinesW
7442 #define wglUseFontBitmaps wglUseFontBitmapsA
7443 #define wglUseFontOutlines wglUseFontOutlinesA
7444 #endif /* !UNICODE */
7446 /* ------------------------------------- */
7447 /* From shellapi.h in old Cygnus headers */
7450 DragQueryPoint (HDROP, LPPOINT);
7456 DragAcceptFiles (HWND, WINBOOL);
7459 DuplicateIcon (HINSTANCE, HICON);
7461 /* end of stuff from shellapi.h in old Cygnus headers */
7462 /* -------------------------------------------------- */
7463 /* From ddeml.h in old Cygnus headers */
7465 HCONV WINAPI DdeConnect (DWORD, HSZ, HSZ, CONVCONTEXT *);
7466 WINBOOL WINAPI DdeDisconnect (HCONV);
7467 WINBOOL WINAPI DdeFreeDataHandle (HDDEDATA);
7468 DWORD WINAPI DdeGetData (HDDEDATA, BYTE *, DWORD, DWORD);
7469 UINT WINAPI DdeGetLastError (DWORD);
7470 HDDEDATA WINAPI DdeNameService (DWORD, HSZ, HSZ, UINT);
7471 WINBOOL WINAPI DdePostAdvise (DWORD, HSZ, HSZ);
7472 HCONV WINAPI DdeReconnect (HCONV);
7473 WINBOOL WINAPI DdeUninitialize (DWORD);
7474 int WINAPI DdeCmpStringHandles (HSZ, HSZ);
7475 HDDEDATA WINAPI DdeCreateDataHandle (DWORD, LPBYTE, DWORD, DWORD, HSZ,
7478 /* end of stuff from ddeml.h in old Cygnus headers */
7479 /* ----------------------------------------------- */
7481 DWORD STDCALL NetUserEnum (LPWSTR, DWORD, DWORD, LPBYTE*, DWORD, LPDWORD,
7483 DWORD STDCALL NetApiBufferFree (LPVOID);
7484 DWORD STDCALL NetUserGetInfo (LPWSTR, LPWSTR, DWORD, LPBYTE);
7485 DWORD STDCALL NetGetDCName (LPWSTR, LPWSTR, LPBYTE*);
7486 DWORD STDCALL NetGroupEnum (LPWSTR, DWORD, LPBYTE*, DWORD, LPDWORD,
7488 DWORD STDCALL NetLocalGroupEnum (LPWSTR, DWORD, LPBYTE*, DWORD, LPDWORD,
7492 VOID CopyMemory(PVOID Destination, CONST VOID* Source, DWORD Length);
7494 DWORD STDCALL GetCurrentTime(VOID);
7497 SHAddToRecentDocs (UINT, LPCVOID);
7500 SHBrowseForFolder (LPBROWSEINFO);
7503 SHChangeNotify (LONG, UINT, LPCVOID, LPCVOID);
7506 SHFileOperation (LPSHFILEOPSTRUCT);
7509 SHFreeNameMappings (HANDLE);
7511 /* Define when SHELLFOLDER is defined.
7513 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
7516 SHGetDesktopFolder (LPSHELLFOLDER);
7520 SHGetFileInfo (LPCTSTR, DWORD, SHFILEINFO FAR *, UINT, UINT);
7522 /* Define when IUnknown is defined.
7524 SHGetInstanceExplorer (IUnknown **);
7527 /* Define when MALLOC is defined.
7529 SHGetMalloc (LPMALLOC *);
7533 SHGetPathFromIDList (LPCITEMIDLIST, LPTSTR);
7536 SHGetSpecialFolderLocation (HWND, int, LPITEMIDLIST *);
7538 /* Define when REFCLSID is defined.
7540 SHLoadInProc (REFCLSID);
7546 VOID (WINAPI *PFIBER_START_ROUTINE) (
7547 IN LPVOID lpFiberArgument
7549 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE;
7553 ConvertThreadToFiber (
7560 LPFIBER_START_ROUTINE lpStartAddress,
7586 RegisterServicesProcess(DWORD ServicesProcessId);
7590 #endif /* __cplusplus */
7592 #endif /* WIN32_LEAN_AND_MEAN */
7594 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */