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 */
42 LPCWSTR lpApplicationName,
56 GetEnvironmentStringsW(
62 FreeEnvironmentStringsW(
82 DWORD nMaxMessageSize,
84 LPSECURITY_ATTRIBUTES lpSecurityAttributes
132 LPSECURITY_ATTRIBUTES lpMutexAttributes,
133 WINBOOL bInitialOwner,
140 DWORD dwDesiredAccess,
141 WINBOOL bInheritHandle,
148 LPSECURITY_ATTRIBUTES lpEventAttributes,
149 WINBOOL bManualReset,
150 WINBOOL bInitialState,
157 DWORD dwDesiredAccess,
158 WINBOOL bInheritHandle,
165 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
174 DWORD dwDesiredAccess,
175 WINBOOL bInheritHandle,
183 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
185 DWORD dwMaximumSizeHigh,
186 DWORD dwMaximumSizeLow,
193 DWORD dwDesiredAccess,
194 WINBOOL bInheritHandle,
200 GetLogicalDriveStringsW(
208 LPCWSTR lpLibFileName
214 LPCWSTR lpLibFileName,
237 LPCWSTR lpMessageText
248 GetEnvironmentVariableW(
256 SetEnvironmentVariableW(
263 ExpandEnvironmentStringsW(
272 LPCWSTR lpOutputString
296 ENUMRESTYPEPROC lpEnumFunc,
305 ENUMRESNAMEPROC lpEnumFunc,
311 EnumResourceLanguagesW(
315 ENUMRESLANGPROC lpEnumFunc,
321 BeginUpdateResourceW(
323 WINBOOL bDeleteExistingResources
398 LPWSTR lpReturnedString,
414 LPWSTR lpReturnedString,
420 WriteProfileSectionW(
427 GetPrivateProfileIntW(
436 GetPrivateProfileStringW(
440 LPWSTR lpReturnedString,
447 WritePrivateProfileStringW(
456 GetPrivateProfileSectionW(
458 LPWSTR lpReturnedString,
465 WritePrivateProfileSectionW(
474 LPCWSTR lpRootPathName
495 LPCWSTR lpPrefixString,
497 LPWSTR lpTempFileName
502 GetWindowsDirectoryW(
509 SetCurrentDirectoryW(
515 GetCurrentDirectoryW(
523 LPCWSTR lpRootPathName,
524 LPDWORD lpSectorsPerCluster,
525 LPDWORD lpBytesPerSector,
526 LPDWORD lpNumberOfFreeClusters,
527 LPDWORD lpTotalNumberOfClusters
533 LPCWSTR lpDirectoryName,
534 PULARGE_INTEGER lpFreeBytesAvailableToCaller,
535 PULARGE_INTEGER lpTotalNumberOfBytes,
536 PULARGE_INTEGER lpTotalNumberOfFreeBytes
543 LPSECURITY_ATTRIBUTES lpSecurityAttributes
549 LPCWSTR lpTemplateDirectory,
550 LPCWSTR lpNewDirectory,
551 LPSECURITY_ATTRIBUTES lpSecurityAttributes
573 LPCWSTR lpDeviceName,
580 LPCWSTR lpDeviceName,
589 DWORD dwDesiredAccess,
591 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
592 DWORD dwCreationDisposition,
593 DWORD dwFlagsAndAttributes,
601 DWORD dwFileAttributes
612 GetCompressedFileSizeW(
614 LPDWORD lpFileSizeHigh
637 LPCWSTR lpExistingFileName,
638 LPCWSTR lpNewFileName,
639 WINBOOL bFailIfExists
645 LPCWSTR lpExistingFileName,
646 LPCWSTR lpNewFileName,
647 LPPROGRESS_ROUTINE lpProgressRoutine,
656 LPCWSTR lpExistingFileName,
657 LPCWSTR lpNewFileName
663 LPCWSTR lpExistingFileName,
664 LPCWSTR lpNewFileName,
670 MoveFileWithProgressW(
671 LPCWSTR lpExistingFileName,
672 LPCWSTR lpNewFileName,
673 LPPROGRESS_ROUTINE lpProgressRoutine,
685 DWORD nOutBufferSize,
687 DWORD nDefaultTimeOut,
688 LPSECURITY_ATTRIBUTES lpSecurityAttributes
693 GetNamedPipeHandleStateW(
696 LPDWORD lpCurInstances,
697 LPDWORD lpMaxCollectionCount,
698 LPDWORD lpCollectDataTimeout,
700 DWORD nMaxUserNameSize
706 LPCWSTR lpNamedPipeName,
710 DWORD nOutBufferSize,
718 LPCWSTR lpNamedPipeName,
725 LPCWSTR lpRootPathName,
731 GetVolumeInformationW(
732 LPCWSTR lpRootPathName,
733 LPWSTR lpVolumeNameBuffer,
734 DWORD nVolumeNameSize,
735 LPDWORD lpVolumeSerialNumber,
736 LPDWORD lpMaximumComponentLength,
737 LPDWORD lpFileSystemFlags,
738 LPWSTR lpFileSystemNameBuffer,
739 DWORD nFileSystemNameSize
746 LPCWSTR lpBackupFileName
753 LPCWSTR lpBackupFileName
759 LPCWSTR lpUNCServerName,
765 RegisterEventSourceW (
766 LPCWSTR lpUNCServerName,
772 OpenBackupEventLogW (
773 LPCWSTR lpUNCServerName,
782 DWORD dwRecordOffset,
784 DWORD nNumberOfBytesToRead,
786 DWORD *pnMinNumberOfBytesNeeded
805 AccessCheckAndAuditAlarmW (
806 LPCWSTR SubsystemName,
808 LPWSTR ObjectTypeName,
810 PSECURITY_DESCRIPTOR SecurityDescriptor,
812 PGENERIC_MAPPING GenericMapping,
813 WINBOOL ObjectCreation,
814 LPDWORD GrantedAccess,
816 LPBOOL pfGenerateOnClose
821 ObjectOpenAuditAlarmW (
822 LPCWSTR SubsystemName,
824 LPWSTR ObjectTypeName,
826 PSECURITY_DESCRIPTOR pSecurityDescriptor,
830 PPRIVILEGE_SET Privileges,
831 WINBOOL ObjectCreation,
832 WINBOOL AccessGranted,
833 LPBOOL GenerateOnClose
838 ObjectPrivilegeAuditAlarmW (
839 LPCWSTR SubsystemName,
843 PPRIVILEGE_SET Privileges,
844 WINBOOL AccessGranted
849 ObjectCloseAuditAlarmW (
850 LPCWSTR SubsystemName,
852 WINBOOL GenerateOnClose
857 PrivilegedServiceAuditAlarmW (
858 LPCWSTR SubsystemName,
861 PPRIVILEGE_SET Privileges,
862 WINBOOL AccessGranted
869 SECURITY_INFORMATION SecurityInformation,
870 PSECURITY_DESCRIPTOR pSecurityDescriptor
877 SECURITY_INFORMATION RequestedInformation,
878 PSECURITY_DESCRIPTOR pSecurityDescriptor,
880 LPDWORD lpnLengthNeeded
885 FindFirstChangeNotificationW(
887 WINBOOL bWatchSubtree,
901 LPCWSTR lpSystemName,
905 LPWSTR ReferencedDomainName,
906 LPDWORD cbReferencedDomainName,
913 LPCWSTR lpSystemName,
914 LPCWSTR lpAccountName,
917 LPWSTR ReferencedDomainName,
918 LPDWORD cbReferencedDomainName,
924 LookupPrivilegeValueW(
925 LPCWSTR lpSystemName,
932 LookupPrivilegeNameW(
933 LPCWSTR lpSystemName,
941 LookupPrivilegeDisplayNameW(
942 LPCWSTR lpSystemName,
944 LPWSTR lpDisplayName,
945 LPDWORD cbDisplayName,
958 BuildCommDCBAndTimeoutsW(
961 LPCOMMTIMEOUTS lpCommTimeouts
974 GetDefaultCommConfigW(
982 SetDefaultCommConfigW(
998 LPCWSTR lpComputerName
1017 wsprintfW(LPWSTR, LPCWSTR, ...);
1021 LoadKeyboardLayoutW(
1027 GetKeyboardLayoutNameW(
1033 LPCWSTR lpszDesktop,
1035 LPDEVMODEW pDevmode,
1037 ACCESS_MASK dwDesiredAccess,
1038 LPSECURITY_ATTRIBUTES lpsa);
1046 DWORD dwDesiredAccess);
1052 DESKTOPENUMPROC lpEnumFunc,
1057 CreateWindowStationW(
1060 DWORD dwDesiredAccess,
1061 LPSECURITY_ATTRIBUTES lpsa);
1068 DWORD dwDesiredAccess);
1072 EnumWindowStationsW(
1073 ENUMWINDOWSTATIONPROC lpEnumFunc,
1078 GetUserObjectInformationW(
1083 LPDWORD lpnLengthNeeded);
1087 SetUserObjectInformationW(
1095 RegisterWindowMessageW(
1104 UINT wMsgFilterMax);
1130 SendMessageTimeoutW(
1137 PDWORD_PTR lpdwResult);
1149 SendMessageCallbackW(
1154 SENDASYNCPROC lpResultCallBack,
1184 WNDPROC lpPrevWndFunc,
1193 CONST WNDCLASS *lpWndClass);
1198 LPCWSTR lpClassName,
1199 HINSTANCE hInstance);
1204 HINSTANCE hInstance ,
1205 LPCWSTR lpClassName,
1206 LPWNDCLASS lpWndClass);
1210 RegisterClassExW(CONST WNDCLASSEX *);
1214 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEX);
1220 LPCWSTR lpClassName,
1221 LPCWSTR lpWindowName,
1229 HINSTANCE hInstance,
1235 HINSTANCE hInstance,
1236 LPCWSTR lpTemplateName,
1238 DLGPROC lpDialogFunc,
1239 LPARAM dwInitParam);
1243 CreateDialogIndirectParamW(
1244 HINSTANCE hInstance,
1245 LPCDLGTEMPLATE lpTemplate,
1247 DLGPROC lpDialogFunc,
1248 LPARAM dwInitParam);
1253 HINSTANCE hInstance,
1254 LPCWSTR lpTemplateName,
1256 DLGPROC lpDialogFunc,
1257 LPARAM dwInitParam);
1261 DialogBoxIndirectParamW(
1262 HINSTANCE hInstance,
1263 LPCDLGTEMPLATE hDialogTemplate,
1265 DLGPROC lpDialogFunc,
1266 LPARAM dwInitParam);
1285 SendDlgItemMessageW(
1308 RegisterClipboardFormatW(
1309 LPCWSTR lpszFormat);
1313 GetClipboardFormatNameW(
1315 LPWSTR lpszFormatName,
1335 DWORD cchDstLength);
1342 DWORD cchDstLength);
1375 LPCWSTR lpszCurrent);
1384 IsCharAlphaNumericW(
1411 STDCALL VkKeyScanExW(
1431 HINSTANCE hInstance,
1432 LPCWSTR lpTableName);
1436 CreateAcceleratorTableW(
1441 CopyAcceleratorTableW(
1448 TranslateAcceleratorW(
1456 HINSTANCE hInstance,
1457 LPCWSTR lpMenuName);
1462 CONST MENUTEMPLATE *lpMenuTemplate);
1469 LPCWSTR lpszNewItem,
1534 WINBOOL fByPosition,
1535 LPMENUITEMINFO lpmii);
1548 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1555 GRAYSTRINGPROC lpOutputFunc,
1563 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1574 LPINT lpnTabStopPositions,
1579 GetTabbedTextExtentW(
1584 LPINT lpnTabStopPositions);
1609 PROPENUMPROCEX lpEnumFunc,
1616 PROPENUMPROC lpEnumFunc);
1633 GetWindowTextLengthW(
1655 MessageBoxIndirectW(LPMSGBOXPARAMS);
1686 LPCWSTR lpClassName ,
1687 LPCWSTR lpWindowName);
1691 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
1711 HINSTANCE hInstance,
1712 LPCWSTR lpBitmapName);
1717 HINSTANCE hInstance,
1718 LPCWSTR lpCursorName);
1722 LoadCursorFromFileW(
1723 LPCWSTR lpFileName);
1728 HINSTANCE hInstance,
1729 LPCWSTR lpIconName);
1744 HINSTANCE hInstance,
1774 DlgDirListComboBoxW(
1783 DlgDirSelectComboBoxExW(
1793 HWND hWndMDIClient ,
1809 LPCWSTR lpClassName,
1810 LPCWSTR lpWindowName,
1817 HINSTANCE hInstance,
1832 ChangeDisplaySettingsW(
1833 LPDEVMODEW lpDevMode,
1838 EnumDisplaySettingsW(
1839 LPCWSTR lpszDeviceName,
1841 LPDEVMODEW lpDevMode);
1845 SystemParametersInfoW(
1853 AddFontResourceW(LPCWSTR);
1857 CopyMetaFileW(HMETAFILE, LPCWSTR);
1861 CreateFontIndirectW(CONST LOGFONTW *);
1865 CreateFontW(int, int, int, int, int, DWORD,
1866 DWORD, DWORD, DWORD, DWORD, DWORD,
1867 DWORD, DWORD, LPCWSTR);
1871 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
1875 CreateMetaFileW(LPCWSTR);
1879 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
1883 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
1884 LPWSTR, CONST DEVMODEW *);
1888 EnumFontFamiliesExW(HDC, LPLOGFONTW, FONTENUMEXPROC, LPARAM, DWORD);
1892 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
1896 EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
1900 GetCharWidthW(HDC, UINT, UINT, LPINT);
1904 GetCharWidth32W(HDC, UINT, UINT, LPINT);
1908 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
1912 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
1916 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
1920 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1924 GetMetaFileW(LPCWSTR);
1928 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRICW);
1931 STDCALL GetTextExtentPointW(
1940 GetTextExtentPoint32W(
1949 GetTextExtentExPointW(
1961 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
1965 ResetDCW(HDC, CONST DEVMODEW *);
1969 RemoveFontResourceW(LPCWSTR);
1973 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
1977 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
1981 GetEnhMetaFileW(LPCWSTR);
1985 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
1989 GetTextMetricsW(HDC, LPTEXTMETRICW);
1993 StartDocW(HDC, CONST DOCINFO *);
1997 GetObjectW(HGDIOBJ, int, LPVOID);
2001 TextOutW(HDC, int, int, LPCWSTR, int);
2005 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
2009 PolyTextOutW(HDC, CONST POLYTEXT *, int);
2013 GetTextFaceW(HDC, int, LPWSTR);
2017 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2021 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2025 CreateColorSpaceW(LPLOGCOLORSPACE);
2029 GetICMProfileW(HDC,DWORD,LPWSTR);
2033 SetICMProfileW(HDC,LPWSTR);
2037 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2041 EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
2045 CreatePropertySheetPageW(LPCPROPSHEETPAGE lppsp);
2049 PropertySheetW(LPCPROPSHEETHEADER lppsph);
2053 ImageList_LoadImageW(HINSTANCE hi,
2063 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2067 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2071 GetOpenFileNameW(LPOPENFILENAME);
2075 GetSaveFileNameW(LPOPENFILENAME);
2079 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2083 ChooseColorW(LPCHOOSECOLOR);
2087 ReplaceTextW(LPFINDREPLACE);
2091 ChooseFontW(LPCHOOSEFONT);
2095 FindTextW(LPFINDREPLACE);
2099 PrintDlgW(LPPRINTDLG);
2103 PageSetupDlgW(LPPAGESETUPDLG);
2108 LPCWSTR lpApplicationName,
2109 LPWSTR lpCommandLine,
2110 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2111 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2112 WINBOOL bInheritHandles,
2113 DWORD dwCreationFlags,
2114 LPVOID lpEnvironment,
2115 LPCWSTR lpCurrentDirectory,
2116 LPSTARTUPINFOW lpStartupInfo,
2117 LPPROCESS_INFORMATION lpProcessInformation
2123 LPSTARTUPINFOW lpStartupInfo
2131 FINDEX_INFO_LEVELS fInfoLevelId,
2132 LPVOID lpFindFileData,
2133 FINDEX_SEARCH_OPS fSearchOp,
2134 LPVOID lpSearchFilter,
2135 DWORD dwAdditionalFlags
2142 LPWIN32_FIND_DATAW lpFindFileData
2149 LPWIN32_FIND_DATAW lpFindFileData
2155 LPOSVERSIONINFOW lpVersionInformation
2158 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2159 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2160 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2161 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2163 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2164 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2166 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2167 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2169 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2170 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2172 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2173 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2177 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2181 CreateFontA(int, int, int, int, int, DWORD,
2182 DWORD, DWORD, DWORD, DWORD, DWORD,
2183 DWORD, DWORD, LPCSTR);
2189 LPWSTR szSrcFileName,
2190 LPWSTR szDestFileName,
2200 GetFileVersionInfoSizeW(
2201 LPWSTR lptstrFilename,
2207 GetFileVersionInfoW(
2208 LPWSTR lptstrFilename,
2225 const LPVOID pBlock,
2227 LPVOID * lplpBuffer,
2248 LPCWSTR lpValueName,
2264 InitiateSystemShutdownW(
2265 LPWSTR lpMachineName,
2268 WINBOOL bForceAppsClosed,
2269 WINBOOL bRebootAfterShutdown
2274 AbortSystemShutdownW(
2275 LPCWSTR lpMachineName
2291 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2315 RegQueryMultipleValuesW (
2327 LPCWSTR lpValueName,
2345 RegConnectRegistryW (
2346 LPCWSTR lpMachineName,
2368 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2370 LPDWORD lpdwDisposition
2406 PFILETIME lpftLastWriteTime
2415 LPDWORD lpcbValueName,
2456 LPDWORD lpcbMaxSubKeyLen,
2457 LPDWORD lpcbMaxClassLen,
2459 LPDWORD lpcbMaxValueNameLen,
2460 LPDWORD lpcbMaxValueLen,
2461 LPDWORD lpcbSecurityDescriptor,
2462 PFILETIME lpftLastWriteTime
2506 CONST SYSTEMTIME *lpTime,
2516 CONST SYSTEMTIME *lpDate,
2527 CONST NUMBERFMT *lpFormat,
2537 CONST CURRENCYFMT *lpFormat,
2538 LPWSTR lpCurrencyStr,
2544 CALINFO_ENUMPROC lpCalInfoEnumProc,
2552 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2559 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2592 LOCALE_ENUMPROC lpLocaleEnumProc,
2597 EnumSystemCodePagesW(
2598 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2604 HANDLE hConsoleInput,
2605 PINPUT_RECORD lpBuffer,
2607 LPDWORD lpNumberOfEventsRead
2613 HANDLE hConsoleInput,
2614 PINPUT_RECORD lpBuffer,
2616 LPDWORD lpNumberOfEventsRead
2622 HANDLE hConsoleInput,
2623 CONST INPUT_RECORD *lpBuffer,
2625 LPDWORD lpNumberOfEventsWritten
2631 HANDLE hConsoleOutput,
2632 PCHAR_INFO lpBuffer,
2634 COORD dwBufferCoord,
2635 PSMALL_RECT lpReadRegion
2640 WriteConsoleOutputW(
2641 HANDLE hConsoleOutput,
2642 CONST CHAR_INFO *lpBuffer,
2644 COORD dwBufferCoord,
2645 PSMALL_RECT lpWriteRegion
2650 ReadConsoleOutputCharacterW(
2651 HANDLE hConsoleOutput,
2655 LPDWORD lpNumberOfCharsRead
2660 WriteConsoleOutputCharacterW(
2661 HANDLE hConsoleOutput,
2662 LPCWSTR lpCharacter,
2665 LPDWORD lpNumberOfCharsWritten
2670 FillConsoleOutputCharacterW(
2671 HANDLE hConsoleOutput,
2675 LPDWORD lpNumberOfCharsWritten
2680 ScrollConsoleScreenBufferW(
2681 HANDLE hConsoleOutput,
2682 CONST SMALL_RECT *lpScrollRectangle,
2683 CONST SMALL_RECT *lpClipRectangle,
2684 COORD dwDestinationOrigin,
2685 CONST CHAR_INFO *lpFill
2691 LPWSTR lpConsoleTitle,
2698 LPCWSTR lpConsoleTitle
2704 HANDLE hConsoleInput,
2706 DWORD nNumberOfCharsToRead,
2707 LPDWORD lpNumberOfCharsRead,
2714 HANDLE hConsoleOutput,
2715 CONST VOID *lpBuffer,
2716 DWORD nNumberOfCharsToWrite,
2717 LPDWORD lpNumberOfCharsWritten,
2723 LPCWSTR lpRemoteName,
2729 WNetAddConnection2W(
2730 LPNETRESOURCE lpNetResource,
2737 WNetAddConnection3W(
2739 LPNETRESOURCE lpNetResource,
2746 WNetCancelConnectionW(
2752 WNetCancelConnection2W(
2760 LPCWSTR lpLocalName,
2761 LPWSTR lpRemoteName,
2768 LPNETRESOURCE lpNetResource,
2772 LPWSTR lpAccessName,
2773 LPDWORD lpBufferSize,
2785 WNetConnectionDialog1W(
2786 LPCONNECTDLGSTRUCT lpConnDlgStruct
2790 WNetDisconnectDialog1W(
2791 LPDISCDLGSTRUCT lpConnDlgStruct
2799 LPNETRESOURCE lpNetResource,
2808 LPDWORD lpBufferSize
2812 WNetGetUniversalNameW(
2813 LPCWSTR lpLocalPath,
2816 LPDWORD lpBufferSize
2827 WNetGetProviderNameW(
2829 LPWSTR lpProviderName,
2830 LPDWORD lpBufferSize
2834 WNetGetNetworkInformationW(
2836 LPNETINFOSTRUCT lpNetInfoStruct
2843 DWORD nErrorBufSize,
2849 MultinetGetConnectionPerformanceW(
2850 LPNETRESOURCE lpNetResource,
2851 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2856 ChangeServiceConfigW(
2858 DWORD dwServiceType,
2860 DWORD dwErrorControl,
2861 LPCWSTR lpBinaryPathName,
2862 LPCWSTR lpLoadOrderGroup,
2864 LPCWSTR lpDependencies,
2865 LPCWSTR lpServiceStartName,
2867 LPCWSTR lpDisplayName
2873 SC_HANDLE hSCManager,
2874 LPCWSTR lpServiceName,
2875 LPCWSTR lpDisplayName,
2876 DWORD dwDesiredAccess,
2877 DWORD dwServiceType,
2879 DWORD dwErrorControl,
2880 LPCWSTR lpBinaryPathName,
2881 LPCWSTR lpLoadOrderGroup,
2883 LPCWSTR lpDependencies,
2884 LPCWSTR lpServiceStartName,
2890 EnumDependentServicesW(
2892 DWORD dwServiceState,
2893 LPENUM_SERVICE_STATUSW lpServices,
2895 LPDWORD pcbBytesNeeded,
2896 LPDWORD lpServicesReturned
2901 EnumServicesStatusW(
2902 SC_HANDLE hSCManager,
2903 DWORD dwServiceType,
2904 DWORD dwServiceState,
2905 LPENUM_SERVICE_STATUSW lpServices,
2907 LPDWORD pcbBytesNeeded,
2908 LPDWORD lpServicesReturned,
2909 LPDWORD lpResumeHandle
2915 SC_HANDLE hSCManager,
2916 LPCWSTR lpDisplayName,
2917 LPWSTR lpServiceName,
2923 GetServiceDisplayNameW(
2924 SC_HANDLE hSCManager,
2925 LPCWSTR lpServiceName,
2926 LPWSTR lpDisplayName,
2933 LPCWSTR lpMachineName,
2934 LPCWSTR lpDatabaseName,
2935 DWORD dwDesiredAccess
2941 SC_HANDLE hSCManager,
2942 LPCWSTR lpServiceName,
2943 DWORD dwDesiredAccess
2948 QueryServiceConfigW(
2950 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
2952 LPDWORD pcbBytesNeeded
2957 QueryServiceLockStatusW(
2958 SC_HANDLE hSCManager,
2959 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
2961 LPDWORD pcbBytesNeeded
2964 SERVICE_STATUS_HANDLE
2966 RegisterServiceCtrlHandlerW(
2967 LPCWSTR lpServiceName,
2968 LPHANDLER_FUNCTION lpHandlerProc
2973 StartServiceCtrlDispatcherW(
2974 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
2981 DWORD dwNumServiceArgs,
2982 LPCWSTR *lpServiceArgVectors
2985 /* Extensions to OpenGL */
2988 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
2991 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
2992 FLOAT, int, LPGLYPHMETRICSFLOAT);
2994 /* ------------------------------------- */
2995 /* From shellapi.h in old Cygnus headers */
2998 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
3001 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
3004 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
3007 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
3010 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
3013 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
3015 /* end of stuff from shellapi.h in old Cygnus headers */
3016 /* -------------------------------------------------- */
3017 /* From ddeml.h in old Cygnus headers */
3021 DdeCreateStringHandleW(
3027 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3038 /* end of stuff from ddeml.h in old Cygnus headers */
3039 /* ----------------------------------------------- */
3041 WINBOOL STDCALL LogonUserW (LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, HANDLE *);
3042 WINBOOL STDCALL CreateProcessAsUserW (HANDLE, LPCWSTR, LPWSTR,
3043 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL,
3044 DWORD, LPVOID, LPCWSTR, STARTUPINFOW*,
3045 PROCESS_INFORMATION*);
3049 #endif /* __cplusplus */
3051 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */