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 */
39 #define ANSI_DOS_STAR ('<')
40 #define ANSI_DOS_QM ('>')
41 #define ANSI_DOS_DOT ('"')
43 #define DOS_STAR (L'<')
45 #define DOS_DOT (L'"')
50 LPCWSTR lpApplicationName,
64 GetEnvironmentStringsW(
70 FreeEnvironmentStringsW(
90 DWORD nMaxMessageSize,
92 LPSECURITY_ATTRIBUTES lpSecurityAttributes
140 LPSECURITY_ATTRIBUTES lpMutexAttributes,
141 WINBOOL bInitialOwner,
148 DWORD dwDesiredAccess,
149 WINBOOL bInheritHandle,
156 LPSECURITY_ATTRIBUTES lpEventAttributes,
157 WINBOOL bManualReset,
158 WINBOOL bInitialState,
165 DWORD dwDesiredAccess,
166 WINBOOL bInheritHandle,
173 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
182 DWORD dwDesiredAccess,
183 WINBOOL bInheritHandle,
191 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
193 DWORD dwMaximumSizeHigh,
194 DWORD dwMaximumSizeLow,
201 DWORD dwDesiredAccess,
202 WINBOOL bInheritHandle,
208 GetLogicalDriveStringsW(
216 LPCWSTR lpLibFileName
222 LPCWSTR lpLibFileName,
245 LPCWSTR lpMessageText
256 GetEnvironmentVariableW(
264 SetEnvironmentVariableW(
271 ExpandEnvironmentStringsW(
280 LPCWSTR lpOutputString
304 ENUMRESTYPEPROC lpEnumFunc,
313 ENUMRESNAMEPROC lpEnumFunc,
319 EnumResourceLanguagesW(
323 ENUMRESLANGPROC lpEnumFunc,
329 BeginUpdateResourceW(
331 WINBOOL bDeleteExistingResources
406 LPWSTR lpReturnedString,
422 LPWSTR lpReturnedString,
428 WriteProfileSectionW(
435 GetPrivateProfileIntW(
444 GetPrivateProfileStringW(
448 LPWSTR lpReturnedString,
455 WritePrivateProfileStringW(
464 GetPrivateProfileSectionW(
466 LPWSTR lpReturnedString,
473 WritePrivateProfileSectionW(
482 LPCWSTR lpRootPathName
503 LPCWSTR lpPrefixString,
505 LPWSTR lpTempFileName
510 GetWindowsDirectoryW(
517 SetCurrentDirectoryW(
523 GetCurrentDirectoryW(
531 LPCWSTR lpRootPathName,
532 LPDWORD lpSectorsPerCluster,
533 LPDWORD lpBytesPerSector,
534 LPDWORD lpNumberOfFreeClusters,
535 LPDWORD lpTotalNumberOfClusters
541 LPCWSTR lpDirectoryName,
542 PULARGE_INTEGER lpFreeBytesAvailableToCaller,
543 PULARGE_INTEGER lpTotalNumberOfBytes,
544 PULARGE_INTEGER lpTotalNumberOfFreeBytes
551 LPSECURITY_ATTRIBUTES lpSecurityAttributes
557 LPCWSTR lpTemplateDirectory,
558 LPCWSTR lpNewDirectory,
559 LPSECURITY_ATTRIBUTES lpSecurityAttributes
581 LPCWSTR lpDeviceName,
588 LPCWSTR lpDeviceName,
597 DWORD dwDesiredAccess,
599 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
600 DWORD dwCreationDisposition,
601 DWORD dwFlagsAndAttributes,
609 DWORD dwFileAttributes
620 GetCompressedFileSizeW(
622 LPDWORD lpFileSizeHigh
645 LPCWSTR lpExistingFileName,
646 LPCWSTR lpNewFileName,
647 WINBOOL bFailIfExists
653 LPCWSTR lpExistingFileName,
654 LPCWSTR lpNewFileName,
655 LPPROGRESS_ROUTINE lpProgressRoutine,
664 LPCWSTR lpExistingFileName,
665 LPCWSTR lpNewFileName
671 LPCWSTR lpExistingFileName,
672 LPCWSTR lpNewFileName,
678 MoveFileWithProgressW(
679 LPCWSTR lpExistingFileName,
680 LPCWSTR lpNewFileName,
681 LPPROGRESS_ROUTINE lpProgressRoutine,
693 DWORD nOutBufferSize,
695 DWORD nDefaultTimeOut,
696 LPSECURITY_ATTRIBUTES lpSecurityAttributes
701 GetNamedPipeHandleStateW(
704 LPDWORD lpCurInstances,
705 LPDWORD lpMaxCollectionCount,
706 LPDWORD lpCollectDataTimeout,
708 DWORD nMaxUserNameSize
714 LPCWSTR lpNamedPipeName,
718 DWORD nOutBufferSize,
726 LPCWSTR lpNamedPipeName,
733 LPCWSTR lpRootPathName,
739 GetVolumeInformationW(
740 LPCWSTR lpRootPathName,
741 LPWSTR lpVolumeNameBuffer,
742 DWORD nVolumeNameSize,
743 LPDWORD lpVolumeSerialNumber,
744 LPDWORD lpMaximumComponentLength,
745 LPDWORD lpFileSystemFlags,
746 LPWSTR lpFileSystemNameBuffer,
747 DWORD nFileSystemNameSize
754 LPCWSTR lpBackupFileName
761 LPCWSTR lpBackupFileName
767 LPCWSTR lpUNCServerName,
773 RegisterEventSourceW (
774 LPCWSTR lpUNCServerName,
780 OpenBackupEventLogW (
781 LPCWSTR lpUNCServerName,
790 DWORD dwRecordOffset,
792 DWORD nNumberOfBytesToRead,
794 DWORD *pnMinNumberOfBytesNeeded
813 AccessCheckAndAuditAlarmW (
814 LPCWSTR SubsystemName,
816 LPWSTR ObjectTypeName,
818 PSECURITY_DESCRIPTOR SecurityDescriptor,
820 PGENERIC_MAPPING GenericMapping,
821 WINBOOL ObjectCreation,
822 LPDWORD GrantedAccess,
824 LPBOOL pfGenerateOnClose
829 ObjectOpenAuditAlarmW (
830 LPCWSTR SubsystemName,
832 LPWSTR ObjectTypeName,
834 PSECURITY_DESCRIPTOR pSecurityDescriptor,
838 PPRIVILEGE_SET Privileges,
839 WINBOOL ObjectCreation,
840 WINBOOL AccessGranted,
841 LPBOOL GenerateOnClose
846 ObjectPrivilegeAuditAlarmW (
847 LPCWSTR SubsystemName,
851 PPRIVILEGE_SET Privileges,
852 WINBOOL AccessGranted
857 ObjectCloseAuditAlarmW (
858 LPCWSTR SubsystemName,
860 WINBOOL GenerateOnClose
865 PrivilegedServiceAuditAlarmW (
866 LPCWSTR SubsystemName,
869 PPRIVILEGE_SET Privileges,
870 WINBOOL AccessGranted
877 SECURITY_INFORMATION SecurityInformation,
878 PSECURITY_DESCRIPTOR pSecurityDescriptor
885 SECURITY_INFORMATION RequestedInformation,
886 PSECURITY_DESCRIPTOR pSecurityDescriptor,
888 LPDWORD lpnLengthNeeded
893 FindFirstChangeNotificationW(
895 WINBOOL bWatchSubtree,
909 LPCWSTR lpSystemName,
913 LPWSTR ReferencedDomainName,
914 LPDWORD cbReferencedDomainName,
921 LPCWSTR lpSystemName,
922 LPCWSTR lpAccountName,
925 LPWSTR ReferencedDomainName,
926 LPDWORD cbReferencedDomainName,
932 LookupPrivilegeValueW(
933 LPCWSTR lpSystemName,
940 LookupPrivilegeNameW(
941 LPCWSTR lpSystemName,
949 LookupPrivilegeDisplayNameW(
950 LPCWSTR lpSystemName,
952 LPWSTR lpDisplayName,
953 LPDWORD cbDisplayName,
966 BuildCommDCBAndTimeoutsW(
969 LPCOMMTIMEOUTS lpCommTimeouts
982 GetDefaultCommConfigW(
990 SetDefaultCommConfigW(
1006 LPCWSTR lpComputerName
1025 wsprintfW(LPWSTR, LPCWSTR, ...);
1029 LoadKeyboardLayoutW(
1035 GetKeyboardLayoutNameW(
1041 LPCWSTR lpszDesktop,
1043 LPDEVMODEW pDevmode,
1045 ACCESS_MASK dwDesiredAccess,
1046 LPSECURITY_ATTRIBUTES lpsa);
1054 DWORD dwDesiredAccess);
1060 DESKTOPENUMPROC lpEnumFunc,
1065 CreateWindowStationW(
1068 DWORD dwDesiredAccess,
1069 LPSECURITY_ATTRIBUTES lpsa);
1076 DWORD dwDesiredAccess);
1080 EnumWindowStationsW(
1081 ENUMWINDOWSTATIONPROC lpEnumFunc,
1086 GetUserObjectInformationW(
1091 LPDWORD lpnLengthNeeded);
1095 SetUserObjectInformationW(
1103 RegisterWindowMessageW(
1112 UINT wMsgFilterMax);
1138 SendMessageTimeoutW(
1145 PDWORD_PTR lpdwResult);
1157 SendMessageCallbackW(
1162 SENDASYNCPROC lpResultCallBack,
1192 WNDPROC lpPrevWndFunc,
1201 CONST WNDCLASS *lpWndClass);
1206 LPCWSTR lpClassName,
1207 HINSTANCE hInstance);
1212 HINSTANCE hInstance ,
1213 LPCWSTR lpClassName,
1214 LPWNDCLASS lpWndClass);
1218 RegisterClassExW(CONST WNDCLASSEX *);
1222 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEX);
1228 LPCWSTR lpClassName,
1229 LPCWSTR lpWindowName,
1237 HINSTANCE hInstance,
1243 HINSTANCE hInstance,
1244 LPCWSTR lpTemplateName,
1246 DLGPROC lpDialogFunc,
1247 LPARAM dwInitParam);
1251 CreateDialogIndirectParamW(
1252 HINSTANCE hInstance,
1253 LPCDLGTEMPLATE lpTemplate,
1255 DLGPROC lpDialogFunc,
1256 LPARAM dwInitParam);
1261 HINSTANCE hInstance,
1262 LPCWSTR lpTemplateName,
1264 DLGPROC lpDialogFunc,
1265 LPARAM dwInitParam);
1269 DialogBoxIndirectParamW(
1270 HINSTANCE hInstance,
1271 LPCDLGTEMPLATE hDialogTemplate,
1273 DLGPROC lpDialogFunc,
1274 LPARAM dwInitParam);
1293 SendDlgItemMessageW(
1316 RegisterClipboardFormatW(
1317 LPCWSTR lpszFormat);
1321 GetClipboardFormatNameW(
1323 LPWSTR lpszFormatName,
1343 DWORD cchDstLength);
1350 DWORD cchDstLength);
1383 LPCWSTR lpszCurrent);
1392 IsCharAlphaNumericW(
1419 STDCALL VkKeyScanExW(
1439 HINSTANCE hInstance,
1440 LPCWSTR lpTableName);
1444 CreateAcceleratorTableW(
1449 CopyAcceleratorTableW(
1456 TranslateAcceleratorW(
1464 HINSTANCE hInstance,
1465 LPCWSTR lpMenuName);
1470 CONST MENUTEMPLATE *lpMenuTemplate);
1477 LPCWSTR lpszNewItem,
1542 WINBOOL fByPosition,
1543 LPMENUITEMINFO lpmii);
1556 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1563 GRAYSTRINGPROC lpOutputFunc,
1571 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1582 LPINT lpnTabStopPositions,
1587 GetTabbedTextExtentW(
1592 LPINT lpnTabStopPositions);
1617 PROPENUMPROCEX lpEnumFunc,
1624 PROPENUMPROC lpEnumFunc);
1641 GetWindowTextLengthW(
1663 MessageBoxIndirectW(LPMSGBOXPARAMS);
1694 LPCWSTR lpClassName ,
1695 LPCWSTR lpWindowName);
1699 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
1719 HINSTANCE hInstance,
1720 LPCWSTR lpBitmapName);
1725 HINSTANCE hInstance,
1726 LPCWSTR lpCursorName);
1730 LoadCursorFromFileW(
1731 LPCWSTR lpFileName);
1736 HINSTANCE hInstance,
1737 LPCWSTR lpIconName);
1752 HINSTANCE hInstance,
1782 DlgDirListComboBoxW(
1791 DlgDirSelectComboBoxExW(
1801 HWND hWndMDIClient ,
1817 LPCWSTR lpClassName,
1818 LPCWSTR lpWindowName,
1825 HINSTANCE hInstance,
1840 ChangeDisplaySettingsW(
1841 LPDEVMODEW lpDevMode,
1846 EnumDisplaySettingsW(
1847 LPCWSTR lpszDeviceName,
1849 LPDEVMODEW lpDevMode);
1853 SystemParametersInfoW(
1861 AddFontResourceW(LPCWSTR);
1865 CopyMetaFileW(HMETAFILE, LPCWSTR);
1869 CreateFontIndirectW(CONST LOGFONT *);
1873 CreateFontW(int, int, int, int, int, DWORD,
1874 DWORD, DWORD, DWORD, DWORD, DWORD,
1875 DWORD, DWORD, LPCWSTR);
1879 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
1883 CreateMetaFileW(LPCWSTR);
1887 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
1891 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
1892 LPWSTR, CONST DEVMODEW *);
1896 EnumFontFamiliesExW(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
1900 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
1904 EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
1908 GetCharWidthW(HDC, UINT, UINT, LPINT);
1912 GetCharWidth32W(HDC, UINT, UINT, LPINT);
1916 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
1920 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
1924 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
1928 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1932 GetMetaFileW(LPCWSTR);
1936 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRIC);
1939 STDCALL GetTextExtentPointW(
1948 GetTextExtentPoint32W(
1957 GetTextExtentExPointW(
1969 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
1973 ResetDCW(HDC, CONST DEVMODEW *);
1977 RemoveFontResourceW(LPCWSTR);
1981 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
1985 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
1989 GetEnhMetaFileW(LPCWSTR);
1993 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
1997 GetTextMetricsW(HDC, LPTEXTMETRIC);
2001 StartDocW(HDC, CONST DOCINFO *);
2005 GetObjectW(HGDIOBJ, int, LPVOID);
2009 TextOutW(HDC, int, int, LPCWSTR, int);
2013 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
2017 PolyTextOutW(HDC, CONST POLYTEXT *, int);
2021 GetTextFaceW(HDC, int, LPWSTR);
2025 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2029 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2033 CreateColorSpaceW(LPLOGCOLORSPACE);
2037 GetICMProfileW(HDC,DWORD,LPWSTR);
2041 SetICMProfileW(HDC,LPWSTR);
2045 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2049 EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
2053 CreatePropertySheetPageW(LPCPROPSHEETPAGE lppsp);
2057 PropertySheetW(LPCPROPSHEETHEADER lppsph);
2061 ImageList_LoadImageW(HINSTANCE hi,
2071 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2075 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2079 GetOpenFileNameW(LPOPENFILENAME);
2083 GetSaveFileNameW(LPOPENFILENAME);
2087 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2091 ChooseColorW(LPCHOOSECOLOR);
2095 ReplaceTextW(LPFINDREPLACE);
2099 ChooseFontW(LPCHOOSEFONT);
2103 FindTextW(LPFINDREPLACE);
2107 PrintDlgW(LPPRINTDLG);
2111 PageSetupDlgW(LPPAGESETUPDLG);
2116 LPCWSTR lpApplicationName,
2117 LPWSTR lpCommandLine,
2118 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2119 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2120 WINBOOL bInheritHandles,
2121 DWORD dwCreationFlags,
2122 LPVOID lpEnvironment,
2123 LPCWSTR lpCurrentDirectory,
2124 LPSTARTUPINFOW lpStartupInfo,
2125 LPPROCESS_INFORMATION lpProcessInformation
2131 LPSTARTUPINFOW lpStartupInfo
2139 FINDEX_INFO_LEVELS fInfoLevelId,
2140 LPVOID lpFindFileData,
2141 FINDEX_SEARCH_OPS fSearchOp,
2142 LPVOID lpSearchFilter,
2143 DWORD dwAdditionalFlags
2150 LPWIN32_FIND_DATAW lpFindFileData
2157 LPWIN32_FIND_DATAW lpFindFileData
2163 LPOSVERSIONINFOW lpVersionInformation
2166 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2167 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2168 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2169 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2171 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2172 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2174 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2175 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2177 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2178 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2180 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2181 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2185 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2189 CreateFontA(int, int, int, int, int, DWORD,
2190 DWORD, DWORD, DWORD, DWORD, DWORD,
2191 DWORD, DWORD, LPCSTR);
2197 LPWSTR szSrcFileName,
2198 LPWSTR szDestFileName,
2208 GetFileVersionInfoSizeW(
2209 LPWSTR lptstrFilename,
2215 GetFileVersionInfoW(
2216 LPWSTR lptstrFilename,
2233 const LPVOID pBlock,
2235 LPVOID * lplpBuffer,
2256 LPCWSTR lpValueName,
2272 InitiateSystemShutdownW(
2273 LPWSTR lpMachineName,
2276 WINBOOL bForceAppsClosed,
2277 WINBOOL bRebootAfterShutdown
2282 AbortSystemShutdownW(
2283 LPCWSTR lpMachineName
2299 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2323 RegQueryMultipleValuesW (
2335 LPCWSTR lpValueName,
2353 RegConnectRegistryW (
2354 LPCWSTR lpMachineName,
2376 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2378 LPDWORD lpdwDisposition
2414 PFILETIME lpftLastWriteTime
2423 LPDWORD lpcbValueName,
2464 LPDWORD lpcbMaxSubKeyLen,
2465 LPDWORD lpcbMaxClassLen,
2467 LPDWORD lpcbMaxValueNameLen,
2468 LPDWORD lpcbMaxValueLen,
2469 LPDWORD lpcbSecurityDescriptor,
2470 PFILETIME lpftLastWriteTime
2514 CONST SYSTEMTIME *lpTime,
2524 CONST SYSTEMTIME *lpDate,
2535 CONST NUMBERFMT *lpFormat,
2545 CONST CURRENCYFMT *lpFormat,
2546 LPWSTR lpCurrencyStr,
2552 CALINFO_ENUMPROC lpCalInfoEnumProc,
2560 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2567 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2600 LOCALE_ENUMPROC lpLocaleEnumProc,
2605 EnumSystemCodePagesW(
2606 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2612 HANDLE hConsoleInput,
2613 PINPUT_RECORD lpBuffer,
2615 LPDWORD lpNumberOfEventsRead
2621 HANDLE hConsoleInput,
2622 PINPUT_RECORD lpBuffer,
2624 LPDWORD lpNumberOfEventsRead
2630 HANDLE hConsoleInput,
2631 CONST INPUT_RECORD *lpBuffer,
2633 LPDWORD lpNumberOfEventsWritten
2639 HANDLE hConsoleOutput,
2640 PCHAR_INFO lpBuffer,
2642 COORD dwBufferCoord,
2643 PSMALL_RECT lpReadRegion
2648 WriteConsoleOutputW(
2649 HANDLE hConsoleOutput,
2650 CONST CHAR_INFO *lpBuffer,
2652 COORD dwBufferCoord,
2653 PSMALL_RECT lpWriteRegion
2658 ReadConsoleOutputCharacterW(
2659 HANDLE hConsoleOutput,
2663 LPDWORD lpNumberOfCharsRead
2668 WriteConsoleOutputCharacterW(
2669 HANDLE hConsoleOutput,
2670 LPCWSTR lpCharacter,
2673 LPDWORD lpNumberOfCharsWritten
2678 FillConsoleOutputCharacterW(
2679 HANDLE hConsoleOutput,
2683 LPDWORD lpNumberOfCharsWritten
2688 ScrollConsoleScreenBufferW(
2689 HANDLE hConsoleOutput,
2690 CONST SMALL_RECT *lpScrollRectangle,
2691 CONST SMALL_RECT *lpClipRectangle,
2692 COORD dwDestinationOrigin,
2693 CONST CHAR_INFO *lpFill
2699 LPWSTR lpConsoleTitle,
2706 LPCWSTR lpConsoleTitle
2712 HANDLE hConsoleInput,
2714 DWORD nNumberOfCharsToRead,
2715 LPDWORD lpNumberOfCharsRead,
2722 HANDLE hConsoleOutput,
2723 CONST VOID *lpBuffer,
2724 DWORD nNumberOfCharsToWrite,
2725 LPDWORD lpNumberOfCharsWritten,
2731 LPCWSTR lpRemoteName,
2737 WNetAddConnection2W(
2738 LPNETRESOURCE lpNetResource,
2745 WNetAddConnection3W(
2747 LPNETRESOURCE lpNetResource,
2754 WNetCancelConnectionW(
2760 WNetCancelConnection2W(
2768 LPCWSTR lpLocalName,
2769 LPWSTR lpRemoteName,
2776 LPNETRESOURCE lpNetResource,
2780 LPWSTR lpAccessName,
2781 LPDWORD lpBufferSize,
2793 WNetConnectionDialog1W(
2794 LPCONNECTDLGSTRUCT lpConnDlgStruct
2798 WNetDisconnectDialog1W(
2799 LPDISCDLGSTRUCT lpConnDlgStruct
2807 LPNETRESOURCE lpNetResource,
2816 LPDWORD lpBufferSize
2820 WNetGetUniversalNameW(
2821 LPCWSTR lpLocalPath,
2824 LPDWORD lpBufferSize
2835 WNetGetProviderNameW(
2837 LPWSTR lpProviderName,
2838 LPDWORD lpBufferSize
2842 WNetGetNetworkInformationW(
2844 LPNETINFOSTRUCT lpNetInfoStruct
2851 DWORD nErrorBufSize,
2857 MultinetGetConnectionPerformanceW(
2858 LPNETRESOURCE lpNetResource,
2859 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2864 ChangeServiceConfigW(
2866 DWORD dwServiceType,
2868 DWORD dwErrorControl,
2869 LPCWSTR lpBinaryPathName,
2870 LPCWSTR lpLoadOrderGroup,
2872 LPCWSTR lpDependencies,
2873 LPCWSTR lpServiceStartName,
2875 LPCWSTR lpDisplayName
2881 SC_HANDLE hSCManager,
2882 LPCWSTR lpServiceName,
2883 LPCWSTR lpDisplayName,
2884 DWORD dwDesiredAccess,
2885 DWORD dwServiceType,
2887 DWORD dwErrorControl,
2888 LPCWSTR lpBinaryPathName,
2889 LPCWSTR lpLoadOrderGroup,
2891 LPCWSTR lpDependencies,
2892 LPCWSTR lpServiceStartName,
2898 EnumDependentServicesW(
2900 DWORD dwServiceState,
2901 LPENUM_SERVICE_STATUSW lpServices,
2903 LPDWORD pcbBytesNeeded,
2904 LPDWORD lpServicesReturned
2909 EnumServicesStatusW(
2910 SC_HANDLE hSCManager,
2911 DWORD dwServiceType,
2912 DWORD dwServiceState,
2913 LPENUM_SERVICE_STATUSW lpServices,
2915 LPDWORD pcbBytesNeeded,
2916 LPDWORD lpServicesReturned,
2917 LPDWORD lpResumeHandle
2923 SC_HANDLE hSCManager,
2924 LPCWSTR lpDisplayName,
2925 LPWSTR lpServiceName,
2931 GetServiceDisplayNameW(
2932 SC_HANDLE hSCManager,
2933 LPCWSTR lpServiceName,
2934 LPWSTR lpDisplayName,
2941 LPCWSTR lpMachineName,
2942 LPCWSTR lpDatabaseName,
2943 DWORD dwDesiredAccess
2949 SC_HANDLE hSCManager,
2950 LPCWSTR lpServiceName,
2951 DWORD dwDesiredAccess
2956 QueryServiceConfigW(
2958 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
2960 LPDWORD pcbBytesNeeded
2965 QueryServiceLockStatusW(
2966 SC_HANDLE hSCManager,
2967 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
2969 LPDWORD pcbBytesNeeded
2972 SERVICE_STATUS_HANDLE
2974 RegisterServiceCtrlHandlerW(
2975 LPCWSTR lpServiceName,
2976 LPHANDLER_FUNCTION lpHandlerProc
2981 StartServiceCtrlDispatcherW(
2982 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
2989 DWORD dwNumServiceArgs,
2990 LPCWSTR *lpServiceArgVectors
2993 /* Extensions to OpenGL */
2996 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
2999 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
3000 FLOAT, int, LPGLYPHMETRICSFLOAT);
3002 /* ------------------------------------- */
3003 /* From shellapi.h in old Cygnus headers */
3006 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
3009 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
3012 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
3015 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
3018 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
3021 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
3023 /* end of stuff from shellapi.h in old Cygnus headers */
3024 /* -------------------------------------------------- */
3025 /* From ddeml.h in old Cygnus headers */
3029 DdeCreateStringHandleW(
3035 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3046 /* end of stuff from ddeml.h in old Cygnus headers */
3047 /* ----------------------------------------------- */
3049 WINBOOL STDCALL LogonUserW (LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, HANDLE *);
3050 WINBOOL STDCALL CreateProcessAsUserW (HANDLE, LPCWSTR, LPWSTR,
3051 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL,
3052 DWORD, LPVOID, LPCWSTR, STARTUPINFOW*,
3053 PROCESS_INFORMATION*);
3057 #endif /* __cplusplus */
3059 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */