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
35 #include <funcs.h> /* for LPPROGRESS_ROUTINE */
39 #endif /* __cplusplus */
41 #define ANSI_DOS_STAR ('<')
42 #define ANSI_DOS_QM ('>')
43 #define ANSI_DOS_DOT ('"')
45 #define DOS_STAR (L'<')
47 #define DOS_DOT (L'"')
53 LPCWSTR lpBackupFileName
60 LPCWSTR lpBackupFileName
65 CreateProcessAsUserW (
67 LPCWSTR lpApplicationName,
69 LPSECURITY_ATTRIBUTES lpProcessAttributes,
70 LPSECURITY_ATTRIBUTES lpThreadAttributes,
71 WINBOOL bInheritHandles,
72 DWORD dwCreationFlags,
74 LPCWSTR lpCurrentDirectory,
75 LPSTARTUPINFOW lpStartupInfo,
76 LPPROCESS_INFORMATION lpProcessInformation
94 FileEncryptionStatusW(
101 GetCurrentHwProfileW (
102 LPHW_PROFILE_INFOW lpHwProfileInfo
108 LPCWSTR lpszUsername,
110 LPCWSTR lpszPassword,
112 DWORD dwLogonProvider,
119 LPCWSTR lpszUsername,
121 LPCWSTR lpszPassword,
123 DWORD dwLogonProvider,
126 PVOID *ppProfileBuffer ,
127 LPDWORD pdwProfileLength ,
128 PQUOTA_LIMITS pQuotaLimits
133 OpenBackupEventLogW (
134 LPCWSTR lpUNCServerName,
140 OpenEncryptedFileRawW(
149 LPCWSTR lpUNCServerName,
158 DWORD dwRecordOffset,
160 DWORD nNumberOfBytesToRead,
162 DWORD *pnMinNumberOfBytesNeeded
167 ChangeServiceConfig2W(
175 EnumServicesStatusExW(
176 SC_HANDLE hSCManager,
177 SC_ENUM_TYPE InfoLevel,
179 DWORD dwServiceState,
182 LPDWORD pcbBytesNeeded,
183 LPDWORD lpServicesReturned,
184 LPDWORD lpResumeHandle,
190 QueryServiceConfig2W(
195 LPDWORD pcbBytesNeeded
198 SERVICE_STATUS_HANDLE
200 RegisterServiceCtrlHandlerExW(
201 LPCWSTR lpServiceName,
202 LPHANDLER_FUNCTION_EX lpHandlerProc,
208 SendIMEMessageExW(HWND hwnd,LPARAM lparam);
212 IMPSetIMEW( HWND hwnd, LPIMEPROW ime);
216 IMPQueryIMEW( LPIMEPROW ime);
220 IMPGetIMEW( HWND hwnd, LPIMEPROW ime);
233 UILANGUAGE_ENUMPROCW lpUILanguageEnumProc,
239 EnumLanguageGroupLocalesW(
240 LANGGROUPLOCALE_ENUMPROCW lpLangGroupLocaleEnumProc,
241 LGRPID LanguageGroup,
247 EnumSystemLanguageGroupsW(
248 LANGUAGEGROUP_ENUMPROCW lpLanguageGroupEnumProc,
264 DATEFMT_ENUMPROCEXW lpDateFmtEnumProcEx,
271 CALINFO_ENUMPROCEXW lpCalInfoEnumProcEx,
291 LPCPINFOEXW lpCPInfoEx);
295 CheckNameLegalDOS8Dot3W(
297 LPSTR lpOemName OPTIONAL,
298 DWORD OemNameSize OPTIONAL,
299 PWINBOOL pbNameContainsSpaces OPTIONAL,
307 LPCWSTR lpExistingFileName,
308 LPSECURITY_ATTRIBUTES lpSecurityAttributes
314 LPSECURITY_ATTRIBUTES lpJobAttributes,
320 DeleteVolumeMountPointW(
321 LPCWSTR lpszVolumeMountPoint
326 DnsHostnameToComputerNameW (
334 FindActCtxSectionStringW(
336 const GUID *lpExtensionGuid,
338 LPCWSTR lpStringToFind,
339 PACTCTX_SECTION_KEYED_DATA ReturnedData
346 FINDEX_INFO_LEVELS fInfoLevelId,
347 LPVOID lpFindFileData,
348 FINDEX_SEARCH_OPS fSearchOp,
349 LPVOID lpSearchFilter,
350 DWORD dwAdditionalFlags
356 LPWSTR lpszVolumeName,
357 DWORD cchBufferLength
362 FindFirstVolumeMountPointW(
363 LPCWSTR lpszRootPathName,
364 LPWSTR lpszVolumeMountPoint,
365 DWORD cchBufferLength
372 LPWSTR lpszVolumeName,
373 DWORD cchBufferLength
378 FindNextVolumeMountPointW(
379 HANDLE hFindVolumeMountPoint,
380 LPWSTR lpszVolumeMountPoint,
381 DWORD cchBufferLength
387 COMPUTER_NAME_FORMAT NameType,
401 GetFirmwareEnvironmentVariableW(
411 LPCWSTR lpszShortPath,
420 LPCWSTR lpModuleName,
426 GetSystemWow64DirectoryW(
433 GetVolumeNameForVolumeMountPointW(
434 LPCWSTR lpszVolumeMountPoint,
435 LPWSTR lpszVolumeName,
436 DWORD cchBufferLength
442 LPCWSTR lpszFileName,
443 LPWSTR lpszVolumePathName,
444 DWORD cchBufferLength
449 GetVolumePathNamesForVolumeNameW(
450 LPCWSTR lpszVolumeName,
451 LPWSTR lpszVolumePathNames,
452 DWORD cchBufferLength,
453 PDWORD lpcchReturnLength
459 DWORD dwDesiredAccess,
460 WINBOOL bInheritHandle,
467 LPCWSTR lpReplacedFileName,
468 LPCWSTR lpReplacementFileName,
469 LPCWSTR lpBackupFileName,
470 DWORD dwReplaceFlags,
478 COMPUTER_NAME_FORMAT NameType,
497 SetFirmwareEnvironmentVariableW(
506 SetVolumeMountPointW(
507 LPCWSTR lpszVolumeMountPoint,
508 LPCWSTR lpszVolumeName
514 LPOSVERSIONINFOEXW lpVersionInformation,
516 DWORDLONG dwlConditionMask
521 RegisterDeviceNotificationW(
523 LPVOID NotificationFilter,
529 GetRawInputDeviceInfoW(
537 BroadcastSystemMessageExW(
539 LPDWORD lpdwRecipients,
547 CsrBroadcastSystemMessageExW(
549 LPDWORD lpdwRecipients,
557 CreateFontIndirectExW(const ENUMLOGFONTEXDVW *elfexd);
571 RemoveFontResourceExW(
579 GetStringBitmapW(HDC hdc,LPWSTR pwsz,WINBOOL unknown,UINT cj,BYTE *lpSB);
593 PrivateExtractIconsW(
642 PrivateExtractIconExW(
653 LPCWSTR lpApplicationName,
660 LPCWSTR lpszLongPath,
661 LPWSTR lpszShortPath,
667 GetEnvironmentStringsW(
673 FreeEnvironmentStringsW(
693 DWORD nMaxMessageSize,
695 LPSECURITY_ATTRIBUTES lpSecurityAttributes
743 LPSECURITY_ATTRIBUTES lpMutexAttributes,
744 WINBOOL bInitialOwner,
751 DWORD dwDesiredAccess,
752 WINBOOL bInheritHandle,
759 LPSECURITY_ATTRIBUTES lpEventAttributes,
760 WINBOOL bManualReset,
761 WINBOOL bInitialState,
768 DWORD dwDesiredAccess,
769 WINBOOL bInheritHandle,
776 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
785 DWORD dwDesiredAccess,
786 WINBOOL bInheritHandle,
794 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
796 DWORD dwMaximumSizeHigh,
797 DWORD dwMaximumSizeLow,
804 DWORD dwDesiredAccess,
805 WINBOOL bInheritHandle,
811 GetLogicalDriveStringsW(
819 LPCWSTR lpLibFileName
825 LPCWSTR lpLibFileName,
848 LPCWSTR lpMessageText
859 GetEnvironmentVariableW(
867 SetEnvironmentVariableW(
874 ExpandEnvironmentStringsW(
883 LPCWSTR lpOutputString
907 ENUMRESTYPEPROCW lpEnumFunc,
916 ENUMRESNAMEPROCW lpEnumFunc,
922 EnumResourceLanguagesW(
926 ENUMRESLANGPROCW lpEnumFunc,
932 BeginUpdateResourceW(
934 WINBOOL bDeleteExistingResources
1009 LPWSTR lpReturnedString,
1015 WriteProfileStringW(
1025 LPWSTR lpReturnedString,
1031 WriteProfileSectionW(
1038 GetPrivateProfileIntW(
1047 GetPrivateProfileStringW(
1051 LPWSTR lpReturnedString,
1058 WritePrivateProfileStringW(
1067 GetPrivateProfileSectionW(
1069 LPWSTR lpReturnedString,
1076 WritePrivateProfileSectionW(
1085 LPCWSTR lpRootPathName
1090 GetSystemDirectoryW(
1098 DWORD nBufferLength,
1106 LPCWSTR lpPrefixString,
1108 LPWSTR lpTempFileName
1113 GetWindowsDirectoryW(
1120 SetCurrentDirectoryW(
1126 GetCurrentDirectoryW(
1127 DWORD nBufferLength,
1134 LPCWSTR lpRootPathName,
1135 LPDWORD lpSectorsPerCluster,
1136 LPDWORD lpBytesPerSector,
1137 LPDWORD lpNumberOfFreeClusters,
1138 LPDWORD lpTotalNumberOfClusters
1143 GetDiskFreeSpaceExW(
1144 LPCWSTR lpDirectoryName,
1145 PULARGE_INTEGER lpFreeBytesAvailableToCaller,
1146 PULARGE_INTEGER lpTotalNumberOfBytes,
1147 PULARGE_INTEGER lpTotalNumberOfFreeBytes
1154 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1160 LPCWSTR lpTemplateDirectory,
1161 LPCWSTR lpNewDirectory,
1162 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1175 DWORD nBufferLength,
1184 LPCWSTR lpDeviceName,
1185 LPCWSTR lpTargetPath
1191 LPCWSTR lpDeviceName,
1192 LPWSTR lpTargetPath,
1200 DWORD dwDesiredAccess,
1202 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
1203 DWORD dwCreationDisposition,
1204 DWORD dwFlagsAndAttributes,
1205 HANDLE hTemplateFile
1212 DWORD dwFileAttributes
1223 GetFileAttributesExW(
1225 GET_FILEEX_INFO_LEVELS fInfoLevelId,
1226 LPVOID lpFileInformation
1231 GetCompressedFileSizeW(
1233 LPDWORD lpFileSizeHigh
1247 LPCWSTR lpExtension,
1248 DWORD nBufferLength,
1256 LPCWSTR lpExistingFileName,
1257 LPCWSTR lpNewFileName,
1258 WINBOOL bFailIfExists
1264 LPCWSTR lpExistingFileName,
1265 LPCWSTR lpNewFileName,
1266 LPPROGRESS_ROUTINE lpProgressRoutine,
1275 LPCWSTR lpExistingFileName,
1276 LPCWSTR lpNewFileName
1282 LPCWSTR lpExistingFileName,
1283 LPCWSTR lpNewFileName,
1289 MoveFileWithProgressW(
1290 LPCWSTR lpExistingFileName,
1291 LPCWSTR lpNewFileName,
1292 LPPROGRESS_ROUTINE lpProgressRoutine,
1303 DWORD nMaxInstances,
1304 DWORD nOutBufferSize,
1305 DWORD nInBufferSize,
1306 DWORD nDefaultTimeOut,
1307 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1312 GetNamedPipeHandleStateW(
1315 LPDWORD lpCurInstances,
1316 LPDWORD lpMaxCollectionCount,
1317 LPDWORD lpCollectDataTimeout,
1319 DWORD nMaxUserNameSize
1325 LPCWSTR lpNamedPipeName,
1327 DWORD nInBufferSize,
1329 DWORD nOutBufferSize,
1330 LPDWORD lpBytesRead,
1337 LPCWSTR lpNamedPipeName,
1344 LPCWSTR lpRootPathName,
1345 LPCWSTR lpVolumeName
1350 GetVolumeInformationW(
1351 LPCWSTR lpRootPathName,
1352 LPWSTR lpVolumeNameBuffer,
1353 DWORD nVolumeNameSize,
1354 LPDWORD lpVolumeSerialNumber,
1355 LPDWORD lpMaximumComponentLength,
1356 LPDWORD lpFileSystemFlags,
1357 LPWSTR lpFileSystemNameBuffer,
1358 DWORD nFileSystemNameSize
1365 LPCWSTR lpBackupFileName
1372 LPCWSTR lpBackupFileName
1378 LPCWSTR lpUNCServerName,
1379 LPCWSTR lpSourceName
1384 RegisterEventSourceW (
1385 LPCWSTR lpUNCServerName,
1386 LPCWSTR lpSourceName
1391 OpenBackupEventLogW (
1392 LPCWSTR lpUNCServerName,
1401 DWORD dwRecordOffset,
1403 DWORD nNumberOfBytesToRead,
1405 DWORD *pnMinNumberOfBytesNeeded
1424 AccessCheckAndAuditAlarmW (
1425 LPCWSTR SubsystemName,
1427 LPWSTR ObjectTypeName,
1429 PSECURITY_DESCRIPTOR SecurityDescriptor,
1430 DWORD DesiredAccess,
1431 PGENERIC_MAPPING GenericMapping,
1432 WINBOOL ObjectCreation,
1433 LPDWORD GrantedAccess,
1434 LPBOOL AccessStatus,
1435 LPBOOL pfGenerateOnClose
1440 ObjectOpenAuditAlarmW (
1441 LPCWSTR SubsystemName,
1443 LPWSTR ObjectTypeName,
1445 PSECURITY_DESCRIPTOR pSecurityDescriptor,
1447 DWORD DesiredAccess,
1448 DWORD GrantedAccess,
1449 PPRIVILEGE_SET Privileges,
1450 WINBOOL ObjectCreation,
1451 WINBOOL AccessGranted,
1452 LPBOOL GenerateOnClose
1457 ObjectPrivilegeAuditAlarmW (
1458 LPCWSTR SubsystemName,
1461 DWORD DesiredAccess,
1462 PPRIVILEGE_SET Privileges,
1463 WINBOOL AccessGranted
1468 ObjectCloseAuditAlarmW (
1469 LPCWSTR SubsystemName,
1471 WINBOOL GenerateOnClose
1476 PrivilegedServiceAuditAlarmW (
1477 LPCWSTR SubsystemName,
1478 LPCWSTR ServiceName,
1480 PPRIVILEGE_SET Privileges,
1481 WINBOOL AccessGranted
1488 SECURITY_INFORMATION SecurityInformation,
1489 PSECURITY_DESCRIPTOR pSecurityDescriptor
1496 SECURITY_INFORMATION RequestedInformation,
1497 PSECURITY_DESCRIPTOR pSecurityDescriptor,
1499 LPDWORD lpnLengthNeeded
1504 FindFirstChangeNotificationW(
1506 WINBOOL bWatchSubtree,
1507 DWORD dwNotifyFilter
1520 LPCWSTR lpSystemName,
1524 LPWSTR ReferencedDomainName,
1525 LPDWORD cbReferencedDomainName,
1532 LPCWSTR lpSystemName,
1533 LPCWSTR lpAccountName,
1536 LPWSTR ReferencedDomainName,
1537 LPDWORD cbReferencedDomainName,
1543 LookupPrivilegeValueW(
1544 LPCWSTR lpSystemName,
1551 LookupPrivilegeNameW(
1552 LPCWSTR lpSystemName,
1560 LookupPrivilegeDisplayNameW(
1561 LPCWSTR lpSystemName,
1563 LPWSTR lpDisplayName,
1564 LPDWORD cbDisplayName,
1565 LPDWORD lpLanguageId
1577 BuildCommDCBAndTimeoutsW(
1580 LPCOMMTIMEOUTS lpCommTimeouts
1593 GetDefaultCommConfigW(
1601 SetDefaultCommConfigW(
1617 LPCWSTR lpComputerName
1636 wsprintfW(LPWSTR, LPCWSTR, ...);
1640 LoadKeyboardLayoutW(
1646 GetKeyboardLayoutNameW(
1652 LPCWSTR lpszDesktop,
1654 LPDEVMODEW pDevmode,
1656 ACCESS_MASK dwDesiredAccess,
1657 LPSECURITY_ATTRIBUTES lpsa);
1665 DWORD dwDesiredAccess);
1671 DESKTOPENUMPROCW lpEnumFunc,
1676 CreateWindowStationW(
1679 DWORD dwDesiredAccess,
1680 LPSECURITY_ATTRIBUTES lpsa);
1687 DWORD dwDesiredAccess);
1691 EnumWindowStationsW(
1692 ENUMWINDOWSTATIONPROCW lpEnumFunc,
1697 GetUserObjectInformationW(
1702 LPDWORD lpnLengthNeeded);
1706 SetUserObjectInformationW(
1714 RegisterWindowMessageW(
1723 UINT wMsgFilterMax);
1749 SendMessageTimeoutW(
1756 PDWORD_PTR lpdwResult);
1768 SendMessageCallbackW(
1773 SENDASYNCPROC lpResultCallBack,
1803 WNDPROC lpPrevWndFunc,
1812 CONST WNDCLASSW *lpWndClass);
1817 LPCWSTR lpClassName,
1818 HINSTANCE hInstance);
1823 HINSTANCE hInstance ,
1824 LPCWSTR lpClassName,
1825 LPWNDCLASSW lpWndClass);
1829 RegisterClassExW(CONST WNDCLASSEXW *);
1833 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEXW);
1839 LPCWSTR lpClassName,
1840 LPCWSTR lpWindowName,
1848 HINSTANCE hInstance,
1854 HINSTANCE hInstance,
1855 LPCWSTR lpTemplateName,
1857 DLGPROC lpDialogFunc,
1858 LPARAM dwInitParam);
1862 CreateDialogIndirectParamW(
1863 HINSTANCE hInstance,
1864 LPCDLGTEMPLATE lpTemplate,
1866 DLGPROC lpDialogFunc,
1867 LPARAM dwInitParam);
1872 HINSTANCE hInstance,
1873 LPCWSTR lpTemplateName,
1875 DLGPROC lpDialogFunc,
1876 LPARAM dwInitParam);
1880 DialogBoxIndirectParamW(
1881 HINSTANCE hInstance,
1882 LPCDLGTEMPLATE hDialogTemplate,
1884 DLGPROC lpDialogFunc,
1885 LPARAM dwInitParam);
1904 SendDlgItemMessageW(
1927 RegisterClipboardFormatW(
1928 LPCWSTR lpszFormat);
1932 GetClipboardFormatNameW(
1934 LPWSTR lpszFormatName,
1954 DWORD cchDstLength);
1961 DWORD cchDstLength);
1994 LPCWSTR lpszCurrent);
2003 IsCharAlphaNumericW(
2030 STDCALL VkKeyScanExW(
2050 HINSTANCE hInstance,
2051 LPCWSTR lpTableName);
2055 CreateAcceleratorTableW(
2060 CopyAcceleratorTableW(
2067 TranslateAcceleratorW(
2075 HINSTANCE hInstance,
2076 LPCWSTR lpMenuName);
2081 CONST MENUTEMPLATE *lpMenuTemplate);
2088 LPCWSTR lpszNewItem,
2153 WINBOOL fByPosition,
2154 LPMENUITEMINFOW lpmii);
2167 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
2174 GRAYSTRINGPROC lpOutputFunc,
2182 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
2193 LPINT lpnTabStopPositions,
2198 GetTabbedTextExtentW(
2203 LPINT lpnTabStopPositions);
2228 PROPENUMPROCEXW lpEnumFunc,
2235 PROPENUMPROCW lpEnumFunc);
2252 GetWindowTextLengthW(
2274 MessageBoxIndirectW(LPMSGBOXPARAMS);
2305 LPCWSTR lpClassName ,
2306 LPCWSTR lpWindowName);
2310 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
2330 HINSTANCE hInstance,
2331 LPCWSTR lpBitmapName);
2336 HINSTANCE hInstance,
2337 LPCWSTR lpCursorName);
2341 LoadCursorFromFileW(
2342 LPCWSTR lpFileName);
2347 HINSTANCE hInstance,
2348 LPCWSTR lpIconName);
2363 HINSTANCE hInstance,
2393 DlgDirListComboBoxW(
2402 DlgDirSelectComboBoxExW(
2412 HWND hWndMDIClient ,
2428 LPCWSTR lpClassName,
2429 LPCWSTR lpWindowName,
2436 HINSTANCE hInstance,
2451 ChangeDisplaySettingsW(
2452 LPDEVMODEW lpDevMode,
2457 EnumDisplaySettingsW(
2458 LPCWSTR lpszDeviceName,
2460 LPDEVMODEW lpDevMode);
2464 SystemParametersInfoW(
2472 AddFontResourceExW ( LPCWSTR, DWORD, PVOID );
2476 AddFontResourceW(LPCWSTR);
2480 CopyMetaFileW(HMETAFILE, LPCWSTR);
2484 CreateFontIndirectW(CONST LOGFONTW *);
2488 CreateFontW(int, int, int, int, int, DWORD,
2489 DWORD, DWORD, DWORD, DWORD, DWORD,
2490 DWORD, DWORD, LPCWSTR);
2494 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2498 CreateMetaFileW(LPCWSTR);
2502 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
2506 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
2507 LPWSTR, CONST DEVMODEW *);
2511 EnumFontFamiliesExW(HDC, LPLOGFONTW, FONTENUMEXPROCW, LPARAM, DWORD);
2515 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROCW, LPARAM);
2519 EnumFontsW(HDC, LPCWSTR, FONTENUMPROCW, LPARAM);
2523 GetCharWidthW(HDC, UINT, UINT, LPINT);
2527 GetCharWidth32W(HDC, UINT, UINT, LPINT);
2531 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
2535 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
2539 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
2543 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
2547 GetMetaFileW(LPCWSTR);
2551 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRICW);
2554 STDCALL GetTextExtentPointW(
2563 GetTextExtentPoint32W(
2572 GetTextExtentExPointW(
2584 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTSW, DWORD);
2588 ResetDCW(HDC, CONST DEVMODEW *);
2592 RemoveFontResourceW(LPCWSTR);
2596 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
2600 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
2604 GetEnhMetaFileW(LPCWSTR);
2608 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
2612 GetTextMetricsW(HDC, LPTEXTMETRICW);
2616 StartDocW(HDC, CONST DOCINFOW *);
2620 GetObjectW(HGDIOBJ, int, LPVOID);
2624 TextOutW(HDC, int, int, LPCWSTR, int);
2628 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
2632 PolyTextOutW(HDC, CONST POLYTEXTW *, int);
2636 GetTextFaceW(HDC, int, LPWSTR);
2640 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2644 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACEW,DWORD);
2648 CreateColorSpaceW(LPLOGCOLORSPACEW);
2652 GetICMProfileW(HDC,DWORD,LPWSTR);
2656 SetICMProfileW(HDC,LPWSTR);
2660 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2664 EnumICMProfilesW(HDC,ICMENUMPROCW,LPARAM);
2668 CreatePropertySheetPageW(LPCPROPSHEETPAGEW lppsp);
2672 PropertySheetW(LPCPROPSHEETHEADERW lppsph);
2676 ImageList_LoadImageW(HINSTANCE hi,
2686 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2690 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2694 GetOpenFileNameW(LPOPENFILENAMEW);
2698 GetSaveFileNameW(LPOPENFILENAMEW);
2702 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2706 ChooseColorW(LPCHOOSECOLORW);
2710 ReplaceTextW(LPFINDREPLACEW);
2714 ChooseFontW(LPCHOOSEFONTW);
2718 FindTextW(LPFINDREPLACEW);
2722 PrintDlgW(LPPRINTDLGW);
2726 PageSetupDlgW(LPPAGESETUPDLGW);
2731 LPCWSTR lpApplicationName,
2732 LPWSTR lpCommandLine,
2733 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2734 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2735 WINBOOL bInheritHandles,
2736 DWORD dwCreationFlags,
2737 LPVOID lpEnvironment,
2738 LPCWSTR lpCurrentDirectory,
2739 LPSTARTUPINFOW lpStartupInfo,
2740 LPPROCESS_INFORMATION lpProcessInformation
2746 LPSTARTUPINFOW lpStartupInfo
2754 FINDEX_INFO_LEVELS fInfoLevelId,
2755 LPVOID lpFindFileData,
2756 FINDEX_SEARCH_OPS fSearchOp,
2757 LPVOID lpSearchFilter,
2758 DWORD dwAdditionalFlags
2765 LPWIN32_FIND_DATAW lpFindFileData
2772 LPWIN32_FIND_DATAW lpFindFileData
2778 LPOSVERSIONINFOW lpVersionInformation
2781 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2782 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2783 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2784 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2786 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2787 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2789 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2790 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2792 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2793 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2795 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2796 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2800 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2804 CreateFontA(int, int, int, int, int, DWORD,
2805 DWORD, DWORD, DWORD, DWORD, DWORD,
2806 DWORD, DWORD, LPCSTR);
2812 LPWSTR szSrcFileName,
2813 LPWSTR szDestFileName,
2823 GetFileVersionInfoSizeW(
2824 LPWSTR lptstrFilename,
2830 GetFileVersionInfoW(
2831 LPWSTR lptstrFilename,
2848 const LPVOID pBlock,
2850 LPVOID * lplpBuffer,
2871 LPCWSTR lpValueName,
2887 InitiateSystemShutdownW(
2888 LPWSTR lpMachineName,
2891 WINBOOL bForceAppsClosed,
2892 WINBOOL bRebootAfterShutdown
2897 AbortSystemShutdownW(
2898 LPCWSTR lpMachineName
2914 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2938 RegQueryMultipleValuesW (
2950 LPCWSTR lpValueName,
2968 RegConnectRegistryW (
2969 LPCWSTR lpMachineName,
2991 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2993 LPDWORD lpdwDisposition
3029 PFILETIME lpftLastWriteTime
3038 LPDWORD lpcbValueName,
3079 LPDWORD lpcbMaxSubKeyLen,
3080 LPDWORD lpcbMaxClassLen,
3082 LPDWORD lpcbMaxValueNameLen,
3083 LPDWORD lpcbMaxValueLen,
3084 LPDWORD lpcbSecurityDescriptor,
3085 PFILETIME lpftLastWriteTime
3129 CONST SYSTEMTIME *lpTime,
3139 CONST SYSTEMTIME *lpDate,
3150 CONST NUMBERFMTW *lpFormat,
3160 CONST CURRENCYFMTW *lpFormat,
3161 LPWSTR lpCurrencyStr,
3167 CALINFO_ENUMPROCW lpCalInfoEnumProc,
3175 TIMEFMT_ENUMPROCW lpTimeFmtEnumProc,
3182 DATEFMT_ENUMPROCW lpDateFmtEnumProc,
3215 LOCALE_ENUMPROCW lpLocaleEnumProc,
3220 EnumSystemCodePagesW(
3221 CODEPAGE_ENUMPROCW lpCodePageEnumProc,
3227 HANDLE hConsoleInput,
3228 PINPUT_RECORD lpBuffer,
3230 LPDWORD lpNumberOfEventsRead
3236 HANDLE hConsoleInput,
3237 PINPUT_RECORD lpBuffer,
3239 LPDWORD lpNumberOfEventsRead
3245 HANDLE hConsoleInput,
3246 CONST INPUT_RECORD *lpBuffer,
3248 LPDWORD lpNumberOfEventsWritten
3254 HANDLE hConsoleOutput,
3255 PCHAR_INFO lpBuffer,
3257 COORD dwBufferCoord,
3258 PSMALL_RECT lpReadRegion
3263 WriteConsoleOutputW(
3264 HANDLE hConsoleOutput,
3265 CONST CHAR_INFO *lpBuffer,
3267 COORD dwBufferCoord,
3268 PSMALL_RECT lpWriteRegion
3273 ReadConsoleOutputCharacterW(
3274 HANDLE hConsoleOutput,
3278 LPDWORD lpNumberOfCharsRead
3283 WriteConsoleOutputCharacterW(
3284 HANDLE hConsoleOutput,
3285 LPCWSTR lpCharacter,
3288 LPDWORD lpNumberOfCharsWritten
3293 FillConsoleOutputCharacterW(
3294 HANDLE hConsoleOutput,
3298 LPDWORD lpNumberOfCharsWritten
3303 ScrollConsoleScreenBufferW(
3304 HANDLE hConsoleOutput,
3305 CONST SMALL_RECT *lpScrollRectangle,
3306 CONST SMALL_RECT *lpClipRectangle,
3307 COORD dwDestinationOrigin,
3308 CONST CHAR_INFO *lpFill
3314 LPWSTR lpConsoleTitle,
3321 LPCWSTR lpConsoleTitle
3327 HANDLE hConsoleInput,
3329 DWORD nNumberOfCharsToRead,
3330 LPDWORD lpNumberOfCharsRead,
3337 HANDLE hConsoleOutput,
3338 CONST VOID *lpBuffer,
3339 DWORD nNumberOfCharsToWrite,
3340 LPDWORD lpNumberOfCharsWritten,
3346 LPCWSTR lpRemoteName,
3352 WNetAddConnection2W(
3353 LPNETRESOURCEW lpNetResource,
3360 WNetAddConnection3W(
3362 LPNETRESOURCEW lpNetResource,
3369 WNetCancelConnectionW(
3375 WNetCancelConnection2W(
3383 LPCWSTR lpLocalName,
3384 LPWSTR lpRemoteName,
3391 LPNETRESOURCEW lpNetResource,
3395 LPWSTR lpAccessName,
3396 LPDWORD lpBufferSize,
3408 WNetConnectionDialog1W(
3409 LPCONNECTDLGSTRUCTW lpConnDlgStruct
3413 WNetDisconnectDialog1W(
3414 LPDISCDLGSTRUCTW lpConnDlgStruct
3422 LPNETRESOURCEW lpNetResource,
3431 LPDWORD lpBufferSize
3435 WNetGetUniversalNameW(
3436 LPCWSTR lpLocalPath,
3439 LPDWORD lpBufferSize
3450 WNetGetProviderNameW(
3452 LPWSTR lpProviderName,
3453 LPDWORD lpBufferSize
3457 WNetGetNetworkInformationW(
3459 LPNETINFOSTRUCT lpNetInfoStruct
3466 DWORD nErrorBufSize,
3472 MultinetGetConnectionPerformanceW(
3473 LPNETRESOURCEW lpNetResource,
3474 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
3479 ChangeServiceConfigW(
3481 DWORD dwServiceType,
3483 DWORD dwErrorControl,
3484 LPCWSTR lpBinaryPathName,
3485 LPCWSTR lpLoadOrderGroup,
3487 LPCWSTR lpDependencies,
3488 LPCWSTR lpServiceStartName,
3490 LPCWSTR lpDisplayName
3496 SC_HANDLE hSCManager,
3497 LPCWSTR lpServiceName,
3498 LPCWSTR lpDisplayName,
3499 DWORD dwDesiredAccess,
3500 DWORD dwServiceType,
3502 DWORD dwErrorControl,
3503 LPCWSTR lpBinaryPathName,
3504 LPCWSTR lpLoadOrderGroup,
3506 LPCWSTR lpDependencies,
3507 LPCWSTR lpServiceStartName,
3513 EnumDependentServicesW(
3515 DWORD dwServiceState,
3516 LPENUM_SERVICE_STATUSW lpServices,
3518 LPDWORD pcbBytesNeeded,
3519 LPDWORD lpServicesReturned
3524 EnumServicesStatusW(
3525 SC_HANDLE hSCManager,
3526 DWORD dwServiceType,
3527 DWORD dwServiceState,
3528 LPENUM_SERVICE_STATUSW lpServices,
3530 LPDWORD pcbBytesNeeded,
3531 LPDWORD lpServicesReturned,
3532 LPDWORD lpResumeHandle
3538 SC_HANDLE hSCManager,
3539 LPCWSTR lpDisplayName,
3540 LPWSTR lpServiceName,
3546 GetServiceDisplayNameW(
3547 SC_HANDLE hSCManager,
3548 LPCWSTR lpServiceName,
3549 LPWSTR lpDisplayName,
3556 LPCWSTR lpMachineName,
3557 LPCWSTR lpDatabaseName,
3558 DWORD dwDesiredAccess
3564 SC_HANDLE hSCManager,
3565 LPCWSTR lpServiceName,
3566 DWORD dwDesiredAccess
3571 QueryServiceConfigW(
3573 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
3575 LPDWORD pcbBytesNeeded
3580 QueryServiceLockStatusW(
3581 SC_HANDLE hSCManager,
3582 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
3584 LPDWORD pcbBytesNeeded
3587 SERVICE_STATUS_HANDLE
3589 RegisterServiceCtrlHandlerW(
3590 LPCWSTR lpServiceName,
3591 LPHANDLER_FUNCTION lpHandlerProc
3596 StartServiceCtrlDispatcherW(
3597 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
3604 DWORD dwNumServiceArgs,
3605 LPCWSTR *lpServiceArgVectors
3608 /* Extensions to OpenGL */
3611 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
3614 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
3615 FLOAT, int, LPGLYPHMETRICSFLOAT);
3617 /* ------------------------------------- */
3618 /* From shellapi.h in old Cygnus headers */
3621 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
3624 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
3627 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
3630 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
3633 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
3636 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
3638 /* end of stuff from shellapi.h in old Cygnus headers */
3639 /* -------------------------------------------------- */
3640 /* From ddeml.h in old Cygnus headers */
3644 DdeCreateStringHandleW(
3650 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3661 /* end of stuff from ddeml.h in old Cygnus headers */
3662 /* ----------------------------------------------- */
3665 SHGetFileInfoW (LPCWSTR, DWORD, SHFILEINFO FAR *, UINT, UINT);
3668 SHGetPathFromIDListW (LPCITEMIDLIST, LPWSTR);
3672 #endif /* __cplusplus */
3674 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */