4 Declarations for all the Windows32 API Unicode Functions
6 Copyright (C) 1996 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
11 This file is part of the Windows32 API Library.
13 This library is free software; you can redistribute it and/or
14 modify it under the terms of the GNU Library General Public
15 License as published by the Free Software Foundation; either
16 version 2 of the License, or (at your option) any later version.
18 This library is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 Library General Public License for more details.
23 If you are interested in a warranty or support for this source code,
24 contact Scott Christley <scottc@net-community.com> for more information.
26 You should have received a copy of the GNU Library General Public
27 License along with this library; see the file COPYING.LIB.
28 If not, write to the Free Software Foundation,
29 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 #ifndef _GNU_H_WINDOWS32_UNICODEFUNCTIONS
33 #define _GNU_H_WINDOWS32_UNICODEFUNCTIONS
37 #endif /* __cplusplus */
43 LPCWSTR lpBackupFileName
50 LPCWSTR lpBackupFileName
55 CreateProcessAsUserW (
57 LPCWSTR lpApplicationName
,
59 LPSECURITY_ATTRIBUTES lpProcessAttributes
,
60 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
61 WINBOOL bInheritHandles
,
62 DWORD dwCreationFlags
,
64 LPCWSTR lpCurrentDirectory
,
65 LPSTARTUPINFOW lpStartupInfo
,
66 LPPROCESS_INFORMATION lpProcessInformation
84 FileEncryptionStatusW(
91 GetCurrentHwProfileW (
92 LPHW_PROFILE_INFOW lpHwProfileInfo
102 DWORD dwLogonProvider
,
109 LPCWSTR lpszUsername
,
111 LPCWSTR lpszPassword
,
113 DWORD dwLogonProvider
,
116 PVOID
*ppProfileBuffer
,
117 LPDWORD pdwProfileLength
,
118 PQUOTA_LIMITS pQuotaLimits
123 OpenBackupEventLogW (
124 LPCWSTR lpUNCServerName
,
130 OpenEncryptedFileRawW(
139 LPCWSTR lpUNCServerName
,
148 DWORD dwRecordOffset
,
150 DWORD nNumberOfBytesToRead
,
152 DWORD
*pnMinNumberOfBytesNeeded
157 ChangeServiceConfig2W(
165 EnumServicesStatusExW(
166 SC_HANDLE hSCManager
,
167 SC_ENUM_TYPE InfoLevel
,
169 DWORD dwServiceState
,
172 LPDWORD pcbBytesNeeded
,
173 LPDWORD lpServicesReturned
,
174 LPDWORD lpResumeHandle
,
180 QueryServiceConfig2W(
185 LPDWORD pcbBytesNeeded
188 SERVICE_STATUS_HANDLE
190 RegisterServiceCtrlHandlerExW(
191 LPCWSTR lpServiceName
,
192 LPHANDLER_FUNCTION_EX lpHandlerProc
,
198 SendIMEMessageExW(HWND hwnd
,LPARAM lparam
);
202 IMPSetIMEW( HWND hwnd
, LPIMEPROW ime
);
206 IMPQueryIMEW( LPIMEPROW ime
);
210 IMPGetIMEW( HWND hwnd
, LPIMEPROW ime
);
223 UILANGUAGE_ENUMPROCW lpUILanguageEnumProc
,
229 EnumLanguageGroupLocalesW(
230 LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc
,
231 LGRPID LanguageGroup
,
237 EnumSystemLanguageGroupsW(
238 LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc
,
254 DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx
,
261 CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx
,
281 LPCPINFOEXW lpCPInfoEx
);
285 CheckNameLegalDOS8Dot3W(
287 LPSTR lpOemName OPTIONAL
,
288 DWORD OemNameSize OPTIONAL
,
289 PWINBOOL pbNameContainsSpaces OPTIONAL
,
297 LPCWSTR lpExistingFileName
,
298 LPSECURITY_ATTRIBUTES lpSecurityAttributes
304 LPSECURITY_ATTRIBUTES lpJobAttributes
,
310 DeleteVolumeMountPointW(
311 LPCWSTR lpszVolumeMountPoint
316 DnsHostnameToComputerNameW (
324 FindActCtxSectionStringW(
326 const GUID
*lpExtensionGuid
,
328 LPCWSTR lpStringToFind
,
329 PACTCTX_SECTION_KEYED_DATA ReturnedData
336 FINDEX_INFO_LEVELS fInfoLevelId
,
337 LPVOID lpFindFileData
,
338 FINDEX_SEARCH_OPS fSearchOp
,
339 LPVOID lpSearchFilter
,
340 DWORD dwAdditionalFlags
346 LPWSTR lpszVolumeName
,
347 DWORD cchBufferLength
352 FindFirstVolumeMountPointW(
353 LPCWSTR lpszRootPathName
,
354 LPWSTR lpszVolumeMountPoint
,
355 DWORD cchBufferLength
362 LPWSTR lpszVolumeName
,
363 DWORD cchBufferLength
368 FindNextVolumeMountPointW(
369 HANDLE hFindVolumeMountPoint
,
370 LPWSTR lpszVolumeMountPoint
,
371 DWORD cchBufferLength
377 COMPUTER_NAME_FORMAT NameType
,
391 GetFirmwareEnvironmentVariableW(
401 LPCWSTR lpszShortPath
,
410 LPCWSTR lpModuleName
,
416 GetSystemWow64DirectoryW(
423 GetVolumeNameForVolumeMountPointW(
424 LPCWSTR lpszVolumeMountPoint
,
425 LPWSTR lpszVolumeName
,
426 DWORD cchBufferLength
432 LPCWSTR lpszFileName
,
433 LPWSTR lpszVolumePathName
,
434 DWORD cchBufferLength
439 GetVolumePathNamesForVolumeNameW(
440 LPCWSTR lpszVolumeName
,
441 LPWSTR lpszVolumePathNames
,
442 DWORD cchBufferLength
,
443 PDWORD lpcchReturnLength
449 DWORD dwDesiredAccess
,
450 WINBOOL bInheritHandle
,
457 LPCWSTR lpReplacedFileName
,
458 LPCWSTR lpReplacementFileName
,
459 LPCWSTR lpBackupFileName
,
460 DWORD dwReplaceFlags
,
468 COMPUTER_NAME_FORMAT NameType
,
487 SetFirmwareEnvironmentVariableW(
496 SetVolumeMountPointW(
497 LPCWSTR lpszVolumeMountPoint
,
498 LPCWSTR lpszVolumeName
504 LPOSVERSIONINFOEXW lpVersionInformation
,
506 DWORDLONG dwlConditionMask
511 RegisterDeviceNotificationW(
513 LPVOID NotificationFilter
,
519 GetRawInputDeviceInfoW(
527 BroadcastSystemMessageExW(
529 LPDWORD lpdwRecipients
,
537 CsrBroadcastSystemMessageExW(
539 LPDWORD lpdwRecipients
,
547 CreateFontIndirectExW(const ENUMLOGFONTEXDVW
*elfexd
);
561 RemoveFontResourceExW(
569 GetStringBitmapW(HDC hdc
,LPWSTR pwsz
,WINBOOL unknown
,UINT cj
,BYTE
*lpSB
);
583 PrivateExtractIconsW(
632 PrivateExtractIconExW(
643 LPCWSTR lpApplicationName
,
650 LPCWSTR lpszLongPath
,
651 LPWSTR lpszShortPath
,
657 GetEnvironmentStringsW(
663 FreeEnvironmentStringsW(
683 DWORD nMaxMessageSize
,
685 LPSECURITY_ATTRIBUTES lpSecurityAttributes
733 LPSECURITY_ATTRIBUTES lpMutexAttributes
,
734 WINBOOL bInitialOwner
,
741 DWORD dwDesiredAccess
,
742 WINBOOL bInheritHandle
,
749 LPSECURITY_ATTRIBUTES lpEventAttributes
,
750 WINBOOL bManualReset
,
751 WINBOOL bInitialState
,
758 DWORD dwDesiredAccess
,
759 WINBOOL bInheritHandle
,
766 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes
,
775 DWORD dwDesiredAccess
,
776 WINBOOL bInheritHandle
,
784 LPSECURITY_ATTRIBUTES lpFileMappingAttributes
,
786 DWORD dwMaximumSizeHigh
,
787 DWORD dwMaximumSizeLow
,
794 DWORD dwDesiredAccess
,
795 WINBOOL bInheritHandle
,
801 GetLogicalDriveStringsW(
809 LPCWSTR lpLibFileName
815 LPCWSTR lpLibFileName
,
838 LPCWSTR lpMessageText
849 GetEnvironmentVariableW(
857 SetEnvironmentVariableW(
864 ExpandEnvironmentStringsW(
873 LPCWSTR lpOutputString
897 ENUMRESTYPEPROCW lpEnumFunc
,
906 ENUMRESNAMEPROCW lpEnumFunc
,
912 EnumResourceLanguagesW(
916 ENUMRESLANGPROCW lpEnumFunc
,
922 BeginUpdateResourceW(
924 WINBOOL bDeleteExistingResources
999 LPWSTR lpReturnedString
,
1005 WriteProfileStringW(
1015 LPWSTR lpReturnedString
,
1021 WriteProfileSectionW(
1028 GetPrivateProfileIntW(
1037 GetPrivateProfileStringW(
1041 LPWSTR lpReturnedString
,
1048 WritePrivateProfileStringW(
1057 GetPrivateProfileSectionW(
1059 LPWSTR lpReturnedString
,
1066 WritePrivateProfileSectionW(
1075 LPCWSTR lpRootPathName
1080 GetSystemDirectoryW(
1088 DWORD nBufferLength
,
1096 LPCWSTR lpPrefixString
,
1098 LPWSTR lpTempFileName
1103 GetWindowsDirectoryW(
1110 SetCurrentDirectoryW(
1116 GetCurrentDirectoryW(
1117 DWORD nBufferLength
,
1124 LPCWSTR lpRootPathName
,
1125 LPDWORD lpSectorsPerCluster
,
1126 LPDWORD lpBytesPerSector
,
1127 LPDWORD lpNumberOfFreeClusters
,
1128 LPDWORD lpTotalNumberOfClusters
1133 GetDiskFreeSpaceExW(
1134 LPCWSTR lpDirectoryName
,
1135 PULARGE_INTEGER lpFreeBytesAvailableToCaller
,
1136 PULARGE_INTEGER lpTotalNumberOfBytes
,
1137 PULARGE_INTEGER lpTotalNumberOfFreeBytes
1144 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1150 LPCWSTR lpTemplateDirectory
,
1151 LPCWSTR lpNewDirectory
,
1152 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1165 DWORD nBufferLength
,
1174 LPCWSTR lpDeviceName
,
1175 LPCWSTR lpTargetPath
1181 LPCWSTR lpDeviceName
,
1182 LPWSTR lpTargetPath
,
1190 DWORD dwDesiredAccess
,
1192 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
1193 DWORD dwCreationDisposition
,
1194 DWORD dwFlagsAndAttributes
,
1195 HANDLE hTemplateFile
1202 DWORD dwFileAttributes
1213 GetFileAttributesExW(
1215 GET_FILEEX_INFO_LEVELS fInfoLevelId
,
1216 LPVOID lpFileInformation
1221 GetCompressedFileSizeW(
1223 LPDWORD lpFileSizeHigh
1237 LPCWSTR lpExtension
,
1238 DWORD nBufferLength
,
1246 LPCWSTR lpExistingFileName
,
1247 LPCWSTR lpNewFileName
,
1248 WINBOOL bFailIfExists
1254 LPCWSTR lpExistingFileName
,
1255 LPCWSTR lpNewFileName
,
1256 LPPROGRESS_ROUTINE lpProgressRoutine
,
1265 LPCWSTR lpExistingFileName
,
1266 LPCWSTR lpNewFileName
1272 LPCWSTR lpExistingFileName
,
1273 LPCWSTR lpNewFileName
,
1279 MoveFileWithProgressW(
1280 LPCWSTR lpExistingFileName
,
1281 LPCWSTR lpNewFileName
,
1282 LPPROGRESS_ROUTINE lpProgressRoutine
,
1293 DWORD nMaxInstances
,
1294 DWORD nOutBufferSize
,
1295 DWORD nInBufferSize
,
1296 DWORD nDefaultTimeOut
,
1297 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1302 GetNamedPipeHandleStateW(
1305 LPDWORD lpCurInstances
,
1306 LPDWORD lpMaxCollectionCount
,
1307 LPDWORD lpCollectDataTimeout
,
1309 DWORD nMaxUserNameSize
1315 LPCWSTR lpNamedPipeName
,
1317 DWORD nInBufferSize
,
1319 DWORD nOutBufferSize
,
1320 LPDWORD lpBytesRead
,
1327 LPCWSTR lpNamedPipeName
,
1334 LPCWSTR lpRootPathName
,
1335 LPCWSTR lpVolumeName
1340 GetVolumeInformationW(
1341 LPCWSTR lpRootPathName
,
1342 LPWSTR lpVolumeNameBuffer
,
1343 DWORD nVolumeNameSize
,
1344 LPDWORD lpVolumeSerialNumber
,
1345 LPDWORD lpMaximumComponentLength
,
1346 LPDWORD lpFileSystemFlags
,
1347 LPWSTR lpFileSystemNameBuffer
,
1348 DWORD nFileSystemNameSize
1355 LPCWSTR lpBackupFileName
1362 LPCWSTR lpBackupFileName
1368 LPCWSTR lpUNCServerName
,
1369 LPCWSTR lpSourceName
1374 RegisterEventSourceW (
1375 LPCWSTR lpUNCServerName
,
1376 LPCWSTR lpSourceName
1381 OpenBackupEventLogW (
1382 LPCWSTR lpUNCServerName
,
1391 DWORD dwRecordOffset
,
1393 DWORD nNumberOfBytesToRead
,
1395 DWORD
*pnMinNumberOfBytesNeeded
1414 AccessCheckAndAuditAlarmW (
1415 LPCWSTR SubsystemName
,
1417 LPWSTR ObjectTypeName
,
1419 PSECURITY_DESCRIPTOR SecurityDescriptor
,
1420 DWORD DesiredAccess
,
1421 PGENERIC_MAPPING GenericMapping
,
1422 WINBOOL ObjectCreation
,
1423 LPDWORD GrantedAccess
,
1424 LPBOOL AccessStatus
,
1425 LPBOOL pfGenerateOnClose
1430 ObjectOpenAuditAlarmW (
1431 LPCWSTR SubsystemName
,
1433 LPWSTR ObjectTypeName
,
1435 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
1437 DWORD DesiredAccess
,
1438 DWORD GrantedAccess
,
1439 PPRIVILEGE_SET Privileges
,
1440 WINBOOL ObjectCreation
,
1441 WINBOOL AccessGranted
,
1442 LPBOOL GenerateOnClose
1447 ObjectPrivilegeAuditAlarmW (
1448 LPCWSTR SubsystemName
,
1451 DWORD DesiredAccess
,
1452 PPRIVILEGE_SET Privileges
,
1453 WINBOOL AccessGranted
1458 ObjectCloseAuditAlarmW (
1459 LPCWSTR SubsystemName
,
1461 WINBOOL GenerateOnClose
1466 PrivilegedServiceAuditAlarmW (
1467 LPCWSTR SubsystemName
,
1468 LPCWSTR ServiceName
,
1470 PPRIVILEGE_SET Privileges
,
1471 WINBOOL AccessGranted
1478 SECURITY_INFORMATION SecurityInformation
,
1479 PSECURITY_DESCRIPTOR pSecurityDescriptor
1486 SECURITY_INFORMATION RequestedInformation
,
1487 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
1489 LPDWORD lpnLengthNeeded
1494 FindFirstChangeNotificationW(
1496 WINBOOL bWatchSubtree
,
1497 DWORD dwNotifyFilter
1510 LPCWSTR lpSystemName
,
1514 LPWSTR ReferencedDomainName
,
1515 LPDWORD cbReferencedDomainName
,
1522 LPCWSTR lpSystemName
,
1523 LPCWSTR lpAccountName
,
1526 LPWSTR ReferencedDomainName
,
1527 LPDWORD cbReferencedDomainName
,
1533 LookupPrivilegeValueW(
1534 LPCWSTR lpSystemName
,
1541 LookupPrivilegeNameW(
1542 LPCWSTR lpSystemName
,
1550 LookupPrivilegeDisplayNameW(
1551 LPCWSTR lpSystemName
,
1553 LPWSTR lpDisplayName
,
1554 LPDWORD cbDisplayName
,
1555 LPDWORD lpLanguageId
1567 BuildCommDCBAndTimeoutsW(
1570 LPCOMMTIMEOUTS lpCommTimeouts
1583 GetDefaultCommConfigW(
1591 SetDefaultCommConfigW(
1607 LPCWSTR lpComputerName
1626 wsprintfW(LPWSTR
, LPCWSTR
, ...);
1630 LoadKeyboardLayoutW(
1636 GetKeyboardLayoutNameW(
1642 LPCWSTR lpszDesktop
,
1644 LPDEVMODEW pDevmode
,
1646 ACCESS_MASK dwDesiredAccess
,
1647 LPSECURITY_ATTRIBUTES lpsa
);
1655 DWORD dwDesiredAccess
);
1661 DESKTOPENUMPROCW lpEnumFunc
,
1666 CreateWindowStationW(
1669 DWORD dwDesiredAccess
,
1670 LPSECURITY_ATTRIBUTES lpsa
);
1677 DWORD dwDesiredAccess
);
1681 EnumWindowStationsW(
1682 ENUMWINDOWSTATIONPROCW lpEnumFunc
,
1687 GetUserObjectInformationW(
1692 LPDWORD lpnLengthNeeded
);
1696 SetUserObjectInformationW(
1704 RegisterWindowMessageW(
1713 UINT wMsgFilterMax
);
1739 SendMessageTimeoutW(
1746 PDWORD_PTR lpdwResult
);
1758 SendMessageCallbackW(
1763 SENDASYNCPROC lpResultCallBack
,
1793 WNDPROC lpPrevWndFunc
,
1802 CONST WNDCLASSW
*lpWndClass
);
1807 LPCWSTR lpClassName
,
1808 HINSTANCE hInstance
);
1813 HINSTANCE hInstance
,
1814 LPCWSTR lpClassName
,
1815 LPWNDCLASSW lpWndClass
);
1819 RegisterClassExW(CONST WNDCLASSEXW
*);
1823 GetClassInfoExW(HINSTANCE
, LPCWSTR
, LPWNDCLASSEXW
);
1829 LPCWSTR lpClassName
,
1830 LPCWSTR lpWindowName
,
1838 HINSTANCE hInstance
,
1844 HINSTANCE hInstance
,
1845 LPCWSTR lpTemplateName
,
1847 DLGPROC lpDialogFunc
,
1848 LPARAM dwInitParam
);
1852 CreateDialogIndirectParamW(
1853 HINSTANCE hInstance
,
1854 LPCDLGTEMPLATE lpTemplate
,
1856 DLGPROC lpDialogFunc
,
1857 LPARAM dwInitParam
);
1862 HINSTANCE hInstance
,
1863 LPCWSTR lpTemplateName
,
1865 DLGPROC lpDialogFunc
,
1866 LPARAM dwInitParam
);
1870 DialogBoxIndirectParamW(
1871 HINSTANCE hInstance
,
1872 LPCDLGTEMPLATE hDialogTemplate
,
1874 DLGPROC lpDialogFunc
,
1875 LPARAM dwInitParam
);
1894 SendDlgItemMessageW(
1917 RegisterClipboardFormatW(
1918 LPCWSTR lpszFormat
);
1922 GetClipboardFormatNameW(
1924 LPWSTR lpszFormatName
,
1944 DWORD cchDstLength
);
1951 DWORD cchDstLength
);
1984 LPCWSTR lpszCurrent
);
1993 IsCharAlphaNumericW(
2020 STDCALL
VkKeyScanExW(
2040 HINSTANCE hInstance
,
2041 LPCWSTR lpTableName
);
2045 CreateAcceleratorTableW(
2050 CopyAcceleratorTableW(
2057 TranslateAcceleratorW(
2065 HINSTANCE hInstance
,
2066 LPCWSTR lpMenuName
);
2071 CONST MENUTEMPLATE
*lpMenuTemplate
);
2078 LPCWSTR lpszNewItem
,
2143 WINBOOL fByPosition
,
2144 LPMENUITEMINFOW lpmii
);
2157 DrawTextExW(HDC
, LPWSTR
, int, LPRECT
, UINT
, LPDRAWTEXTPARAMS
);
2164 GRAYSTRINGPROC lpOutputFunc
,
2172 WINBOOL STDCALL
DrawStateW(HDC
, HBRUSH
, DRAWSTATEPROC
, LPARAM
, WPARAM
, int, int, int, int, UINT
);
2183 LPINT lpnTabStopPositions
,
2188 GetTabbedTextExtentW(
2193 LPINT lpnTabStopPositions
);
2218 PROPENUMPROCEXW lpEnumFunc
,
2225 PROPENUMPROCW lpEnumFunc
);
2242 GetWindowTextLengthW(
2264 MessageBoxIndirectW(LPMSGBOXPARAMS
);
2295 LPCWSTR lpClassName
,
2296 LPCWSTR lpWindowName
);
2300 FindWindowExW(HWND
, HWND
, LPCWSTR
, LPCWSTR
);
2320 HINSTANCE hInstance
,
2321 LPCWSTR lpBitmapName
);
2326 HINSTANCE hInstance
,
2327 LPCWSTR lpCursorName
);
2331 LoadCursorFromFileW(
2332 LPCWSTR lpFileName
);
2337 HINSTANCE hInstance
,
2338 LPCWSTR lpIconName
);
2353 HINSTANCE hInstance
,
2383 DlgDirListComboBoxW(
2392 DlgDirSelectComboBoxExW(
2402 HWND hWndMDIClient
,
2418 LPCWSTR lpClassName
,
2419 LPCWSTR lpWindowName
,
2426 HINSTANCE hInstance
,
2441 ChangeDisplaySettingsW(
2442 LPDEVMODEW lpDevMode
,
2447 EnumDisplaySettingsW(
2448 LPCWSTR lpszDeviceName
,
2450 LPDEVMODEW lpDevMode
);
2454 SystemParametersInfoW(
2462 AddFontResourceExW ( LPCWSTR
, DWORD
, PVOID
);
2466 AddFontResourceW(LPCWSTR
);
2470 CopyMetaFileW(HMETAFILE
, LPCWSTR
);
2474 CreateFontIndirectW(CONST LOGFONTW
*);
2478 CreateFontW(int, int, int, int, int, DWORD
,
2479 DWORD
, DWORD
, DWORD
, DWORD
, DWORD
,
2480 DWORD
, DWORD
, LPCWSTR
);
2484 CreateICW(LPCWSTR
, LPCWSTR
, LPCWSTR
, CONST DEVMODEW
*);
2488 CreateMetaFileW(LPCWSTR
);
2492 CreateScalableFontResourceW(DWORD
, LPCWSTR
, LPCWSTR
, LPCWSTR
);
2496 DeviceCapabilitiesW(LPCWSTR
, LPCWSTR
, WORD
,
2497 LPWSTR
, CONST DEVMODEW
*);
2501 EnumFontFamiliesExW(HDC
, LPLOGFONTW
, FONTENUMEXPROCW
, LPARAM
, DWORD
);
2505 EnumFontFamiliesW(HDC
, LPCWSTR
, FONTENUMPROCW
, LPARAM
);
2509 EnumFontsW(HDC
, LPCWSTR
, FONTENUMPROCW
, LPARAM
);
2513 GetCharWidthW(HDC
, UINT
, UINT
, LPINT
);
2517 GetCharWidth32W(HDC
, UINT
, UINT
, LPINT
);
2521 GetCharWidthFloatW(HDC
, UINT
, UINT
, PFLOAT
);
2525 GetCharABCWidthsW(HDC
, UINT
, UINT
, LPABC
);
2529 GetCharABCWidthsFloatW(HDC
, UINT
, UINT
, LPABCFLOAT
);
2533 GetGlyphOutlineW(HDC
, UINT
, UINT
, LPGLYPHMETRICS
, DWORD
, LPVOID
, CONST MAT2
*);
2537 GetMetaFileW(LPCWSTR
);
2541 GetOutlineTextMetricsW(HDC
, UINT
, LPOUTLINETEXTMETRICW
);
2544 STDCALL
GetTextExtentPointW(
2553 GetTextExtentPoint32W(
2562 GetTextExtentExPointW(
2574 GetCharacterPlacementW(HDC
, LPCWSTR
, int, int, LPGCP_RESULTSW
, DWORD
);
2578 ResetDCW(HDC
, CONST DEVMODEW
*);
2582 RemoveFontResourceW(LPCWSTR
);
2586 CopyEnhMetaFileW(HENHMETAFILE
, LPCWSTR
);
2590 CreateEnhMetaFileW(HDC
, LPCWSTR
, CONST RECT
*, LPCWSTR
);
2594 GetEnhMetaFileW(LPCWSTR
);
2598 GetEnhMetaFileDescriptionW(HENHMETAFILE
, UINT
, LPWSTR
);
2602 GetTextMetricsW(HDC
, LPTEXTMETRICW
);
2606 StartDocW(HDC
, CONST DOCINFOW
*);
2610 GetObjectW(HGDIOBJ
, int, LPVOID
);
2614 TextOutW(HDC
, int, int, LPCWSTR
, int);
2618 ExtTextOutW(HDC
, int, int, UINT
, CONST RECT
*,LPCWSTR
, UINT
, CONST INT
*);
2622 PolyTextOutW(HDC
, CONST POLYTEXTW
*, int);
2626 GetTextFaceW(HDC
, int, LPWSTR
);
2630 GetKerningPairsW(HDC
, DWORD
, LPKERNINGPAIR
);
2634 GetLogColorSpaceW(HCOLORSPACE
,LPLOGCOLORSPACEW
,DWORD
);
2638 CreateColorSpaceW(LPLOGCOLORSPACEW
);
2642 GetICMProfileW(HDC
,DWORD
,LPWSTR
);
2646 SetICMProfileW(HDC
,LPWSTR
);
2650 UpdateICMRegKeyW(DWORD
, DWORD
, LPWSTR
, UINT
);
2654 EnumICMProfilesW(HDC
,ICMENUMPROCW
,LPARAM
);
2658 CreatePropertySheetPageW(LPCPROPSHEETPAGEW lppsp
);
2662 PropertySheetW(LPCPROPSHEETHEADERW lppsph
);
2666 ImageList_LoadImageW(HINSTANCE hi
,
2676 CreateStatusWindowW(LONG style
, LPCWSTR lpszText
, HWND hwndParent
, UINT wID
);
2680 DrawStatusTextW(HDC hDC
, LPRECT lprc
, LPCWSTR pszText
, UINT uFlags
);
2684 GetOpenFileNameW(LPOPENFILENAMEW
);
2688 GetSaveFileNameW(LPOPENFILENAMEW
);
2692 GetFileTitleW(LPCWSTR
, LPWSTR
, WORD
);
2696 ChooseColorW(LPCHOOSECOLORW
);
2700 ReplaceTextW(LPFINDREPLACEW
);
2704 ChooseFontW(LPCHOOSEFONTW
);
2708 FindTextW(LPFINDREPLACEW
);
2712 PrintDlgW(LPPRINTDLGW
);
2716 PageSetupDlgW(LPPAGESETUPDLGW
);
2721 LPCWSTR lpApplicationName
,
2722 LPWSTR lpCommandLine
,
2723 LPSECURITY_ATTRIBUTES lpProcessAttributes
,
2724 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
2725 WINBOOL bInheritHandles
,
2726 DWORD dwCreationFlags
,
2727 LPVOID lpEnvironment
,
2728 LPCWSTR lpCurrentDirectory
,
2729 LPSTARTUPINFOW lpStartupInfo
,
2730 LPPROCESS_INFORMATION lpProcessInformation
2736 LPSTARTUPINFOW lpStartupInfo
2744 FINDEX_INFO_LEVELS fInfoLevelId
,
2745 LPVOID lpFindFileData
,
2746 FINDEX_SEARCH_OPS fSearchOp
,
2747 LPVOID lpSearchFilter
,
2748 DWORD dwAdditionalFlags
2755 LPWIN32_FIND_DATAW lpFindFileData
2762 LPWIN32_FIND_DATAW lpFindFileData
2768 LPOSVERSIONINFOW lpVersionInformation
2771 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2772 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2773 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2774 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2776 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2777 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2779 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2780 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2782 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2783 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2785 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2786 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2790 CreateDCW(LPCWSTR
, LPCWSTR
, LPCWSTR
, CONST DEVMODEW
*);
2794 CreateFontA(int, int, int, int, int, DWORD
,
2795 DWORD
, DWORD
, DWORD
, DWORD
, DWORD
,
2796 DWORD
, DWORD
, LPCSTR
);
2802 LPWSTR szSrcFileName
,
2803 LPWSTR szDestFileName
,
2813 GetFileVersionInfoSizeW(
2814 LPWSTR lptstrFilename
,
2820 GetFileVersionInfoW(
2821 LPWSTR lptstrFilename
,
2838 const LPVOID pBlock
,
2840 LPVOID
* lplpBuffer
,
2861 LPCWSTR lpValueName
,
2877 InitiateSystemShutdownW(
2878 LPWSTR lpMachineName
,
2881 WINBOOL bForceAppsClosed
,
2882 WINBOOL bRebootAfterShutdown
2887 AbortSystemShutdownW(
2888 LPCWSTR lpMachineName
2904 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2928 RegQueryMultipleValuesW (
2940 LPCWSTR lpValueName
,
2958 RegConnectRegistryW (
2959 LPCWSTR lpMachineName
,
2981 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
2983 LPDWORD lpdwDisposition
3019 PFILETIME lpftLastWriteTime
3028 LPDWORD lpcbValueName
,
3069 LPDWORD lpcbMaxSubKeyLen
,
3070 LPDWORD lpcbMaxClassLen
,
3072 LPDWORD lpcbMaxValueNameLen
,
3073 LPDWORD lpcbMaxValueLen
,
3074 LPDWORD lpcbSecurityDescriptor
,
3075 PFILETIME lpftLastWriteTime
3119 CONST SYSTEMTIME
*lpTime
,
3129 CONST SYSTEMTIME
*lpDate
,
3140 CONST NUMBERFMTW
*lpFormat
,
3150 CONST CURRENCYFMTW
*lpFormat
,
3151 LPWSTR lpCurrencyStr
,
3157 CALINFO_ENUMPROCW lpCalInfoEnumProc
,
3165 TIMEFMT_ENUMPROCW lpTimeFmtEnumProc
,
3172 DATEFMT_ENUMPROCW lpDateFmtEnumProc
,
3205 LOCALE_ENUMPROCW lpLocaleEnumProc
,
3210 EnumSystemCodePagesW(
3211 CODEPAGE_ENUMPROCW lpCodePageEnumProc
,
3217 HANDLE hConsoleInput
,
3218 PINPUT_RECORD lpBuffer
,
3220 LPDWORD lpNumberOfEventsRead
3226 HANDLE hConsoleInput
,
3227 PINPUT_RECORD lpBuffer
,
3229 LPDWORD lpNumberOfEventsRead
3235 HANDLE hConsoleInput
,
3236 CONST INPUT_RECORD
*lpBuffer
,
3238 LPDWORD lpNumberOfEventsWritten
3244 HANDLE hConsoleOutput
,
3245 PCHAR_INFO lpBuffer
,
3247 COORD dwBufferCoord
,
3248 PSMALL_RECT lpReadRegion
3253 WriteConsoleOutputW(
3254 HANDLE hConsoleOutput
,
3255 CONST CHAR_INFO
*lpBuffer
,
3257 COORD dwBufferCoord
,
3258 PSMALL_RECT lpWriteRegion
3263 ReadConsoleOutputCharacterW(
3264 HANDLE hConsoleOutput
,
3268 LPDWORD lpNumberOfCharsRead
3273 WriteConsoleOutputCharacterW(
3274 HANDLE hConsoleOutput
,
3275 LPCWSTR lpCharacter
,
3278 LPDWORD lpNumberOfCharsWritten
3283 FillConsoleOutputCharacterW(
3284 HANDLE hConsoleOutput
,
3288 LPDWORD lpNumberOfCharsWritten
3293 ScrollConsoleScreenBufferW(
3294 HANDLE hConsoleOutput
,
3295 CONST SMALL_RECT
*lpScrollRectangle
,
3296 CONST SMALL_RECT
*lpClipRectangle
,
3297 COORD dwDestinationOrigin
,
3298 CONST CHAR_INFO
*lpFill
3304 LPWSTR lpConsoleTitle
,
3311 LPCWSTR lpConsoleTitle
3317 HANDLE hConsoleInput
,
3319 DWORD nNumberOfCharsToRead
,
3320 LPDWORD lpNumberOfCharsRead
,
3327 HANDLE hConsoleOutput
,
3328 CONST VOID
*lpBuffer
,
3329 DWORD nNumberOfCharsToWrite
,
3330 LPDWORD lpNumberOfCharsWritten
,
3336 LPCWSTR lpRemoteName
,
3342 WNetAddConnection2W(
3343 LPNETRESOURCEW lpNetResource
,
3350 WNetAddConnection3W(
3352 LPNETRESOURCEW lpNetResource
,
3359 WNetCancelConnectionW(
3365 WNetCancelConnection2W(
3373 LPCWSTR lpLocalName
,
3374 LPWSTR lpRemoteName
,
3381 LPNETRESOURCEW lpNetResource
,
3385 LPWSTR lpAccessName
,
3386 LPDWORD lpBufferSize
,
3398 WNetConnectionDialog1W(
3399 LPCONNECTDLGSTRUCTW lpConnDlgStruct
3403 WNetDisconnectDialog1W(
3404 LPDISCDLGSTRUCTW lpConnDlgStruct
3412 LPNETRESOURCEW lpNetResource
,
3421 LPDWORD lpBufferSize
3425 WNetGetUniversalNameW(
3426 LPCWSTR lpLocalPath
,
3429 LPDWORD lpBufferSize
3440 WNetGetProviderNameW(
3442 LPWSTR lpProviderName
,
3443 LPDWORD lpBufferSize
3447 WNetGetNetworkInformationW(
3449 LPNETINFOSTRUCT lpNetInfoStruct
3456 DWORD nErrorBufSize
,
3462 MultinetGetConnectionPerformanceW(
3463 LPNETRESOURCEW lpNetResource
,
3464 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
3469 ChangeServiceConfigW(
3471 DWORD dwServiceType
,
3473 DWORD dwErrorControl
,
3474 LPCWSTR lpBinaryPathName
,
3475 LPCWSTR lpLoadOrderGroup
,
3477 LPCWSTR lpDependencies
,
3478 LPCWSTR lpServiceStartName
,
3480 LPCWSTR lpDisplayName
3486 SC_HANDLE hSCManager
,
3487 LPCWSTR lpServiceName
,
3488 LPCWSTR lpDisplayName
,
3489 DWORD dwDesiredAccess
,
3490 DWORD dwServiceType
,
3492 DWORD dwErrorControl
,
3493 LPCWSTR lpBinaryPathName
,
3494 LPCWSTR lpLoadOrderGroup
,
3496 LPCWSTR lpDependencies
,
3497 LPCWSTR lpServiceStartName
,
3503 EnumDependentServicesW(
3505 DWORD dwServiceState
,
3506 LPENUM_SERVICE_STATUSW lpServices
,
3508 LPDWORD pcbBytesNeeded
,
3509 LPDWORD lpServicesReturned
3514 EnumServicesStatusW(
3515 SC_HANDLE hSCManager
,
3516 DWORD dwServiceType
,
3517 DWORD dwServiceState
,
3518 LPENUM_SERVICE_STATUSW lpServices
,
3520 LPDWORD pcbBytesNeeded
,
3521 LPDWORD lpServicesReturned
,
3522 LPDWORD lpResumeHandle
3528 SC_HANDLE hSCManager
,
3529 LPCWSTR lpDisplayName
,
3530 LPWSTR lpServiceName
,
3536 GetServiceDisplayNameW(
3537 SC_HANDLE hSCManager
,
3538 LPCWSTR lpServiceName
,
3539 LPWSTR lpDisplayName
,
3546 LPCWSTR lpMachineName
,
3547 LPCWSTR lpDatabaseName
,
3548 DWORD dwDesiredAccess
3554 SC_HANDLE hSCManager
,
3555 LPCWSTR lpServiceName
,
3556 DWORD dwDesiredAccess
3561 QueryServiceConfigW(
3563 LPQUERY_SERVICE_CONFIGW lpServiceConfig
,
3565 LPDWORD pcbBytesNeeded
3570 QueryServiceLockStatusW(
3571 SC_HANDLE hSCManager
,
3572 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus
,
3574 LPDWORD pcbBytesNeeded
3577 SERVICE_STATUS_HANDLE
3579 RegisterServiceCtrlHandlerW(
3580 LPCWSTR lpServiceName
,
3581 LPHANDLER_FUNCTION lpHandlerProc
3586 StartServiceCtrlDispatcherW(
3587 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
3594 DWORD dwNumServiceArgs
,
3595 LPCWSTR
*lpServiceArgVectors
3598 /* Extensions to OpenGL */
3601 wglUseFontBitmapsW(HDC
, DWORD
, DWORD
, DWORD
);
3604 wglUseFontOutlinesW(HDC
, DWORD
, DWORD
, DWORD
, FLOAT
,
3605 FLOAT
, int, LPGLYPHMETRICSFLOAT
);
3607 /* ------------------------------------- */
3608 /* From shellapi.h in old Cygnus headers */
3611 DragQueryFileW(HDROP
, unsigned int, LPCWSTR
, unsigned int);
3614 ExtractAssociatedIconW (HINSTANCE
, LPCWSTR
, WORD
*);
3617 ExtractIconW (HINSTANCE
, const LPCWSTR
, unsigned int);
3620 FindExecutableW (const LPCWSTR
, const LPCWSTR
, LPCWSTR
);
3623 ShellAboutW (HWND
, const LPCWSTR
, const LPCWSTR
, HICON
);
3626 ShellExecuteW (HWND
, const LPCWSTR
, const LPCWSTR
, LPCWSTR
, const LPCWSTR
, int);
3628 /* end of stuff from shellapi.h in old Cygnus headers */
3629 /* -------------------------------------------------- */
3630 /* From ddeml.h in old Cygnus headers */
3634 DdeCreateStringHandleW(
3640 DdeInitializeW (DWORD
*, CALLB
, DWORD
, DWORD
);
3651 /* end of stuff from ddeml.h in old Cygnus headers */
3652 /* ----------------------------------------------- */
3655 SHGetFileInfoW (LPCWSTR
, DWORD
, SHFILEINFO FAR
*, UINT
, UINT
);
3658 SHGetPathFromIDListW (LPCITEMIDLIST
, LPWSTR
);
3662 #endif /* __cplusplus */
3664 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */