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
660 LPCWSTR lpExistingFileName,
661 LPCWSTR lpNewFileName,
672 DWORD nOutBufferSize,
674 DWORD nDefaultTimeOut,
675 LPSECURITY_ATTRIBUTES lpSecurityAttributes
680 GetNamedPipeHandleStateW(
683 LPDWORD lpCurInstances,
684 LPDWORD lpMaxCollectionCount,
685 LPDWORD lpCollectDataTimeout,
687 DWORD nMaxUserNameSize
693 LPCWSTR lpNamedPipeName,
697 DWORD nOutBufferSize,
705 LPCWSTR lpNamedPipeName,
712 LPCWSTR lpRootPathName,
718 GetVolumeInformationW(
719 LPCWSTR lpRootPathName,
720 LPWSTR lpVolumeNameBuffer,
721 DWORD nVolumeNameSize,
722 LPDWORD lpVolumeSerialNumber,
723 LPDWORD lpMaximumComponentLength,
724 LPDWORD lpFileSystemFlags,
725 LPWSTR lpFileSystemNameBuffer,
726 DWORD nFileSystemNameSize
733 LPCWSTR lpBackupFileName
740 LPCWSTR lpBackupFileName
746 LPCWSTR lpUNCServerName,
752 RegisterEventSourceW (
753 LPCWSTR lpUNCServerName,
759 OpenBackupEventLogW (
760 LPCWSTR lpUNCServerName,
769 DWORD dwRecordOffset,
771 DWORD nNumberOfBytesToRead,
773 DWORD *pnMinNumberOfBytesNeeded
792 AccessCheckAndAuditAlarmW (
793 LPCWSTR SubsystemName,
795 LPWSTR ObjectTypeName,
797 PSECURITY_DESCRIPTOR SecurityDescriptor,
799 PGENERIC_MAPPING GenericMapping,
800 WINBOOL ObjectCreation,
801 LPDWORD GrantedAccess,
803 LPBOOL pfGenerateOnClose
808 ObjectOpenAuditAlarmW (
809 LPCWSTR SubsystemName,
811 LPWSTR ObjectTypeName,
813 PSECURITY_DESCRIPTOR pSecurityDescriptor,
817 PPRIVILEGE_SET Privileges,
818 WINBOOL ObjectCreation,
819 WINBOOL AccessGranted,
820 LPBOOL GenerateOnClose
825 ObjectPrivilegeAuditAlarmW (
826 LPCWSTR SubsystemName,
830 PPRIVILEGE_SET Privileges,
831 WINBOOL AccessGranted
836 ObjectCloseAuditAlarmW (
837 LPCWSTR SubsystemName,
839 WINBOOL GenerateOnClose
844 PrivilegedServiceAuditAlarmW (
845 LPCWSTR SubsystemName,
848 PPRIVILEGE_SET Privileges,
849 WINBOOL AccessGranted
856 SECURITY_INFORMATION SecurityInformation,
857 PSECURITY_DESCRIPTOR pSecurityDescriptor
864 SECURITY_INFORMATION RequestedInformation,
865 PSECURITY_DESCRIPTOR pSecurityDescriptor,
867 LPDWORD lpnLengthNeeded
872 FindFirstChangeNotificationW(
874 WINBOOL bWatchSubtree,
888 LPCWSTR lpSystemName,
892 LPWSTR ReferencedDomainName,
893 LPDWORD cbReferencedDomainName,
900 LPCWSTR lpSystemName,
901 LPCWSTR lpAccountName,
904 LPWSTR ReferencedDomainName,
905 LPDWORD cbReferencedDomainName,
911 LookupPrivilegeValueW(
912 LPCWSTR lpSystemName,
919 LookupPrivilegeNameW(
920 LPCWSTR lpSystemName,
928 LookupPrivilegeDisplayNameW(
929 LPCWSTR lpSystemName,
931 LPWSTR lpDisplayName,
932 LPDWORD cbDisplayName,
945 BuildCommDCBAndTimeoutsW(
948 LPCOMMTIMEOUTS lpCommTimeouts
961 GetDefaultCommConfigW(
969 SetDefaultCommConfigW(
985 LPCWSTR lpComputerName
1004 wsprintfW(LPWSTR, LPCWSTR, ...);
1008 LoadKeyboardLayoutW(
1014 GetKeyboardLayoutNameW(
1020 LPCWSTR lpszDesktop,
1022 LPDEVMODEW pDevmode,
1024 ACCESS_MASK dwDesiredAccess,
1025 LPSECURITY_ATTRIBUTES lpsa);
1033 DWORD dwDesiredAccess);
1039 DESKTOPENUMPROC lpEnumFunc,
1044 CreateWindowStationW(
1047 DWORD dwDesiredAccess,
1048 LPSECURITY_ATTRIBUTES lpsa);
1055 DWORD dwDesiredAccess);
1059 EnumWindowStationsW(
1060 ENUMWINDOWSTATIONPROC lpEnumFunc,
1065 GetUserObjectInformationW(
1070 LPDWORD lpnLengthNeeded);
1074 SetUserObjectInformationW(
1082 RegisterWindowMessageW(
1091 UINT wMsgFilterMax);
1117 SendMessageTimeoutW(
1124 PDWORD_PTR lpdwResult);
1136 SendMessageCallbackW(
1141 SENDASYNCPROC lpResultCallBack,
1171 WNDPROC lpPrevWndFunc,
1180 CONST WNDCLASS *lpWndClass);
1185 LPCWSTR lpClassName,
1186 HINSTANCE hInstance);
1191 HINSTANCE hInstance ,
1192 LPCWSTR lpClassName,
1193 LPWNDCLASS lpWndClass);
1197 RegisterClassExW(CONST WNDCLASSEX *);
1201 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEX);
1207 LPCWSTR lpClassName,
1208 LPCWSTR lpWindowName,
1216 HINSTANCE hInstance,
1222 HINSTANCE hInstance,
1223 LPCWSTR lpTemplateName,
1225 DLGPROC lpDialogFunc,
1226 LPARAM dwInitParam);
1230 CreateDialogIndirectParamW(
1231 HINSTANCE hInstance,
1232 LPCDLGTEMPLATE lpTemplate,
1234 DLGPROC lpDialogFunc,
1235 LPARAM dwInitParam);
1240 HINSTANCE hInstance,
1241 LPCWSTR lpTemplateName,
1243 DLGPROC lpDialogFunc,
1244 LPARAM dwInitParam);
1248 DialogBoxIndirectParamW(
1249 HINSTANCE hInstance,
1250 LPCDLGTEMPLATE hDialogTemplate,
1252 DLGPROC lpDialogFunc,
1253 LPARAM dwInitParam);
1272 SendDlgItemMessageW(
1295 RegisterClipboardFormatW(
1296 LPCWSTR lpszFormat);
1300 GetClipboardFormatNameW(
1302 LPWSTR lpszFormatName,
1322 DWORD cchDstLength);
1329 DWORD cchDstLength);
1362 LPCWSTR lpszCurrent);
1371 IsCharAlphaNumericW(
1398 STDCALL VkKeyScanExW(
1418 HINSTANCE hInstance,
1419 LPCWSTR lpTableName);
1423 CreateAcceleratorTableW(
1428 CopyAcceleratorTableW(
1435 TranslateAcceleratorW(
1443 HINSTANCE hInstance,
1444 LPCWSTR lpMenuName);
1449 CONST MENUTEMPLATE *lpMenuTemplate);
1456 LPCWSTR lpszNewItem,
1521 WINBOOL fByPosition,
1522 LPMENUITEMINFO lpmii);
1535 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1542 GRAYSTRINGPROC lpOutputFunc,
1550 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1561 LPINT lpnTabStopPositions,
1566 GetTabbedTextExtentW(
1571 LPINT lpnTabStopPositions);
1596 PROPENUMPROCEX lpEnumFunc,
1603 PROPENUMPROC lpEnumFunc);
1620 GetWindowTextLengthW(
1642 MessageBoxIndirectW(LPMSGBOXPARAMS);
1673 LPCWSTR lpClassName ,
1674 LPCWSTR lpWindowName);
1678 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
1698 HINSTANCE hInstance,
1699 LPCWSTR lpBitmapName);
1704 HINSTANCE hInstance,
1705 LPCWSTR lpCursorName);
1709 LoadCursorFromFileW(
1710 LPCWSTR lpFileName);
1715 HINSTANCE hInstance,
1716 LPCWSTR lpIconName);
1731 HINSTANCE hInstance,
1761 DlgDirListComboBoxW(
1770 DlgDirSelectComboBoxExW(
1780 HWND hWndMDIClient ,
1796 LPCWSTR lpClassName,
1797 LPCWSTR lpWindowName,
1804 HINSTANCE hInstance,
1819 ChangeDisplaySettingsW(
1820 LPDEVMODEW lpDevMode,
1825 EnumDisplaySettingsW(
1826 LPCWSTR lpszDeviceName,
1828 LPDEVMODEW lpDevMode);
1832 SystemParametersInfoW(
1840 AddFontResourceW(LPCWSTR);
1844 CopyMetaFileW(HMETAFILE, LPCWSTR);
1848 CreateFontIndirectW(CONST LOGFONT *);
1852 CreateFontW(int, int, int, int, int, DWORD,
1853 DWORD, DWORD, DWORD, DWORD, DWORD,
1854 DWORD, DWORD, LPCWSTR);
1858 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
1862 CreateMetaFileW(LPCWSTR);
1866 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
1870 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
1871 LPWSTR, CONST DEVMODEW *);
1875 EnumFontFamiliesExW(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
1879 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
1883 EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
1887 GetCharWidthW(HDC, UINT, UINT, LPINT);
1891 GetCharWidth32W(HDC, UINT, UINT, LPINT);
1895 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
1899 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
1903 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
1907 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1911 GetMetaFileW(LPCWSTR);
1915 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRIC);
1918 STDCALL GetTextExtentPointW(
1927 GetTextExtentPoint32W(
1936 GetTextExtentExPointW(
1948 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
1952 ResetDCW(HDC, CONST DEVMODEW *);
1956 RemoveFontResourceW(LPCWSTR);
1960 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
1964 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
1968 GetEnhMetaFileW(LPCWSTR);
1972 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
1976 GetTextMetricsW(HDC, LPTEXTMETRIC);
1980 StartDocW(HDC, CONST DOCINFO *);
1984 GetObjectW(HGDIOBJ, int, LPVOID);
1988 TextOutW(HDC, int, int, LPCWSTR, int);
1992 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
1996 PolyTextOutW(HDC, CONST POLYTEXT *, int);
2000 GetTextFaceW(HDC, int, LPWSTR);
2004 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2008 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2012 CreateColorSpaceW(LPLOGCOLORSPACE);
2016 GetICMProfileW(HDC,DWORD,LPWSTR);
2020 SetICMProfileW(HDC,LPWSTR);
2024 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2028 EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
2032 CreatePropertySheetPageW(LPCPROPSHEETPAGE lppsp);
2036 PropertySheetW(LPCPROPSHEETHEADER lppsph);
2040 ImageList_LoadImageW(HINSTANCE hi,
2050 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2054 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2058 GetOpenFileNameW(LPOPENFILENAME);
2062 GetSaveFileNameW(LPOPENFILENAME);
2066 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2070 ChooseColorW(LPCHOOSECOLOR);
2074 ReplaceTextW(LPFINDREPLACE);
2078 ChooseFontW(LPCHOOSEFONT);
2082 FindTextW(LPFINDREPLACE);
2086 PrintDlgW(LPPRINTDLG);
2090 PageSetupDlgW(LPPAGESETUPDLG);
2095 LPCWSTR lpApplicationName,
2096 LPWSTR lpCommandLine,
2097 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2098 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2099 WINBOOL bInheritHandles,
2100 DWORD dwCreationFlags,
2101 LPVOID lpEnvironment,
2102 LPCWSTR lpCurrentDirectory,
2103 LPSTARTUPINFOW lpStartupInfo,
2104 LPPROCESS_INFORMATION lpProcessInformation
2110 LPSTARTUPINFOW lpStartupInfo
2118 FINDEX_INFO_LEVELS fInfoLevelId,
2119 LPVOID lpFindFileData,
2120 FINDEX_SEARCH_OPS fSearchOp,
2121 LPVOID lpSearchFilter,
2122 DWORD dwAdditionalFlags
2129 LPWIN32_FIND_DATAW lpFindFileData
2136 LPWIN32_FIND_DATAW lpFindFileData
2142 LPOSVERSIONINFO lpVersionInformation
2145 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2146 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2147 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2148 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2150 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2151 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2153 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2154 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2156 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2157 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2159 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2160 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2164 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2168 CreateFontA(int, int, int, int, int, DWORD,
2169 DWORD, DWORD, DWORD, DWORD, DWORD,
2170 DWORD, DWORD, LPCSTR);
2176 LPWSTR szSrcFileName,
2177 LPWSTR szDestFileName,
2187 GetFileVersionInfoSizeW(
2188 LPWSTR lptstrFilename,
2194 GetFileVersionInfoW(
2195 LPWSTR lptstrFilename,
2212 const LPVOID pBlock,
2214 LPVOID * lplpBuffer,
2235 LPCWSTR lpValueName,
2251 InitiateSystemShutdownW(
2252 LPWSTR lpMachineName,
2255 WINBOOL bForceAppsClosed,
2256 WINBOOL bRebootAfterShutdown
2261 AbortSystemShutdownW(
2262 LPWSTR lpMachineName
2278 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2302 RegQueryMultipleValuesW (
2314 LPCWSTR lpValueName,
2332 RegConnectRegistryW (
2333 LPCWSTR lpMachineName,
2355 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2357 LPDWORD lpdwDisposition
2393 PFILETIME lpftLastWriteTime
2402 LPDWORD lpcbValueName,
2443 LPDWORD lpcbMaxSubKeyLen,
2444 LPDWORD lpcbMaxClassLen,
2446 LPDWORD lpcbMaxValueNameLen,
2447 LPDWORD lpcbMaxValueLen,
2448 LPDWORD lpcbSecurityDescriptor,
2449 PFILETIME lpftLastWriteTime
2493 CONST SYSTEMTIME *lpTime,
2503 CONST SYSTEMTIME *lpDate,
2514 CONST NUMBERFMT *lpFormat,
2524 CONST CURRENCYFMT *lpFormat,
2525 LPWSTR lpCurrencyStr,
2531 CALINFO_ENUMPROC lpCalInfoEnumProc,
2539 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2546 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2579 LOCALE_ENUMPROC lpLocaleEnumProc,
2584 EnumSystemCodePagesW(
2585 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2591 HANDLE hConsoleInput,
2592 PINPUT_RECORD lpBuffer,
2594 LPDWORD lpNumberOfEventsRead
2600 HANDLE hConsoleInput,
2601 PINPUT_RECORD lpBuffer,
2603 LPDWORD lpNumberOfEventsRead
2609 HANDLE hConsoleInput,
2610 CONST INPUT_RECORD *lpBuffer,
2612 LPDWORD lpNumberOfEventsWritten
2618 HANDLE hConsoleOutput,
2619 PCHAR_INFO lpBuffer,
2621 COORD dwBufferCoord,
2622 PSMALL_RECT lpReadRegion
2627 WriteConsoleOutputW(
2628 HANDLE hConsoleOutput,
2629 CONST CHAR_INFO *lpBuffer,
2631 COORD dwBufferCoord,
2632 PSMALL_RECT lpWriteRegion
2637 ReadConsoleOutputCharacterW(
2638 HANDLE hConsoleOutput,
2642 LPDWORD lpNumberOfCharsRead
2647 WriteConsoleOutputCharacterW(
2648 HANDLE hConsoleOutput,
2649 LPCWSTR lpCharacter,
2652 LPDWORD lpNumberOfCharsWritten
2657 FillConsoleOutputCharacterW(
2658 HANDLE hConsoleOutput,
2662 LPDWORD lpNumberOfCharsWritten
2667 ScrollConsoleScreenBufferW(
2668 HANDLE hConsoleOutput,
2669 CONST SMALL_RECT *lpScrollRectangle,
2670 CONST SMALL_RECT *lpClipRectangle,
2671 COORD dwDestinationOrigin,
2672 CONST CHAR_INFO *lpFill
2678 LPWSTR lpConsoleTitle,
2685 LPCWSTR lpConsoleTitle
2691 HANDLE hConsoleInput,
2693 DWORD nNumberOfCharsToRead,
2694 LPDWORD lpNumberOfCharsRead,
2701 HANDLE hConsoleOutput,
2702 CONST VOID *lpBuffer,
2703 DWORD nNumberOfCharsToWrite,
2704 LPDWORD lpNumberOfCharsWritten,
2710 LPCWSTR lpRemoteName,
2716 WNetAddConnection2W(
2717 LPNETRESOURCE lpNetResource,
2724 WNetAddConnection3W(
2726 LPNETRESOURCE lpNetResource,
2733 WNetCancelConnectionW(
2739 WNetCancelConnection2W(
2747 LPCWSTR lpLocalName,
2748 LPWSTR lpRemoteName,
2755 LPNETRESOURCE lpNetResource,
2759 LPWSTR lpAccessName,
2760 LPDWORD lpBufferSize,
2772 WNetConnectionDialog1W(
2773 LPCONNECTDLGSTRUCT lpConnDlgStruct
2777 WNetDisconnectDialog1W(
2778 LPDISCDLGSTRUCT lpConnDlgStruct
2786 LPNETRESOURCE lpNetResource,
2795 LPDWORD lpBufferSize
2799 WNetGetUniversalNameW(
2800 LPCWSTR lpLocalPath,
2803 LPDWORD lpBufferSize
2814 WNetGetProviderNameW(
2816 LPWSTR lpProviderName,
2817 LPDWORD lpBufferSize
2821 WNetGetNetworkInformationW(
2823 LPNETINFOSTRUCT lpNetInfoStruct
2830 DWORD nErrorBufSize,
2836 MultinetGetConnectionPerformanceW(
2837 LPNETRESOURCE lpNetResource,
2838 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2843 ChangeServiceConfigW(
2845 DWORD dwServiceType,
2847 DWORD dwErrorControl,
2848 LPCWSTR lpBinaryPathName,
2849 LPCWSTR lpLoadOrderGroup,
2851 LPCWSTR lpDependencies,
2852 LPCWSTR lpServiceStartName,
2854 LPCWSTR lpDisplayName
2860 SC_HANDLE hSCManager,
2861 LPCWSTR lpServiceName,
2862 LPCWSTR lpDisplayName,
2863 DWORD dwDesiredAccess,
2864 DWORD dwServiceType,
2866 DWORD dwErrorControl,
2867 LPCWSTR lpBinaryPathName,
2868 LPCWSTR lpLoadOrderGroup,
2870 LPCWSTR lpDependencies,
2871 LPCWSTR lpServiceStartName,
2877 EnumDependentServicesW(
2879 DWORD dwServiceState,
2880 LPENUM_SERVICE_STATUSW lpServices,
2882 LPDWORD pcbBytesNeeded,
2883 LPDWORD lpServicesReturned
2888 EnumServicesStatusW(
2889 SC_HANDLE hSCManager,
2890 DWORD dwServiceType,
2891 DWORD dwServiceState,
2892 LPENUM_SERVICE_STATUSW lpServices,
2894 LPDWORD pcbBytesNeeded,
2895 LPDWORD lpServicesReturned,
2896 LPDWORD lpResumeHandle
2902 SC_HANDLE hSCManager,
2903 LPCWSTR lpDisplayName,
2904 LPWSTR lpServiceName,
2910 GetServiceDisplayNameW(
2911 SC_HANDLE hSCManager,
2912 LPCWSTR lpServiceName,
2913 LPWSTR lpDisplayName,
2920 LPCWSTR lpMachineName,
2921 LPCWSTR lpDatabaseName,
2922 DWORD dwDesiredAccess
2928 SC_HANDLE hSCManager,
2929 LPCWSTR lpServiceName,
2930 DWORD dwDesiredAccess
2935 QueryServiceConfigW(
2937 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
2939 LPDWORD pcbBytesNeeded
2944 QueryServiceLockStatusW(
2945 SC_HANDLE hSCManager,
2946 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
2948 LPDWORD pcbBytesNeeded
2951 SERVICE_STATUS_HANDLE
2953 RegisterServiceCtrlHandlerW(
2954 LPCWSTR lpServiceName,
2955 LPHANDLER_FUNCTION lpHandlerProc
2960 StartServiceCtrlDispatcherW(
2961 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
2968 DWORD dwNumServiceArgs,
2969 LPCWSTR *lpServiceArgVectors
2972 /* Extensions to OpenGL */
2975 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
2978 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
2979 FLOAT, int, LPGLYPHMETRICSFLOAT);
2981 /* ------------------------------------- */
2982 /* From shellapi.h in old Cygnus headers */
2985 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
2988 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
2991 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
2994 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
2997 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
3000 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
3002 /* end of stuff from shellapi.h in old Cygnus headers */
3003 /* -------------------------------------------------- */
3004 /* From ddeml.h in old Cygnus headers */
3008 DdeCreateStringHandleW(
3014 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3025 /* end of stuff from ddeml.h in old Cygnus headers */
3026 /* ----------------------------------------------- */
3028 WINBOOL STDCALL LogonUserW (LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, HANDLE *);
3029 WINBOOL STDCALL CreateProcessAsUserW (HANDLE, LPCWSTR, LPWSTR,
3030 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL,
3031 DWORD, LPVOID, LPCWSTR, STARTUPINFOW*,
3032 PROCESS_INFORMATION*);
3036 #endif /* __cplusplus */
3038 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */