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
652 LPCWSTR lpExistingFileName,
653 LPCWSTR lpNewFileName,
664 DWORD nOutBufferSize,
666 DWORD nDefaultTimeOut,
667 LPSECURITY_ATTRIBUTES lpSecurityAttributes
672 GetNamedPipeHandleStateW(
675 LPDWORD lpCurInstances,
676 LPDWORD lpMaxCollectionCount,
677 LPDWORD lpCollectDataTimeout,
679 DWORD nMaxUserNameSize
685 LPCWSTR lpNamedPipeName,
689 DWORD nOutBufferSize,
697 LPCWSTR lpNamedPipeName,
704 LPCWSTR lpRootPathName,
710 GetVolumeInformationW(
711 LPCWSTR lpRootPathName,
712 LPWSTR lpVolumeNameBuffer,
713 DWORD nVolumeNameSize,
714 LPDWORD lpVolumeSerialNumber,
715 LPDWORD lpMaximumComponentLength,
716 LPDWORD lpFileSystemFlags,
717 LPWSTR lpFileSystemNameBuffer,
718 DWORD nFileSystemNameSize
725 LPCWSTR lpBackupFileName
732 LPCWSTR lpBackupFileName
738 LPCWSTR lpUNCServerName,
744 RegisterEventSourceW (
745 LPCWSTR lpUNCServerName,
751 OpenBackupEventLogW (
752 LPCWSTR lpUNCServerName,
761 DWORD dwRecordOffset,
763 DWORD nNumberOfBytesToRead,
765 DWORD *pnMinNumberOfBytesNeeded
784 AccessCheckAndAuditAlarmW (
785 LPCWSTR SubsystemName,
787 LPWSTR ObjectTypeName,
789 PSECURITY_DESCRIPTOR SecurityDescriptor,
791 PGENERIC_MAPPING GenericMapping,
792 WINBOOL ObjectCreation,
793 LPDWORD GrantedAccess,
795 LPBOOL pfGenerateOnClose
800 ObjectOpenAuditAlarmW (
801 LPCWSTR SubsystemName,
803 LPWSTR ObjectTypeName,
805 PSECURITY_DESCRIPTOR pSecurityDescriptor,
809 PPRIVILEGE_SET Privileges,
810 WINBOOL ObjectCreation,
811 WINBOOL AccessGranted,
812 LPBOOL GenerateOnClose
817 ObjectPrivilegeAuditAlarmW (
818 LPCWSTR SubsystemName,
822 PPRIVILEGE_SET Privileges,
823 WINBOOL AccessGranted
828 ObjectCloseAuditAlarmW (
829 LPCWSTR SubsystemName,
831 WINBOOL GenerateOnClose
836 PrivilegedServiceAuditAlarmW (
837 LPCWSTR SubsystemName,
840 PPRIVILEGE_SET Privileges,
841 WINBOOL AccessGranted
848 SECURITY_INFORMATION SecurityInformation,
849 PSECURITY_DESCRIPTOR pSecurityDescriptor
856 SECURITY_INFORMATION RequestedInformation,
857 PSECURITY_DESCRIPTOR pSecurityDescriptor,
859 LPDWORD lpnLengthNeeded
864 FindFirstChangeNotificationW(
866 WINBOOL bWatchSubtree,
880 LPCWSTR lpSystemName,
884 LPWSTR ReferencedDomainName,
885 LPDWORD cbReferencedDomainName,
892 LPCWSTR lpSystemName,
893 LPCWSTR lpAccountName,
896 LPWSTR ReferencedDomainName,
897 LPDWORD cbReferencedDomainName,
903 LookupPrivilegeValueW(
904 LPCWSTR lpSystemName,
911 LookupPrivilegeNameW(
912 LPCWSTR lpSystemName,
920 LookupPrivilegeDisplayNameW(
921 LPCWSTR lpSystemName,
923 LPWSTR lpDisplayName,
924 LPDWORD cbDisplayName,
937 BuildCommDCBAndTimeoutsW(
940 LPCOMMTIMEOUTS lpCommTimeouts
953 GetDefaultCommConfigW(
961 SetDefaultCommConfigW(
977 LPCWSTR lpComputerName
996 wsprintfW(LPWSTR, LPCWSTR, ...);
1000 LoadKeyboardLayoutW(
1006 GetKeyboardLayoutNameW(
1012 LPCWSTR lpszDesktop,
1014 LPDEVMODEW pDevmode,
1016 ACCESS_MASK dwDesiredAccess,
1017 LPSECURITY_ATTRIBUTES lpsa);
1025 DWORD dwDesiredAccess);
1031 DESKTOPENUMPROC lpEnumFunc,
1036 CreateWindowStationW(
1039 DWORD dwDesiredAccess,
1040 LPSECURITY_ATTRIBUTES lpsa);
1047 DWORD dwDesiredAccess);
1051 EnumWindowStationsW(
1052 ENUMWINDOWSTATIONPROC lpEnumFunc,
1057 GetUserObjectInformationW(
1062 LPDWORD lpnLengthNeeded);
1066 SetUserObjectInformationW(
1074 RegisterWindowMessageW(
1083 UINT wMsgFilterMax);
1109 SendMessageTimeoutW(
1116 PDWORD_PTR lpdwResult);
1128 SendMessageCallbackW(
1133 SENDASYNCPROC lpResultCallBack,
1163 WNDPROC lpPrevWndFunc,
1172 CONST WNDCLASS *lpWndClass);
1177 LPCWSTR lpClassName,
1178 HINSTANCE hInstance);
1183 HINSTANCE hInstance ,
1184 LPCWSTR lpClassName,
1185 LPWNDCLASS lpWndClass);
1189 RegisterClassExW(CONST WNDCLASSEX *);
1193 GetClassInfoExW(HINSTANCE, LPCWSTR, LPWNDCLASSEX);
1199 LPCWSTR lpClassName,
1200 LPCWSTR lpWindowName,
1208 HINSTANCE hInstance,
1214 HINSTANCE hInstance,
1215 LPCWSTR lpTemplateName,
1217 DLGPROC lpDialogFunc,
1218 LPARAM dwInitParam);
1222 CreateDialogIndirectParamW(
1223 HINSTANCE hInstance,
1224 LPCDLGTEMPLATE lpTemplate,
1226 DLGPROC lpDialogFunc,
1227 LPARAM dwInitParam);
1232 HINSTANCE hInstance,
1233 LPCWSTR lpTemplateName,
1235 DLGPROC lpDialogFunc,
1236 LPARAM dwInitParam);
1240 DialogBoxIndirectParamW(
1241 HINSTANCE hInstance,
1242 LPCDLGTEMPLATE hDialogTemplate,
1244 DLGPROC lpDialogFunc,
1245 LPARAM dwInitParam);
1264 SendDlgItemMessageW(
1287 RegisterClipboardFormatW(
1288 LPCWSTR lpszFormat);
1292 GetClipboardFormatNameW(
1294 LPWSTR lpszFormatName,
1314 DWORD cchDstLength);
1321 DWORD cchDstLength);
1354 LPCWSTR lpszCurrent);
1363 IsCharAlphaNumericW(
1390 STDCALL VkKeyScanExW(
1410 HINSTANCE hInstance,
1411 LPCWSTR lpTableName);
1415 CreateAcceleratorTableW(
1420 CopyAcceleratorTableW(
1427 TranslateAcceleratorW(
1435 HINSTANCE hInstance,
1436 LPCWSTR lpMenuName);
1441 CONST MENUTEMPLATE *lpMenuTemplate);
1448 LPCWSTR lpszNewItem,
1513 WINBOOL fByPosition,
1514 LPMENUITEMINFO lpmii);
1527 DrawTextExW(HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1534 GRAYSTRINGPROC lpOutputFunc,
1542 WINBOOL STDCALL DrawStateW(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1553 LPINT lpnTabStopPositions,
1558 GetTabbedTextExtentW(
1563 LPINT lpnTabStopPositions);
1588 PROPENUMPROCEX lpEnumFunc,
1595 PROPENUMPROC lpEnumFunc);
1612 GetWindowTextLengthW(
1634 MessageBoxIndirectW(LPMSGBOXPARAMS);
1665 LPCWSTR lpClassName ,
1666 LPCWSTR lpWindowName);
1670 FindWindowExW(HWND, HWND, LPCWSTR, LPCWSTR);
1690 HINSTANCE hInstance,
1691 LPCWSTR lpBitmapName);
1696 HINSTANCE hInstance,
1697 LPCWSTR lpCursorName);
1701 LoadCursorFromFileW(
1702 LPCWSTR lpFileName);
1707 HINSTANCE hInstance,
1708 LPCWSTR lpIconName);
1723 HINSTANCE hInstance,
1753 DlgDirListComboBoxW(
1762 DlgDirSelectComboBoxExW(
1772 HWND hWndMDIClient ,
1788 LPCWSTR lpClassName,
1789 LPCWSTR lpWindowName,
1796 HINSTANCE hInstance,
1811 ChangeDisplaySettingsW(
1812 LPDEVMODEW lpDevMode,
1817 EnumDisplaySettingsW(
1818 LPCWSTR lpszDeviceName,
1820 LPDEVMODEW lpDevMode);
1824 SystemParametersInfoW(
1832 AddFontResourceW(LPCWSTR);
1836 CopyMetaFileW(HMETAFILE, LPCWSTR);
1840 CreateFontIndirectW(CONST LOGFONT *);
1844 CreateFontW(int, int, int, int, int, DWORD,
1845 DWORD, DWORD, DWORD, DWORD, DWORD,
1846 DWORD, DWORD, LPCWSTR);
1850 CreateICW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
1854 CreateMetaFileW(LPCWSTR);
1858 CreateScalableFontResourceW(DWORD, LPCWSTR, LPCWSTR, LPCWSTR);
1862 DeviceCapabilitiesW(LPCWSTR, LPCWSTR, WORD,
1863 LPWSTR, CONST DEVMODEW *);
1867 EnumFontFamiliesExW(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM, DWORD);
1871 EnumFontFamiliesW(HDC, LPCWSTR, FONTENUMPROC, LPARAM);
1875 EnumFontsW(HDC, LPCWSTR, ENUMFONTSPROC, LPARAM);
1879 GetCharWidthW(HDC, UINT, UINT, LPINT);
1883 GetCharWidth32W(HDC, UINT, UINT, LPINT);
1887 GetCharWidthFloatW(HDC, UINT, UINT, PFLOAT);
1891 GetCharABCWidthsW(HDC, UINT, UINT, LPABC);
1895 GetCharABCWidthsFloatW(HDC, UINT, UINT, LPABCFLOAT);
1899 GetGlyphOutlineW(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1903 GetMetaFileW(LPCWSTR);
1907 GetOutlineTextMetricsW(HDC, UINT, LPOUTLINETEXTMETRIC);
1910 STDCALL GetTextExtentPointW(
1919 GetTextExtentPoint32W(
1928 GetTextExtentExPointW(
1940 GetCharacterPlacementW(HDC, LPCWSTR, int, int, LPGCP_RESULTS, DWORD);
1944 ResetDCW(HDC, CONST DEVMODEW *);
1948 RemoveFontResourceW(LPCWSTR);
1952 CopyEnhMetaFileW(HENHMETAFILE, LPCWSTR);
1956 CreateEnhMetaFileW(HDC, LPCWSTR, CONST RECT *, LPCWSTR);
1960 GetEnhMetaFileW(LPCWSTR);
1964 GetEnhMetaFileDescriptionW(HENHMETAFILE, UINT, LPWSTR );
1968 GetTextMetricsW(HDC, LPTEXTMETRIC);
1972 StartDocW(HDC, CONST DOCINFO *);
1976 GetObjectW(HGDIOBJ, int, LPVOID);
1980 TextOutW(HDC, int, int, LPCWSTR, int);
1984 ExtTextOutW(HDC, int, int, UINT, CONST RECT *,LPCWSTR, UINT, CONST INT *);
1988 PolyTextOutW(HDC, CONST POLYTEXT *, int);
1992 GetTextFaceW(HDC, int, LPWSTR);
1996 GetKerningPairsW(HDC, DWORD, LPKERNINGPAIR);
2000 GetLogColorSpaceW(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2004 CreateColorSpaceW(LPLOGCOLORSPACE);
2008 GetICMProfileW(HDC,DWORD,LPWSTR);
2012 SetICMProfileW(HDC,LPWSTR);
2016 UpdateICMRegKeyW(DWORD, DWORD, LPWSTR, UINT);
2020 EnumICMProfilesW(HDC,ICMENUMPROC,LPARAM);
2024 CreatePropertySheetPageW(LPCPROPSHEETPAGE lppsp);
2028 PropertySheetW(LPCPROPSHEETHEADER lppsph);
2032 ImageList_LoadImageW(HINSTANCE hi,
2042 CreateStatusWindowW(LONG style, LPCWSTR lpszText, HWND hwndParent, UINT wID);
2046 DrawStatusTextW(HDC hDC, LPRECT lprc, LPCWSTR pszText, UINT uFlags);
2050 GetOpenFileNameW(LPOPENFILENAME);
2054 GetSaveFileNameW(LPOPENFILENAME);
2058 GetFileTitleW(LPCWSTR, LPWSTR, WORD);
2062 ChooseColorW(LPCHOOSECOLOR);
2066 ReplaceTextW(LPFINDREPLACE);
2070 ChooseFontW(LPCHOOSEFONT);
2074 FindTextW(LPFINDREPLACE);
2078 PrintDlgW(LPPRINTDLG);
2082 PageSetupDlgW(LPPAGESETUPDLG);
2087 LPCWSTR lpApplicationName,
2088 LPWSTR lpCommandLine,
2089 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2090 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2091 WINBOOL bInheritHandles,
2092 DWORD dwCreationFlags,
2093 LPVOID lpEnvironment,
2094 LPCWSTR lpCurrentDirectory,
2095 LPSTARTUPINFOW lpStartupInfo,
2096 LPPROCESS_INFORMATION lpProcessInformation
2102 LPSTARTUPINFOW lpStartupInfo
2110 FINDEX_INFO_LEVELS fInfoLevelId,
2111 LPVOID lpFindFileData,
2112 FINDEX_SEARCH_OPS fSearchOp,
2113 LPVOID lpSearchFilter,
2114 DWORD dwAdditionalFlags
2121 LPWIN32_FIND_DATAW lpFindFileData
2128 LPWIN32_FIND_DATAW lpFindFileData
2134 LPOSVERSIONINFO lpVersionInformation
2137 #define CreateWindowW(lpClassName, lpWindowName, dwStyle, x, y,\
2138 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2139 CreateWindowExW(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2140 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2142 #define CreateDialogW(hInstance, lpName, hWndParent, lpDialogFunc) \
2143 CreateDialogParamW(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2145 #define CreateDialogIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2146 CreateDialogIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2148 #define DialogBoxW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2149 DialogBoxParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2151 #define DialogBoxIndirectW(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2152 DialogBoxIndirectParamW(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2156 CreateDCW(LPCWSTR, LPCWSTR , LPCWSTR , CONST DEVMODEW *);
2160 CreateFontA(int, int, int, int, int, DWORD,
2161 DWORD, DWORD, DWORD, DWORD, DWORD,
2162 DWORD, DWORD, LPCSTR);
2168 LPWSTR szSrcFileName,
2169 LPWSTR szDestFileName,
2179 GetFileVersionInfoSizeW(
2180 LPWSTR lptstrFilename,
2186 GetFileVersionInfoW(
2187 LPWSTR lptstrFilename,
2204 const LPVOID pBlock,
2206 LPVOID * lplpBuffer,
2227 LPCWSTR lpValueName,
2243 InitiateSystemShutdownW(
2244 LPWSTR lpMachineName,
2247 WINBOOL bForceAppsClosed,
2248 WINBOOL bRebootAfterShutdown
2253 AbortSystemShutdownW(
2254 LPWSTR lpMachineName
2270 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2294 RegQueryMultipleValuesW (
2324 RegConnectRegistryW (
2325 LPWSTR lpMachineName,
2347 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2349 LPDWORD lpdwDisposition
2385 PFILETIME lpftLastWriteTime
2394 LPDWORD lpcbValueName,
2435 LPDWORD lpcbMaxSubKeyLen,
2436 LPDWORD lpcbMaxClassLen,
2438 LPDWORD lpcbMaxValueNameLen,
2439 LPDWORD lpcbMaxValueLen,
2440 LPDWORD lpcbSecurityDescriptor,
2441 PFILETIME lpftLastWriteTime
2485 CONST SYSTEMTIME *lpTime,
2495 CONST SYSTEMTIME *lpDate,
2506 CONST NUMBERFMT *lpFormat,
2516 CONST CURRENCYFMT *lpFormat,
2517 LPWSTR lpCurrencyStr,
2523 CALINFO_ENUMPROC lpCalInfoEnumProc,
2531 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2538 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2571 LOCALE_ENUMPROC lpLocaleEnumProc,
2576 EnumSystemCodePagesW(
2577 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2583 HANDLE hConsoleInput,
2584 PINPUT_RECORD lpBuffer,
2586 LPDWORD lpNumberOfEventsRead
2592 HANDLE hConsoleInput,
2593 PINPUT_RECORD lpBuffer,
2595 LPDWORD lpNumberOfEventsRead
2601 HANDLE hConsoleInput,
2602 CONST INPUT_RECORD *lpBuffer,
2604 LPDWORD lpNumberOfEventsWritten
2610 HANDLE hConsoleOutput,
2611 PCHAR_INFO lpBuffer,
2613 COORD dwBufferCoord,
2614 PSMALL_RECT lpReadRegion
2619 WriteConsoleOutputW(
2620 HANDLE hConsoleOutput,
2621 CONST CHAR_INFO *lpBuffer,
2623 COORD dwBufferCoord,
2624 PSMALL_RECT lpWriteRegion
2629 ReadConsoleOutputCharacterW(
2630 HANDLE hConsoleOutput,
2634 LPDWORD lpNumberOfCharsRead
2639 WriteConsoleOutputCharacterW(
2640 HANDLE hConsoleOutput,
2641 LPCWSTR lpCharacter,
2644 LPDWORD lpNumberOfCharsWritten
2649 FillConsoleOutputCharacterW(
2650 HANDLE hConsoleOutput,
2654 LPDWORD lpNumberOfCharsWritten
2659 ScrollConsoleScreenBufferW(
2660 HANDLE hConsoleOutput,
2661 CONST SMALL_RECT *lpScrollRectangle,
2662 CONST SMALL_RECT *lpClipRectangle,
2663 COORD dwDestinationOrigin,
2664 CONST CHAR_INFO *lpFill
2670 LPWSTR lpConsoleTitle,
2677 LPCWSTR lpConsoleTitle
2683 HANDLE hConsoleInput,
2685 DWORD nNumberOfCharsToRead,
2686 LPDWORD lpNumberOfCharsRead,
2693 HANDLE hConsoleOutput,
2694 CONST VOID *lpBuffer,
2695 DWORD nNumberOfCharsToWrite,
2696 LPDWORD lpNumberOfCharsWritten,
2702 LPCWSTR lpRemoteName,
2708 WNetAddConnection2W(
2709 LPNETRESOURCE lpNetResource,
2716 WNetAddConnection3W(
2718 LPNETRESOURCE lpNetResource,
2725 WNetCancelConnectionW(
2731 WNetCancelConnection2W(
2739 LPCWSTR lpLocalName,
2740 LPWSTR lpRemoteName,
2747 LPNETRESOURCE lpNetResource,
2751 LPWSTR lpAccessName,
2752 LPDWORD lpBufferSize,
2764 WNetConnectionDialog1W(
2765 LPCONNECTDLGSTRUCT lpConnDlgStruct
2769 WNetDisconnectDialog1W(
2770 LPDISCDLGSTRUCT lpConnDlgStruct
2778 LPNETRESOURCE lpNetResource,
2787 LPDWORD lpBufferSize
2791 WNetGetUniversalNameW(
2792 LPCWSTR lpLocalPath,
2795 LPDWORD lpBufferSize
2806 WNetGetProviderNameW(
2808 LPWSTR lpProviderName,
2809 LPDWORD lpBufferSize
2813 WNetGetNetworkInformationW(
2815 LPNETINFOSTRUCT lpNetInfoStruct
2822 DWORD nErrorBufSize,
2828 MultinetGetConnectionPerformanceW(
2829 LPNETRESOURCE lpNetResource,
2830 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2835 ChangeServiceConfigW(
2837 DWORD dwServiceType,
2839 DWORD dwErrorControl,
2840 LPCWSTR lpBinaryPathName,
2841 LPCWSTR lpLoadOrderGroup,
2843 LPCWSTR lpDependencies,
2844 LPCWSTR lpServiceStartName,
2846 LPCWSTR lpDisplayName
2852 SC_HANDLE hSCManager,
2853 LPCWSTR lpServiceName,
2854 LPCWSTR lpDisplayName,
2855 DWORD dwDesiredAccess,
2856 DWORD dwServiceType,
2858 DWORD dwErrorControl,
2859 LPCWSTR lpBinaryPathName,
2860 LPCWSTR lpLoadOrderGroup,
2862 LPCWSTR lpDependencies,
2863 LPCWSTR lpServiceStartName,
2869 EnumDependentServicesW(
2871 DWORD dwServiceState,
2872 LPENUM_SERVICE_STATUSW lpServices,
2874 LPDWORD pcbBytesNeeded,
2875 LPDWORD lpServicesReturned
2880 EnumServicesStatusW(
2881 SC_HANDLE hSCManager,
2882 DWORD dwServiceType,
2883 DWORD dwServiceState,
2884 LPENUM_SERVICE_STATUSW lpServices,
2886 LPDWORD pcbBytesNeeded,
2887 LPDWORD lpServicesReturned,
2888 LPDWORD lpResumeHandle
2894 SC_HANDLE hSCManager,
2895 LPCWSTR lpDisplayName,
2896 LPWSTR lpServiceName,
2902 GetServiceDisplayNameW(
2903 SC_HANDLE hSCManager,
2904 LPCWSTR lpServiceName,
2905 LPWSTR lpDisplayName,
2912 LPCWSTR lpMachineName,
2913 LPCWSTR lpDatabaseName,
2914 DWORD dwDesiredAccess
2920 SC_HANDLE hSCManager,
2921 LPCWSTR lpServiceName,
2922 DWORD dwDesiredAccess
2927 QueryServiceConfigW(
2929 LPQUERY_SERVICE_CONFIGW lpServiceConfig,
2931 LPDWORD pcbBytesNeeded
2936 QueryServiceLockStatusW(
2937 SC_HANDLE hSCManager,
2938 LPQUERY_SERVICE_LOCK_STATUSW lpLockStatus,
2940 LPDWORD pcbBytesNeeded
2943 SERVICE_STATUS_HANDLE
2945 RegisterServiceCtrlHandlerW(
2946 LPCWSTR lpServiceName,
2947 LPHANDLER_FUNCTION lpHandlerProc
2952 StartServiceCtrlDispatcherW(
2953 LPSERVICE_TABLE_ENTRYW lpServiceStartTable
2960 DWORD dwNumServiceArgs,
2961 LPCWSTR *lpServiceArgVectors
2964 /* Extensions to OpenGL */
2967 wglUseFontBitmapsW(HDC, DWORD, DWORD, DWORD);
2970 wglUseFontOutlinesW(HDC, DWORD, DWORD, DWORD, FLOAT,
2971 FLOAT, int, LPGLYPHMETRICSFLOAT);
2973 /* ------------------------------------- */
2974 /* From shellapi.h in old Cygnus headers */
2977 DragQueryFileW(HDROP, unsigned int, LPCWSTR, unsigned int);
2980 ExtractAssociatedIconW (HINSTANCE, LPCWSTR, WORD *);
2983 ExtractIconW (HINSTANCE, const LPCWSTR, unsigned int);
2986 FindExecutableW (const LPCWSTR, const LPCWSTR, LPCWSTR);
2989 ShellAboutW (HWND, const LPCWSTR, const LPCWSTR, HICON);
2992 ShellExecuteW (HWND, const LPCWSTR, const LPCWSTR, LPCWSTR, const LPCWSTR, int);
2994 /* end of stuff from shellapi.h in old Cygnus headers */
2995 /* -------------------------------------------------- */
2996 /* From ddeml.h in old Cygnus headers */
3000 DdeCreateStringHandleW(
3006 DdeInitializeW (DWORD *, CALLB, DWORD, DWORD);
3017 /* end of stuff from ddeml.h in old Cygnus headers */
3018 /* ----------------------------------------------- */
3020 WINBOOL STDCALL LogonUserW (LPWSTR, LPWSTR, LPWSTR, DWORD, DWORD, HANDLE *);
3021 WINBOOL STDCALL CreateProcessAsUserW (HANDLE, LPCWSTR, LPWSTR,
3022 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL,
3023 DWORD, LPVOID, LPCWSTR, STARTUPINFOW*,
3024 PROCESS_INFORMATION*);
3028 #endif /* __cplusplus */
3030 #endif /* _GNU_H_WINDOWS32_UNICODEFUNCTIONS */