4 Declarations for all the Win32 ASCII Functions
6 Copyright (C) 1996 Free Software Foundation, Inc.
8 Author: Scott Christley <scottc@net-community.com>
10 This file is part of the Windows32 API Library.
12 This library is free software; you can redistribute it and/or
13 modify it under the terms of the GNU Library General Public
14 License as published by the Free Software Foundation; either
15 version 2 of the License, or (at your option) any later version.
17 This library is distributed in the hope that it will be useful,
18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 Library General Public License for more details.
22 If you are interested in a warranty or support for this source code,
23 contact Scott Christley <scottc@net-community.com> for more information.
25 You should have received a copy of the GNU Library General Public
26 License along with this library; see the file COPYING.LIB.
27 If not, write to the Free Software Foundation,
28 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
31 #ifndef _GNU_H_WINDOWS32_ASCIIFUNCTIONS
32 #define _GNU_H_WINDOWS32_ASCIIFUNCTIONS
36 #endif /* __cplusplus */
41 LPCSTR lpApplicationName
,
55 GetEnvironmentStringsA(
61 FreeEnvironmentStringsA(
81 DWORD nMaxMessageSize
,
83 LPSECURITY_ATTRIBUTES lpSecurityAttributes
131 LPSECURITY_ATTRIBUTES lpMutexAttributes
,
132 WINBOOL bInitialOwner
,
139 DWORD dwDesiredAccess
,
140 WINBOOL bInheritHandle
,
147 LPSECURITY_ATTRIBUTES lpEventAttributes
,
148 WINBOOL bManualReset
,
149 WINBOOL bInitialState
,
156 DWORD dwDesiredAccess
,
157 WINBOOL bInheritHandle
,
164 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes
,
173 DWORD dwDesiredAccess
,
174 WINBOOL bInheritHandle
,
182 LPSECURITY_ATTRIBUTES lpFileMappingAttributes
,
184 DWORD dwMaximumSizeHigh
,
185 DWORD dwMaximumSizeLow
,
192 DWORD dwDesiredAccess
,
193 WINBOOL bInheritHandle
,
199 GetLogicalDriveStringsA(
213 LPCSTR lpLibFileName
,
247 GetEnvironmentVariableA(
255 SetEnvironmentVariableA(
262 ExpandEnvironmentStringsA(
271 LPCSTR lpOutputString
295 ENUMRESTYPEPROC lpEnumFunc
,
304 ENUMRESNAMEPROC lpEnumFunc
,
310 EnumResourceLanguagesA(
314 ENUMRESLANGPROC lpEnumFunc
,
320 BeginUpdateResourceA(
322 WINBOOL bDeleteExistingResources
397 LPSTR lpReturnedString
,
413 LPSTR lpReturnedString
,
419 WriteProfileSectionA(
426 GetPrivateProfileIntA(
435 GetPrivateProfileStringA(
439 LPSTR lpReturnedString
,
446 WritePrivateProfileStringA(
455 GetPrivateProfileSectionA(
457 LPSTR lpReturnedString
,
464 WritePrivateProfileSectionA(
473 LPCSTR lpRootPathName
494 LPCSTR lpPrefixString
,
501 GetWindowsDirectoryA(
508 SetCurrentDirectoryA(
514 GetCurrentDirectoryA(
522 LPCSTR lpRootPathName
,
523 LPDWORD lpSectorsPerCluster
,
524 LPDWORD lpBytesPerSector
,
525 LPDWORD lpNumberOfFreeClusters
,
526 LPDWORD lpTotalNumberOfClusters
532 LPCSTR lpDirectoryName
,
533 PULARGE_INTEGER lpFreeBytesAvailableToCaller
,
534 PULARGE_INTEGER lpTotalNumberOfBytes
,
535 PULARGE_INTEGER lpTotalNumberOfFreeBytes
542 LPSECURITY_ATTRIBUTES lpSecurityAttributes
548 LPCSTR lpTemplateDirectory
,
549 LPCSTR lpNewDirectory
,
550 LPSECURITY_ATTRIBUTES lpSecurityAttributes
588 DWORD dwDesiredAccess
,
590 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
591 DWORD dwCreationDisposition
,
592 DWORD dwFlagsAndAttributes
,
600 DWORD dwFileAttributes
611 GetCompressedFileSizeA(
613 LPDWORD lpFileSizeHigh
636 LPCSTR lpExistingFileName
,
637 LPCSTR lpNewFileName
,
638 WINBOOL bFailIfExists
644 LPCSTR lpExistingFileName
,
651 LPCSTR lpExistingFileName
,
652 LPCSTR lpNewFileName
,
663 DWORD nOutBufferSize
,
665 DWORD nDefaultTimeOut
,
666 LPSECURITY_ATTRIBUTES lpSecurityAttributes
671 GetNamedPipeHandleStateA(
674 LPDWORD lpCurInstances
,
675 LPDWORD lpMaxCollectionCount
,
676 LPDWORD lpCollectDataTimeout
,
678 DWORD nMaxUserNameSize
684 LPCSTR lpNamedPipeName
,
688 DWORD nOutBufferSize
,
696 LPCSTR lpNamedPipeName
,
703 LPCSTR lpRootPathName
,
709 GetVolumeInformationA(
710 LPCSTR lpRootPathName
,
711 LPSTR lpVolumeNameBuffer
,
712 DWORD nVolumeNameSize
,
713 LPDWORD lpVolumeSerialNumber
,
714 LPDWORD lpMaximumComponentLength
,
715 LPDWORD lpFileSystemFlags
,
716 LPSTR lpFileSystemNameBuffer
,
717 DWORD nFileSystemNameSize
724 LPCSTR lpBackupFileName
731 LPCSTR lpBackupFileName
737 LPCSTR lpUNCServerName
,
743 RegisterEventSourceA (
744 LPCSTR lpUNCServerName
,
750 OpenBackupEventLogA (
751 LPCSTR lpUNCServerName
,
760 DWORD dwRecordOffset
,
762 DWORD nNumberOfBytesToRead
,
764 DWORD
*pnMinNumberOfBytesNeeded
783 AccessCheckAndAuditAlarmA (
784 LPCSTR SubsystemName
,
786 LPSTR ObjectTypeName
,
788 PSECURITY_DESCRIPTOR SecurityDescriptor
,
790 PGENERIC_MAPPING GenericMapping
,
791 WINBOOL ObjectCreation
,
792 LPDWORD GrantedAccess
,
794 LPBOOL pfGenerateOnClose
799 ObjectOpenAuditAlarmA (
800 LPCSTR SubsystemName
,
802 LPSTR ObjectTypeName
,
804 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
808 PPRIVILEGE_SET Privileges
,
809 WINBOOL ObjectCreation
,
810 WINBOOL AccessGranted
,
811 LPBOOL GenerateOnClose
816 ObjectPrivilegeAuditAlarmA (
817 LPCSTR SubsystemName
,
821 PPRIVILEGE_SET Privileges
,
822 WINBOOL AccessGranted
827 ObjectCloseAuditAlarmA (
828 LPCSTR SubsystemName
,
830 WINBOOL GenerateOnClose
835 PrivilegedServiceAuditAlarmA (
836 LPCSTR SubsystemName
,
839 PPRIVILEGE_SET Privileges
,
840 WINBOOL AccessGranted
847 SECURITY_INFORMATION SecurityInformation
,
848 PSECURITY_DESCRIPTOR pSecurityDescriptor
855 SECURITY_INFORMATION RequestedInformation
,
856 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
858 LPDWORD lpnLengthNeeded
863 FindFirstChangeNotificationA(
865 WINBOOL bWatchSubtree
,
883 LPSTR ReferencedDomainName
,
884 LPDWORD cbReferencedDomainName
,
892 LPCSTR lpAccountName
,
895 LPSTR ReferencedDomainName
,
896 LPDWORD cbReferencedDomainName
,
902 LookupPrivilegeValueA(
910 LookupPrivilegeNameA(
919 LookupPrivilegeDisplayNameA(
923 LPDWORD cbDisplayName
,
936 BuildCommDCBAndTimeoutsA(
939 LPCOMMTIMEOUTS lpCommTimeouts
952 GetDefaultCommConfigA(
960 SetDefaultCommConfigA(
976 LPCSTR lpComputerName
995 wsprintfA(LPSTR
, LPCSTR
, ...);
1005 GetKeyboardLayoutNameA(
1013 LPDEVMODEA pDevmode
,
1015 ACCESS_MASK dwDesiredAccess
,
1016 LPSECURITY_ATTRIBUTES lpsa
);
1024 DWORD dwDesiredAccess
);
1030 DESKTOPENUMPROC lpEnumFunc
,
1035 CreateWindowStationA(
1038 DWORD dwDesiredAccess
,
1039 LPSECURITY_ATTRIBUTES lpsa
);
1041 HANDLE STDCALL
CreateWaitableTimerA( LPSECURITY_ATTRIBUTES Attributes
,
1050 DWORD dwDesiredAccess
);
1054 EnumWindowStationsA(
1055 ENUMWINDOWSTATIONPROC lpEnumFunc
,
1060 GetUserObjectInformationA(
1065 LPDWORD lpnLengthNeeded
);
1069 SetUserObjectInformationA(
1077 RegisterWindowMessageA(
1086 UINT wMsgFilterMax
);
1112 SendMessageTimeoutA(
1119 PDWORD_PTR lpdwResult
);
1131 SendMessageCallbackA(
1136 SENDASYNCPROC lpResultCallBack
,
1166 WNDPROC lpPrevWndFunc
,
1175 CONST WNDCLASS
*lpWndClass
);
1181 HINSTANCE hInstance
);
1186 HINSTANCE hInstance
,
1188 LPWNDCLASS lpWndClass
);
1192 RegisterClassExA(CONST WNDCLASSEX
*);
1196 GetClassInfoExA(HINSTANCE
, LPCSTR
, LPWNDCLASSEX
);
1203 LPCSTR lpWindowName
,
1211 HINSTANCE hInstance
,
1217 HINSTANCE hInstance
,
1218 LPCSTR lpTemplateName
,
1220 DLGPROC lpDialogFunc
,
1221 LPARAM dwInitParam
);
1225 CreateDialogIndirectParamA(
1226 HINSTANCE hInstance
,
1227 LPCDLGTEMPLATE lpTemplate
,
1229 DLGPROC lpDialogFunc
,
1230 LPARAM dwInitParam
);
1235 HINSTANCE hInstance
,
1236 LPCSTR lpTemplateName
,
1238 DLGPROC lpDialogFunc
,
1239 LPARAM dwInitParam
);
1243 DialogBoxIndirectParamA(
1244 HINSTANCE hInstance
,
1245 LPCDLGTEMPLATE hDialogTemplate
,
1247 DLGPROC lpDialogFunc
,
1248 LPARAM dwInitParam
);
1267 SendDlgItemMessageA(
1290 RegisterClipboardFormatA(
1295 GetClipboardFormatNameA(
1297 LPSTR lpszFormatName
,
1317 DWORD cchDstLength
);
1324 DWORD cchDstLength
);
1357 LPCSTR lpszCurrent
);
1366 IsCharAlphaNumericA(
1393 STDCALL
VkKeyScanExA(
1413 HINSTANCE hInstance
,
1414 LPCSTR lpTableName
);
1418 CreateAcceleratorTableA(
1423 CopyAcceleratorTableA(
1430 TranslateAcceleratorA(
1438 HINSTANCE hInstance
,
1444 CONST MENUTEMPLATE
*lpMenuTemplate
);
1516 WINBOOL fByPosition
,
1517 LPMENUITEMINFO lpmii
);
1530 DrawTextExA(HDC
, LPSTR
, int, LPRECT
, UINT
, LPDRAWTEXTPARAMS
);
1537 GRAYSTRINGPROC lpOutputFunc
,
1547 DrawStateA(HDC
, HBRUSH
, DRAWSTATEPROC
, LPARAM
, WPARAM
, int, int, int, int, UINT
);
1558 LPINT lpnTabStopPositions
,
1563 GetTabbedTextExtentA(
1568 LPINT lpnTabStopPositions
);
1593 PROPENUMPROCEX lpEnumFunc
,
1600 PROPENUMPROC lpEnumFunc
);
1617 GetWindowTextLengthA(
1639 MessageBoxIndirectA(LPMSGBOXPARAMS
);
1670 LPCSTR lpClassName
,
1671 LPCSTR lpWindowName
);
1675 FindWindowExA(HWND
, HWND
, LPCSTR
, LPCSTR
);
1695 HINSTANCE hInstance
,
1696 LPCSTR lpBitmapName
);
1701 HINSTANCE hInstance
,
1702 LPCSTR lpCursorName
);
1706 LoadCursorFromFileA(
1712 HINSTANCE hInstance
,
1728 HINSTANCE hInstance
,
1752 DlgDirListComboBoxA(
1761 DlgDirSelectComboBoxExA(
1771 HWND hWndMDIClient
,
1788 LPCSTR lpWindowName
,
1795 HINSTANCE hInstance
,
1810 ChangeDisplaySettingsA(
1811 LPDEVMODEA lpDevMode
,
1816 EnumDisplaySettingsA(
1817 LPCSTR lpszDeviceName
,
1819 LPDEVMODEA lpDevMode
);
1823 SystemParametersInfoA(
1831 AddFontResourceA(LPCSTR
);
1835 CopyMetaFileA(HMETAFILE
, LPCSTR
);
1839 CreateFontIndirectA(CONST LOGFONT
*);
1843 CreateICA(LPCSTR
, LPCSTR
, LPCSTR
, CONST DEVMODEA
*);
1847 CreateMetaFileA(LPCSTR
);
1851 CreateScalableFontResourceA(DWORD
, LPCSTR
, LPCSTR
, LPCSTR
);
1855 DeviceCapabilitiesA(LPCSTR
, LPCSTR
, WORD
,
1856 LPSTR
, CONST DEVMODEA
*);
1860 EnumFontFamiliesExA(HDC
, LPLOGFONT
, FONTENUMEXPROC
, LPARAM
,DWORD
);
1864 EnumFontFamiliesA(HDC
, LPCSTR
, FONTENUMPROC
, LPARAM
);
1868 EnumFontsA(HDC
, LPCSTR
, ENUMFONTSPROC
, LPARAM
);
1872 GetCharWidthA(HDC
, UINT
, UINT
, LPINT
);
1876 GetCharWidth32A(HDC
, UINT
, UINT
, LPINT
);
1880 GetCharWidthFloatA(HDC
, UINT
, UINT
, PFLOAT
);
1884 GetCharABCWidthsA(HDC
, UINT
, UINT
, LPABC
);
1888 GetCharABCWidthsFloatA(HDC
, UINT
, UINT
, LPABCFLOAT
);
1891 GetGlyphOutlineA(HDC
, UINT
, UINT
, LPGLYPHMETRICS
, DWORD
, LPVOID
, CONST MAT2
*);
1895 GetMetaFileA(LPCSTR
);
1899 GetOutlineTextMetricsA(HDC
, UINT
, LPOUTLINETEXTMETRIC
);
1903 GetTextExtentPointA(
1912 GetTextExtentPoint32A(
1921 GetTextExtentExPointA(
1933 GetCharacterPlacementA(HDC
, LPCSTR
, int, int, LPGCP_RESULTS
, DWORD
);
1937 ResetDCA(HDC
, CONST DEVMODEA
*);
1941 RemoveFontResourceA(LPCSTR
);
1945 CopyEnhMetaFileA(HENHMETAFILE
, LPCSTR
);
1949 CreateEnhMetaFileA(HDC
, LPCSTR
, CONST RECT
*, LPCSTR
);
1953 GetEnhMetaFileA(LPCSTR
);
1957 GetEnhMetaFileDescriptionA(HENHMETAFILE
, UINT
, LPSTR
);
1961 GetTextMetricsA(HDC
, LPTEXTMETRIC
);
1965 StartDocA(HDC
, CONST DOCINFO
*);
1969 GetObjectA(HGDIOBJ
, int, LPVOID
);
1973 TextOutA(HDC
, int, int, LPCSTR
, int);
1977 ExtTextOutA(HDC
, int, int, UINT
, CONST RECT
*,LPCSTR
, UINT
, CONST INT
*);
1981 PolyTextOutA(HDC
, CONST POLYTEXT
*, int);
1985 GetTextFaceA(HDC
, int, LPSTR
);
1989 GetKerningPairsA(HDC
, DWORD
, LPKERNINGPAIR
);
1993 CreateColorSpaceA(LPLOGCOLORSPACE
);
1997 GetLogColorSpaceA(HCOLORSPACE
,LPLOGCOLORSPACE
,DWORD
);
2001 GetICMProfileA(HDC
,DWORD
,LPSTR
);
2005 SetICMProfileA(HDC
,LPSTR
);
2009 UpdateICMRegKeyA(DWORD
, DWORD
, LPSTR
, UINT
);
2013 EnumICMProfilesA(HDC
,ICMENUMPROC
,LPARAM
);
2017 PropertySheetA(LPCPROPSHEETHEADER lppsph
);
2021 ImageList_LoadImageA(HINSTANCE hi
, LPCSTR lpbmp
, int cx
, int cGrow
, COLORREF crMask
, UINT uType
, UINT uFlags
);
2025 CreateStatusWindowA(LONG style
, LPCSTR lpszText
, HWND hwndParent
, UINT wID
);
2029 DrawStatusTextA(HDC hDC
, LPRECT lprc
, LPCSTR pszText
, UINT uFlags
);
2033 GetOpenFileNameA(LPOPENFILENAME
);
2037 GetSaveFileNameA(LPOPENFILENAME
);
2041 GetFileTitleA(LPCSTR
, LPSTR
, WORD
);
2045 ChooseColorA(LPCHOOSECOLOR
);
2049 FindTextA(LPFINDREPLACE
);
2053 ReplaceTextA(LPFINDREPLACE
);
2057 ChooseFontA(LPCHOOSEFONT
);
2061 PrintDlgA(LPPRINTDLG
);
2065 PageSetupDlgA( LPPAGESETUPDLG
);
2070 LPCSTR lpApplicationName
,
2071 LPSTR lpCommandLine
,
2072 LPSECURITY_ATTRIBUTES lpProcessAttributes
,
2073 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
2074 WINBOOL bInheritHandles
,
2075 DWORD dwCreationFlags
,
2076 LPVOID lpEnvironment
,
2077 LPCSTR lpCurrentDirectory
,
2078 LPSTARTUPINFOA lpStartupInfo
,
2079 LPPROCESS_INFORMATION lpProcessInformation
2085 LPSTARTUPINFOA lpStartupInfo
2093 FINDEX_INFO_LEVELS fInfoLevelId
,
2094 LPVOID lpFindFileData
,
2095 FINDEX_SEARCH_OPS fSearchOp
,
2096 LPVOID lpSearchFilter
,
2097 DWORD dwAdditionalFlags
2104 LPWIN32_FIND_DATA lpFindFileData
2111 LPWIN32_FIND_DATA lpFindFileData
2117 LPOSVERSIONINFO lpVersionInformation
2120 #define CreateWindowA(lpClassName, lpWindowName, dwStyle, x, y,\
2121 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2122 CreateWindowExA(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2123 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2125 #define CreateDialogA(hInstance, lpName, hWndParent, lpDialogFunc) \
2126 CreateDialogParamA(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2128 #define CreateDialogIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2129 CreateDialogIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2131 #define DialogBoxA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2132 DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2134 #define DialogBoxIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2135 DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2139 CreateDCA(LPCSTR
, LPCSTR
, LPCSTR
, CONST DEVMODEA
*);
2145 LPSTR szSrcFileName
,
2146 LPSTR szDestFileName
,
2156 GetFileVersionInfoSizeA(
2157 LPSTR lptstrFilename
,
2163 GetFileVersionInfoA(
2164 LPSTR lptstrFilename
,
2181 const LPVOID pBlock
,
2183 LPVOID
* lplpBuffer
,
2202 RegConnectRegistryA (
2203 LPSTR lpMachineName
,
2225 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
2227 LPDWORD lpdwDisposition
2263 PFILETIME lpftLastWriteTime
2272 LPDWORD lpcbValueName
,
2313 LPDWORD lpcbMaxSubKeyLen
,
2314 LPDWORD lpcbMaxClassLen
,
2316 LPDWORD lpcbMaxValueNameLen
,
2317 LPDWORD lpcbMaxValueLen
,
2318 LPDWORD lpcbSecurityDescriptor
,
2319 PFILETIME lpftLastWriteTime
2333 RegQueryMultipleValuesA (
2374 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2407 InitiateSystemShutdownA(
2408 LPSTR lpMachineName
,
2411 WINBOOL bForceAppsClosed
,
2412 WINBOOL bRebootAfterShutdown
2417 AbortSystemShutdownA(
2461 CONST SYSTEMTIME
*lpTime
,
2471 CONST SYSTEMTIME
*lpDate
,
2482 CONST NUMBERFMT
*lpFormat
,
2492 CONST CURRENCYFMT
*lpFormat
,
2493 LPSTR lpCurrencyStr
,
2499 CALINFO_ENUMPROC lpCalInfoEnumProc
,
2507 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
2514 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
2549 LOCALE_ENUMPROC lpLocaleEnumProc
,
2554 EnumSystemCodePagesA(
2555 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
2561 HANDLE hConsoleInput
,
2562 PINPUT_RECORD lpBuffer
,
2564 LPDWORD lpNumberOfEventsRead
2570 HANDLE hConsoleInput
,
2571 PINPUT_RECORD lpBuffer
,
2573 LPDWORD lpNumberOfEventsRead
2579 HANDLE hConsoleInput
,
2580 CONST INPUT_RECORD
*lpBuffer
,
2582 LPDWORD lpNumberOfEventsWritten
2588 HANDLE hConsoleOutput
,
2589 PCHAR_INFO lpBuffer
,
2591 COORD dwBufferCoord
,
2592 PSMALL_RECT lpReadRegion
2597 WriteConsoleOutputA(
2598 HANDLE hConsoleOutput
,
2599 CONST CHAR_INFO
*lpBuffer
,
2601 COORD dwBufferCoord
,
2602 PSMALL_RECT lpWriteRegion
2607 ReadConsoleOutputCharacterA(
2608 HANDLE hConsoleOutput
,
2612 LPDWORD lpNumberOfCharsRead
2617 WriteConsoleOutputCharacterA(
2618 HANDLE hConsoleOutput
,
2622 LPDWORD lpNumberOfCharsWritten
2627 FillConsoleOutputCharacterA(
2628 HANDLE hConsoleOutput
,
2632 LPDWORD lpNumberOfCharsWritten
2637 ScrollConsoleScreenBufferA(
2638 HANDLE hConsoleOutput
,
2639 CONST SMALL_RECT
*lpScrollRectangle
,
2640 CONST SMALL_RECT
*lpClipRectangle
,
2641 COORD dwDestinationOrigin
,
2642 CONST CHAR_INFO
*lpFill
2648 LPSTR lpConsoleTitle
,
2655 LPCSTR lpConsoleTitle
2661 HANDLE hConsoleInput
,
2663 DWORD nNumberOfCharsToRead
,
2664 LPDWORD lpNumberOfCharsRead
,
2671 HANDLE hConsoleOutput
,
2672 CONST VOID
*lpBuffer
,
2673 DWORD nNumberOfCharsToWrite
,
2674 LPDWORD lpNumberOfCharsWritten
,
2680 LPCSTR lpRemoteName
,
2686 WNetAddConnection2A(
2687 LPNETRESOURCE lpNetResource
,
2694 WNetAddConnection3A(
2696 LPNETRESOURCE lpNetResource
,
2703 WNetCancelConnectionA(
2709 WNetCancelConnection2A(
2725 LPNETRESOURCE lpNetResource
,
2730 LPDWORD lpBufferSize
,
2742 WNetConnectionDialog1A(
2743 LPCONNECTDLGSTRUCT lpConnDlgStruct
2747 WNetDisconnectDialog1A(
2748 LPDISCDLGSTRUCT lpConnDlgStruct
2756 LPNETRESOURCE lpNetResource
,
2765 LPDWORD lpBufferSize
2769 WNetGetUniversalNameA(
2773 LPDWORD lpBufferSize
2784 WNetGetProviderNameA(
2786 LPSTR lpProviderName
,
2787 LPDWORD lpBufferSize
2791 WNetGetNetworkInformationA(
2793 LPNETINFOSTRUCT lpNetInfoStruct
2800 DWORD nErrorBufSize
,
2806 MultinetGetConnectionPerformanceA(
2807 LPNETRESOURCE lpNetResource
,
2808 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2813 ChangeServiceConfigA(
2815 DWORD dwServiceType
,
2817 DWORD dwErrorControl
,
2818 LPCSTR lpBinaryPathName
,
2819 LPCSTR lpLoadOrderGroup
,
2821 LPCSTR lpDependencies
,
2822 LPCSTR lpServiceStartName
,
2824 LPCSTR lpDisplayName
2830 SC_HANDLE hSCManager
,
2831 LPCSTR lpServiceName
,
2832 LPCSTR lpDisplayName
,
2833 DWORD dwDesiredAccess
,
2834 DWORD dwServiceType
,
2836 DWORD dwErrorControl
,
2837 LPCSTR lpBinaryPathName
,
2838 LPCSTR lpLoadOrderGroup
,
2840 LPCSTR lpDependencies
,
2841 LPCSTR lpServiceStartName
,
2847 EnumDependentServicesA(
2849 DWORD dwServiceState
,
2850 LPENUM_SERVICE_STATUSA lpServices
,
2852 LPDWORD pcbBytesNeeded
,
2853 LPDWORD lpServicesReturned
2858 EnumServicesStatusA(
2859 SC_HANDLE hSCManager
,
2860 DWORD dwServiceType
,
2861 DWORD dwServiceState
,
2862 LPENUM_SERVICE_STATUSA lpServices
,
2864 LPDWORD pcbBytesNeeded
,
2865 LPDWORD lpServicesReturned
,
2866 LPDWORD lpResumeHandle
2872 SC_HANDLE hSCManager
,
2873 LPCSTR lpDisplayName
,
2874 LPSTR lpServiceName
,
2880 GetServiceDisplayNameA(
2881 SC_HANDLE hSCManager
,
2882 LPCSTR lpServiceName
,
2883 LPSTR lpDisplayName
,
2890 LPCSTR lpMachineName
,
2891 LPCSTR lpDatabaseName
,
2892 DWORD dwDesiredAccess
2898 SC_HANDLE hSCManager
,
2899 LPCSTR lpServiceName
,
2900 DWORD dwDesiredAccess
2905 QueryServiceConfigA(
2907 LPQUERY_SERVICE_CONFIGA lpServiceConfig
,
2909 LPDWORD pcbBytesNeeded
2914 QueryServiceLockStatusA(
2915 SC_HANDLE hSCManager
,
2916 LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus
,
2918 LPDWORD pcbBytesNeeded
2921 SERVICE_STATUS_HANDLE
2923 RegisterServiceCtrlHandlerA(
2924 LPCSTR lpServiceName
,
2925 LPHANDLER_FUNCTION lpHandlerProc
2930 StartServiceCtrlDispatcherA(
2931 LPSERVICE_TABLE_ENTRYA lpServiceStartTable
2938 DWORD dwNumServiceArgs
,
2939 LPCSTR
*lpServiceArgVectors
2942 /* Extensions to OpenGL */
2945 wglUseFontBitmapsA(HDC
, DWORD
, DWORD
, DWORD
);
2948 wglUseFontOutlinesA(HDC
, DWORD
, DWORD
, DWORD
, FLOAT
,
2949 FLOAT
, int, LPGLYPHMETRICSFLOAT
);
2951 /* ------------------------------------- */
2952 /* From shellapi.h in old Cygnus headers */
2955 DragQueryFileA(HDROP
, unsigned int, char *, unsigned int);
2958 ExtractAssociatedIconA (HINSTANCE
, char *, WORD
*);
2961 ExtractIconA (HINSTANCE
, const char *, unsigned int);
2964 FindExecutableA (const char *, const char *, char *);
2967 ShellAboutA (HWND
, const char *, const char *, HICON
);
2970 ShellExecuteA (HWND
, const char *, const char *, char *, const char *, int);
2972 /* end of stuff from shellapi.h in old Cygnus headers */
2973 /* -------------------------------------------------- */
2974 /* From ddeml.h in old Cygnus headers */
2977 DdeCreateStringHandleA (DWORD
, char *, int);
2980 DdeInitializeA (DWORD
*, CALLB
, DWORD
, DWORD
);
2983 DdeQueryStringA (DWORD
, HSZ
, char *, DWORD
, int);
2985 /* end of stuff from ddeml.h in old Cygnus headers */
2986 /* ----------------------------------------------- */
2988 WINBOOL STDCALL
LogonUserA (LPSTR
, LPSTR
, LPSTR
, DWORD
, DWORD
, HANDLE
*);
2989 WINBOOL STDCALL
CreateProcessAsUserA (HANDLE
, LPCTSTR
, LPTSTR
,
2990 SECURITY_ATTRIBUTES
*, SECURITY_ATTRIBUTES
*, WINBOOL
, DWORD
, LPVOID
,
2991 LPCTSTR
, STARTUPINFOA
*, PROCESS_INFORMATION
*);
2995 #endif /* __cplusplus */
2997 #endif /* _GNU_H_WINDOWS32_ASCIIFUNCTIONS */