4 Declarations for all the Windows32 API Functions
6 Copyright (C) 1996, 1997 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_FUNCTIONS
32 #define _GNU_H_WINDOWS32_FUNCTIONS
34 #ifndef WIN32_LEAN_AND_MEAN
38 #endif /* __cplusplus */
41 DWORD (CALLBACK
*PPROGRESS_ROUTINE
)(
42 LARGE_INTEGER TotalFileSize
,
43 LARGE_INTEGER TotalBytesTransferred
,
44 LARGE_INTEGER StreamSize
,
45 LARGE_INTEGER StreamBytesTransferred
,
49 HANDLE DestinationFile
,
51 typedef PPROGRESS_ROUTINE LPPROGRESS_ROUTINE
;
53 /* These functions were a real pain, having to figure out which
54 had Unicode/Ascii versions and which did not */
58 #endif /* !UNICODE_ONLY */
62 #endif /* !ANSI_ONLY */
64 /* Define the approprate declaration based upon UNICODE or ASCII */
66 #ifndef _DISABLE_TIDENTS
70 #define RegConnectRegistry RegConnectRegistryW
71 #define RegCreateKey RegCreateKeyW
72 #define RegCreateKeyEx RegCreateKeyExW
73 #define RegDeleteKey RegDeleteKeyW
74 #define RegDeleteValue RegDeleteValueW
75 #define RegEnumKey RegEnumKeyW
76 #define RegEnumKeyEx RegEnumKeyExW
77 #define RegEnumValue RegEnumValueW
78 #define RegLoadKey RegLoadKeyW
79 #define RegOpenKey RegOpenKeyW
80 #define RegOpenKeyEx RegOpenKeyExW
81 #define RegQueryInfoKey RegQueryInfoKeyW
82 #define RegQueryValue RegQueryValueW
83 #define RegQueryMultipleValues RegQueryMultipleValuesW
84 #define RegQueryValueEx RegQueryValueExW
85 #define RegReplaceKey RegReplaceKeyW
86 #define RegRestoreKey RegRestoreKeyW
87 #define RegSaveKey RegSaveKeyW
88 #define RegSetValue RegSetValueW
89 #define RegSetValueEx RegSetValueExW
90 #define AbortSystemShutdown AbortSystemShutdownW
91 #define InitiateSystemShutdown InitiateSystemShutdownW
92 #define RegUnLoadKey RegUnLoadKeyW
93 #define SetProp SetPropW
94 #define GetProp GetPropW
95 #define RemoveProp RemovePropW
96 #define EnumPropsEx EnumPropsExW
97 #define EnumProps EnumPropsW
98 #define SetWindowText SetWindowTextW
99 #define GetWindowText GetWindowTextW
100 #define GetWindowTextLength GetWindowTextLengthW
101 #define MessageBox MessageBoxW
102 #define MessageBoxEx MessageBoxExW
103 #define MessageBoxIndirect MessageBoxIndirectW
104 #define GetWindowLong GetWindowLongW
105 #define SetWindowLong SetWindowLongW
106 #define GetClassLong GetClassLongW
107 #define SetClassLong SetClassLongW
108 #define FindWindow FindWindowW
109 #define FindWindowEx FindWindowExW
110 #define GetClassName GetClassNameW
111 #define SetWindowsHookEx SetWindowsHookExW
112 #define SetWindowsHook SetWindowsHookW
113 #define LoadBitmap LoadBitmapW
114 #define LoadCursor LoadCursorW
115 #define LoadCursorFromFile LoadCursorFromFileW
116 #define LoadIcon LoadIconW
117 #define LoadImage LoadImageW
118 #define LoadString LoadStringW
119 #define IsDialogMessage IsDialogMessageW
120 #define DlgDirList DlgDirListW
121 #define DlgDirSelectEx DlgDirSelectExW
122 #define DlgDirListComboBox DlgDirListComboBoxW
123 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
124 #define DefFrameProc DefFrameProcW
125 #define DefMDIChildProc DefMDIChildProcW
126 #define CreateMDIWindow CreateMDIWindowW
127 #define WinHelp WinHelpW
128 #define ChangeDisplaySettings ChangeDisplaySettingsW
129 #define EnumDisplaySettings EnumDisplaySettingsW
130 #define SystemParametersInfo SystemParametersInfoW
131 #define AddFontResource AddFontResourceW
132 #define CopyMetaFile CopyMetaFileW
133 #define CreateDC CreateDCW
134 #define CreateFontIndirect CreateFontIndirectW
135 #define CreateFont CreateFontW
136 #define CreateIC CreateICW
137 #define CreateMetaFile CreateMetaFileW
138 #define CreateScalableFontResource CreateScalableFontResourceW
139 #define DeviceCapabilities DeviceCapabilitiesW
140 #define EnumFontFamiliesEx EnumFontFamiliesExW
141 #define EnumFontFamilies EnumFontFamiliesW
142 #define EnumFonts EnumFontsW
143 #define GetCharWidth GetCharWidthW
144 #define GetCharWidth32 GetCharWidth32W
145 #define GetCharWidthFloat GetCharWidthFloatW
146 #define GetCharABCWidths GetCharABCWidthsW
147 #define GetCharABCWidthsFloat GetCharABCWidthsFloatW
148 #define GetGlyphOutline GetGlyphOutlineW
149 #define GetMetaFile GetMetaFileW
150 #define GetOutlineTextMetrics GetOutlineTextMetricsW
151 #define GetTextExtentPoint GetTextExtentPointW
152 #define GetTextExtentPoint32 GetTextExtentPoint32W
153 #define GetTextExtentExPoint GetTextExtentExPointW
154 #define GetCharacterPlacement GetCharacterPlacementW
155 #define ResetDC ResetDCW
156 #define RemoveFontResource RemoveFontResourceW
157 #define CopyEnhMetaFile CopyEnhMetaFileW
158 #define CreateEnhMetaFile CreateEnhMetaFileW
159 #define GetEnhMetaFile GetEnhMetaFileW
160 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionW
161 #define GetTextMetrics GetTextMetricsW
162 #define StartDoc StartDocW
163 #define GetObject GetObjectW
164 #define TextOut TextOutW
165 #define ExtTextOut ExtTextOutW
166 #define PolyTextOut PolyTextOutW
167 #define GetTextFace GetTextFaceW
168 #define GetKerningPairs GetKerningPairsW
169 #define GetLogColorSpace GetLogColorSpaceW
170 #define CreateColorSpace CreateColorSpaceW
171 #define GetICMProfile GetICMProfileW
172 #define SetICMProfile SetICMProfileW
173 #define UpdateICMRegKey UpdateICMRegKeyW
174 #define EnumICMProfiles EnumICMProfilesW
175 #define CreatePropertySheetPage CreatePropertySheetPageW
176 #define PropertySheet PropertySheetW
177 #define ImageList_LoadImage ImageList_LoadImageW
178 #define CreateStatusWindow CreateStatusWindowW
179 #define DrawStatusText DrawStatusTextW
180 #define GetOpenFileName GetOpenFileNameW
181 #define GetSaveFileName GetSaveFileNameW
182 #define GetFileTitle GetFileTitleW
183 #define ChooseColor ChooseColorW
184 #define FindText FindTextW
185 #define ReplaceText ReplaceTextW
186 #define ChooseFont ChooseFontW
187 #define PrintDlg PrintDlgW
188 #define PageSetupDlg PageSetupDlgW
189 #define DefWindowProc DefWindowProcW
190 #define CallWindowProc CallWindowProcW
191 #define RegisterClass RegisterClassW
192 #define UnregisterClass UnregisterClassW
193 #define GetClassInfo GetClassInfoW
194 #define RegisterClassEx RegisterClassExW
195 #define GetClassInfoEx GetClassInfoExW
196 #define CreateWindowEx CreateWindowExW
197 #define CreateWindow CreateWindowW
198 #define CreateDialogParam CreateDialogParamW
199 #define CreateDialogIndirectParam CreateDialogIndirectParamW
200 #define CreateDialog CreateDialogW
201 #define CreateDialogIndirect CreateDialogIndirectW
202 #define DialogBoxParam DialogBoxParamW
203 #define DialogBoxIndirectParam DialogBoxIndirectParamW
204 #define DialogBox DialogBoxW
205 #define DialogBoxIndirect DialogBoxIndirectW
206 #define RegisterClipboardFormat RegisterClipboardFormatW
207 #define SetDlgItemText SetDlgItemTextW
208 #define GetDlgItemText GetDlgItemTextW
209 #define SendDlgItemMessage SendDlgItemMessageW
210 #define DefDlgProc DefDlgProcW
211 #define GetClipboardFormatName GetClipboardFormatNameW
212 #define CharToOem CharToOemW
213 #define OemToChar OemToCharW
214 #define CharToOemBuff CharToOemBuffW
215 #define OemToCharBuff OemToCharBuffW
216 #define CharUpper CharUpperW
217 #define CharUpperBuff CharUpperBuffW
218 #define CharLower CharLowerW
219 #define CharLowerBuff CharLowerBuffW
220 #define CharNext CharNextW
221 #define CharPrev CharPrevW
222 #define IsCharAlpha IsCharAlphaW
223 #define IsCharAlphaNumeric IsCharAlphaNumericW
224 #define IsCharUpper IsCharUpperW
225 #define IsCharLower IsCharLowerW
226 #define GetKeyNameText GetKeyNameTextW
227 #define VkKeyScan VkKeyScanW
228 #define VkKeyScanEx VkKeyScanExW
229 #define MapVirtualKey MapVirtualKeyW
230 #define MapVirtualKeyEx MapVirtualKeyExW
231 #define LoadAccelerators LoadAcceleratorsW
232 #define CreateAcceleratorTable CreateAcceleratorTableW
233 #define CopyAcceleratorTable CopyAcceleratorTableW
234 #define TranslateAccelerator TranslateAcceleratorW
235 #define LoadMenu LoadMenuW
236 #define LoadMenuIndirect LoadMenuIndirectW
237 #define ChangeMenu ChangeMenuW
238 #define GetMenuString GetMenuStringW
239 #define InsertMenu InsertMenuW
240 #define AppendMenu AppendMenuW
241 #define ModifyMenu ModifyMenuW
242 #define InsertMenuItem InsertMenuItemW
243 #define GetMenuItemInfo GetMenuItemInfoW
244 #define SetMenuItemInfo SetMenuItemInfoW
245 #define DrawText DrawTextW
246 #define DrawTextEx DrawTextExW
247 #define GrayString GrayStringW
248 #define DrawState DrawStateW
249 #define TabbedTextOut TabbedTextOutW
250 #define GetTabbedTextExtent GetTabbedTextExtentW
251 #define GetVersionEx GetVersionExW
252 #define wvsprintf wvsprintfW
253 #define wsprintf wsprintfW
254 #define LoadKeyboardLayout LoadKeyboardLayoutW
255 #define GetKeyboardLayoutName GetKeyboardLayoutNameW
256 #define CreateDesktop CreateDesktopW
257 #define OpenDesktop OpenDesktopW
258 #define EnumDesktops EnumDesktopsW
259 #define CreateWindowStation CreateWindowStationW
260 #define OpenWindowStation OpenWindowStationW
261 #define EnumWindowStations EnumWindowStationsW
262 #define IsBadStringPtr IsBadStringPtrW
263 #define LookupAccountSid LookupAccountSidW
264 #define LookupAccountName LookupAccountNameW
265 #define LookupPrivilegeValue LookupPrivilegeValueW
266 #define LookupPrivilegeName LookupPrivilegeNameW
267 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameW
268 #define BuildCommDCB BuildCommDCBW
269 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsW
270 #define CommConfigDialog CommConfigDialogW
271 #define GetDefaultCommConfig GetDefaultCommConfigW
272 #define SetDefaultCommConfig SetDefaultCommConfigW
273 #define GetComputerName GetComputerNameW
274 #define SetComputerName SetComputerNameW
275 #define GetUserName GetUserNameW
276 #define CreateMailslot CreateMailslotW
277 #define FormatMessage FormatMessageW
278 #define GetEnvironmentStrings GetEnvironmentStringsW
279 #define FreeEnvironmentStrings FreeEnvironmentStringsW
280 #define lstrcmp lstrcmpW
281 #define lstrcmpi lstrcmpiW
282 #define lstrcpyn lstrcpynW
283 #define lstrcpy lstrcpyW
284 #define lstrcat lstrcatW
285 #define lstrlen lstrlenW
286 #define GetBinaryType GetBinaryTypeW
287 #define GetShortPathName GetShortPathNameW
288 #define SetFileSecurity SetFileSecurityW
289 #define GetFileSecurity GetFileSecurityW
290 #define FindFirstChangeNotification FindFirstChangeNotificationW
291 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmW
292 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmW
293 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmW
294 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmW
295 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmW
296 #define OpenEventLog OpenEventLogW
297 #define RegisterEventSource RegisterEventSourceW
298 #define OpenBackupEventLog OpenBackupEventLogW
299 #define ReadEventLog ReadEventLogW
300 #define ReportEvent ReportEventW
301 #define CreateProcess CreateProcessW
302 #define FatalAppExit FatalAppExitW
303 #define CallMessageFilter CallMessageFilterW
304 #define GetAltTabInfo GetAltTabInfoW
305 #define GetStartupInfo GetStartupInfoW
306 #define GetEnvironmentVariable GetEnvironmentVariableW
307 #define GetCommandLine GetCommandLineW
308 #define SetEnvironmentVariable SetEnvironmentVariableW
309 #define ExpandEnvironmentStrings ExpandEnvironmentStringsW
310 #define OutputDebugString OutputDebugStringW
311 #define FindResource FindResourceW
312 #define FindResourceEx FindResourceExW
313 #define EnumResourceTypes EnumResourceTypesW
314 #define EnumResourceNames EnumResourceNamesW
315 #define EnumResourceLanguages EnumResourceLanguagesW
316 #define BeginUpdateResource BeginUpdateResourceW
317 #define UpdateResource UpdateResourceW
318 #define PrivateExtractIcons PrivateExtractIconsW
319 #define EndUpdateResource EndUpdateResourceW
320 #define GlobalAddAtom GlobalAddAtomW
321 #define GlobalFindAtom GlobalFindAtomW
322 #define GlobalGetAtomName GlobalGetAtomNameW
323 #define AddAtom AddAtomW
324 #define RemoveFontResourceEx RemoveFontResourceExW
325 #define FindAtom FindAtomW
326 #define GetAtomName GetAtomNameW
327 #define GetProfileInt GetProfileIntW
328 #define GetProfileString GetProfileStringW
329 #define WriteProfileString WriteProfileStringW
330 #define GetProfileSection GetProfileSectionW
331 #define WriteProfileSection WriteProfileSectionW
332 #define GetPrivateProfileInt GetPrivateProfileIntW
333 #define GetPrivateProfileString GetPrivateProfileStringW
334 #define WritePrivateProfileString WritePrivateProfileStringW
335 #define GetPrivateProfileSection GetPrivateProfileSectionW
336 #define WritePrivateProfileSection WritePrivateProfileSectionW
337 #define GetDriveType GetDriveTypeW
338 #define GetSystemDirectory GetSystemDirectoryW
339 #define GetTempPath GetTempPathW
340 #define GetTempFileName GetTempFileNameW
341 #define GetWindowsDirectory GetWindowsDirectoryW
342 #define SetCurrentDirectory SetCurrentDirectoryW
343 #define GetCurrentDirectory GetCurrentDirectoryW
344 #define GetDiskFreeSpace GetDiskFreeSpaceW
345 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExW
346 #define CreateDirectory CreateDirectoryW
347 #define CreateDirectoryEx CreateDirectoryExW
348 #define RemoveDirectory RemoveDirectoryW
349 #define GetFullPathName GetFullPathNameW
350 #define DefineDosDevice DefineDosDeviceW
351 #define QueryDosDevice QueryDosDeviceW
352 #define CreateFile CreateFileW
353 #define SetFileAttributes SetFileAttributesW
354 #define GetFileAttributes GetFileAttributesW
355 #define GetFileAttributesEx GetFileAttributesExW
356 #define GetCompressedFileSize GetCompressedFileSizeW
357 #define DeleteFile DeleteFileW
358 #define FindFirstFileEx FindFirstFileExW
359 #define FindFirstFile FindFirstFileW
360 #define FindNextFile FindNextFileW
361 #define SearchPath SearchPathW
362 #define CopyFile CopyFileW
363 #define CopyFileEx CopyFileExW
364 #define MoveFile MoveFileW
365 #define MoveFileEx MoveFileExW
366 #define MoveFileWithProgress MoveFileWithProgressW
367 #define CreateFontIndirectEx CreateFontIndirectExW
368 #define CreateNamedPipe CreateNamedPipeW
369 #define GetNamedPipeHandleState GetNamedPipeHandleStateW
370 #define CallNamedPipe CallNamedPipeW
371 #define WaitNamedPipe WaitNamedPipeW
372 #define SetVolumeLabel SetVolumeLabelW
373 #define GetVolumeInformation GetVolumeInformationW
374 #define ClearEventLog ClearEventLogW
375 #define BackupEventLog BackupEventLogW
376 #define CreateMutex CreateMutexW
377 #define OpenMutex OpenMutexW
378 #define CreateEvent CreateEventW
379 #define OpenEvent OpenEventW
380 #define CreateSemaphore CreateSemaphoreW
381 #define OpenSemaphore OpenSemaphoreW
382 #define CreateFileMapping CreateFileMappingW
383 #define OpenFileMapping OpenFileMappingW
384 #define GetLogicalDriveStrings GetLogicalDriveStringsW
385 #define LoadLibrary LoadLibraryW
386 #define LoadLibraryEx LoadLibraryExW
387 #define GetModuleFileName GetModuleFileNameW
388 #define GetModuleHandle GetModuleHandleW
389 #define GetUserObjectInformation GetUserObjectInformationW
390 #define SetUserObjectInformation SetUserObjectInformationW
391 #define RegisterWindowMessage RegisterWindowMessageW
392 #define GetMessage GetMessageW
393 #define DispatchMessage DispatchMessageW
394 #define PeekMessage PeekMessageW
395 #define SendMessage SendMessageW
396 #define SendMessageTimeout SendMessageTimeoutW
397 #define SendNotifyMessage SendNotifyMessageW
398 #define SendMessageCallback SendMessageCallbackW
399 #define PostMessage PostMessageW
400 #define PostThreadMessage PostThreadMessageW
401 #define VerFindFile VerFindFileW
402 #define VerInstallFile VerInstallFileW
403 #define GetFileVersionInfoSize GetFileVersionInfoSizeW
404 #define GetStringBitmap GetStringBitmapW
405 #define GetGlyphIndices GetGlyphIndicesW
406 #define GetFileVersionInfo GetFileVersionInfoW
407 #define VerLanguageName VerLanguageNameW
408 #define VerQueryValue VerQueryValueW
409 #define CompareString CompareStringW
410 #define LCMapString LCMapStringW
411 #define GetLocaleInfo GetLocaleInfoW
412 #define SetLocaleInfo SetLocaleInfoW
413 #define GetTimeFormat GetTimeFormatW
414 #define GetDateFormat GetDateFormatW
415 #define GetNumberFormat GetNumberFormatW
416 #define GetCurrencyFormat GetCurrencyFormatW
417 #define EnumCalendarInfo EnumCalendarInfoW
418 #define EnumTimeFormats EnumTimeFormatsW
419 #define FoldString FoldStringW
420 #define EnumSystemCodePages EnumSystemCodePagesW
421 #define EnumSystemLocales EnumSystemLocalesW
422 #define GetStringTypeEx GetStringTypeExW
423 #define EnumDateFormats EnumDateFormatsW
424 #define GetConsoleTitle GetConsoleTitleW
425 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferW
426 #define SetConsoleTitle SetConsoleTitleW
427 #define ReadConsole ReadConsoleW
428 #define WriteConsole WriteConsoleW
429 #define PeekConsoleInput PeekConsoleInputW
430 #define ReadConsoleInput ReadConsoleInputW
431 #define WriteConsoleInput WriteConsoleInputW
432 #define ReadConsoleOutput ReadConsoleOutputW
433 #define WriteConsoleOutput WriteConsoleOutputW
434 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterW
435 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterW
436 #define FillConsoleOutputCharacter FillConsoleOutputCharacterW
437 #define WNetGetProviderName WNetGetProviderNameW
438 #define WNetGetNetworkInformation WNetGetNetworkInformationW
439 #define WNetGetLastError WNetGetLastErrorW
440 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceW
441 #define WNetConnectionDialog1 WNetConnectionDialog1W
442 #define WNetDisconnectDialog1 WNetDisconnectDialog1W
443 #define WNetOpenEnum WNetOpenEnumW
444 #define WNetEnumResource WNetEnumResourceW
445 #define WNetGetUniversalName WNetGetUniversalNameW
446 #define WNetGetUser WNetGetUserW
447 #define WNetAddConnection WNetAddConnectionW
448 #define WNetAddConnection2 WNetAddConnection2W
449 #define WNetAddConnection3 WNetAddConnection3W
450 #define WNetCancelConnection WNetCancelConnectionW
451 #define WNetCancelConnection2 WNetCancelConnection2W
452 #define WNetGetConnection WNetGetConnectionW
453 #define WNetUseConnection WNetUseConnectionW
454 #define WNetSetConnection WNetSetConnectionW
455 #define CreateService CreateServiceW
456 #define ChangeServiceConfig ChangeServiceConfigW
457 #define EnumDependentServices EnumDependentServicesW
458 #define EnumServicesStatus EnumServicesStatusW
459 #define GetServiceKeyName GetServiceKeyNameW
460 #define GetServiceDisplayName GetServiceDisplayNameW
461 #define OpenSCManager OpenSCManagerW
462 #define OpenService OpenServiceW
463 #define QueryServiceConfig QueryServiceConfigW
464 #define QueryServiceLockStatus QueryServiceLockStatusW
465 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerW
466 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherW
467 #define StartService StartServiceW
468 #define DragQueryFile DragQueryFileW
469 #define ExtractAssociatedIcon ExtractAssociatedIconW
470 #define ExtractIcon ExtractIconW
471 #define FindExecutable FindExecutableW
472 #define ShellAbout ShellAboutW
473 #define ShellExecute ShellExecuteW
474 #define DdeCreateStringHandle DdeCreateStringHandleW
475 #define DdeInitialize DdeInitializeW
476 #define DdeQueryString DdeQueryStringW
477 #define LogonUser LogonUserW
478 #define CreateProcessAsUser CreateProcessAsUserW
479 #define SHGetFileInfo SHGetFileInfoW
480 #define SHGetPathFromIDList SHGetPathFromIDListW
485 #define RegConnectRegistry RegConnectRegistryA
486 #define RegCreateKey RegCreateKeyA
487 #define RegCreateKeyEx RegCreateKeyExA
488 #define RegDeleteKey RegDeleteKeyA
489 #define RegDeleteValue RegDeleteValueA
490 #define RegEnumKey RegEnumKeyA
491 #define RegEnumKeyEx RegEnumKeyExA
492 #define RegEnumValue RegEnumValueA
493 #define RegLoadKey RegLoadKeyA
494 #define RegOpenKey RegOpenKeyA
495 #define RegOpenKeyEx RegOpenKeyExA
496 #define RegQueryInfoKey RegQueryInfoKeyA
497 #define RegQueryValue RegQueryValueA
498 #define RegQueryMultipleValues RegQueryMultipleValuesA
499 #define RegQueryValueEx RegQueryValueExA
500 #define RegReplaceKey RegReplaceKeyA
501 #define RegRestoreKey RegRestoreKeyA
502 #define RegSaveKey RegSaveKeyA
503 #define RegSetValue RegSetValueA
504 #define RegSetValueEx RegSetValueExA
505 #define AbortSystemShutdown AbortSystemShutdownA
506 #define InitiateSystemShutdown InitiateSystemShutdownA
507 #define RegUnLoadKey RegUnLoadKeyA
508 #define LoadIcon LoadIconA
509 #define LoadImage LoadImageA
510 #define LoadString LoadStringA
511 #define IsDialogMessage IsDialogMessageA
512 #define DlgDirList DlgDirListA
513 #define DlgDirSelectEx DlgDirSelectExA
514 #define DlgDirListComboBox DlgDirListComboBoxA
515 #define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
516 #define DefFrameProc DefFrameProcA
517 #define DefMDIChildProc DefMDIChildProcA
518 #define CreateMDIWindow CreateMDIWindowA
519 #define WinHelp WinHelpA
520 #define ChangeDisplaySettings ChangeDisplaySettingsA
521 #define EnumDisplaySettings EnumDisplaySettingsA
522 #define SystemParametersInfo SystemParametersInfoA
523 #define GetWindowLong GetWindowLongA
524 #define SetWindowLong SetWindowLongA
525 #define GetClassLong GetClassLongA
526 #define SetClassLong SetClassLongA
527 #define FindWindow FindWindowA
528 #define FindWindowEx FindWindowExA
529 #define GetClassName GetClassNameA
530 #define SetWindowsHookEx SetWindowsHookExA
531 #define SetWindowsHook SetWindowsHookA
532 #define LoadBitmap LoadBitmapA
533 #define LoadCursor LoadCursorA
534 #define LoadCursorFromFile LoadCursorFromFileA
535 #define SetProp SetPropA
536 #define GetProp GetPropA
537 #define RemoveProp RemovePropA
538 #define EnumPropsEx EnumPropsExA
539 #define EnumProps EnumPropsA
540 #define SetWindowText SetWindowTextA
541 #define GetWindowText GetWindowTextA
542 #define GetWindowTextLength GetWindowTextLengthA
543 #define MessageBox MessageBoxA
544 #define MessageBoxEx MessageBoxExA
545 #define MessageBoxIndirect MessageBoxIndirectA
546 #define AddFontResource AddFontResourceA
547 #define CopyMetaFile CopyMetaFileA
548 #define CreateDC CreateDCA
549 #define CreateFontIndirect CreateFontIndirectA
550 #define CreateFont CreateFontA
551 #define CreateIC CreateICA
552 #define CreateMetaFile CreateMetaFileA
553 #define CreateScalableFontResource CreateScalableFontResourceA
554 #define DeviceCapabilities DeviceCapabilitiesA
555 #define EnumFontFamiliesEx EnumFontFamiliesExA
556 #define EnumFontFamilies EnumFontFamiliesA
557 #define EnumFonts EnumFontsA
558 #define GetCharWidth GetCharWidthA
559 #define GetCharWidth32 GetCharWidth32A
560 #define GetCharWidthFloat GetCharWidthFloatA
561 #define GetCharABCWidths GetCharABCWidthsA
562 #define GetCharABCWidthsFloat GetCharABCWidthsFloatA
563 #define GetGlyphOutline GetGlyphOutlineA
564 #define GetMetaFile GetMetaFileA
565 #define GetOutlineTextMetrics GetOutlineTextMetricsA
566 #define GetTextExtentPoint GetTextExtentPointA
567 #define GetTextExtentPoint32 GetTextExtentPoint32A
568 #define GetTextExtentExPoint GetTextExtentExPointA
569 #define GetCharacterPlacement GetCharacterPlacementA
570 #define ResetDC ResetDCA
571 #define RemoveFontResource RemoveFontResourceA
572 #define CopyEnhMetaFile CopyEnhMetaFileA
573 #define CreateEnhMetaFile CreateEnhMetaFileA
574 #define GetEnhMetaFile GetEnhMetaFileA
575 #define GetEnhMetaFileDescription GetEnhMetaFileDescriptionA
576 #define GetTextMetrics GetTextMetricsA
577 #define StartDoc StartDocA
578 #define GetObject GetObjectA
579 #define TextOut TextOutA
580 #define ExtTextOut ExtTextOutA
581 #define PolyTextOut PolyTextOutA
582 #define GetTextFace GetTextFaceA
583 #define GetKerningPairs GetKerningPairsA
584 #define GetLogColorSpace GetLogColorSpaceA
585 #define CreateColorSpace CreateColorSpaceA
586 #define GetICMProfile GetICMProfileA
587 #define SetICMProfile SetICMProfileA
588 #define UpdateICMRegKey UpdateICMRegKeyA
589 #define EnumICMProfiles EnumICMProfilesA
590 #define CreatePropertySheetPage CreatePropertySheetPageA
591 #define PropertySheet PropertySheetA
592 #define ImageList_LoadImage ImageList_LoadImageA
593 #define CreateStatusWindow CreateStatusWindowA
594 #define DrawStatusText DrawStatusTextA
595 #define GetOpenFileName GetOpenFileNameA
596 #define GetSaveFileName GetSaveFileNameA
597 #define GetFileTitle GetFileTitleA
598 #define ChooseColor ChooseColorA
599 #define FindText FindTextA
600 #define ReplaceText ReplaceTextA
601 #define ChooseFont ChooseFontA
602 #define PrintDlg PrintDlgA
603 #define PageSetupDlg PageSetupDlgA
604 #define DefWindowProc DefWindowProcA
605 #define CallWindowProc CallWindowProcA
606 #define GetGlyphIndices GetGlyphIndicesA
607 #define CreateFontIndirectEx CreateFontIndirectExA
608 #define RegisterClass RegisterClassA
609 #define UnregisterClass UnregisterClassA
610 #define GetClassInfo GetClassInfoA
611 #define RegisterClassEx RegisterClassExA
612 #define GetClassInfoEx GetClassInfoExA
613 #define CreateWindowEx CreateWindowExA
614 #define CreateWindow CreateWindowA
615 #define CreateDialogParam CreateDialogParamA
616 #define CreateDialogIndirectParam CreateDialogIndirectParamA
617 #define CreateDialog CreateDialogA
618 #define CreateDialogIndirect CreateDialogIndirectA
619 #define CreateWaitableTimer CreateWaitableTimerA
620 #define DialogBoxParam DialogBoxParamA
621 #define DialogBoxIndirectParam DialogBoxIndirectParamA
622 #define DialogBox DialogBoxA
623 #define DialogBoxIndirect DialogBoxIndirectA
624 #define RegisterClipboardFormat RegisterClipboardFormatA
625 #define SetDlgItemText SetDlgItemTextA
626 #define GetDlgItemText GetDlgItemTextA
627 #define SendDlgItemMessage SendDlgItemMessageA
628 #define DefDlgProc DefDlgProcA
629 #define GetClipboardFormatName GetClipboardFormatNameA
630 #define CharToOem CharToOemA
631 #define OemToChar OemToCharA
632 #define CharToOemBuff CharToOemBuffA
633 #define OemToCharBuff OemToCharBuffA
634 #define CharUpper CharUpperA
635 #define CharUpperBuff CharUpperBuffA
636 #define CharLower CharLowerA
637 #define CharLowerBuff CharLowerBuffA
638 #define CharNext CharNextA
639 #define CharPrev CharPrevA
640 #define IsCharAlpha IsCharAlphaA
641 #define IsCharAlphaNumeric IsCharAlphaNumericA
642 #define IsCharUpper IsCharUpperA
643 #define IsCharLower IsCharLowerA
644 #define GetKeyNameText GetKeyNameTextA
645 #define VkKeyScan VkKeyScanA
646 #define VkKeyScanEx VkKeyScanExA
647 #define MapVirtualKey MapVirtualKeyA
648 #define MapVirtualKeyEx MapVirtualKeyExA
649 #define LoadAccelerators LoadAcceleratorsA
650 #define CreateAcceleratorTable CreateAcceleratorTableA
651 #define CopyAcceleratorTable CopyAcceleratorTableA
652 #define TranslateAccelerator TranslateAcceleratorA
653 #define LoadMenu LoadMenuA
654 #define LoadMenuIndirect LoadMenuIndirectA
655 #define ChangeMenu ChangeMenuA
656 #define GetMenuString GetMenuStringA
657 #define InsertMenu InsertMenuA
658 #define AppendMenu AppendMenuA
659 #define ModifyMenu ModifyMenuA
660 #define InsertMenuItem InsertMenuItemA
661 #define GetMenuItemInfo GetMenuItemInfoA
662 #define SetMenuItemInfo SetMenuItemInfoA
663 #define DrawText DrawTextA
664 #define DrawTextEx DrawTextExA
665 #define GrayString GrayStringA
666 #define DrawState DrawStateA
667 #define TabbedTextOut TabbedTextOutA
668 #define GetTabbedTextExtent GetTabbedTextExtentA
669 #define GetVersionEx GetVersionExA
670 #define wvsprintf wvsprintfA
671 #define wsprintf wsprintfA
672 #define LoadKeyboardLayout LoadKeyboardLayoutA
673 #define GetKeyboardLayoutName GetKeyboardLayoutNameA
674 #define CreateDesktop CreateDesktopA
675 #define OpenDesktop OpenDesktopA
676 #define EnumDesktops EnumDesktopsA
677 #define CreateWindowStation CreateWindowStationA
678 #define OpenWindowStation OpenWindowStationA
679 #define EnumWindowStations EnumWindowStationsA
680 #define IsBadStringPtr IsBadStringPtrA
681 #define LookupAccountSid LookupAccountSidA
682 #define LookupAccountName LookupAccountNameA
683 #define LookupPrivilegeValue LookupPrivilegeValueA
684 #define LookupPrivilegeName LookupPrivilegeNameA
685 #define LookupPrivilegeDisplayName LookupPrivilegeDisplayNameA
686 #define BuildCommDCB BuildCommDCBA
687 #define BuildCommDCBAndTimeouts BuildCommDCBAndTimeoutsA
688 #define CommConfigDialog CommConfigDialogA
689 #define GetDefaultCommConfig GetDefaultCommConfigA
690 #define SetDefaultCommConfig SetDefaultCommConfigA
691 #define GetComputerName GetComputerNameA
692 #define SetComputerName SetComputerNameA
693 #define GetUserName GetUserNameA
694 #define CreateMailslot CreateMailslotA
695 #define CallMessageFilter CallMessageFilterA
696 #define GetAltTabInfo GetAltTabInfoA
697 #define FormatMessage FormatMessageA
698 #define GetEnvironmentStrings GetEnvironmentStringsA
699 #define FreeEnvironmentStrings FreeEnvironmentStringsA
700 #define lstrcmp lstrcmpA
701 #define lstrcmpi lstrcmpiA
702 #define lstrcpyn lstrcpynA
703 #define lstrcpy lstrcpyA
704 #define lstrcat lstrcatA
705 #define lstrlen lstrlenA
706 #define GetBinaryType GetBinaryTypeA
707 #define GetStringBitmap GetStringBitmapA
708 #define GetShortPathName GetShortPathNameA
709 #define SetFileSecurity SetFileSecurityA
710 #define GetFileSecurity GetFileSecurityA
711 #define FindFirstChangeNotification FindFirstChangeNotificationA
712 #define AccessCheckAndAuditAlarm AccessCheckAndAuditAlarmA
713 #define ObjectOpenAuditAlarm ObjectOpenAuditAlarmA
714 #define ObjectPrivilegeAuditAlarm ObjectPrivilegeAuditAlarmA
715 #define ObjectCloseAuditAlarm ObjectCloseAuditAlarmA
716 #define PrivilegedServiceAuditAlarm PrivilegedServiceAuditAlarmA
717 #define OpenEventLog OpenEventLogA
718 #define RegisterEventSource RegisterEventSourceA
719 #define OpenBackupEventLog OpenBackupEventLogA
720 #define ReadEventLog ReadEventLogA
721 #define ReportEvent ReportEventA
722 #define CreateProcess CreateProcessA
723 #define FatalAppExit FatalAppExitA
724 #define RemoveFontResourceEx RemoveFontResourceExA
725 #define GetStartupInfo GetStartupInfoA
726 #define GetCommandLine GetCommandLineA
727 #define GetEnvironmentVariable GetEnvironmentVariableA
728 #define SetEnvironmentVariable SetEnvironmentVariableA
729 #define ExpandEnvironmentStrings ExpandEnvironmentStringsA
730 #define OutputDebugString OutputDebugStringA
731 #define FindResource FindResourceA
732 #define FindResourceEx FindResourceExA
733 #define EnumResourceTypes EnumResourceTypesA
734 #define EnumResourceNames EnumResourceNamesA
735 #define EnumResourceLanguages EnumResourceLanguagesA
736 #define BeginUpdateResource BeginUpdateResourceA
737 #define UpdateResource UpdateResourceA
738 #define EndUpdateResource EndUpdateResourceA
739 #define GlobalAddAtom GlobalAddAtomA
740 #define GlobalFindAtom GlobalFindAtomA
741 #define GlobalGetAtomName GlobalGetAtomNameA
742 #define AddAtom AddAtomA
743 #define FindAtom FindAtomA
744 #define GetProfileInt GetProfileIntA
745 #define GetAtomName GetAtomNameA
746 #define GetProfileString GetProfileStringA
747 #define WriteProfileString WriteProfileStringA
748 #define GetProfileSection GetProfileSectionA
749 #define WriteProfileSection WriteProfileSectionA
750 #define GetPrivateProfileInt GetPrivateProfileIntA
751 #define GetPrivateProfileString GetPrivateProfileStringA
752 #define WritePrivateProfileString WritePrivateProfileStringA
753 #define GetPrivateProfileSection GetPrivateProfileSectionA
754 #define WritePrivateProfileSection WritePrivateProfileSectionA
755 #define GetDriveType GetDriveTypeA
756 #define GetSystemDirectory GetSystemDirectoryA
757 #define GetTempPath GetTempPathA
758 #define GetTempFileName GetTempFileNameA
759 #define GetWindowsDirectory GetWindowsDirectoryA
760 #define SetCurrentDirectory SetCurrentDirectoryA
761 #define GetCurrentDirectory GetCurrentDirectoryA
762 #define GetDiskFreeSpace GetDiskFreeSpaceA
763 #define GetDiskFreeSpaceEx GetDiskFreeSpaceExA
764 #define CreateDirectory CreateDirectoryA
765 #define CreateDirectoryEx CreateDirectoryExA
766 #define RemoveDirectory RemoveDirectoryA
767 #define GetFullPathName GetFullPathNameA
768 #define DefineDosDevice DefineDosDeviceA
769 #define QueryDosDevice QueryDosDeviceA
770 #define CreateFile CreateFileA
771 #define SetFileAttributes SetFileAttributesA
772 #define GetFileAttributes GetFileAttributesA
773 #define GetFileAttributesEx GetFileAttributesExA
774 #define GetCompressedFileSize GetCompressedFileSizeA
775 #define DeleteFile DeleteFileA
776 #define FindFirstFileEx FindFirstFileExA
777 #define FindFirstFile FindFirstFileA
778 #define FindNextFile FindNextFileA
779 #define SearchPath SearchPathA
780 #define CopyFile CopyFileA
781 #define CopyFileEx CopyFileExA
782 #define MoveFile MoveFileA
783 #define MoveFileEx MoveFileExA
784 #define MoveFileWithProgress MoveFileWithProgressA
785 #define CreateNamedPipe CreateNamedPipeA
786 #define GetNamedPipeHandleState GetNamedPipeHandleStateA
787 #define CallNamedPipe CallNamedPipeA
788 #define WaitNamedPipe WaitNamedPipeA
789 #define SetVolumeLabel SetVolumeLabelA
790 #define GetVolumeInformation GetVolumeInformationA
791 #define ClearEventLog ClearEventLogA
792 #define BackupEventLog BackupEventLogA
793 #define CreateMutex CreateMutexA
794 #define OpenMutex OpenMutexA
795 #define CreateEvent CreateEventA
796 #define OpenEvent OpenEventA
797 #define CreateSemaphore CreateSemaphoreA
798 #define OpenSemaphore OpenSemaphoreA
799 #define CreateFileMapping CreateFileMappingA
800 #define OpenFileMapping OpenFileMappingA
801 #define GetLogicalDriveStrings GetLogicalDriveStringsA
802 #define LoadLibrary LoadLibraryA
803 #define LoadLibraryEx LoadLibraryExA
804 #define GetModuleFileName GetModuleFileNameA
805 #define GetModuleHandle GetModuleHandleA
806 #define GetUserObjectInformation GetUserObjectInformationA
807 #define PrivateExtractIcons PrivateExtractIconsA
808 #define SetUserObjectInformation SetUserObjectInformationA
809 #define RegisterWindowMessage RegisterWindowMessageA
810 #define GetMessage GetMessageA
811 #define DispatchMessage DispatchMessageA
812 #define PeekMessage PeekMessageA
813 #define SendMessage SendMessageA
814 #define SendMessageTimeout SendMessageTimeoutA
815 #define SendNotifyMessage SendNotifyMessageA
816 #define SendMessageCallback SendMessageCallbackA
817 #define PostMessage PostMessageA
818 #define PostThreadMessage PostThreadMessageA
819 #define VerFindFile VerFindFileA
820 #define VerInstallFile VerInstallFileA
821 #define GetFileVersionInfoSize GetFileVersionInfoSizeA
822 #define GetFileVersionInfo GetFileVersionInfoA
823 #define VerLanguageName VerLanguageNameA
824 #define VerQueryValue VerQueryValueA
825 #define CompareString CompareStringA
826 #define LCMapString LCMapStringA
827 #define GetLocaleInfo GetLocaleInfoA
828 #define SetLocaleInfo SetLocaleInfoA
829 #define GetTimeFormat GetTimeFormatA
830 #define GetDateFormat GetDateFormatA
831 #define GetNumberFormat GetNumberFormatA
832 #define GetCurrencyFormat GetCurrencyFormatA
833 #define EnumCalendarInfo EnumCalendarInfoA
834 #define EnumTimeFormats EnumTimeFormatsA
835 #define FoldString FoldStringA
836 #define EnumSystemCodePages EnumSystemCodePagesA
837 #define EnumSystemLocales EnumSystemLocalesA
838 #define GetStringTypeEx GetStringTypeExA
839 #define EnumDateFormats EnumDateFormatsA
840 #define GetConsoleTitle GetConsoleTitleA
841 #define ScrollConsoleScreenBuffer ScrollConsoleScreenBufferA
842 #define SetConsoleTitle SetConsoleTitleA
843 #define ReadConsole ReadConsoleA
844 #define WriteConsole WriteConsoleA
845 #define PeekConsoleInput PeekConsoleInputA
846 #define ReadConsoleInput ReadConsoleInputA
847 #define WriteConsoleInput WriteConsoleInputA
848 #define ReadConsoleOutput ReadConsoleOutputA
849 #define WriteConsoleOutput WriteConsoleOutputA
850 #define ReadConsoleOutputCharacter ReadConsoleOutputCharacterA
851 #define WriteConsoleOutputCharacter WriteConsoleOutputCharacterA
852 #define FillConsoleOutputCharacter FillConsoleOutputCharacterA
853 #define MultinetGetConnectionPerformance MultinetGetConnectionPerformanceA
854 #define WNetGetLastError WNetGetLastErrorA
855 #define WNetGetProviderName WNetGetProviderNameA
856 #define WNetGetNetworkInformation WNetGetNetworkInformationA
857 #define WNetConnectionDialog1 WNetConnectionDialog1A
858 #define WNetDisconnectDialog1 WNetDisconnectDialog1A
859 #define WNetOpenEnum WNetOpenEnumA
860 #define WNetEnumResource WNetEnumResourceA
861 #define WNetGetUniversalName WNetGetUniversalNameA
862 #define WNetGetUser WNetGetUserA
863 #define WNetAddConnection WNetAddConnectionA
864 #define WNetAddConnection2 WNetAddConnection2A
865 #define WNetAddConnection3 WNetAddConnection3A
866 #define WNetCancelConnection WNetCancelConnectionA
867 #define WNetCancelConnection2 WNetCancelConnection2A
868 #define WNetGetConnection WNetGetConnectionA
869 #define WNetUseConnection WNetUseConnectionA
870 #define WNetSetConnection WNetSetConnectionA
871 #define OpenService OpenServiceA
872 #define QueryServiceConfig QueryServiceConfigA
873 #define QueryServiceLockStatus QueryServiceLockStatusA
874 #define RegisterServiceCtrlHandler RegisterServiceCtrlHandlerA
875 #define StartServiceCtrlDispatcher StartServiceCtrlDispatcherA
876 #define StartService StartServiceA
877 #define ChangeServiceConfig ChangeServiceConfigA
878 #define CreateService CreateServiceA
879 #define EnumDependentServices EnumDependentServicesA
880 #define EnumServicesStatus EnumServicesStatusA
881 #define GetServiceKeyName GetServiceKeyNameA
882 #define GetServiceDisplayName GetServiceDisplayNameA
883 #define OpenSCManager OpenSCManagerA
884 #define DragQueryFile DragQueryFileA
885 #define ExtractAssociatedIcon ExtractAssociatedIconA
886 #define ExtractIcon ExtractIconA
887 #define FindExecutable FindExecutableA
888 #define ShellAbout ShellAboutA
889 #define ShellExecute ShellExecuteA
890 #define DdeCreateStringHandle DdeCreateStringHandleA
891 #define DdeInitialize DdeInitializeA
892 #define DdeQueryString DdeQueryStringA
893 #define LogonUser LogonUserA
894 #define CreateProcessAsUser CreateProcessAsUserA
895 #define SHGetFileInfo SHGetFileInfoA
896 #define SHGetPathFromIDList SHGetPathFromIDListA
898 #endif /* UNICODE and ASCII defines */
899 #endif /* _DISABLE_TIDENTS */
903 AddFontMemResourceEx(
912 AddFontResourceTracking(
919 AnyLinkedFonts(VOID
);
923 ClearBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
927 ClearBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
931 ColorCorrectPalette(HDC hDC
,HPALETTE hPalette
,DWORD dwFirstEntry
,DWORD dwNumOfEntries
);
935 EnableEUDC(WINBOOL enable
);
939 EndFormPage(HDC hdc
);
943 EudcLoadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
,INT iPriority
,INT iFontLinkType
);
947 EudcUnloadLinkW(LPCWSTR pBaseFaceName
,LPCWSTR pEudcFontPath
);
951 FontIsLinked(HDC hdc
);
955 GdiAddFontResourceW(LPCWSTR filename
,FLONG f
,DESIGNVECTOR
*pdv
);
959 GdiAddGlsBounds(HDC hdc
,LPRECT prc
);
963 GdiAlphaBlend(HDC hdcDst
,LONG DstX
,LONG DstY
,LONG DstCx
,LONG DstCy
,HDC hdcSrc
,LONG SrcX
,LONG SrcY
,LONG SrcCx
,LONG SrcCy
,BLENDFUNCTION BlendFunction
);
967 GdiArtificialDecrementDriver(LPWSTR pDriverName
,WINBOOL unknown
);
971 GdiCleanCacheDC(HDC hdc
);
975 GdiConsoleTextOut(HDC hdc
, POLYTEXTW
*lpto
,UINT nStrings
, RECTL
*prclBounds
);
979 GdiConvertAndCheckDC(HDC hdc
);
983 GdiConvertBitmap(HBITMAP hbm
);
987 GdiConvertBrush(HBRUSH hbr
);
991 GdiConvertDC(HDC hdc
);
995 GdiConvertFont(HFONT hfont
);
999 GdiConvertPalette(HPALETTE hpal
);
1003 GdiConvertRegion(HRGN hregion
);
1007 GdiConvertEnhMetaFile(HENHMETAFILE hmf
);
1011 GdiDeleteLocalDC(HDC hdc
);
1015 GdiDescribePixelFormat(HDC hdc
,int ipfd
,UINT cjpfd
,PPIXELFORMATDESCRIPTOR ppfd
);
1019 GdiDrawStream(HDC dc
, ULONG l
, VOID
*v
);
1023 GdiFixUpHandle(HGDIOBJ hobj
);
1027 GdiFullscreenControl(FULLSCREENCONTROL FullscreenCommand
, PVOID FullscreenInput
,
1028 DWORD FullscreenInputLength
, PVOID FullscreenOutput
,
1029 PULONG FullscreenOutputLength
);
1033 GdiGetCodePage(HDC hdc
);
1037 GdiGetLocalBrush(HBRUSH hbr
);
1041 GdiGetLocalDC(HDC hdc
);
1045 GdiGetLocalFont(HFONT hfont
);
1049 GdiGradientFill(HDC hdc
,PTRIVERTEX pVertex
,ULONG uVertex
,PVOID pMesh
,ULONG uMesh
,ULONG ulMode
);
1053 GdiIsMetaFileDC(HDC hdc
);
1057 GdiIsMetaPrintDC(HDC hdc
);
1061 GdiIsPlayMetafileDC(HDC hdc
);
1065 GdiQueryFonts(PUNIVERSAL_FONT_ID pufiFontList
,ULONG nBufferSize
,PLARGE_INTEGER pTimeStamp
);
1069 GdiRealizationInfo(HDC hdc
, PREALIZATION_INFO pri
);
1073 GdiReleaseDC(HDC hdc
);
1077 GdiReleaseLocalDC(HDC hdc
);
1081 GdiSetAttrs(HDC hdc
);
1085 GdiSetLastError(DWORD dwErrCode
);
1089 GdiSetPixelFormat(HDC hdc
,int ipfd
);
1093 GdiTransparentBlt(HDC hdcDst
, int xDst
, int yDst
, int cxDst
, int cyDst
,HDC hdcSrc
, int xSrc
, int ySrc
, int cxSrc
, int cySrc
,COLORREF TransColor
);
1097 GdiValidateHandle(HGDIOBJ hobj
);
1101 GdiSwapBuffers(HDC hdc
);
1105 GdiSetServerAttr(HDC hdc
,DWORD attr
);
1109 GetBitmapAttributes(HBITMAP hbm
);
1113 GetBrushAttributes(HBRUSH hbr
);
1137 GetCharWidthInfo(HDC hdc
,PCHWIDTHINFO pChWidthInfo
);
1153 GetFontUnicodeRanges(
1160 GetETM(HDC hdc
,EXTTEXTMETRIC
*petm
);
1164 GetEUDCTimeStamp(VOID
);
1168 GetEUDCTimeStampExW(LPCWSTR str
);
1172 GetFontAssocStatus(HDC hdc
);
1186 GetTextExtentExPointWPri(HDC hdc
,LPWSTR lpwsz
,ULONG cwc
,ULONG dxMax
,ULONG
*pcCh
,PULONG pdxOut
,LPSIZE psize
);
1190 GetTextExtentPointI(
1199 GetTextFaceAliasW(HDC hdc
,int cChar
,LPWSTR pszOut
);
1203 GetTransform(HDC hdc
, DWORD iXform
, LPXFORM pxf
);
1207 HT_Get8BPPFormatPalette(LPPALETTEENTRY pPaletteEntry
, USHORT RedGamma
,USHORT GreenGamma
, USHORT BlueGamma
);
1211 HT_Get8BPPMaskPalette(LPPALETTEENTRY pPaletteEntry
, WINBOOL Use8BPPMaskPal
,BYTE CMYMask
, USHORT RedGamma
, USHORT GreenGamma
, USHORT BlueGamma
);
1215 MirrorRgn(HWND hwnd
,HRGN hrgn
);
1219 NamedEscape(HDC hdc
,PWCHAR pDriver
,int nDriver
,int iEsc
,int cjIn
,LPSTR pjIn
,int cjOut
,LPSTR pjOut
);
1223 QueryFontAssocStatus(VOID
);
1227 RemoveFontMemResourceEx(
1233 RemoveFontResourceTracking(LPCSTR lpString
,int unknown
);
1237 GetTextExtentExPointI(
1249 SetBitmapAttributes(HBITMAP hbm
, DWORD dwFlags
);
1253 SetBrushAttributes(HBRUSH hbm
, DWORD dwFlags
);
1278 SetLayoutWidth(HDC hdc
,LONG wox
,DWORD dwLayout
);
1282 SetMagicColors(HDC hdc
,PALETTEENTRY peMagic
,ULONG Index
);
1286 SetVirtualResolution(HDC hdc
, int cxVirtualDevicePixel
,int cyVirtualDevicePixel
,int cxVirtualDeviceMm
, int cyVirtualDeviceMm
);
1290 StartFormPage(HDC hdc
);
1294 UnloadNetworkFonts(DWORD unknown
);
1298 bInitSystemAndFontsDirectoriesW(LPWSTR
*SystemDir
,LPWSTR
*FontsDir
);
1302 bMakePathNameW(LPWSTR lpBuffer
,LPCWSTR lpFileName
,LPWSTR
*lpFilePart
,DWORD unknown
);
1306 GdiAddGlsRecord(HDC hdc
,DWORD unknown1
,LPCSTR unknown2
,LPRECT unknown3
);
1310 GdiConvertMetaFilePict(HGLOBAL hMem
);
1314 GdiConvertToDevmodeW(DEVMODEA
*dm
);
1318 GdiCreateLocalEnhMetaFile(HENHMETAFILE hmo
);
1322 GdiCreateLocalMetaFilePict(HENHMETAFILE hmo
);
1326 GdiGetCharDimensions(HDC hdc
,LPTEXTMETRICW lptm
,BOOL unk
);
1330 GdiQueryTable(VOID
);
1334 GdiGetSpoolFileHandle(
1335 LPWSTR pwszPrinterName
,
1336 LPDEVMODEW pDevmode
,
1337 LPWSTR pwszDocName
);
1341 GdiDeleteSpoolFileHandle(
1342 HANDLE SpoolFileHandle
);
1347 HANDLE SpoolFileHandle
);
1352 HANDLE SpoolFileHandle
);
1357 HANDLE SpoolFileHandle
,
1359 LPDWORD pdwPageType
);
1364 HANDLE SpoolFileHandle
,
1365 DOCINFOW
*pDocInfo
);
1370 HANDLE SpoolFileHandle
);
1375 HANDLE SpoolFileHandle
,
1377 RECT
*prectDocument
,
1384 HANDLE SpoolFileHandle
,
1385 DWORD dwOptimization
);
1390 HANDLE SpoolFileHandle
);
1394 GdiGetDevmodeForPage(
1395 HANDLE SpoolFileHandle
,
1398 PDEVMODEW
*pLastDM
);
1403 HANDLE SpoolFileHandle
,
1409 const COLORREF
*pPens
,
1410 const HBRUSH
*pBrushes
,
1416 UserClientDllInitialize(
1434 UserRealizePalette ( HDC hDC
);
1438 DdeFreeStringHandle ( DWORD idInst
, HSZ hsz
);
1442 DeregisterShellHookWindow ( HWND hWnd
);
1446 RegisterShellHookWindow ( HWND hWnd
);
1458 InternalGetWindowText(
1466 IsHungAppWindow ( HWND hwnd
);
1482 HMODULE hmodWinEventProc
,
1483 WINEVENTPROC pfnWinEventProc
,
1497 UnhookWinEvent ( HWINEVENTHOOK hWinEventHook
);
1510 SetDeskWallpaper ( LPCSTR filename
);
1514 GetAppCompatFlags ( HTASK hTask
);
1518 GetInputDesktop ( VOID
);
1522 GetInternalWindowPos(
1530 GetProgmanWindow ( VOID
);
1534 GetTaskmanWindow ( VOID
);
1538 SetWindowStationUser(
1561 SetTaskmanWindow ( DWORD x
);
1565 SetProgmanWindow ( DWORD x
);
1578 LoadLocalFonts ( VOID
);
1582 LoadRemoteFonts ( VOID
);
1586 SetInternalWindowPos(
1595 RegisterSystemThread(
1602 RegisterLogonProcess(
1616 RegisterTasklist ( DWORD x
);
1620 SetLogonNotifyWindow ( HWINSTA hwinsta
, HWND hwnd
);
1624 CascadeChildWindows ( HWND hWndParent
, WORD wFlags
);
1628 TileChildWindows ( HWND hWndParent
, WORD wFlags
);
1632 TranslateMessageEx ( CONST MSG
*lpMsg
, DWORD unk
);
1645 LockWindowStation ( HWINSTA hWinSta
);
1649 UnlockWindowStation ( HWINSTA hWinSta
);
1653 GetAccCursorInfo ( PCURSORINFO pci
);
1657 MB_GetString ( DWORD string
);
1661 ClientThreadSetup ( VOID
);
1677 LPWSTR UnicodeString
,
1690 LPWSTR
*UnicodeString
,
1697 GetAncestor ( HWND hWnd
, UINT GaFlags
);
1701 AbnormalTermination ( VOID
);
1713 AbortPrinter ( HANDLE
);
1717 AbortProc ( HDC
, int );
1722 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
1724 DWORD DesiredAccess
,
1725 PGENERIC_MAPPING GenericMapping
,
1726 PPRIVILEGE_SET PrivilegeSet
,
1727 LPDWORD PrivilegeSetLength
,
1728 LPDWORD GrantedAccess
,
1732 #ifndef __NTDRIVER__
1735 InterlockedIncrement(
1741 InterlockedDecrement(
1747 InterlockedExchange(
1754 InterlockedCompareExchange(
1780 HINSTANCE hInstance
,
1781 HINSTANCE hPrevInstance
,
1789 HINSTANCE hLibModule
1795 FreeLibraryAndExitThread(
1802 DisableThreadLibraryCalls(
1914 LPMEMORYSTATUS lpBuffer
1998 FlushInstructionCache(
2000 LPCVOID lpBaseAddress
,
2010 DWORD flAllocationType
,
2030 PDWORD lpflOldProtect
2038 PMEMORY_BASIC_INFORMATION lpBuffer
,
2050 PDWORD lpflOldProtect
2059 PMEMORY_BASIC_INFORMATION lpBuffer
,
2068 DWORD dwInitialSize
,
2128 GetProcessHeap( VOID
);
2133 DWORD NumberOfHeaps
,
2134 PHANDLE ProcessHeaps
2159 LPPROCESS_HEAP_ENTRY lpEntry
2164 GetProcessAffinityMask(
2166 LPDWORD lpProcessAffinityMask
,
2167 LPDWORD lpSystemAffinityMask
2174 LPFILETIME lpCreationTime
,
2175 LPFILETIME lpExitTime
,
2176 LPFILETIME lpKernelTime
,
2177 LPFILETIME lpUserTime
2182 GetProcessWorkingSetSize(
2184 LPDWORD lpMinimumWorkingSetSize
,
2185 LPDWORD lpMaximumWorkingSetSize
2190 SetProcessWorkingSetSize(
2192 DWORD dwMinimumWorkingSetSize
,
2193 DWORD dwMaximumWorkingSetSize
2199 DWORD dwDesiredAccess
,
2200 WINBOOL bInheritHandle
,
2212 GetCurrentProcessId(
2220 ) __attribute__ ((noreturn
));
2245 DWORD dwExceptionCode
,
2246 DWORD dwExceptionFlags
,
2247 DWORD nNumberOfArguments
,
2248 CONST DWORD
*lpArguments
2253 UnhandledExceptionFilter(
2254 struct _EXCEPTION_POINTERS
*ExceptionInfo
2258 TODO: what is TOP_LEVEL_EXCEPTION_FILTER?
2259 LPTOP_LEVEL_EXCEPTION_FILTER
2261 SetUnhandledExceptionFilter(
2262 LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter
2270 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
2272 LPTHREAD_START_ROUTINE lpStartAddress
,
2274 DWORD dwCreationFlags
,
2283 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
2285 LPTHREAD_START_ROUTINE lpStartAddress
,
2287 DWORD dwCreationFlags
,
2308 SetThreadAffinityMask(
2310 DWORD dwThreadAffinityMask
2333 LPFILETIME lpCreationTime
,
2334 LPFILETIME lpExitTime
,
2335 LPFILETIME lpKernelTime
,
2336 LPFILETIME lpUserTime
2340 __declspec(noreturn
)
2365 GetThreadSelectorEntry(
2368 LPLDT_ENTRY lpSelectorEntry
2388 GetOverlappedResult(
2390 LPOVERLAPPED lpOverlapped
,
2391 LPDWORD lpNumberOfBytesTransferred
,
2398 CreateIoCompletionPort(
2400 HANDLE ExistingCompletionPort
,
2401 DWORD CompletionKey
,
2402 DWORD NumberOfConcurrentThreads
2408 GetQueuedCompletionStatus(
2409 HANDLE CompletionPort
,
2410 LPDWORD lpNumberOfBytesTransferred
,
2411 LPDWORD lpCompletionKey
,
2412 LPOVERLAPPED
*lpOverlapped
,
2413 DWORD dwMilliseconds
2427 LPCVOID lpBaseAddress
,
2430 LPDWORD lpNumberOfBytesRead
2438 LPVOID lpBaseAddress
,
2441 LPDWORD lpNumberOfBytesWritten
2457 CONST CONTEXT
*lpContext
2485 LPDEBUG_EVENT lpDebugEvent
,
2486 DWORD dwMilliseconds
2495 DWORD dwContinueStatus
2508 InitializeCriticalSection(
2509 LPCRITICAL_SECTION lpCriticalSection
2515 EnterCriticalSection(
2516 LPCRITICAL_SECTION lpCriticalSection
2522 LeaveCriticalSection(
2523 LPCRITICAL_SECTION lpCriticalSection
2529 DeleteCriticalSection(
2530 LPCRITICAL_SECTION lpCriticalSection
2560 LPLONG lpPreviousCount
2573 WaitForSingleObject(
2575 DWORD dwMilliseconds
2581 WaitForMultipleObjects(
2583 CONST HANDLE
*lpHandles
,
2585 DWORD dwMilliseconds
2592 DWORD dwMilliseconds
2652 DWORD dwFileOffsetLow
,
2653 DWORD dwFileOffsetHigh
,
2654 DWORD nNumberOfBytesToLockLow
,
2655 DWORD nNumberOfBytesToLockHigh
2663 DWORD dwFileOffsetLow
,
2664 DWORD dwFileOffsetHigh
,
2665 DWORD nNumberOfBytesToUnlockLow
,
2666 DWORD nNumberOfBytesToUnlockHigh
2676 DWORD nNumberOfBytesToLockLow
,
2677 DWORD nNumberOfBytesToLockHigh
,
2678 LPOVERLAPPED lpOverlapped
2686 DWORD nNumberOfBytesToUnlockLow
,
2687 DWORD nNumberOfBytesToUnlockHigh
,
2688 LPOVERLAPPED lpOverlapped
2693 GetFileInformationByHandle(
2695 LPBY_HANDLE_FILE_INFORMATION lpFileInformation
2710 LPDWORD lpFileSizeHigh
2734 DWORD nNumberOfBytesToWrite
,
2735 LPDWORD lpNumberOfBytesWritten
,
2736 LPOVERLAPPED lpOverlapped
2745 DWORD nNumberOfBytesToRead
,
2746 LPDWORD lpNumberOfBytesRead
,
2747 LPOVERLAPPED lpOverlapped
2762 DWORD dwIoControlCode
,
2764 DWORD nInBufferSize
,
2766 DWORD nOutBufferSize
,
2767 LPDWORD lpBytesReturned
,
2768 LPOVERLAPPED lpOverlapped
2783 LONG lDistanceToMove
,
2784 PLONG lpDistanceToMoveHigh
,
2800 LPFILETIME lpCreationTime
,
2801 LPFILETIME lpLastAccessTime
,
2802 LPFILETIME lpLastWriteTime
2810 CONST FILETIME
*lpCreationTime
,
2811 CONST FILETIME
*lpLastAccessTime
,
2812 CONST FILETIME
*lpLastWriteTime
2826 HANDLE hSourceProcessHandle
,
2827 HANDLE hSourceHandle
,
2828 HANDLE hTargetProcessHandle
,
2829 LPHANDLE lpTargetHandle
,
2830 DWORD dwDesiredAccess
,
2831 WINBOOL bInheritHandle
,
2838 GetHandleInformation(
2846 SetHandleInformation(
2855 LPCSTR lpModuleName
,
2856 LPVOID lpParameterBlock
2922 LPCOMMPROP lpCommProp
2946 LPCOMMTIMEOUTS lpCommTimeouts
2994 LPCOMMTIMEOUTS lpCommTimeouts
3011 LPOVERLAPPED lpOverlapped
3020 DWORD dwPositionMethod
,
3032 DWORD dwPositionType
,
3033 LPDWORD lpdwPartition
,
3034 LPDWORD lpdwOffsetLow
,
3035 LPDWORD lpdwOffsetHigh
3049 ProcessIdToSessionId(
3065 CreateTapePartition(
3067 DWORD dwPartitionMethod
,
3077 DWORD dwTapemarkType
,
3078 DWORD dwTapemarkCount
,
3096 LPVOID lpTapeInformation
3104 LPVOID lpTapeInformation
3253 LPSYSTEMTIME lpSystemTime
3258 GetSystemTimeAsFileTime (
3259 LPFILETIME lpSystemTimeAsFileTime
3265 CONST SYSTEMTIME
*lpSystemTime
3272 LPSYSTEMTIME lpSystemTime
3279 CONST SYSTEMTIME
*lpSystemTime
3286 LPSYSTEM_INFO lpSystemInfo
3291 SystemTimeToTzSpecificLocalTime(
3292 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
,
3293 LPSYSTEMTIME lpUniversalTime
,
3294 LPSYSTEMTIME lpLocalTime
3300 GetTimeZoneInformation(
3301 LPTIME_ZONE_INFORMATION lpTimeZoneInformation
3307 SetTimeZoneInformation(
3308 CONST TIME_ZONE_INFORMATION
*lpTimeZoneInformation
3313 SystemTimeToFileTime(
3314 CONST SYSTEMTIME
*lpSystemTime
,
3315 LPFILETIME lpFileTime
3321 FileTimeToLocalFileTime(
3322 CONST FILETIME
*lpFileTime
,
3323 LPFILETIME lpLocalFileTime
3329 LocalFileTimeToFileTime(
3330 CONST FILETIME
*lpLocalFileTime
,
3331 LPFILETIME lpFileTime
3337 FileTimeToSystemTime(
3338 CONST FILETIME
*lpFileTime
,
3339 LPSYSTEMTIME lpSystemTime
3346 CONST FILETIME
*lpFileTime1
,
3347 CONST FILETIME
*lpFileTime2
3353 FileTimeToDosDateTime(
3354 CONST FILETIME
*lpFileTime
,
3362 DosDateTimeToFileTime(
3365 LPFILETIME lpFileTime
3378 SetSystemTimeAdjustment(
3379 DWORD dwTimeAdjustment
,
3380 WINBOOL bTimeAdjustmentDisabled
3386 GetSystemTimeAdjustment(
3387 PDWORD lpTimeAdjustment
,
3388 PDWORD lpTimeIncrement
,
3389 PWINBOOL lpTimeAdjustmentDisabled
3398 LPSECURITY_ATTRIBUTES lpPipeAttributes
,
3407 LPOVERLAPPED lpOverlapped
3413 DisconnectNamedPipe(
3420 SetNamedPipeHandleState(
3423 LPDWORD lpMaxCollectionCount
,
3424 LPDWORD lpCollectDataTimeout
3433 LPDWORD lpOutBufferSize
,
3434 LPDWORD lpInBufferSize
,
3435 LPDWORD lpMaxInstances
3445 LPDWORD lpBytesRead
,
3446 LPDWORD lpTotalBytesAvail
,
3447 LPDWORD lpBytesLeftThisMessage
3456 DWORD nInBufferSize
,
3458 DWORD nOutBufferSize
,
3459 LPDWORD lpBytesRead
,
3460 LPOVERLAPPED lpOverlapped
3469 LPDWORD lpMaxMessageSize
,
3471 LPDWORD lpMessageCount
,
3472 LPDWORD lpReadTimeout
3487 HANDLE hFileMappingObject
,
3488 DWORD dwDesiredAccess
,
3489 DWORD dwFileOffsetHigh
,
3490 DWORD dwFileOffsetLow
,
3491 DWORD dwNumberOfBytesToMap
3498 LPCVOID lpBaseAddress
,
3499 DWORD dwNumberOfBytesToFlush
3506 LPVOID lpBaseAddress
3513 LPOFSTRUCT lpReOpenBuff
,
3589 CONST LPVOID lpBuffer
,
3622 typedef VOID
WINAPI (*PFLS_CALLBACK_FUNCTION
)(PVOID lpFlsData
);
3624 DWORD WINAPI
FlsAlloc(PFLS_CALLBACK_FUNCTION lpCallback
);
3626 BOOL WINAPI
FlsFree(DWORD dwFlsIndex
);
3628 PVOID WINAPI
FlsGetValue(DWORD dwFlsIndex
);
3630 BOOL WINAPI
FlsSetValue(DWORD dwFlsIndex
, PVOID lpFlsData
);
3635 DWORD dwMilliseconds
,
3642 WaitForSingleObjectEx(
3644 DWORD dwMilliseconds
,
3651 WaitForMultipleObjectsEx(
3653 CONST HANDLE
*lpHandles
,
3655 DWORD dwMilliseconds
,
3665 DWORD nNumberOfBytesToRead
,
3666 LPOVERLAPPED lpOverlapped
,
3667 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
3676 DWORD nNumberOfBytesToWrite
,
3677 LPOVERLAPPED lpOverlapped
,
3678 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine
3687 DWORD nNumberOfBytesToRead
,
3688 LPDWORD lpNumberOfBytesRead
,
3690 WINBOOL bProcessSecurity
,
3699 DWORD dwLowBytesToSeek
,
3700 DWORD dwHighBytesToSeek
,
3701 LPDWORD lpdwLowByteSeeked
,
3702 LPDWORD lpdwHighByteSeeked
,
3712 DWORD nNumberOfBytesToWrite
,
3713 LPDWORD lpNumberOfBytesWritten
,
3715 WINBOOL bProcessSecurity
,
3721 SetProcessShutdownParameters(
3729 GetProcessShutdownParameters(
3737 SetFileApisToOEM( VOID
);
3742 SetFileApisToANSI( VOID
);
3747 AreFileApisANSI( VOID
);
3758 DeregisterEventSource (
3765 NotifyChangeEventLog (
3773 GetNumberOfEventLogRecords (
3775 PDWORD NumberOfRecords
3781 GetOldestEventLogRecord (
3789 HANDLE ExistingTokenHandle
,
3790 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
,
3791 PHANDLE DuplicateTokenHandle
3797 GetKernelObjectSecurity (
3799 SECURITY_INFORMATION RequestedInformation
,
3800 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3802 LPDWORD lpnLengthNeeded
3808 ImpersonateNamedPipeClient(
3815 ImpersonateLoggedOnUser(
3823 SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
3846 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
3848 DWORD DesiredAccess
,
3849 PGENERIC_MAPPING GenericMapping
,
3850 PPRIVILEGE_SET PrivilegeSet
,
3851 LPDWORD PrivilegeSetLength
,
3852 LPDWORD GrantedAccess
,
3861 HANDLE ProcessHandle
,
3862 DWORD DesiredAccess
,
3871 HANDLE ThreadHandle
,
3872 DWORD DesiredAccess
,
3881 GetTokenInformation (
3883 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3884 LPVOID TokenInformation
,
3885 DWORD TokenInformationLength
,
3893 SetTokenInformation (
3895 TOKEN_INFORMATION_CLASS TokenInformationClass
,
3896 LPVOID TokenInformation
,
3897 DWORD TokenInformationLength
3904 AdjustTokenPrivileges (
3906 WINBOOL DisableAllPrivileges
,
3907 PTOKEN_PRIVILEGES NewState
,
3909 PTOKEN_PRIVILEGES PreviousState
,
3919 WINBOOL ResetToDefault
,
3920 PTOKEN_GROUPS NewState
,
3922 PTOKEN_GROUPS PreviousState
,
3932 PPRIVILEGE_SET RequiredPrivileges
,
3966 GetSidLengthRequired (
3967 UCHAR nSubAuthorityCount
3974 AllocateAndInitializeSid (
3975 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
3976 BYTE nSubAuthorityCount
,
3977 DWORD nSubAuthority0
,
3978 DWORD nSubAuthority1
,
3979 DWORD nSubAuthority2
,
3980 DWORD nSubAuthority3
,
3981 DWORD nSubAuthority4
,
3982 DWORD nSubAuthority5
,
3983 DWORD nSubAuthority6
,
3984 DWORD nSubAuthority7
,
4000 PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority
,
4001 BYTE nSubAuthorityCount
4006 PSID_IDENTIFIER_AUTHORITY
4008 GetSidIdentifierAuthority (
4016 GetSidSubAuthority (
4025 GetSidSubAuthorityCount (
4042 DWORD nDestinationSidLength
,
4043 PSID pDestinationSid
,
4051 AreAllAccessesGranted (
4052 DWORD GrantedAccess
,
4060 AreAnyAccessesGranted (
4061 DWORD GrantedAccess
,
4071 PGENERIC_MAPPING GenericMapping
4098 LPVOID pAclInformation
,
4099 DWORD nAclInformationLength
,
4100 ACL_INFORMATION_CLASS dwAclInformationClass
4109 LPVOID pAclInformation
,
4110 DWORD nAclInformationLength
,
4111 ACL_INFORMATION_CLASS dwAclInformationClass
4120 DWORD dwAceRevision
,
4121 DWORD dwStartingAceIndex
,
4123 DWORD nAceListLength
4149 AddAccessAllowedAce (
4151 DWORD dwAceRevision
,
4160 AddAccessDeniedAce (
4162 DWORD dwAceRevision
,
4173 DWORD dwAceRevision
,
4176 WINBOOL bAuditSuccess
,
4177 WINBOOL bAuditFailure
4193 InitializeSecurityDescriptor (
4194 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4202 IsValidSecurityDescriptor (
4203 PSECURITY_DESCRIPTOR pSecurityDescriptor
4210 GetSecurityDescriptorLength (
4211 PSECURITY_DESCRIPTOR pSecurityDescriptor
4218 GetSecurityDescriptorControl (
4219 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4220 PSECURITY_DESCRIPTOR_CONTROL pControl
,
4221 LPDWORD lpdwRevision
4228 SetSecurityDescriptorDacl (
4229 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4230 WINBOOL bDaclPresent
,
4232 WINBOOL bDaclDefaulted
4239 GetSecurityDescriptorDacl (
4240 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4241 LPBOOL lpbDaclPresent
,
4243 LPBOOL lpbDaclDefaulted
4250 SetSecurityDescriptorSacl (
4251 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4252 WINBOOL bSaclPresent
,
4254 WINBOOL bSaclDefaulted
4261 GetSecurityDescriptorSacl (
4262 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4263 LPBOOL lpbSaclPresent
,
4265 LPBOOL lpbSaclDefaulted
4272 SetSecurityDescriptorOwner (
4273 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4275 WINBOOL bOwnerDefaulted
4282 GetSecurityDescriptorOwner (
4283 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4285 LPBOOL lpbOwnerDefaulted
4292 SetSecurityDescriptorGroup (
4293 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4295 WINBOOL bGroupDefaulted
4302 GetSecurityDescriptorGroup (
4303 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
4305 LPBOOL lpbGroupDefaulted
4312 CreatePrivateObjectSecurity (
4313 PSECURITY_DESCRIPTOR ParentDescriptor
,
4314 PSECURITY_DESCRIPTOR CreatorDescriptor
,
4315 PSECURITY_DESCRIPTOR
* NewDescriptor
,
4316 WINBOOL IsDirectoryObject
,
4318 PGENERIC_MAPPING GenericMapping
4325 SetPrivateObjectSecurity (
4326 SECURITY_INFORMATION SecurityInformation
,
4327 PSECURITY_DESCRIPTOR ModificationDescriptor
,
4328 PSECURITY_DESCRIPTOR
*ObjectsSecurityDescriptor
,
4329 PGENERIC_MAPPING GenericMapping
,
4337 GetPrivateObjectSecurity (
4338 PSECURITY_DESCRIPTOR ObjectDescriptor
,
4339 SECURITY_INFORMATION SecurityInformation
,
4340 PSECURITY_DESCRIPTOR ResultantDescriptor
,
4341 DWORD DescriptorLength
,
4349 DestroyPrivateObjectSecurity (
4350 PSECURITY_DESCRIPTOR
* ObjectDescriptor
4357 MakeSelfRelativeSD (
4358 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
4359 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
4360 LPDWORD lpdwBufferLength
4368 PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor
,
4369 PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor
,
4370 LPDWORD lpdwAbsoluteSecurityDescriptorSize
,
4372 LPDWORD lpdwDaclSize
,
4374 LPDWORD lpdwSaclSize
,
4376 LPDWORD lpdwOwnerSize
,
4378 LPDWORD lpdwPrimaryGroupSize
4385 SetKernelObjectSecurity (
4387 SECURITY_INFORMATION SecurityInformation
,
4388 PSECURITY_DESCRIPTOR SecurityDescriptor
4394 FindNextChangeNotification(
4395 HANDLE hChangeHandle
4401 FindCloseChangeNotification(
4402 HANDLE hChangeHandle
4425 HANDLE hFileMappingObject
,
4426 DWORD dwDesiredAccess
,
4427 DWORD dwFileOffsetHigh
,
4428 DWORD dwFileOffsetLow
,
4429 DWORD dwNumberOfBytesToMap
,
4430 LPVOID lpBaseAddress
4438 DWORD dwPriorityClass
4489 AllocateLocallyUniqueId(
4496 QueryPerformanceCounter(
4497 LARGE_INTEGER
*lpPerformanceCount
4503 QueryPerformanceFrequency(
4504 LARGE_INTEGER
*lpFrequency
4530 /* The memory functions don't seem to be defined in the libraries, so
4531 define macro versions as well. */
4532 #define MoveMemory(t, s, c) memmove ((t), (s), (c))
4533 #define FillMemory(p, c, v) memset ((p), (v), (c))
4534 #define ZeroMemory(p, c) memset ((p), 0, (c))
4539 ActivateKeyboardLayout(
4545 ActivateKeyboardLayout(
4565 UnloadKeyboardLayout(
4571 GetKeyboardLayoutList(
4588 DWORD dwDesiredAccess
);
4594 ENUMWINDOWSPROC lpfn
,
4630 SetProcessWindowStation(
4636 GetProcessWindowStation(
4642 SetUserObjectSecurity(
4644 PSECURITY_INFORMATION pSIRequested
,
4645 PSECURITY_DESCRIPTOR pSID
);
4650 GetUserObjectSecurity(
4652 PSECURITY_INFORMATION pSIRequested
,
4653 PSECURITY_DESCRIPTOR pSID
,
4655 LPDWORD lpnLengthNeeded
);
4711 GetMessageExtraInfo(
4717 SetMessageExtraInfo(
4723 BroadcastSystemMessage(
4754 DWORD dwMilliseconds
);
4860 HWND hWndInsertAfter
,
4872 WINDOWPLACEMENT
*lpwndpl
);
4879 CONST WINDOWPLACEMENT
*lpwndpl
);
4884 BeginDeferWindowPos(
4893 HWND hWndInsertAfter
,
4965 WINBOOL
*lpTranslated
,
4983 int nIDCheckButton
);
4995 GetNextDlgGroupItem(
5017 GetDialogBaseUnits(VOID
);
5040 HWND hWndNewViewer
);
5051 ChangeClipboardChain(
5072 CountClipboardFormats(
5078 EnumClipboardFormats(
5090 IsClipboardFormatAvailable(
5096 GetPriorityClipboardFormat(
5097 UINT
*paFormatPriorityList
,
5103 GetOpenClipboardWindow(
5107 /* Despite the A these are ASCII functions! */
5112 LPCSTR lpCurrentChar
,
5121 LPCSTR lpCurrentChar
,
5267 MsgWaitForMultipleObjects(
5271 DWORD dwMilliseconds
,
5281 TIMERPROC lpTimerFunc
);
5286 SetWaitableTimer(HANDLE hTimer
,
5287 const LARGE_INTEGER
*pDueTime
,
5289 PTIMERAPCROUTINE pfnCompletionRoutine
,
5290 LPVOID lpArgToCompletionRoutine
,
5322 DestroyAcceleratorTable(
5447 HBITMAP hBitmapUnchecked
,
5448 HBITMAP hBitmapChecked
);
5453 GetMenuCheckMarkDimensions(
5466 CONST RECT
*prcRect
);
5484 GetMenuItemRect(HWND hWnd
,
5491 MenuItemFromPoint(HWND hWnd
,
5498 DragObject(HWND
, HWND
, UINT
, DWORD
, HCURSOR
);
5503 DragDetect(HWND hwnd
,
5529 GetForegroundWindow(
5534 PaintDesktop(HDC hdc
);
5539 SetForegroundWindow(
5580 LPPAINTSTRUCT lpPaint
);
5587 CONST PAINTSTRUCT
*lpPaint
);
5640 CONST RECT
*lpRect
);
5662 CONST RECT
*lprcUpdate
,
5680 CONST RECT
*lpClipRect
);
5689 CONST RECT
*lprcScroll
,
5690 CONST RECT
*lprcClip
,
5701 CONST RECT
*prcScroll
,
5702 CONST RECT
*prcClip
,
5761 PSCROLLBARINFO psbi
);
5792 SetWindowContextHelpId(
5794 DWORD dwContextHelpId
);
5798 GetWindowContextHelpId(
5803 SetMenuContextHelpId(
5805 DWORD dwContextHelpId
);
5809 GetMenuContextHelpId(
5844 CONST RECT
*lpRect
);
5942 ChildWindowFromPoint(
5963 CONST INT
* lpaElements
,
5964 CONST COLORREF
* lpaRgbValues
);
6017 CONST RECT
*lprcSrc
);
6032 CONST RECT
*lprcSrc1
,
6033 CONST RECT
*lprcSrc2
);
6040 CONST RECT
*lprcSrc1
,
6041 CONST RECT
*lprcSrc2
);
6048 CONST RECT
*lprcSrc1
,
6049 CONST RECT
*lprcSrc2
);
6117 GetShellWindow(VOID
);
6130 HWND hWndNewParent
);
6137 ENUMWINDOWSPROC lpEnumFunc
,
6144 ENUMWINDOWSPROC lpEnumFunc
,
6152 ENUMWINDOWSPROC lpfn
,
6163 GetWindowThreadProcessId(
6165 LPDWORD lpdwProcessId
);
6184 HOOKPROC pfnFilterProc
);
6188 UnhookWindowsHookEx(
6203 CheckMenuRadioItem(HMENU
, UINT
, UINT
, UINT
, UINT
);
6213 CONST VOID
*pvANDPlane
,
6214 CONST VOID
*pvXORPlane
);
6233 HINSTANCE hInstance
,
6238 CONST BYTE
*lpbANDbits
,
6239 CONST BYTE
*lpbXORbits
);
6250 LookupIconIdFromDirectory(
6257 LookupIconIdFromDirectoryEx(
6267 CreateIconFromResource(
6276 CreateIconFromResourceEx(
6299 PICONINFO piconinfo
);
6312 PICONINFO piconinfo
);
6323 SetScrollInfo(HWND
, int, LPCSCROLLINFO
, WINBOOL
);
6327 GetScrollInfo(HWND
, int, LPSCROLLINFO
);
6331 TranslateMDISysAccel(
6338 ArrangeIconicWindows(
6343 TileWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
6347 CascadeWindows(HWND hwndParent
, UINT wHow
, CONST RECT
* lpRect
, UINT cKids
, const HWND
*lpKids
);
6366 DrawEdge(HDC hdc
, LPRECT qrc
, UINT edge
, UINT grfFlags
);
6370 DrawFrameControl(HDC
, LPRECT
, UINT
, UINT
);
6382 DrawAnimatedRects(HWND hwnd
, int idAni
, CONST RECT
* lprcFrom
, CONST RECT
* lprcTo
);
6386 TrackPopupMenuEx(HMENU
, UINT
, int, int, HWND
, LPTPMPARAMS
);
6390 ChildWindowFromPointEx(HWND
, POINT
, UINT
);
6394 DrawIconEx(HDC hdc
, int xLeft
, int yTop
,
6395 HICON hIcon
, int cxWidth
, int cyWidth
,
6396 UINT istepIfAniCur
, HBRUSH hbrFlickerFreeDraw
, UINT diFlags
);
6400 AnimatePalette(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6404 Arc(HDC
, int, int, int, int, int, int, int, int);
6408 BitBlt(HDC
, int, int, int, int, HDC
, int, int, DWORD
);
6416 Chord(HDC
, int, int, int, int, int, int, int, int);
6424 CombineRgn(HRGN
, HRGN
, HRGN
, int);
6428 CreateBitmap(int, int, UINT
, UINT
, CONST VOID
*);
6432 CreateBitmapIndirect(CONST BITMAP
*);
6436 CreateBrushIndirect(CONST LOGBRUSH
*);
6440 CreateCompatibleBitmap(HDC
, int, int);
6444 CreateDiscardableBitmap(HDC
, int, int);
6448 CreateCompatibleDC(HDC
);
6452 CreateDIBitmap(HDC
, CONST BITMAPINFOHEADER
*, DWORD
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6456 CreateDIBPatternBrush(HGLOBAL
, UINT
);
6460 CreateDIBPatternBrushPt(CONST VOID
*, UINT
);
6464 CreateEllipticRgn(int, int, int, int);
6468 CreateEllipticRgnIndirect(CONST RECT
*);
6472 CreateHatchBrush(int, COLORREF
);
6476 CreatePalette(CONST LOGPALETTE
*);
6480 CreatePen(int, int, COLORREF
);
6484 CreatePenIndirect(CONST LOGPEN
*);
6488 CreatePolyPolygonRgn(CONST POINT
*, CONST INT
*, int, int);
6492 CreatePatternBrush(HBITMAP
);
6496 CreateRectRgn(int, int, int, int);
6500 CreateRectRgnIndirect(CONST RECT
*);
6504 CreateRoundRectRgn(int, int, int, int, int, int);
6508 CreateSolidBrush(COLORREF
);
6516 DeleteMetaFile(HMETAFILE
);
6520 DeleteObject(HGDIOBJ
);
6524 DrawEscape(HDC
, int, int, LPCSTR
);
6528 Ellipse(HDC
, int, int, int, int);
6532 EnumObjects(HDC
, int, ENUMOBJECTSPROC
, LPARAM
);
6536 EqualRgn(HRGN
, HRGN
);
6540 Escape(HDC
, int, int, LPCSTR
, LPVOID
);
6544 ExtEscape(HDC
, int, int, LPCSTR
, int, LPSTR
);
6548 ExcludeClipRect(HDC
, int, int, int, int);
6552 ExtCreateRegion(CONST XFORM
*, DWORD
, CONST RGNDATA
*);
6556 ExtFloodFill(HDC
, int, int, COLORREF
, UINT
);
6560 FillRgn(HDC
, HRGN
, HBRUSH
);
6564 FloodFill(HDC
, int, int, COLORREF
);
6568 FrameRgn(HDC
, HRGN
, HBRUSH
, int, int);
6572 GdiDllInitialize (HANDLE
, DWORD
, LPVOID
);
6576 GdiProcessSetup (VOID
);
6584 GetAspectRatioFilterEx(HDC
, LPSIZE
);
6596 GetBitmapBits(HBITMAP
, LONG
, LPVOID
);
6600 GetBitmapDimensionEx(HBITMAP
, LPSIZE
);
6604 GetBoundsRect(HDC
, LPRECT
, UINT
);
6608 GetBrushOrgEx(HDC
, LPPOINT
);
6612 GetClipBox(HDC
, LPRECT
);
6616 GetClipRgn(HDC
, HRGN
);
6620 GetMetaRgn(HDC
, HRGN
);
6624 GetCurrentObject(HDC
, UINT
);
6628 GetCurrentPositionEx(HDC
, LPPOINT
);
6632 GetDeviceCaps(HDC
, int);
6636 GetDIBits(HDC
, HBITMAP
, UINT
, UINT
, LPVOID
, LPBITMAPINFO
, UINT
);
6640 GetFontData(HDC
, DWORD
, DWORD
, LPVOID
, DWORD
);
6644 GetGraphicsMode(HDC
);
6652 GetMetaFileBitsEx(HMETAFILE
, UINT
, LPVOID
);
6656 GetNearestColor(HDC
, COLORREF
);
6660 GetNearestPaletteIndex(HPALETTE
, COLORREF
);
6664 GetObjectType(HGDIOBJ h
);
6668 GetPaletteEntries(HPALETTE
, UINT
, UINT
, LPPALETTEENTRY
);
6672 GetPixel(HDC
, int, int);
6676 GetPixelFormat(HDC
);
6680 GetPolyFillMode(HDC
);
6684 GetRasterizerCaps(LPRASTERIZER_STATUS
, UINT
);
6688 GetRegionData(HRGN
, DWORD
, LPRGNDATA
);
6692 GetRgnBox(HRGN
, LPRECT
);
6696 GetStockObject(int);
6700 GetStretchBltMode(HDC
);
6704 GetSystemPaletteEntries(HDC
, UINT
, UINT
, LPPALETTEENTRY
);
6708 GetSystemPaletteUse(HDC
);
6712 GetTextCharacterExtra(HDC
);
6724 GetTextCharset(HDC hdc
);
6728 GetTextCharsetInfo(HDC hdc
, LPFONTSIGNATURE lpSig
, DWORD dwFlags
);
6732 TranslateCharsetInfo( DWORD
*lpSrc
, LPCHARSETINFO lpCs
, DWORD dwFlags
);
6736 GetFontLanguageInfo( HDC
);
6740 GetViewportExtEx(HDC
, LPSIZE
);
6744 GetViewportOrgEx(HDC
, LPPOINT
);
6748 GetWindowExtEx(HDC
, LPSIZE
);
6752 GetWindowOrgEx(HDC
, LPPOINT
);
6756 IntersectClipRect(HDC
, int, int, int, int);
6760 InvertRgn(HDC
, HRGN
);
6764 LineDDA(int, int, int, int, LINEDDAPROC
, LPARAM
);
6768 LineTo(HDC
, int, int);
6772 MaskBlt(HDC
, int, int, int, int,
6773 HDC
, int, int, HBITMAP
, int, int, DWORD
);
6777 PlgBlt(HDC
, CONST POINT
*, HDC
, int, int, int,
6778 int, HBITMAP
, int, int);
6782 OffsetClipRgn(HDC
, int, int);
6786 OffsetRgn(HRGN
, int, int);
6790 PatBlt(HDC
, int, int, int, int, DWORD
);
6794 Pie(HDC
, int, int, int, int, int, int, int, int);
6798 PlayMetaFile(HDC
, HMETAFILE
);
6802 PaintRgn(HDC
, HRGN
);
6806 PolyPolygon(HDC
, CONST POINT
*, CONST INT
*, int);
6810 PtInRegion(HRGN
, int, int);
6814 PtVisible(HDC
, int, int);
6818 RectInRegion(HRGN
, CONST RECT
*);
6822 RectVisible(HDC
, CONST RECT
*);
6826 Rectangle(HDC
, int, int, int, int);
6830 RestoreDC(HDC
, int);
6834 RealizePalette(HDC
);
6838 RoundRect(HDC
, int, int, int, int, int, int);
6842 ResizePalette(HPALETTE
, UINT
);
6850 SelectClipRgn(HDC
, HRGN
);
6854 ExtSelectClipRgn(HDC
, HRGN
, int);
6862 SelectObject(HDC
, HGDIOBJ
);
6866 SelectPalette(HDC
, HPALETTE
, WINBOOL
);
6870 SetBkColor(HDC
, COLORREF
);
6874 SetBkMode(HDC
, int);
6878 SetBitmapBits(HBITMAP
, DWORD
, CONST VOID
*);
6882 SetBoundsRect(HDC
, CONST RECT
*, UINT
);
6886 SetDIBits(HDC
, HBITMAP
, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6890 SetDIBitsToDevice(HDC
, int, int, DWORD
, DWORD
, int,
6891 int, UINT
, UINT
, CONST VOID
*, CONST BITMAPINFO
*, UINT
);
6895 SetMapperFlags(HDC
, DWORD
);
6899 SetGraphicsMode(HDC hdc
, int iMode
);
6903 SetMapMode(HDC
, int);
6907 SetMetaFileBitsEx(UINT
, CONST BYTE
*);
6911 SetPaletteEntries(HPALETTE
, UINT
, UINT
, CONST PALETTEENTRY
*);
6915 SetPixel(HDC
, int, int, COLORREF
);
6919 SetPixelV(HDC
, int, int, COLORREF
);
6923 SetPolyFillMode(HDC
, int);
6927 StretchBlt(HDC
, int, int, int, int, HDC
, int, int, int, int, DWORD
);
6931 SetRectRgn(HRGN
, int, int, int, int);
6934 StretchDIBits(HDC
, int, int, int, int, int, int, int, int, CONST
6935 VOID
*, CONST BITMAPINFO
*, UINT
, DWORD
);
6943 SetStretchBltMode(HDC
, int);
6947 SetSystemPaletteUse(HDC
, UINT
);
6951 SetTextCharacterExtra(HDC
, int);
6955 SetTextColor(HDC
, COLORREF
);
6959 SetTextAlign(HDC
, UINT
);
6963 SetTextJustification(HDC
, int, int);
6971 PlayMetaFileRecord(HDC
, LPHANDLETABLE
, LPMETARECORD
, UINT
);
6975 EnumMetaFile(HDC
, HMETAFILE
, ENUMMETAFILEPROC
, LPARAM
);
6979 CloseEnhMetaFile(HDC
);
6983 DeleteEnhMetaFile(HENHMETAFILE
);
6987 EnumEnhMetaFile(HDC
, HENHMETAFILE
, ENHMETAFILEPROC
,
6988 LPVOID
, CONST RECT
*);
6992 GetEnhMetaFileHeader(HENHMETAFILE
, UINT
, LPENHMETAHEADER
);
6996 GetEnhMetaFilePaletteEntries(HENHMETAFILE
, UINT
, LPPALETTEENTRY
);
7000 GetWinMetaFileBits(HENHMETAFILE
, UINT
, LPBYTE
, INT
, HDC
);
7004 PlayEnhMetaFile(HDC
, HENHMETAFILE
, CONST RECT
*);
7008 PlayEnhMetaFileRecord(HDC
, LPHANDLETABLE
, CONST ENHMETARECORD
*, UINT
);
7012 SetEnhMetaFileBits(UINT
, CONST BYTE
*);
7017 SetWinMetaFileBits(UINT
, CONST BYTE
*, HDC
, CONST METAFILEPICT
*);
7022 GdiComment(HDC
, UINT
, CONST BYTE
*);
7026 AngleArc(HDC
, int, int, DWORD
, FLOAT
, FLOAT
);
7030 PolyPolyline(HDC
, CONST POINT
*, CONST DWORD
*, DWORD
);
7034 GetWorldTransform(HDC
, LPXFORM
);
7038 SetWorldTransform(HDC
, CONST XFORM
*);
7042 ModifyWorldTransform(HDC
, CONST XFORM
*, DWORD
);
7046 CombineTransform(LPXFORM
, CONST XFORM
*, CONST XFORM
*);
7050 CreateDIBSection(HDC
, CONST BITMAPINFO
*, UINT
, VOID
*, HANDLE
, DWORD
);
7054 GetDIBColorTable(HDC
, UINT
, UINT
, RGBQUAD
*);
7058 SetDIBColorTable(HDC
, UINT
, UINT
, CONST RGBQUAD
*);
7062 SetColorAdjustment(HDC
, CONST COLORADJUSTMENT
*);
7066 GetColorAdjustment(HDC
, LPCOLORADJUSTMENT
);
7070 CreateHalftonePalette(HDC
);
7090 SetAbortProc(HDC
, ABORTPROC
);
7098 ArcTo(HDC
, int, int, int, int, int, int,int, int);
7122 GetPath(HDC
, LPPOINT
, LPBYTE
, int);
7130 PolyDraw(HDC
, CONST POINT
*, CONST BYTE
*, int);
7134 SelectClipPath(HDC
, int);
7138 SetArcDirection(HDC
, int);
7142 SetMiterLimit(HDC
, FLOAT
, PFLOAT
);
7146 StrokeAndFillPath(HDC
);
7158 ExtCreatePen(DWORD
, DWORD
, CONST LOGBRUSH
*, DWORD
, CONST DWORD
*);
7162 GetMiterLimit(HDC
, PFLOAT
);
7166 GetArcDirection(HDC
);
7170 MoveToEx(HDC
, int, int, LPPOINT
);
7174 CreatePolygonRgn(CONST POINT
*, int, int);
7178 DPtoLP(HDC
, LPPOINT
, int);
7182 LPtoDP(HDC
, LPPOINT
, int);
7186 Polygon(HDC
, CONST POINT
*, int);
7190 Polyline(HDC
, CONST POINT
*, int);
7194 PolyBezier(HDC
, CONST POINT
*, DWORD
);
7198 PolyBezierTo(HDC
, CONST POINT
*, DWORD
);
7202 PolylineTo(HDC
, CONST POINT
*, DWORD
);
7206 SetViewportExtEx(HDC
, int, int, LPSIZE
);
7210 SetViewportOrgEx(HDC
, int, int, LPPOINT
);
7214 SetWindowExtEx(HDC
, int, int, LPSIZE
);
7218 SetWindowOrgEx(HDC
, int, int, LPPOINT
);
7222 OffsetViewportOrgEx(HDC
, int, int, LPPOINT
);
7226 OffsetWindowOrgEx(HDC
, int, int, LPPOINT
);
7230 ScaleViewportExtEx(HDC
, int, int, int, int, LPSIZE
);
7234 ScaleWindowExtEx(HDC
, int, int, int, int, LPSIZE
);
7238 SetBitmapDimensionEx(HBITMAP
, int, int, LPSIZE
);
7242 SetBrushOrgEx(HDC
, int, int, LPPOINT
);
7246 GetDCOrgEx(HDC
,LPPOINT
);
7250 FixBrushOrgEx(HDC
,int,int,LPPOINT
);
7254 UnrealizeObject(HGDIOBJ
);
7262 GdiSetBatchLimit(DWORD
);
7266 GdiGetBatchLimit(void);
7270 SetICMMode(HDC
, int);
7274 CheckColorsInGamut(HDC
,LPVOID
,LPVOID
,DWORD
);
7282 SetColorSpace(HDC
,HCOLORSPACE
);
7286 DeleteColorSpace(HCOLORSPACE
);
7290 GetDeviceGammaRamp(HDC
,LPVOID
);
7294 SetDeviceGammaRamp(HDC
,LPVOID
);
7298 ColorMatchToTarget(HDC
,HDC
,DWORD
);
7302 CreatePropertySheetPageA(LPCPROPSHEETPAGEA lppsp
);
7306 DestroyPropertySheetPage(HPROPSHEETPAGE hPSPage
);
7310 InitCommonControls(void);
7312 #define ImageList_AddIcon(himl, hicon) ImageList_ReplaceIcon(himl, -1, hicon)
7316 ImageList_Create(int cx
, int cy
, UINT flags
,
7317 int cInitial
, int cGrow
);
7321 ImageList_Destroy(HIMAGELIST himl
);
7325 ImageList_GetImageCount(HIMAGELIST himl
);
7329 ImageList_Add(HIMAGELIST himl
, HBITMAP hbmImage
,
7334 ImageList_ReplaceIcon(HIMAGELIST himl
, int i
, HICON hicon
);
7338 ImageList_SetBkColor(HIMAGELIST himl
, COLORREF clrBk
);
7342 ImageList_GetBkColor(HIMAGELIST himl
);
7346 ImageList_SetOverlayImage(HIMAGELIST himl
, int iImage
,
7351 ImageList_Draw(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, UINT fStyle
);
7355 ImageList_Replace(HIMAGELIST himl
, int i
, HBITMAP hbmImage
, HBITMAP hbmMask
);
7359 ImageList_AddMasked(HIMAGELIST himl
, HBITMAP hbmImage
, COLORREF crMask
);
7363 ImageList_DrawEx(HIMAGELIST himl
, int i
, HDC hdcDst
, int x
, int y
, int dx
, int dy
, COLORREF rgbBk
, COLORREF rgbFg
, UINT fStyle
);
7367 ImageList_Remove(HIMAGELIST himl
, int i
);
7371 ImageList_GetIcon(HIMAGELIST himl
, int i
, UINT flags
);
7375 ImageList_BeginDrag(HIMAGELIST himlTrack
, int iTrack
, int dxHotspot
, int dyHotspot
);
7379 ImageList_EndDrag(void);
7383 ImageList_DragEnter(HWND hwndLock
, int x
, int y
);
7387 ImageList_DragLeave(HWND hwndLock
);
7391 ImageList_DragMove(int x
, int y
);
7395 ImageList_SetDragCursorImage(HIMAGELIST himlDrag
, int iDrag
, int dxHotspot
, int dyHotspot
);
7399 ImageList_DragShowNolock(WINBOOL fShow
);
7403 ImageList_GetDragImage(POINT
* ppt
,POINT
* pptHotspot
);
7407 ImageList_GetIconSize(HIMAGELIST himl
, int *cx
, int *cy
);
7411 ImageList_SetIconSize(HIMAGELIST himl
, int cx
, int cy
);
7415 ImageList_GetImageInfo(HIMAGELIST himl
, int i
, IMAGEINFO
* pImageInfo
);
7419 ImageList_Merge(HIMAGELIST himl1
, int i1
, HIMAGELIST himl2
, int i2
, int dx
, int dy
);
7423 CreateToolbarEx(HWND hwnd
, DWORD ws
, UINT wID
, int nBitmaps
,
7424 HINSTANCE hBMInst
, UINT wBMID
, LPCTBBUTTON lpButtons
,
7425 int iNumButtons
, int dxButton
, int dyButton
,
7426 int dxBitmap
, int dyBitmap
, UINT uStructSize
);
7430 CreateMappedBitmap(HINSTANCE hInstance
, int idBitmap
,
7431 UINT wFlags
, LPCOLORMAP lpColorMap
,
7437 MenuHelp(UINT uMsg
, WPARAM wParam
, LPARAM lParam
, HMENU hMainMenu
, HINSTANCE hInst
, HWND hwndStatus
, UINT
*lpwIDs
);
7441 ShowHideMenuCtl(HWND hWnd
, UINT uFlags
, LPINT lpInfo
);
7445 GetEffectiveClientRect(HWND hWnd
, LPRECT lprc
, LPINT lpInfo
);
7449 MakeDragList(HWND hLB
);
7453 DrawInsert(HWND handParent
, HWND hLB
, int nItem
);
7457 LBItemFromPt(HWND hLB
, POINT pt
, WINBOOL bAutoScroll
);
7461 CreateUpDownControl(DWORD dwStyle
, int x
, int y
, int cx
, int cy
,
7462 HWND hParent
, int nID
, HINSTANCE hInst
,
7464 int nUpper
, int nLower
, int nPos
);
7468 CommDlgExtendedError(VOID
);
7470 /* Animation controls */
7472 #define Animate_Create(hwndP, id, dwStyle, hInstance) CreateWindow(ANIMATE_CLASS, NULL, dwStyle, 0, 0, 0, 0, hwndP, (HMENU)(id), hInstance, NULL)
7474 #define Animate_Open(hwnd, szName) SendMessage(hwnd, ACM_OPEN, 0, (LPARAM)(LPTSTR)(szName))
7476 #define Animate_Play(hwnd, from, to, rep) SendMessage(hwnd, ACM_PLAY, (WPARAM)(UINT)(rep), (LPARAM)MAKELONG(from, to))
7478 #define Animate_Stop(hwnd) SendMessage(hwnd, ACM_STOP, 0, 0)
7480 #define Animate_Close(hwnd) Animate_Open(hwnd, NULL)
7482 #define Animate_Seek(hwnd, frame) Animate_Play(hwnd, frame, frame, 1)
7484 /* Property sheet macros */
7486 #define PropSheet_AddPage(hPropSheetDlg, hpage) SendMessage(hPropSheetDlg, PSM_ADDPAGE, 0, (LPARAM)(HPROPSHEETPAGE)hpage)
7488 #define PropSheet_Apply(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_APPLY, 0, 0)
7490 #define PropSheet_CancelToClose(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_CANCELTOCLOSE, 0, 0)
7492 #define PropSheet_Changed(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_CHANGED, (WPARAM)(HWND)hwndPage, 0)
7494 #define PropSheet_GetCurrentPageHwnd(hDlg) SendMessage(hDlg, PSM_GETCURRENTPAGEHWND, 0, 0)
7496 #define PropSheet_GetTabControl(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_GETTABCONTROL, 0, 0)
7498 #define PropSheet_IsDialogMessage(hDlg, pMsg) SendMessage(hDlg, PSM_ISDIALOGMESSAGE, 0, (LPARAM)pMsg)
7500 #define PropSheet_PressButton(hPropSheetDlg, iButton) SendMessage(hPropSheetDlg, PSM_PRESSBUTTON, (WPARAM)(int)iButton, 0)
7502 #define PropSheet_QuerySiblings(hPropSheetDlg, param1, param2) SendMessage(hPropSheetDlg, PSM_QUERYSIBLINGS, (WPARAM)param1, (LPARAM)param2)
7504 #define PropSheet_RebootSystem(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_REBOOTSYSTEM, 0, 0)
7506 #define PropSheet_RemovePage(hPropSheetDlg, index, hpage) SendMessage(hPropSheetDlg, PSM_REMOVEPAGE, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
7508 #define PropSheet_RestartWindows(hPropSheetDlg) SendMessage(hPropSheetDlg, PSM_RESTARTWINDOWS, 0, 0)
7510 #define PropSheet_SetCurSel(hPropSheetDlg, hpage, index) SendMessage(hPropSheetDlg, PSM_SETCURSEL, (WPARAM)(int)index, (LPARAM)(HPROPSHEETPAGE)hpage)
7512 #define PropSheet_SetCurSelByID(hPropSheetDlg, id) SendMessage(hPropSheetDlg, PSM_SETCURSELID, 0, (LPARAM)(int)id)
7514 #define PropSheet_SetFinishText(hPropSheetDlg, lpszText) SendMessage(hPropSheetDlg, PSM_SETFINISHTEXT, 0, (LPARAM)(LPTSTR)lpszText)
7516 #define PropSheet_SetTitle(hPropSheetDlg, dwStyle, lpszText) SendMessage(hPropSheetDlg, PSM_SETTITLE, (WPARAM)(DWORD)dwStyle, (LPARAM)(LPCTSTR)lpszText)
7518 #define PropSheet_SetWizButtons(hPropSheetDlg, dwFlags) SendMessage(hPropSheetDlg, PSM_SETWIZBUTTONS, 0, (LPARAM)(DWORD)dwFlags)
7520 #define PropSheet_UnChanged(hPropSheetDlg, hwndPage) SendMessage(hPropSheetDlg, PSM_UNCHANGED, (WPARAM)(HWND)hwndPage, 0)
7522 /* Header control */
7523 #define Header_DeleteItem(hwndHD, index) (BOOL)SendMessage((hwndHD), HDM_DELETEITEM, (WPARAM)(int)(index), 0L)
7525 #define Header_GetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_GETITEM, (WPARAM)(int)(index), (LPARAM)(HD_ITEM FAR*)(phdi))
7527 #define Header_GetItemCount(hwndHD) (int)SendMessage((hwndHD), HDM_GETITEMCOUNT, 0, 0L)
7529 #define Header_InsertItem(hwndHD, index, phdi) (int)SendMessage((hwndHD), HDM_INSERTITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
7531 #define Header_Layout(hwndHD, playout) (BOOL)SendMessage((hwndHD), HDM_LAYOUT, 0, (LPARAM)(HD_LAYOUT FAR*)(playout))
7533 #define Header_SetItem(hwndHD, index, phdi) (BOOL)SendMessage((hwndHD), HDM_SETITEM, (WPARAM)(int)(index), (LPARAM)(const HD_ITEM FAR*)(phdi))
7536 #define ListView_Arrange(hwndLV, code) SendMessage((hwndLV), LVM_ARRANGE, (WPARAM)(UINT)(code), 0)
7538 #define ListView_CreateDragImage(hwnd, i, lpptUpLeft) SendMessage((hwnd), LVM_CREATEDRAGIMAGE, (WPARAM)(int)(i), (LPARAM)(LPPOINT)(lpptUpLeft))
7540 #define ListView_DeleteAllItems(hwnd) SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0)
7542 #define ListView_DeleteColumn(hwnd, iCol) SendMessage((hwnd), LVM_DELETECOLUMN, (WPARAM)(int)(iCol), 0)
7544 #define ListView_DeleteItem(hwnd, iItem) SendMessage(hwnd, LVM_DELETEITEM, (WPARAM)(int)iItem, 0)
7546 #define ListView_EditLabel(hwndLV, i) SendMessage((hwndLV), LVM_EDITLABEL, (WPARAM)(int)i, 0)
7548 #define ListView_EnsureVisible(hwndLV, i, fPartialOK) SendMessage(hwndLV, LVM_ENSUREVISIBLE, (WPARAM)(int)i, MAKELPARAM((fPartialOK), 0))
7550 #define ListView_FindItem(hwnd, iStart, plvfi) SendMessage(hwnd, LVM_FINDITEM, (WPARAM)(int)iStart, (LPARAM)(const LV_FINDINFO *)plvfi)
7552 #define ListView_GetBkColor(hwnd) SendMessage((HWND)hwnd, LVM_GETBKCOLOR, 0, 0)
7554 #define ListView_GetCallbackMask(hwnd) SendMessage(hwnd, LVM_GETCALLBACKMASK, 0, 0)
7556 #define ListView_GetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_GETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(LV_COLUMN *)(pcol))
7558 #define ListView_GetColumnWidth(hwnd, iCol) SendMessage((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0)
7560 #define ListView_GetCountPerPage(hwndLV) SendMessage((hwndLV), LVM_GETCOUNTPERPAGE, 0, 0)
7562 #define ListView_GetEditControl(hwndLV) SendMessage((hwndLV), LVM_GETEDITCONTROL, 0, 0)
7564 #define ListView_GetImageList(hwnd, iImageList) SendMessage(hwnd, LVM_GETIMAGELIST, (WPARAM)(INT)iImageList, 0)
7566 #define ListView_GetISearchString(hwndLV, lpsz) SendMessage((hwndLV), LVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
7568 #define ListView_GetItem(hwnd, pitem) SendMessage(hwnd, LVM_GETITEM, 0, (LPARAM)(LV_ITEM *)(pitem))
7570 #define ListView_GetItemCount(hwnd) SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0)
7572 #define ListView_GetItemPosition(hwndLV, i, ppt) SendMessage(hwndLV, LVM_GETITEMPOSITION, (WPARAM)(int)i, (LPARAM)(POINT *)ppt)
7574 #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))
7576 #define ListView_GetItemSpacing(hwndLV, fSmall) SendMessage((hwndLV), LVM_GETITEMSPACING, fSmall, 0)
7578 #define ListView_GetItemState(hwndLV, i, mask) SendMessage((hwndLV), LVM_GETITEMSTATE, (WPARAM)i, (LPARAM)mask)
7580 #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);}
7582 #define ListView_GetNextItem(hwnd, iStart, flags) SendMessage(hwnd, LVM_GETNEXTITEM, (WPARAM)(int)iStart, (LPARAM)flags)
7584 #define ListView_GetOrigin(hwndLV, ppt) SendMessage((hwndLV), LVM_GETORIGIN, (WPARAM)0, (LPARAM)(POINT *)(ppt))
7586 #define ListView_GetSelectedCount(hwndLV) SendMessage((hwndLV), LVM_GETSELECTEDCOUNT, 0, 0)
7588 #define ListView_GetStringWidth(hwndLV, psz) SendMessage(hwndLV, LVM_GETSTRINGWIDTH, 0, (LPARAM)(LPCTSTR)psz)
7590 #define ListView_GetTextBkColor(hwnd) SendMessage((hwnd), LVM_GETTEXTBKCOLOR, 0, 0)
7592 #define ListView_GetTextColor(hwnd) SendMessage((hwnd), LVM_GETTEXTCOLOR, 0, 0)
7594 #define ListView_GetTopIndex(hwndLV) SendMessage((hwndLV), LVM_GETTOPINDEX, 0, 0)
7596 #define ListView_GetViewRect(hwnd, prc) SendMessage((hwnd), LVM_GETVIEWRECT, 0, (LPARAM)(RECT *)(prc))
7598 #define ListView_HitTest(hwndLV, pinfo) SendMessage(hwndLV, LVM_HITTEST, 0, (LPARAM)(LV_HITTESTINFO *)pinfo)
7600 #define ListView_InsertColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_INSERTCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
7602 #define ListView_InsertItem(hwnd, pitem) SendMessage(hwnd, LVM_INSERTITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
7604 #define ListView_RedrawItems(hwndLV, iFirst, iLast) SendMessage((hwndLV), LVM_REDRAWITEMS, (WPARAM)(int)iFirst, (LPARAM)(int)iLast)
7606 #define ListView_Scroll(hwndLV, dx, dy) SendMessage((hwndLV), LVM_SCROLL, (WPARAM)(int)dx, (LPARAM)(int)dy)
7608 #define ListView_SetBkColor(hwnd, clrBk) SendMessage(hwnd, LVM_SETBKCOLOR, 0, (LPARAM)(COLORREF)clrBk)
7610 #define ListView_SetCallbackMask(hwnd, mask) SendMessage(hwnd, LVM_SETCALLBACKMASK, (WPARAM)(UINT)(mask), 0)
7612 #define ListView_SetColumn(hwnd, iCol, pcol) SendMessage((hwnd), LVM_SETCOLUMN, (WPARAM)(int)(iCol), (LPARAM)(const LV_COLUMN *)(pcol))
7614 #define ListView_SetColumnWidth(hwnd, iCol, cx) SendMessage((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0))
7617 #define ListView_SetImageList(hwnd, himl, iImageList) SendMessage(hwnd, LVM_SETIMAGELIST, (WPARAM)(iImageList), (LPARAM)(UINT)(HIMAGELIST)(himl))
7619 #define ListView_SetItem(hwnd, pitem) SendMessage(hwnd, LVM_SETITEM, 0, (LPARAM)(const LV_ITEM *)pitem)
7621 #define ListView_SetItemCount(hwndLV, cItems) SendMessage((hwndLV), LVM_SETITEMCOUNT, (WPARAM)cItems, 0)
7623 #define ListView_SetItemPosition(hwndLV, i, x, y) SendMessage(hwndLV, LVM_SETITEMPOSITION, (WPARAM)(int)(i), MAKELPARAM((x), (y)))
7625 #define ListView_SetItemPosition32(hwndLV, i, x, y) { POINT ptNewPos = {x,y}; SendMessage((hwndLV), LVM_SETITEMPOSITION32, (WPARAM)(int)(i), (LPARAM)&ptNewPos); }
7627 #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);}
7629 #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);}
7631 #define ListView_SetTextBkColor(hwnd, clrTextBk) SendMessage((hwnd), LVM_SETTEXTBKCOLOR, 0, (LPARAM)(COLORREF)(clrTextBk))
7633 #define ListView_SetTextColor(hwnd, clrText) SendMessage((hwnd), LVM_SETTEXTCOLOR, 0, (LPARAM)(COLORREF)(clrText))
7635 #define ListView_SortItems(hwndLV, _pfnCompare, _lPrm) SendMessage((hwndLV), LVM_SORTITEMS, (WPARAM)(LPARAM)_lPrm, (LPARAM)(PFNLVCOMPARE)_pfnCompare)
7637 #define ListView_Update(hwndLV, i) SendMessage((hwndLV), LVM_UPDATE, (WPARAM)i, 0)
7640 #define TreeView_InsertItem(hwnd, lpis) SendMessage((hwnd), TVM_INSERTITEM, 0, (LPARAM)(LPTV_INSERTSTRUCT)(lpis))
7642 #define TreeView_DeleteItem(hwnd, hitem) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)(HTREEITEM)(hitem))
7644 #define TreeView_DeleteAllItems(hwnd) SendMessage((hwnd), TVM_DELETEITEM, 0, (LPARAM)TVI_ROOT)
7646 #define TreeView_Expand(hwnd, hitem, code) SendMessage((hwnd), TVM_EXPAND, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
7648 #define TreeView_GetItemRect(hwnd, hitem, prc, code) SendMessage((hwnd), TVM_GETITEMRECT, (WPARAM)(code), (LPARAM)(RECT *)(prc)))
7650 #define TreeView_GetCount(hwnd) SendMessage((hwnd), TVM_GETCOUNT, 0, 0)
7652 #define TreeView_GetIndent(hwnd) SendMessage((hwnd), TVM_GETINDENT, 0, 0)
7654 #define TreeView_SetIndent(hwnd, indent) SendMessage((hwnd), TVM_SETINDENT, (WPARAM)indent, 0)
7656 #define TreeView_GetImageList(hwnd, iImage) SendMessage((hwnd), TVM_GETIMAGELIST, iImage, 0)
7658 #define TreeView_SetImageList(hwnd, himl, iImage) SendMessage((hwnd), TVM_SETIMAGELIST, iImage, (LPARAM)(UINT)(HIMAGELIST)(himl))
7660 #define TreeView_GetNextItem(hwnd, hitem, code) SendMessage((hwnd), TVM_GETNEXTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
7662 #define TreeView_GetChild(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_CHILD)
7664 #define TreeView_GetNextSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXT)
7666 #define TreeView_GetPrevSibling(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUS)
7668 #define TreeView_GetParent(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PARENT)
7670 #define TreeView_GetFirstVisible(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_FIRSTVISIBLE)
7672 #define TreeView_GetNextVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_NEXTVISIBLE)
7674 #define TreeView_GetPrevVisible(hwnd, hitem) TreeView_GetNextItem(hwnd, hitem, TVGN_PREVIOUSVISIBLE)
7676 #define TreeView_GetSelection(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_CARET)
7678 #define TreeView_GetDropHilight(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_DROPHILITE)
7680 #define TreeView_GetRoot(hwnd) TreeView_GetNextItem(hwnd, NULL, TVGN_ROOT)
7682 #define TreeView_Select(hwnd, hitem, code) SendMessage((hwnd), TVM_SELECTITEM, (WPARAM)code, (LPARAM)(HTREEITEM)(hitem))
7685 #define TreeView_SelectItem(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_CARET)
7687 #define TreeView_SelectDropTarget(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_DROPHILITE)
7689 #define TreeView_SelectSetFirstVisible(hwnd, hitem) TreeView_Select(hwnd, hitem, TVGN_FIRSTVISIBLE)
7691 #define TreeView_GetItem(hwnd, pitem) SendMessage((hwnd), TVM_GETITEM, 0, (LPARAM)(TV_ITEM *)(pitem))
7693 #define TreeView_SetItem(hwnd, pitem) SendMessage((hwnd), TVM_SETITEM, 0, (LPARAM)(const TV_ITEM *)(pitem))
7695 #define TreeView_EditLabel(hwnd, hitem) SendMessage((hwnd), TVM_EDITLABEL, 0, (LPARAM)(HTREEITEM)(hitem))
7697 #define TreeView_GetEditControl(hwnd) SendMessage((hwnd), TVM_GETEDITCONTROL, 0, 0)
7699 #define TreeView_GetVisibleCount(hwnd) SendMessage((hwnd), TVM_GETVISIBLECOUNT, 0, 0)
7701 #define TreeView_HitTest(hwnd, lpht) SendMessage((hwnd), TVM_HITTEST, 0, (LPARAM)(LPTV_HITTESTINFO)(lpht))
7703 #define TreeView_CreateDragImage(hwnd, hitem) SendMessage((hwnd), TVM_CREATEDRAGIMAGE, 0, (LPARAM)(HTREEITEM)(hitem))
7705 #define TreeView_SortChildren(hwnd, hitem, recurse) SendMessage((hwnd), TVM_SORTCHILDREN, (WPARAM)recurse, (LPARAM)(HTREEITEM)(hitem))
7707 #define TreeView_EnsureVisible(hwnd, hitem) SendMessage((hwnd), TVM_ENSUREVISIBLE, 0, (LPARAM)(HTREEITEM)(hitem))
7709 #define TreeView_SortChildrenCB(hwnd, psort, recurse) SendMessage((hwnd), TVM_SORTCHILDRENCB, (WPARAM)recurse, (LPARAM)(LPTV_SORTCB)(psort))
7711 #define TreeView_EndEditLabelNow(hwnd, fCancel) SendMessage((hwnd), TVM_ENDEDITLABELNOW, (WPARAM)fCancel, 0)
7713 #define TreeView_GetISearchString(hwndTV, lpsz) SendMessage((hwndTV), TVM_GETISEARCHSTRING, 0, (LPARAM)(LPTSTR)lpsz)
7717 #define TabCtrl_GetImageList(hwnd) SendMessage((hwnd), TCM_GETIMAGELIST, 0, 0)
7719 #define TabCtrl_SetImageList(hwnd, himl) SendMessage((hwnd), TCM_SETIMAGELIST, 0, (LPARAM)(UINT)(HIMAGELIST)(himl))
7721 #define TabCtrl_GetItemCount(hwnd) SendMessage((hwnd), TCM_GETITEMCOUNT, 0, 0)
7723 #define TabCtrl_GetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_GETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
7725 #define TabCtrl_SetItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_SETITEM, (WPARAM)(int)iItem, (LPARAM)(TC_ITEM *)(pitem))
7727 #define TabCtrl_InsertItem(hwnd, iItem, pitem) SendMessage((hwnd), TCM_INSERTITEM, (WPARAM)(int)iItem, (LPARAM)(const TC_ITEM *)(pitem))
7729 #define TabCtrl_DeleteItem(hwnd, i) SendMessage((hwnd), TCM_DELETEITEM, (WPARAM)(int)(i), 0)
7731 #define TabCtrl_DeleteAllItems(hwnd) SendMessage((hwnd), TCM_DELETEALLITEMS, 0, 0)
7733 #define TabCtrl_GetItemRect(hwnd, i, prc) SendMessage((hwnd), TCM_GETITEMRECT, (WPARAM)(int)(i), (LPARAM)(RECT *)(prc))
7735 #define TabCtrl_GetCurSel(hwnd) SendMessage((hwnd), TCM_GETCURSEL, 0, 0)
7737 #define TabCtrl_SetCurSel(hwnd, i) SendMessage((hwnd), TCM_SETCURSEL, (WPARAM)i, 0)
7739 #define TabCtrl_HitTest(hwndTC, pinfo) SendMessage((hwndTC), TCM_HITTEST, 0, (LPARAM)(TC_HITTESTINFO *)(pinfo))
7741 #define TabCtrl_SetItemExtra(hwndTC, cb) SendMessage((hwndTC), TCM_SETITEMEXTRA, (WPARAM)(cb), 0)
7743 #define TabCtrl_AdjustRect(hwnd, bLarger, prc) SendMessage(hwnd, TCM_ADJUSTRECT, (WPARAM)(WINBOOL)bLarger, (LPARAM)(RECT *)prc)
7745 #define TabCtrl_SetItemSize(hwnd, x, y) SendMessage((hwnd), TCM_SETITEMSIZE, 0, MAKELPARAM(x,y))
7747 #define TabCtrl_RemoveImage(hwnd, i) SendMessage((hwnd), TCM_REMOVEIMAGE, i, 0)
7749 #define TabCtrl_SetPadding(hwnd, cx, cy) SendMessage((hwnd), TCM_SETPADDING, 0, MAKELPARAM(cx, cy))
7751 #define TabCtrl_GetRowCount(hwnd) SendMessage((hwnd), TCM_GETROWCOUNT, 0, 0)
7753 #define TabCtrl_GetToolTips(hwnd) SendMessage((hwnd), TCM_GETTOOLTIPS, 0, 0)
7755 #define TabCtrl_SetToolTips(hwnd, hwndTT) SendMessage((hwnd), TCM_SETTOOLTIPS, (WPARAM)hwndTT, 0)
7757 #define TabCtrl_GetCurFocus(hwnd) SendMessage((hwnd), TCM_GETCURFOCUS, 0, 0)
7759 #define TabCtrl_SetCurFocus(hwnd, i) SendMessage((hwnd),TCM_SETCURFOCUS, i, 0)
7761 #define CommDlg_OpenSave_GetSpecA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
7763 #define CommDlg_OpenSave_GetSpecW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETSPEC, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
7765 #ifndef _DISABLE_TIDENTS
7767 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecW
7769 #define CommDlg_OpenSave_GetSpec CommDlg_OpenSave_GetSpecA
7770 #endif /* !UNICODE */
7771 #endif /* _DISABLE_TIDENTS */
7773 #define CommDlg_OpenSave_GetFilePathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
7775 #define CommDlg_OpenSave_GetFilePathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFILEPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
7777 #ifndef _DISABLE_TIDENTS
7779 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathW
7781 #define CommDlg_OpenSave_GetFilePath CommDlg_OpenSave_GetFilePathA
7782 #endif /* !UNICODE */
7783 #endif /* _DISABLE_TIDENTS */
7785 #define CommDlg_OpenSave_GetFolderPathA(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPSTR)_psz)
7787 #define CommDlg_OpenSave_GetFolderPathW(_hdlg, _psz, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERPATH, (WPARAM)_cbmax, (LPARAM)(LPWSTR)_psz)
7789 #ifndef _DISABLE_TIDENTS
7791 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathW
7793 #define CommDlg_OpenSave_GetFolderPath CommDlg_OpenSave_GetFolderPathA
7794 #endif /* !UNICODE */
7795 #endif /* _DISABLE_TIDENTS */
7797 #define CommDlg_OpenSave_GetFolderIDList(_hdlg, _pidl, _cbmax) SNDMSG(_hdlg, CDM_GETFOLDERIDLIST, (WPARAM)_cbmax, (LPARAM)(LPVOID)_pidl)
7799 #define CommDlg_OpenSave_SetControlText(_hdlg, _id, _text) SNDMSG(_hdlg, CDM_SETCONTROLTEXT, (WPARAM)_id, (LPARAM)(LPSTR)_text)
7801 #define CommDlg_OpenSave_HideControl(_hdlg, _id) SNDMSG(_hdlg, CDM_HIDECONTROL, (WPARAM)_id, 0)
7803 #define CommDlg_OpenSave_SetDefExt(_hdlg, _pszext) SNDMSG(_hdlg, CDM_SETDEFEXT, 0, (LPARAM)(LPSTR)_pszext)
7815 SECURITY_INFORMATION SecurityInformation
,
7816 PSECURITY_DESCRIPTOR pSecurityDescriptor
7829 SECURITY_INFORMATION SecurityInformation
,
7830 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
7831 LPDWORD lpcbSecurityDescriptor
7836 RegNotifyChangeKeyValue (
7838 WINBOOL bWatchSubtree
,
7839 DWORD dwNotifyFilter
,
7841 WINBOOL fAsynchronus
7862 GetCPInfo(UINT
, LPCPINFO
);
7880 MultiByteToWideChar(
7883 LPCSTR lpMultiByteStr
,
7885 LPWSTR lpWideCharStr
,
7891 WideCharToMultiByte(
7894 LPCWSTR lpWideCharStr
,
7896 LPSTR lpMultiByteStr
,
7898 LPCSTR lpDefaultChar
,
7899 LPBOOL lpUsedDefaultChar
);
7910 ConvertDefaultLocale(
7916 GetThreadLocale(void);
7928 GetSystemDefaultLangID(void);
7933 GetUserDefaultLangID(void);
7938 GetSystemDefaultLCID(void);
7943 GetUserDefaultLCID(void);
7948 ReadConsoleOutputAttribute(
7949 HANDLE hConsoleOutput
,
7953 LPDWORD lpNumberOfAttrsRead
7959 WriteConsoleOutputAttribute(
7960 HANDLE hConsoleOutput
,
7961 CONST WORD
*lpAttribute
,
7964 LPDWORD lpNumberOfAttrsWritten
7970 FillConsoleOutputAttribute(
7971 HANDLE hConsoleOutput
,
7975 LPDWORD lpNumberOfAttrsWritten
7982 HANDLE hConsoleHandle
,
7989 GetNumberOfConsoleInputEvents(
7990 HANDLE hConsoleInput
,
7991 LPDWORD lpNumberOfEvents
7997 GetConsoleScreenBufferInfo(
7998 HANDLE hConsoleOutput
,
7999 PCONSOLE_SCREEN_BUFFER_INFO lpConsoleScreenBufferInfo
8005 GetLargestConsoleWindowSize(
8006 HANDLE hConsoleOutput
8012 GetConsoleCursorInfo(
8013 HANDLE hConsoleOutput
,
8014 PCONSOLE_CURSOR_INFO lpConsoleCursorInfo
8020 GetNumberOfConsoleMouseButtons(
8021 LPDWORD lpNumberOfMouseButtons
8028 HANDLE hConsoleHandle
,
8035 SetConsoleActiveScreenBuffer(
8036 HANDLE hConsoleOutput
8042 FlushConsoleInputBuffer(
8043 HANDLE hConsoleInput
8049 SetConsoleScreenBufferSize(
8050 HANDLE hConsoleOutput
,
8057 SetConsoleCursorPosition(
8058 HANDLE hConsoleOutput
,
8059 COORD dwCursorPosition
8065 SetConsoleCursorInfo(
8066 HANDLE hConsoleOutput
,
8067 CONST CONSOLE_CURSOR_INFO
*lpConsoleCursorInfo
8072 SetConsoleWindowInfo(
8073 HANDLE hConsoleOutput
,
8075 CONST SMALL_RECT
*lpConsoleWindow
8081 SetConsoleTextAttribute(
8082 HANDLE hConsoleOutput
,
8089 SetConsoleCtrlHandler(
8090 PHANDLER_ROUTINE HandlerRoutine
,
8097 GenerateConsoleCtrlEvent(
8099 DWORD dwProcessGroupId
8105 AllocConsole( VOID
);
8110 FreeConsole( VOID
);
8116 CreateConsoleScreenBuffer(
8117 DWORD dwDesiredAccess
,
8119 CONST SECURITY_ATTRIBUTES
*lpSecurityAttributes
,
8121 LPVOID lpScreenBufferData
8127 GetConsoleCP( VOID
);
8139 GetConsoleOutputCP( VOID
);
8150 VerifyConsoleIoHandle(
8155 WNetConnectionDialog(
8161 WNetDisconnectDialog(
8183 LPSERVICE_STATUS lpServiceStatus
8194 LockServiceDatabase(
8195 SC_HANDLE hSCManager
8201 NotifyBootConfigStatus(
8202 WINBOOL BootAcceptable
8207 QueryServiceObjectSecurity(
8209 SECURITY_INFORMATION dwSecurityInformation
,
8210 PSECURITY_DESCRIPTOR lpSecurityDescriptor
,
8212 LPDWORD pcbBytesNeeded
8220 LPSERVICE_STATUS lpServiceStatus
8225 SetServiceObjectSecurity(
8227 SECURITY_INFORMATION dwSecurityInformation
,
8228 PSECURITY_DESCRIPTOR lpSecurityDescriptor
8235 SERVICE_STATUS_HANDLE hServiceStatus
,
8236 LPSERVICE_STATUS lpServiceStatus
8241 UnlockServiceDatabase(
8245 /* Extensions to OpenGL */
8248 ChoosePixelFormat(HDC
, CONST PIXELFORMATDESCRIPTOR
*);
8251 DescribePixelFormat(HDC
, int, UINT
, LPPIXELFORMATDESCRIPTOR
);
8254 GetEnhMetaFilePixelFormat(HENHMETAFILE
, DWORD
,
8255 CONST PIXELFORMATDESCRIPTOR
*);
8258 GetPixelFormat(HDC
);
8261 SetPixelFormat(HDC
, int, CONST PIXELFORMATDESCRIPTOR
*);
8267 wglCreateContext(HDC
);
8270 wglCreateLayerContext(HDC
, int);
8273 wglCopyContext(HGLRC
, HGLRC
, UINT
);
8276 wglDeleteContext(HGLRC
);
8279 wglDescribeLayerPlane(HDC
, int, int, UINT
, LPLAYERPLANEDESCRIPTOR
);
8282 wglGetCurrentContext(VOID
);
8285 wglGetCurrentDC(VOID
);
8288 wglGetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
8291 wglGetProcAddress(LPCSTR
);
8294 wglMakeCurrent(HDC
, HGLRC
);
8297 wglRealizeLayerPalette(HDC
, int, WINBOOL
);
8300 wglSetLayerPaletteEntries(HDC
, int, int, int, CONST COLORREF
*);
8303 wglShareLists(HGLRC
, HGLRC
);
8306 wglSwapLayerBuffers(HDC
, UINT
);
8309 Why are these different between ANSI and UNICODE?
8310 There doesn't seem to be any difference.
8313 #ifndef _DISABLE_TIDENTS
8315 #define wglUseFontBitmaps wglUseFontBitmapsW
8316 #define wglUseFontOutlines wglUseFontOutlinesW
8318 #define wglUseFontBitmaps wglUseFontBitmapsA
8319 #define wglUseFontOutlines wglUseFontOutlinesA
8320 #endif /* !UNICODE */
8321 #endif /* _DISABLE_TIDENTS */
8323 /* ------------------------------------- */
8324 /* From shellapi.h in old Cygnus headers */
8327 DragQueryPoint (HDROP
, LPPOINT
);
8333 DragAcceptFiles (HWND
, WINBOOL
);
8336 DuplicateIcon (HINSTANCE
, HICON
);
8338 /* end of stuff from shellapi.h in old Cygnus headers */
8339 /* -------------------------------------------------- */
8340 /* From ddeml.h in old Cygnus headers */
8342 HCONV WINAPI
DdeConnect (DWORD
, HSZ
, HSZ
, CONVCONTEXT
*);
8343 WINBOOL WINAPI
DdeDisconnect (HCONV
);
8344 WINBOOL WINAPI
DdeFreeDataHandle (HDDEDATA
);
8345 DWORD WINAPI
DdeGetData (HDDEDATA
, BYTE
*, DWORD
, DWORD
);
8346 UINT WINAPI
DdeGetLastError (DWORD
);
8347 HDDEDATA WINAPI
DdeNameService (DWORD
, HSZ
, HSZ
, UINT
);
8348 WINBOOL WINAPI
DdePostAdvise (DWORD
, HSZ
, HSZ
);
8349 HCONV WINAPI
DdeReconnect (HCONV
);
8350 WINBOOL WINAPI
DdeUninitialize (DWORD
);
8351 int WINAPI
DdeCmpStringHandles (HSZ
, HSZ
);
8352 HDDEDATA WINAPI
DdeCreateDataHandle (DWORD
, LPBYTE
, DWORD
, DWORD
, HSZ
,
8355 /* end of stuff from ddeml.h in old Cygnus headers */
8356 /* ----------------------------------------------- */
8358 DWORD STDCALL
NetUserEnum (LPWSTR
, DWORD
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
8360 DWORD STDCALL
NetApiBufferFree (LPVOID
);
8361 DWORD STDCALL
NetUserGetInfo (LPWSTR
, LPWSTR
, DWORD
, LPBYTE
);
8362 DWORD STDCALL
NetGetDCName (LPWSTR
, LPWSTR
, LPBYTE
*);
8363 DWORD STDCALL
NetGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
8365 DWORD STDCALL
NetLocalGroupEnum (LPWSTR
, DWORD
, LPBYTE
*, DWORD
, LPDWORD
,
8369 VOID
CopyMemory(PVOID Destination
, CONST VOID
* Source
, DWORD Length
);
8371 DWORD STDCALL
GetCurrentTime(VOID
);
8374 SHAddToRecentDocs (UINT
, LPCVOID
);
8377 SHBrowseForFolder (LPBROWSEINFO
);
8380 SHChangeNotify (LONG
, UINT
, LPCVOID
, LPCVOID
);
8383 SHFileOperationA (LPSHFILEOPSTRUCTA
);
8386 SHFileOperationW (LPSHFILEOPSTRUCTW
);
8389 SHFreeNameMappings (HANDLE
);
8391 /* Define when SHELLFOLDER is defined.
8393 SHGetDataFromIDList (LPSHELLFOLDER, LPCITEMIDLIST, int, PVOID, int);
8396 SHGetDesktopFolder (LPSHELLFOLDER);
8399 /* Define when IUnknown is defined.
8401 SHGetInstanceExplorer (IUnknown **);
8404 /* Define when MALLOC is defined.
8406 SHGetMalloc (LPMALLOC *);
8410 SHGetSpecialFolderLocation (HWND
, int, LPITEMIDLIST
*);
8412 /* Define when REFCLSID is defined.
8414 SHLoadInProc (REFCLSID);
8419 typedef VOID (WINAPI
* PFIBER_START_ROUTINE
) (LPVOID lpFiberArgument
);
8420 typedef PFIBER_START_ROUTINE LPFIBER_START_ROUTINE
;
8422 #define FIBER_FLAG_FLOAT_SWITCH (1)
8424 BOOL WINAPI
ConvertFiberToThread(void);
8426 LPVOID WINAPI
ConvertThreadToFiber(LPVOID lpParameter
);
8428 LPVOID WINAPI
ConvertThreadToFiberEx(LPVOID lpParameter
, DWORD dwFlags
);
8430 LPVOID WINAPI CreateFiber
8433 LPFIBER_START_ROUTINE lpStartAddress
,
8437 LPVOID WINAPI CreateFiberEx
8439 SIZE_T dwStackCommitSize
,
8440 SIZE_T dwStackReserveSize
,
8442 LPFIBER_START_ROUTINE lpStartAddress
,
8446 void WINAPI
DeleteFiber(LPVOID lpFiber
);
8448 void WINAPI
SwitchToFiber(LPVOID lpFiber
);
8450 #define GetFiberData() *(LPVOID *)(((PNT_TIB)NtCurrentTeb())->Fib.FiberData)
8453 RegisterServicesProcess(DWORD ServicesProcessId
);
8457 #endif /* __cplusplus */
8459 #endif /* WIN32_LEAN_AND_MEAN */
8461 #endif /* _GNU_H_WINDOWS32_FUNCTIONS */