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'"')
52 LPCWSTR lpApplicationName,
66 GetEnvironmentStringsW(
72 FreeEnvironmentStringsW(
92 DWORD nMaxMessageSize,
94 LPSECURITY_ATTRIBUTES lpSecurityAttributes
142 LPSECURITY_ATTRIBUTES lpMutexAttributes,
143 WINBOOL bInitialOwner,
150 DWORD dwDesiredAccess,
151 WINBOOL bInheritHandle,
158 LPSECURITY_ATTRIBUTES lpEventAttributes,
159 WINBOOL bManualReset,
160 WINBOOL bInitialState,
167 DWORD dwDesiredAccess,
168 WINBOOL bInheritHandle,
175 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
184 DWORD dwDesiredAccess,
185 WINBOOL bInheritHandle,
193 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
195 DWORD dwMaximumSizeHigh,
196 DWORD dwMaximumSizeLow,
203 DWORD dwDesiredAccess,
204 WINBOOL bInheritHandle,
210 GetLogicalDriveStringsW(
218 LPCWSTR lpLibFileName
224 LPCWSTR lpLibFileName,
247 LPCWSTR lpMessageText
258 GetEnvironmentVariableW(
266 SetEnvironmentVariableW(
273 ExpandEnvironmentStringsW(
282 LPCWSTR lpOutputString
306 ENUMRESTYPEPROC lpEnumFunc,
315 ENUMRESNAMEPROC lpEnumFunc,
321 EnumResourceLanguagesW(
325 ENUMRESLANGPROC lpEnumFunc,
331 BeginUpdateResourceW(
333 WINBOOL bDeleteExistingResources
408 LPWSTR lpReturnedString,
424 LPWSTR lpReturnedString,
430 WriteProfileSectionW(
437 GetPrivateProfileIntW(
446 GetPrivateProfileStringW(
450 LPWSTR lpReturnedString,
457 WritePrivateProfileStringW(
466 GetPrivateProfileSectionW(
468 LPWSTR lpReturnedString,
475 WritePrivateProfileSectionW(
484 LPCWSTR lpRootPathName
505 LPCWSTR lpPrefixString,
507 LPWSTR lpTempFileName
512 GetWindowsDirectoryW(
519 SetCurrentDirectoryW(
525 GetCurrentDirectoryW(
533 LPCWSTR lpRootPathName,
534 LPDWORD lpSectorsPerCluster,
535 LPDWORD lpBytesPerSector,
536 LPDWORD lpNumberOfFreeClusters,
537 LPDWORD lpTotalNumberOfClusters
543 LPCWSTR lpDirectoryName,
544 PULARGE_INTEGER lpFreeBytesAvailableToCaller,
545 PULARGE_INTEGER lpTotalNumberOfBytes,
546 PULARGE_INTEGER lpTotalNumberOfFreeBytes
553 LPSECURITY_ATTRIBUTES lpSecurityAttributes
559 LPCWSTR lpTemplateDirectory,
560 LPCWSTR lpNewDirectory,
561 LPSECURITY_ATTRIBUTES lpSecurityAttributes
583 LPCWSTR lpDeviceName,
590 LPCWSTR lpDeviceName,
599 DWORD dwDesiredAccess,
601 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
602 DWORD dwCreationDisposition,
603 DWORD dwFlagsAndAttributes,
611 DWORD dwFileAttributes
622 GetCompressedFileSizeW(
624 LPDWORD lpFileSizeHigh
647 LPCWSTR lpExistingFileName,
648 LPCWSTR lpNewFileName,
649 WINBOOL bFailIfExists
655 LPCWSTR lpExistingFileName,
656 LPCWSTR lpNewFileName,
657 LPPROGRESS_ROUTINE lpProgressRoutine,
666 LPCWSTR lpExistingFileName,
667 LPCWSTR lpNewFileName
673 LPCWSTR lpExistingFileName,
674 LPCWSTR lpNewFileName,
680 MoveFileWithProgressW(
681 LPCWSTR lpExistingFileName,
682 LPCWSTR lpNewFileName,
683 LPPROGRESS_ROUTINE lpProgressRoutine,
695 DWORD nOutBufferSize,
697 DWORD nDefaultTimeOut,
698 LPSECURITY_ATTRIBUTES lpSecurityAttributes
703 GetNamedPipeHandleStateW(
706 LPDWORD lpCurInstances,
707 LPDWORD lpMaxCollectionCount,
708 LPDWORD lpCollectDataTimeout,
710 DWORD nMaxUserNameSize
716 LPCWSTR lpNamedPipeName,
720 DWORD nOutBufferSize,
728 LPCWSTR lpNamedPipeName,
735 LPCWSTR lpRootPathName,
741 GetVolumeInformationW(
742 LPCWSTR lpRootPathName,
743 LPWSTR lpVolumeNameBuffer,
744 DWORD nVolumeNameSize,
745 LPDWORD lpVolumeSerialNumber,
746 LPDWORD lpMaximumComponentLength,
747 LPDWORD lpFileSystemFlags,
748 LPWSTR lpFileSystemNameBuffer,
749 DWORD nFileSystemNameSize
756 LPCWSTR lpBackupFileName
763 LPCWSTR lpBackupFileName
769 LPCWSTR lpUNCServerName,
775 RegisterEventSourceW (
776 LPCWSTR lpUNCServerName,
782 OpenBackupEventLogW (
783 LPCWSTR lpUNCServerName,
792 DWORD dwRecordOffset,
794 DWORD nNumberOfBytesToRead,
796 DWORD *pnMinNumberOfBytesNeeded
815 AccessCheckAndAuditAlarmW (
816 LPCWSTR SubsystemName,
818 LPWSTR ObjectTypeName,
820 PSECURITY_DESCRIPTOR SecurityDescriptor,
822 PGENERIC_MAPPING GenericMapping,
823 WINBOOL ObjectCreation,
824 LPDWORD GrantedAccess,
826 LPBOOL pfGenerateOnClose
831 ObjectOpenAuditAlarmW (
832 LPCWSTR SubsystemName,
834 LPWSTR ObjectTypeName,
836 PSECURITY_DESCRIPTOR pSecurityDescriptor,
840 PPRIVILEGE_SET Privileges,
841 WINBOOL ObjectCreation,
842 WINBOOL AccessGranted,
843 LPBOOL GenerateOnClose
848 ObjectPrivilegeAuditAlarmW (
849 LPCWSTR SubsystemName,
853 PPRIVILEGE_SET Privileges,
854 WINBOOL AccessGranted
859 ObjectCloseAuditAlarmW (
860 LPCWSTR SubsystemName,
862 WINBOOL GenerateOnClose
867 PrivilegedServiceAuditAlarmW (
868 LPCWSTR SubsystemName,
871 PPRIVILEGE_SET Privileges,
872 WINBOOL AccessGranted
879 SECURITY_INFORMATION SecurityInformation,
880 PSECURITY_DESCRIPTOR pSecurityDescriptor
887 SECURITY_INFORMATION RequestedInformation,
888 PSECURITY_DESCRIPTOR pSecurityDescriptor,
890 LPDWORD lpnLengthNeeded
895 FindFirstChangeNotificationW(
897 WINBOOL bWatchSubtree,
911 LPCWSTR lpSystemName,
915 LPWSTR ReferencedDomainName,
916 LPDWORD cbReferencedDomainName,
923 LPCWSTR lpSystemName,
924 LPCWSTR lpAccountName,
927 LPWSTR ReferencedDomainName,
928 LPDWORD cbReferencedDomainName,
934 LookupPrivilegeValueW(
935 LPCWSTR lpSystemName,
942 LookupPrivilegeNameW(
943 LPCWSTR lpSystemName,
951 LookupPrivilegeDisplayNameW(
952 LPCWSTR lpSystemName,
954 LPWSTR lpDisplayName,
955 LPDWORD cbDisplayName,
968 BuildCommDCBAndTimeoutsW(
971 LPCOMMTIMEOUTS lpCommTimeouts
984 GetDefaultCommConfigW(
992 SetDefaultCommConfigW(
1008 LPCWSTR lpComputerName
1027 wsprintfW(LPWSTR, LPCWSTR, ...);
1031 LoadKeyboardLayoutW(
1037 GetKeyboardLayoutNameW(
1043 LPCWSTR lpszDesktop,
1045 LPDEVMODEW pDevmode,
1047 ACCESS_MASK dwDesiredAccess,
1048 LPSECURITY_ATTRIBUTES lpsa);
1056 DWORD dwDesiredAccess);
1062 DESKTOPENUMPROC lpEnumFunc,
1067 CreateWindowStationW(
1070 DWORD dwDesiredAccess,
1071 LPSECURITY_ATTRIBUTES lpsa);
1078 DWORD dwDesiredAccess);
1082 EnumWindowStationsW(
1083 ENUMWINDOWSTATIONPROC lpEnumFunc,
1088 GetUserObjectInformationW(
1093 LPDWORD lpnLengthNeeded);
1097 SetUserObjectInformationW(
1105 RegisterWindowMessageW(
1114 UINT wMsgFilterMax);
1140 SendMessageTimeoutW(
1147 PDWORD_PTR lpdwResult);
1159 SendMessageCallbackW(
1164 SENDASYNCPROC lpResultCallBack,
1194 WNDPROC lpPrevWndFunc,
1203 CONST WNDCLASS *lpWndClass);
1208 LPCWSTR lpClassName,
1209 HINSTANCE hInstance);
1214 HINSTANCE hInstance ,
1215 LPCWSTR lpClassName,
1216 LPWNDCLASS lpWndClass);
1220 RegisterClassExW(CONST WNDCLASSEX *);
1224 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEX);
1230 LPCWSTR lpClassName,
1231 LPCWSTR lpWindowName,
1239 HINSTANCE hInstance,
1245 HINSTANCE hInstance,
1246 LPCWSTR lpTemplateName,
1248 DLGPROC lpDialogFunc,
1249 LPARAM dwInitParam);
1253 CreateDialogIndirectParamW(
1254 HINSTANCE hInstance,
1255 LPCDLGTEMPLATE lpTemplate,
1257 DLGPROC lpDialogFunc,
1258 LPARAM dwInitParam);
1263 HINSTANCE hInstance,
1264 LPCWSTR lpTemplateName,
1266 DLGPROC lpDialogFunc,
1267 LPARAM dwInitParam);
1271 DialogBoxIndirectParamW(
1272 HINSTANCE hInstance,
1273 LPCDLGTEMPLATE hDialogTemplate,
1275 DLGPROC lpDialogFunc,
1276 LPARAM dwInitParam);
1295 SendDlgItemMessageW(
1318 RegisterClipboardFormatW(
1319 LPCWSTR lpszFormat);
1323 GetClipboardFormatNameW(
1325 LPWSTR lpszFormatName,
1345 DWORD cchDstLength);
1352 DWORD cchDstLength);
1385 LPCWSTR lpszCurrent);
1394 IsCharAlphaNumericW(
1421 STDCALL VkKeyScanExW(
1441 HINSTANCE hInstance,
1442 LPCWSTR lpTableName);
1446 CreateAcceleratorTableW(
1451 CopyAcceleratorTableW(
1458 TranslateAcceleratorW(
1466 HINSTANCE hInstance,
1467 LPCWSTR lpMenuName);
1472 CONST MENUTEMPLATE *lpMenuTemplate);
1479 LPCWSTR lpszNewItem,
1544 WINBOOL fByPosition,
1545 LPMENUITEMINFO lpmii);
1558 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1565 GRAYSTRINGPROC lpOutputFunc,
1573 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1584 LPINT lpnTabStopPositions,
1589 GetTabbedTextExtentW(
1594 LPINT lpnTabStopPositions);
1619 PROPENUMPROCEX lpEnumFunc,
1626 PROPENUMPROC lpEnumFunc);
1643 GetWindowTextLengthW(
1665 MessageBoxIndirectW(LPMSGBOXPARAMS);
1696 LPCWSTR lpClassName ,
1697 LPCWSTR lpWindowName);
1701 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
1721 HINSTANCE hInstance,
1722 LPCWSTR lpBitmapName);
1727 HINSTANCE hInstance,
1728 LPCWSTR lpCursorName);
1732 LoadCursorFromFileW(
1733 LPCWSTR lpFileName);
1738 HINSTANCE hInstance,
1739 LPCWSTR lpIconName);
1754 HINSTANCE hInstance,
1784 DlgDirListComboBoxW(
1793 DlgDirSelectComboBoxExW(
1803 HWND hWndMDIClient ,
1819 LPCWSTR lpClassName,
1820 LPCWSTR lpWindowName,
1827 HINSTANCE hInstance,
1842 ChangeDisplaySettingsW(
1843 LPDEVMODEW lpDevMode,
1848 EnumDisplaySettingsW(
1849 LPCWSTR lpszDeviceName,
1851 LPDEVMODEW lpDevMode);
1855 SystemParametersInfoW(
1863 AddFontResourceW(LPCWSTR);
1867 CopyMetaFileW(HMETAFILE, LPCWSTR);
1871 CreateFontIndirectW(CONST LOGFONT *);
1875 CreateFontW(int, int, int, int, int, DWORD,
1876 DWORD, DWORD, DWORD, DWORD, DWORD,
1877 DWORD, DWORD, LPCWSTR);
1881 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
1885 CreateMetaFileW(LPCWSTR);
1889 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
1893 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
1894 LPWSTR, CONST DEVMODEW *);
1898 EnumFontFamiliesExW(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
1902 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
1906 EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
1910 GetCharWidthW(HDC, UINT, UINT, LPINT);
1914 GetCharWidth32W(HDC, UINT, UINT, LPINT);
1918 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
1922 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
1926 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
1930 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1934 GetMetaFileW(LPCWSTR);
1938 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRIC);
1941 STDCALL GetTextExtentPointW(
1950 GetTextExtentPoint32W(
1959 GetTextExtentExPointW(
1971 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
1975 ResetDCW(HDC, CONST DEVMODEW *);
1979 RemoveFontResourceW(LPCWSTR);
1983 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
1987 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
1991 GetEnhMetaFileW(LPCWSTR);
1995 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
1999 GetTextMetricsW(HDC, LPTEXTMETRIC);
2003 StartDocW(HDC, CONST DOCINFO *);
2007 GetObjectW(HGDIOBJ, int, LPVOID);
2011 TextOutW(HDC, int, int, LPCWSTR, int);
2015 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
2019 PolyTextOutW(HDC, CONST POLYTEXT *, int);
2023 GetTextFaceW(HDC, int, LPWSTR);
2027 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2031 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2035 CreateColorSpaceW(LPLOGCOLORSPACE);
2039 GetICMProfileW(HDC,DWORD,LPWSTR);
2043 SetICMProfileW(HDC,LPWSTR);
2047 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2051 EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
2055 CreatePropertySheetPageW(LPCPROPSHEETPAGE lppsp);
2059 PropertySheetW(LPCPROPSHEETHEADER lppsph);
2063 ImageList_LoadImageW(HINSTANCE hi,
2073 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2077 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2081 GetOpenFileNameW(LPOPENFILENAME);
2085 GetSaveFileNameW(LPOPENFILENAME);
2089 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2093 ChooseColorW(LPCHOOSECOLOR);
2097 ReplaceTextW(LPFINDREPLACE);
2101 ChooseFontW(LPCHOOSEFONT);
2105 FindTextW(LPFINDREPLACE);
2109 PrintDlgW(LPPRINTDLG);
2113 PageSetupDlgW(LPPAGESETUPDLG);
2118 LPCWSTR lpApplicationName,
2119 LPWSTR lpCommandLine,
2120 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2121 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2122 WINBOOL bInheritHandles,
2123 DWORD dwCreationFlags,
2124 LPVOID lpEnvironment,
2125 LPCWSTR lpCurrentDirectory,
2126 LPSTARTUPINFOW lpStartupInfo,
2127 LPPROCESS_INFORMATION lpProcessInformation
2133 LPSTARTUPINFOW lpStartupInfo
2141 FINDEX_INFO_LEVELS fInfoLevelId,
2142 LPVOID lpFindFileData,
2143 FINDEX_SEARCH_OPS fSearchOp,
2144 LPVOID lpSearchFilter,
2145 DWORD dwAdditionalFlags
2152 LPWIN32_FIND_DATAW lpFindFileData
2159 LPWIN32_FIND_DATAW lpFindFileData
2165 LPOSVERSIONINFOW lpVersionInformation
2168 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2169 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2170 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2171 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2173 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2174 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2176 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2177 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2179 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2180 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2182 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2183 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2187 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2191 CreateFontA(int, int, int, int, int, DWORD,
2192 DWORD, DWORD, DWORD, DWORD, DWORD,
2193 DWORD, DWORD, LPCSTR);
2199 LPWSTR szSrcFileName,
2200 LPWSTR szDestFileName,
2210 GetFileVersionInfoSizeW(
2211 LPWSTR lptstrFilename,
2217 GetFileVersionInfoW(
2218 LPWSTR lptstrFilename,
2235 const LPVOID pBlock,
2237 LPVOID * lplpBuffer,
2258 LPCWSTR lpValueName,
2274 InitiateSystemShutdownW(
2275 LPWSTR lpMachineName,
2278 WINBOOL bForceAppsClosed,
2279 WINBOOL bRebootAfterShutdown
2284 AbortSystemShutdownW(
2285 LPCWSTR lpMachineName
2301 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2325 RegQueryMultipleValuesW (
2337 LPCWSTR lpValueName,
2355 RegConnectRegistryW (
2356 LPCWSTR lpMachineName,
2378 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2380 LPDWORD lpdwDisposition
2416 PFILETIME lpftLastWriteTime
2425 LPDWORD lpcbValueName,
2466 LPDWORD lpcbMaxSubKeyLen,
2467 LPDWORD lpcbMaxClassLen,
2469 LPDWORD lpcbMaxValueNameLen,
2470 LPDWORD lpcbMaxValueLen,
2471 LPDWORD lpcbSecurityDescriptor,
2472 PFILETIME lpftLastWriteTime
2516 CONST SYSTEMTIME *lpTime,
2526 CONST SYSTEMTIME *lpDate,
2537 CONST NUMBERFMT *lpFormat,
2547 CONST CURRENCYFMT *lpFormat,
2548 LPWSTR lpCurrencyStr,
2554 CALINFO_ENUMPROC lpCalInfoEnumProc,
2562 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2569 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2602 LOCALE_ENUMPROC lpLocaleEnumProc,
2607 EnumSystemCodePagesW(
2608 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2614 HANDLE hConsoleInput,
2615 PINPUT_RECORD lpBuffer,
2617 LPDWORD lpNumberOfEventsRead
2623 HANDLE hConsoleInput,
2624 PINPUT_RECORD lpBuffer,
2626 LPDWORD lpNumberOfEventsRead
2632 HANDLE hConsoleInput,
2633 CONST INPUT_RECORD *lpBuffer,
2635 LPDWORD lpNumberOfEventsWritten
2641 HANDLE hConsoleOutput,
2642 PCHAR_INFO lpBuffer,
2644 COORD dwBufferCoord,
2645 PSMALL_RECT lpReadRegion
2650 WriteConsoleOutputW(
2651 HANDLE hConsoleOutput,
2652 CONST CHAR_INFO *lpBuffer,
2654 COORD dwBufferCoord,
2655 PSMALL_RECT lpWriteRegion
2660 ReadConsoleOutputCharacterW(
2661 HANDLE hConsoleOutput,
2665 LPDWORD lpNumberOfCharsRead
2670 WriteConsoleOutputCharacterW(
2671 HANDLE hConsoleOutput,
2672 LPCWSTR lpCharacter,
2675 LPDWORD lpNumberOfCharsWritten
2680 FillConsoleOutputCharacterW(
2681 HANDLE hConsoleOutput,
2685 LPDWORD lpNumberOfCharsWritten
2690 ScrollConsoleScreenBufferW(
2691 HANDLE hConsoleOutput,
2692 CONST SMALL_RECT *lpScrollRectangle,
2693 CONST SMALL_RECT *lpClipRectangle,
2694 COORD dwDestinationOrigin,
2695 CONST CHAR_INFO *lpFill
2701 LPWSTR lpConsoleTitle,
2708 LPCWSTR lpConsoleTitle
2714 HANDLE hConsoleInput,
2716 DWORD nNumberOfCharsToRead,
2717 LPDWORD lpNumberOfCharsRead,
2724 HANDLE hConsoleOutput,
2725 CONST VOID *lpBuffer,
2726 DWORD nNumberOfCharsToWrite,
2727 LPDWORD lpNumberOfCharsWritten,
2733 LPCWSTR lpRemoteName,
2739 WNetAddConnection2W(
2740 LPNETRESOURCE lpNetResource,
2747 WNetAddConnection3W(
2749 LPNETRESOURCE lpNetResource,
2756 WNetCancelConnectionW(
2762 WNetCancelConnection2W(
2770 LPCWSTR lpLocalName,
2771 LPWSTR lpRemoteName,
2778 LPNETRESOURCE lpNetResource,
2782 LPWSTR lpAccessName,
2783 LPDWORD lpBufferSize,
2795 WNetConnectionDialog1W(
2796 LPCONNECTDLGSTRUCT lpConnDlgStruct
2800 WNetDisconnectDialog1W(
2801 LPDISCDLGSTRUCT lpConnDlgStruct
2809 LPNETRESOURCE lpNetResource,
2818 LPDWORD lpBufferSize
2822 WNetGetUniversalNameW(
2823 LPCWSTR lpLocalPath,
2826 LPDWORD lpBufferSize
2837 WNetGetProviderNameW(
2839 LPWSTR lpProviderName,
2840 LPDWORD lpBufferSize
2844 WNetGetNetworkInformationW(
2846 LPNETINFOSTRUCT lpNetInfoStruct
2853 DWORD nErrorBufSize,
2859 MultinetGetConnectionPerformanceW(
2860 LPNETRESOURCE lpNetResource,
2861 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2866 ChangeServiceConfigW(
2868 DWORD dwServiceType,
2870 DWORD dwErrorControl,
2871 LPCWSTR lpBinaryPathName,
2872 LPCWSTR lpLoadOrderGroup,
2874 LPCWSTR lpDependencies,
2875 LPCWSTR lpServiceStartName,
2877 LPCWSTR lpDisplayName
2883 SC_HANDLE hSCManager,
2884 LPCWSTR lpServiceName,
2885 LPCWSTR lpDisplayName,
2886 DWORD dwDesiredAccess,
2887 DWORD dwServiceType,
2889 DWORD dwErrorControl,
2890 LPCWSTR lpBinaryPathName,
2891 LPCWSTR lpLoadOrderGroup,
2893 LPCWSTR lpDependencies,
2894 LPCWSTR lpServiceStartName,
2900 EnumDependentServicesW(
2902 DWORD dwServiceState,
2903 LPENUM_SERVICE_STATUSW lpServices,
2905 LPDWORD pcbBytesNeeded,
2906 LPDWORD lpServicesReturned
2911 EnumServicesStatusW(
2912 SC_HANDLE hSCManager,
2913 DWORD dwServiceType,
2914 DWORD dwServiceState,
2915 LPENUM_SERVICE_STATUSW lpServices,
2917 LPDWORD pcbBytesNeeded,
2918 LPDWORD lpServicesReturned,
2919 LPDWORD lpResumeHandle
2925 SC_HANDLE hSCManager,
2926 LPCWSTR lpDisplayName,
2927 LPWSTR lpServiceName,
2933 GetServiceDisplayNameW(
2934 SC_HANDLE hSCManager,
2935 LPCWSTR lpServiceName,
2936 LPWSTR lpDisplayName,
2943 LPCWSTR lpMachineName,
2944 LPCWSTR lpDatabaseName,
2945 DWORD dwDesiredAccess
2951 SC_HANDLE hSCManager,
2952 LPCWSTR lpServiceName,
2953 DWORD dwDesiredAccess
2958 QueryServiceConfigW(
2960 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
2962 LPDWORD pcbBytesNeeded
2967 QueryServiceLockStatusW(
2968 SC_HANDLE hSCManager,
2969 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
2971 LPDWORD pcbBytesNeeded
2974 SERVICE_STATUS_HANDLE
2976 RegisterServiceCtrlHandlerW(
2977 LPCWSTR lpServiceName,
2978 LPHANDLER_FUNCTION lpHandlerProc
2983 StartServiceCtrlDispatcherW(
2984 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
2991 DWORD dwNumServiceArgs,
2992 LPCWSTR *lpServiceArgVectors
2995 /* Extensions to OpenGL */
2998 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
3001 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
3002 FLOAT, int, LPGLYPHMETRICSFLOAT);
3004 /* ------------------------------------- */
3005 /* From shellapi.h in old Cygnus headers */
3008 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
3011 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
3014 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
3017 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
3020 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
3023 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
3025 /* end of stuff from shellapi.h in old Cygnus headers */
3026 /* -------------------------------------------------- */
3027 /* From ddeml.h in old Cygnus headers */
3031 DdeCreateStringHandleW(
3037 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3048 /* end of stuff from ddeml.h in old Cygnus headers */
3049 /* ----------------------------------------------- */
3051 WINBOOL STDCALL LogonUserW (LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, HANDLE *);
3052 WINBOOL STDCALL CreateProcessAsUserW (HANDLE, LPCWSTR, LPWSTR,
3053 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL,
3054 DWORD, LPVOID, LPCWSTR, STARTUPINFOW*,
3055 PROCESS_INFORMATION*);
3059 #endif /* __cplusplus */
3061 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */