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
533 LPSECURITY_ATTRIBUTES lpSecurityAttributes
539 LPCSTR lpTemplateDirectory
,
540 LPCSTR lpNewDirectory
,
541 LPSECURITY_ATTRIBUTES lpSecurityAttributes
579 DWORD dwDesiredAccess
,
581 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
582 DWORD dwCreationDisposition
,
583 DWORD dwFlagsAndAttributes
,
591 DWORD dwFileAttributes
602 GetCompressedFileSizeA(
604 LPDWORD lpFileSizeHigh
627 LPCSTR lpExistingFileName
,
628 LPCSTR lpNewFileName
,
629 WINBOOL bFailIfExists
635 LPCSTR lpExistingFileName
,
642 LPCSTR lpExistingFileName
,
643 LPCSTR lpNewFileName
,
654 DWORD nOutBufferSize
,
656 DWORD nDefaultTimeOut
,
657 LPSECURITY_ATTRIBUTES lpSecurityAttributes
662 GetNamedPipeHandleStateA(
665 LPDWORD lpCurInstances
,
666 LPDWORD lpMaxCollectionCount
,
667 LPDWORD lpCollectDataTimeout
,
669 DWORD nMaxUserNameSize
675 LPCSTR lpNamedPipeName
,
679 DWORD nOutBufferSize
,
687 LPCSTR lpNamedPipeName
,
694 LPCSTR lpRootPathName
,
700 GetVolumeInformationA(
701 LPCSTR lpRootPathName
,
702 LPSTR lpVolumeNameBuffer
,
703 DWORD nVolumeNameSize
,
704 LPDWORD lpVolumeSerialNumber
,
705 LPDWORD lpMaximumComponentLength
,
706 LPDWORD lpFileSystemFlags
,
707 LPSTR lpFileSystemNameBuffer
,
708 DWORD nFileSystemNameSize
715 LPCSTR lpBackupFileName
722 LPCSTR lpBackupFileName
728 LPCSTR lpUNCServerName
,
734 RegisterEventSourceA (
735 LPCSTR lpUNCServerName
,
741 OpenBackupEventLogA (
742 LPCSTR lpUNCServerName
,
751 DWORD dwRecordOffset
,
753 DWORD nNumberOfBytesToRead
,
755 DWORD
*pnMinNumberOfBytesNeeded
774 AccessCheckAndAuditAlarmA (
775 LPCSTR SubsystemName
,
777 LPSTR ObjectTypeName
,
779 PSECURITY_DESCRIPTOR SecurityDescriptor
,
781 PGENERIC_MAPPING GenericMapping
,
782 WINBOOL ObjectCreation
,
783 LPDWORD GrantedAccess
,
785 LPBOOL pfGenerateOnClose
790 ObjectOpenAuditAlarmA (
791 LPCSTR SubsystemName
,
793 LPSTR ObjectTypeName
,
795 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
799 PPRIVILEGE_SET Privileges
,
800 WINBOOL ObjectCreation
,
801 WINBOOL AccessGranted
,
802 LPBOOL GenerateOnClose
807 ObjectPrivilegeAuditAlarmA (
808 LPCSTR SubsystemName
,
812 PPRIVILEGE_SET Privileges
,
813 WINBOOL AccessGranted
818 ObjectCloseAuditAlarmA (
819 LPCSTR SubsystemName
,
821 WINBOOL GenerateOnClose
826 PrivilegedServiceAuditAlarmA (
827 LPCSTR SubsystemName
,
830 PPRIVILEGE_SET Privileges
,
831 WINBOOL AccessGranted
838 SECURITY_INFORMATION SecurityInformation
,
839 PSECURITY_DESCRIPTOR pSecurityDescriptor
846 SECURITY_INFORMATION RequestedInformation
,
847 PSECURITY_DESCRIPTOR pSecurityDescriptor
,
849 LPDWORD lpnLengthNeeded
854 FindFirstChangeNotificationA(
856 WINBOOL bWatchSubtree
,
874 LPSTR ReferencedDomainName
,
875 LPDWORD cbReferencedDomainName
,
883 LPCSTR lpAccountName
,
886 LPSTR ReferencedDomainName
,
887 LPDWORD cbReferencedDomainName
,
893 LookupPrivilegeValueA(
901 LookupPrivilegeNameA(
910 LookupPrivilegeDisplayNameA(
914 LPDWORD cbDisplayName
,
927 BuildCommDCBAndTimeoutsA(
930 LPCOMMTIMEOUTS lpCommTimeouts
943 GetDefaultCommConfigA(
951 SetDefaultCommConfigA(
967 LPCSTR lpComputerName
986 wsprintfA(LPSTR
, LPCSTR
, ...);
996 GetKeyboardLayoutNameA(
1006 DWORD dwDesiredAccess
,
1007 LPSECURITY_ATTRIBUTES lpsa
);
1015 DWORD dwDesiredAccess
);
1021 DESKTOPENUMPROC lpEnumFunc
,
1026 CreateWindowStationA(
1029 DWORD dwDesiredAccess
,
1030 LPSECURITY_ATTRIBUTES lpsa
);
1037 DWORD dwDesiredAccess
);
1041 EnumWindowStationsA(
1042 ENUMWINDOWSTATIONPROC lpEnumFunc
,
1047 GetUserObjectInformationA(
1052 LPDWORD lpnLengthNeeded
);
1056 SetUserObjectInformationA(
1064 RegisterWindowMessageA(
1073 UINT wMsgFilterMax
);
1099 SendMessageTimeoutA(
1106 LPDWORD lpdwResult
);
1118 SendMessageCallbackA(
1123 SENDASYNCPROC lpResultCallBack
,
1153 WNDPROC lpPrevWndFunc
,
1162 CONST WNDCLASS
*lpWndClass
);
1168 HINSTANCE hInstance
);
1173 HINSTANCE hInstance
,
1175 LPWNDCLASS lpWndClass
);
1179 RegisterClassExA(CONST WNDCLASSEX
*);
1183 GetClassInfoExA(HINSTANCE
, LPCSTR
, LPWNDCLASSEX
);
1190 LPCSTR lpWindowName
,
1198 HINSTANCE hInstance
,
1204 HINSTANCE hInstance
,
1205 LPCSTR lpTemplateName
,
1207 DLGPROC lpDialogFunc
,
1208 LPARAM dwInitParam
);
1212 CreateDialogIndirectParamA(
1213 HINSTANCE hInstance
,
1214 LPCDLGTEMPLATE lpTemplate
,
1216 DLGPROC lpDialogFunc
,
1217 LPARAM dwInitParam
);
1222 HINSTANCE hInstance
,
1223 LPCSTR lpTemplateName
,
1225 DLGPROC lpDialogFunc
,
1226 LPARAM dwInitParam
);
1230 DialogBoxIndirectParamA(
1231 HINSTANCE hInstance
,
1232 LPCDLGTEMPLATE hDialogTemplate
,
1234 DLGPROC lpDialogFunc
,
1235 LPARAM dwInitParam
);
1254 SendDlgItemMessageA(
1277 RegisterClipboardFormatA(
1282 GetClipboardFormatNameA(
1284 LPSTR lpszFormatName
,
1304 DWORD cchDstLength
);
1311 DWORD cchDstLength
);
1344 LPCSTR lpszCurrent
);
1353 IsCharAlphaNumericA(
1380 STDCALL
VkKeyScanExA(
1400 HINSTANCE hInstance
,
1401 LPCSTR lpTableName
);
1405 CreateAcceleratorTableA(
1410 CopyAcceleratorTableA(
1417 TranslateAcceleratorA(
1425 HINSTANCE hInstance
,
1431 CONST MENUTEMPLATE
*lpMenuTemplate
);
1518 DrawTextExA(HDC
, LPSTR
, int, LPRECT
, UINT
, LPDRAWTEXTPARAMS
);
1525 GRAYSTRINGPROC lpOutputFunc
,
1535 DrawStateA(HDC
, HBRUSH
, DRAWSTATEPROC
, LPARAM
, WPARAM
, int, int, int, int, UINT
);
1546 LPINT lpnTabStopPositions
,
1551 GetTabbedTextExtentA(
1556 LPINT lpnTabStopPositions
);
1581 PROPENUMPROCEX lpEnumFunc
,
1588 PROPENUMPROC lpEnumFunc
);
1605 GetWindowTextLengthA(
1627 MessageBoxIndirectA(LPMSGBOXPARAMS
);
1658 LPCSTR lpClassName
,
1659 LPCSTR lpWindowName
);
1663 FindWindowExA(HWND
, HWND
, LPCSTR
, LPCSTR
);
1683 HINSTANCE hInstance
,
1684 LPCSTR lpBitmapName
);
1689 HINSTANCE hInstance
,
1690 LPCSTR lpCursorName
);
1694 LoadCursorFromFileA(
1700 HINSTANCE hInstance
,
1716 HINSTANCE hInstance
,
1746 DlgDirListComboBoxA(
1755 DlgDirSelectComboBoxExA(
1765 HWND hWndMDIClient
,
1789 HINSTANCE hInstance
,
1804 ChangeDisplaySettingsA(
1805 LPDEVMODE lpDevMode
,
1810 EnumDisplaySettingsA(
1811 LPCSTR lpszDeviceName
,
1813 LPDEVMODE lpDevMode
);
1817 SystemParametersInfoA(
1825 AddFontResourceA(LPCSTR
);
1829 CopyMetaFileA(HMETAFILE
, LPCSTR
);
1833 CreateFontIndirectA(CONST LOGFONT
*);
1837 CreateICA(LPCSTR
, LPCSTR
, LPCSTR
, CONST DEVMODE
*);
1841 CreateMetaFileA(LPCSTR
);
1845 CreateScalableFontResourceA(DWORD
, LPCSTR
, LPCSTR
, LPCSTR
);
1849 DeviceCapabilitiesA(LPCSTR
, LPCSTR
, WORD
,
1850 LPSTR
, CONST DEVMODE
*);
1854 EnumFontFamiliesExA(HDC
, LPLOGFONT
, FONTENUMEXPROC
, LPARAM
,DWORD
);
1858 EnumFontFamiliesA(HDC
, LPCSTR
, FONTENUMPROC
, LPARAM
);
1862 EnumFontsA(HDC
, LPCSTR
, ENUMFONTSPROC
, LPARAM
);
1866 GetCharWidthA(HDC
, UINT
, UINT
, LPINT
);
1870 GetCharWidth32A(HDC
, UINT
, UINT
, LPINT
);
1874 GetCharWidthFloatA(HDC
, UINT
, UINT
, PFLOAT
);
1878 GetCharABCWidthsA(HDC
, UINT
, UINT
, LPABC
);
1882 GetCharABCWidthsFloatA(HDC
, UINT
, UINT
, LPABCFLOAT
);
1885 GetGlyphOutlineA(HDC
, UINT
, UINT
, LPGLYPHMETRICS
, DWORD
, LPVOID
, CONST MAT2
*);
1889 GetMetaFileA(LPCSTR
);
1893 GetOutlineTextMetricsA(HDC
, UINT
, LPOUTLINETEXTMETRIC
);
1897 GetTextExtentPointA(
1906 GetTextExtentPoint32A(
1915 GetTextExtentExPointA(
1927 GetCharacterPlacementA(HDC
, LPCSTR
, int, int, LPGCP_RESULTS
, DWORD
);
1931 ResetDCA(HDC
, CONST DEVMODE
*);
1935 RemoveFontResourceA(LPCSTR
);
1939 CopyEnhMetaFileA(HENHMETAFILE
, LPCSTR
);
1943 CreateEnhMetaFileA(HDC
, LPCSTR
, CONST RECT
*, LPCSTR
);
1947 GetEnhMetaFileA(LPCSTR
);
1951 GetEnhMetaFileDescriptionA(HENHMETAFILE
, UINT
, LPSTR
);
1955 GetTextMetricsA(HDC
, LPTEXTMETRIC
);
1959 StartDocA(HDC
, CONST DOCINFO
*);
1963 GetObjectA(HGDIOBJ
, int, LPVOID
);
1967 TextOutA(HDC
, int, int, LPCSTR
, int);
1971 ExtTextOutA(HDC
, int, int, UINT
, CONST RECT
*,LPCSTR
, UINT
, CONST INT
*);
1975 PolyTextOutA(HDC
, CONST POLYTEXT
*, int);
1979 GetTextFaceA(HDC
, int, LPSTR
);
1983 GetKerningPairsA(HDC
, DWORD
, LPKERNINGPAIR
);
1987 CreateColorSpaceA(LPLOGCOLORSPACE
);
1991 GetLogColorSpaceA(HCOLORSPACE
,LPLOGCOLORSPACE
,DWORD
);
1995 GetICMProfileA(HDC
,DWORD
,LPSTR
);
1999 SetICMProfileA(HDC
,LPSTR
);
2003 UpdateICMRegKeyA(DWORD
, DWORD
, LPSTR
, UINT
);
2007 EnumICMProfilesA(HDC
,ICMENUMPROC
,LPARAM
);
2011 PropertySheetA(LPCPROPSHEETHEADER lppsph
);
2015 ImageList_LoadImageA(HINSTANCE hi
, LPCSTR lpbmp
, int cx
, int cGrow
, COLORREF crMask
, UINT uType
, UINT uFlags
);
2019 CreateStatusWindowA(LONG style
, LPCSTR lpszText
, HWND hwndParent
, UINT wID
);
2023 DrawStatusTextA(HDC hDC
, LPRECT lprc
, LPCSTR pszText
, UINT uFlags
);
2027 GetOpenFileNameA(LPOPENFILENAME
);
2031 GetSaveFileNameA(LPOPENFILENAME
);
2035 GetFileTitleA(LPCSTR
, LPSTR
, WORD
);
2039 ChooseColorA(LPCHOOSECOLOR
);
2043 FindTextA(LPFINDREPLACE
);
2047 ReplaceTextA(LPFINDREPLACE
);
2051 ChooseFontA(LPCHOOSEFONT
);
2055 PrintDlgA(LPPRINTDLG
);
2059 PageSetupDlgA( LPPAGESETUPDLG
);
2064 LPCSTR lpApplicationName
,
2065 LPSTR lpCommandLine
,
2066 LPSECURITY_ATTRIBUTES lpProcessAttributes
,
2067 LPSECURITY_ATTRIBUTES lpThreadAttributes
,
2068 WINBOOL bInheritHandles
,
2069 DWORD dwCreationFlags
,
2070 LPVOID lpEnvironment
,
2071 LPCSTR lpCurrentDirectory
,
2072 LPSTARTUPINFO lpStartupInfo
,
2073 LPPROCESS_INFORMATION lpProcessInformation
2079 LPSTARTUPINFO lpStartupInfo
2086 LPWIN32_FIND_DATA lpFindFileData
2093 LPWIN32_FIND_DATA lpFindFileData
2099 LPOSVERSIONINFO lpVersionInformation
2102 #define CreateWindowA(lpClassName, lpWindowName, dwStyle, x, y,\
2103 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2104 CreateWindowExA(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2105 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2107 #define CreateDialogA(hInstance, lpName, hWndParent, lpDialogFunc) \
2108 CreateDialogParamA(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2110 #define CreateDialogIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2111 CreateDialogIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2113 #define DialogBoxA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2114 DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2116 #define DialogBoxIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2117 DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2121 CreateDCA(LPCSTR
, LPCSTR
, LPCSTR
, CONST DEVMODE
*);
2127 LPSTR szSrcFileName
,
2128 LPSTR szDestFileName
,
2138 GetFileVersionInfoSizeA(
2139 LPSTR lptstrFilename
,
2145 GetFileVersionInfoA(
2146 LPSTR lptstrFilename
,
2163 const LPVOID pBlock
,
2165 LPVOID
* lplpBuffer
,
2184 RegConnectRegistryA (
2185 LPSTR lpMachineName
,
2207 LPSECURITY_ATTRIBUTES lpSecurityAttributes
,
2209 LPDWORD lpdwDisposition
2245 PFILETIME lpftLastWriteTime
2254 LPDWORD lpcbValueName
,
2295 LPDWORD lpcbMaxSubKeyLen
,
2296 LPDWORD lpcbMaxClassLen
,
2298 LPDWORD lpcbMaxValueNameLen
,
2299 LPDWORD lpcbMaxValueLen
,
2300 LPDWORD lpcbSecurityDescriptor
,
2301 PFILETIME lpftLastWriteTime
2315 RegQueryMultipleValuesA (
2356 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2389 InitiateSystemShutdownA(
2390 LPSTR lpMachineName
,
2393 WINBOOL bForceAppsClosed
,
2394 WINBOOL bRebootAfterShutdown
2399 AbortSystemShutdownA(
2443 CONST SYSTEMTIME
*lpTime
,
2453 CONST SYSTEMTIME
*lpDate
,
2464 CONST NUMBERFMT
*lpFormat
,
2474 CONST CURRENCYFMT
*lpFormat
,
2475 LPSTR lpCurrencyStr
,
2481 CALINFO_ENUMPROC lpCalInfoEnumProc
,
2489 TIMEFMT_ENUMPROC lpTimeFmtEnumProc
,
2496 DATEFMT_ENUMPROC lpDateFmtEnumProc
,
2531 LOCALE_ENUMPROC lpLocaleEnumProc
,
2536 EnumSystemCodePagesA(
2537 CODEPAGE_ENUMPROC lpCodePageEnumProc
,
2543 HANDLE hConsoleInput
,
2544 PINPUT_RECORD lpBuffer
,
2546 LPDWORD lpNumberOfEventsRead
2552 HANDLE hConsoleInput
,
2553 PINPUT_RECORD lpBuffer
,
2555 LPDWORD lpNumberOfEventsRead
2561 HANDLE hConsoleInput
,
2562 CONST INPUT_RECORD
*lpBuffer
,
2564 LPDWORD lpNumberOfEventsWritten
2570 HANDLE hConsoleOutput
,
2571 PCHAR_INFO lpBuffer
,
2573 COORD dwBufferCoord
,
2574 PSMALL_RECT lpReadRegion
2579 WriteConsoleOutputA(
2580 HANDLE hConsoleOutput
,
2581 CONST CHAR_INFO
*lpBuffer
,
2583 COORD dwBufferCoord
,
2584 PSMALL_RECT lpWriteRegion
2589 ReadConsoleOutputCharacterA(
2590 HANDLE hConsoleOutput
,
2594 LPDWORD lpNumberOfCharsRead
2599 WriteConsoleOutputCharacterA(
2600 HANDLE hConsoleOutput
,
2604 LPDWORD lpNumberOfCharsWritten
2609 FillConsoleOutputCharacterA(
2610 HANDLE hConsoleOutput
,
2614 LPDWORD lpNumberOfCharsWritten
2619 ScrollConsoleScreenBufferA(
2620 HANDLE hConsoleOutput
,
2621 CONST SMALL_RECT
*lpScrollRectangle
,
2622 CONST SMALL_RECT
*lpClipRectangle
,
2623 COORD dwDestinationOrigin
,
2624 CONST CHAR_INFO
*lpFill
2630 LPSTR lpConsoleTitle
,
2637 LPCSTR lpConsoleTitle
2643 HANDLE hConsoleInput
,
2645 DWORD nNumberOfCharsToRead
,
2646 LPDWORD lpNumberOfCharsRead
,
2653 HANDLE hConsoleOutput
,
2654 CONST VOID
*lpBuffer
,
2655 DWORD nNumberOfCharsToWrite
,
2656 LPDWORD lpNumberOfCharsWritten
,
2662 LPCSTR lpRemoteName
,
2668 WNetAddConnection2A(
2669 LPNETRESOURCE lpNetResource
,
2676 WNetAddConnection3A(
2678 LPNETRESOURCE lpNetResource
,
2685 WNetCancelConnectionA(
2691 WNetCancelConnection2A(
2707 LPNETRESOURCE lpNetResource
,
2712 LPDWORD lpBufferSize
,
2724 WNetConnectionDialog1A(
2725 LPCONNECTDLGSTRUCT lpConnDlgStruct
2729 WNetDisconnectDialog1A(
2730 LPDISCDLGSTRUCT lpConnDlgStruct
2738 LPNETRESOURCE lpNetResource
,
2747 LPDWORD lpBufferSize
2751 WNetGetUniversalNameA(
2755 LPDWORD lpBufferSize
2766 WNetGetProviderNameA(
2768 LPSTR lpProviderName
,
2769 LPDWORD lpBufferSize
2773 WNetGetNetworkInformationA(
2775 LPNETINFOSTRUCT lpNetInfoStruct
2782 DWORD nErrorBufSize
,
2788 MultinetGetConnectionPerformanceA(
2789 LPNETRESOURCE lpNetResource
,
2790 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2795 ChangeServiceConfigA(
2797 DWORD dwServiceType
,
2799 DWORD dwErrorControl
,
2800 LPCSTR lpBinaryPathName
,
2801 LPCSTR lpLoadOrderGroup
,
2803 LPCSTR lpDependencies
,
2804 LPCSTR lpServiceStartName
,
2806 LPCSTR lpDisplayName
2812 SC_HANDLE hSCManager
,
2813 LPCSTR lpServiceName
,
2814 LPCSTR lpDisplayName
,
2815 DWORD dwDesiredAccess
,
2816 DWORD dwServiceType
,
2818 DWORD dwErrorControl
,
2819 LPCSTR lpBinaryPathName
,
2820 LPCSTR lpLoadOrderGroup
,
2822 LPCSTR lpDependencies
,
2823 LPCSTR lpServiceStartName
,
2829 EnumDependentServicesA(
2831 DWORD dwServiceState
,
2832 LPENUM_SERVICE_STATUS lpServices
,
2834 LPDWORD pcbBytesNeeded
,
2835 LPDWORD lpServicesReturned
2840 EnumServicesStatusA(
2841 SC_HANDLE hSCManager
,
2842 DWORD dwServiceType
,
2843 DWORD dwServiceState
,
2844 LPENUM_SERVICE_STATUS lpServices
,
2846 LPDWORD pcbBytesNeeded
,
2847 LPDWORD lpServicesReturned
,
2848 LPDWORD lpResumeHandle
2854 SC_HANDLE hSCManager
,
2855 LPCSTR lpDisplayName
,
2856 LPSTR lpServiceName
,
2862 GetServiceDisplayNameA(
2863 SC_HANDLE hSCManager
,
2864 LPCSTR lpServiceName
,
2865 LPSTR lpDisplayName
,
2872 LPCSTR lpMachineName
,
2873 LPCSTR lpDatabaseName
,
2874 DWORD dwDesiredAccess
2880 SC_HANDLE hSCManager
,
2881 LPCSTR lpServiceName
,
2882 DWORD dwDesiredAccess
2887 QueryServiceConfigA(
2889 LPQUERY_SERVICE_CONFIG lpServiceConfig
,
2891 LPDWORD pcbBytesNeeded
2896 QueryServiceLockStatusA(
2897 SC_HANDLE hSCManager
,
2898 LPQUERY_SERVICE_LOCK_STATUS lpLockStatus
,
2900 LPDWORD pcbBytesNeeded
2903 SERVICE_STATUS_HANDLE
2905 RegisterServiceCtrlHandlerA(
2906 LPCSTR lpServiceName
,
2907 LPHANDLER_FUNCTION lpHandlerProc
2912 StartServiceCtrlDispatcherA(
2913 LPSERVICE_TABLE_ENTRY lpServiceStartTable
2920 DWORD dwNumServiceArgs
,
2921 LPCSTR
*lpServiceArgVectors
2924 /* Extensions to OpenGL */
2927 wglUseFontBitmapsA(HDC
, DWORD
, DWORD
, DWORD
);
2930 wglUseFontOutlinesA(HDC
, DWORD
, DWORD
, DWORD
, FLOAT
,
2931 FLOAT
, int, LPGLYPHMETRICSFLOAT
);
2933 /* ------------------------------------- */
2934 /* From shellapi.h in old Cygnus headers */
2937 DragQueryFileA(HDROP
, unsigned int, char *, unsigned int);
2940 ExtractAssociatedIconA (HINSTANCE
, char *, WORD
*);
2943 ExtractIconA (HINSTANCE
, const char *, unsigned int);
2946 FindExecutableA (const char *, const char *, char *);
2949 ShellAboutA (HWND
, const char *, const char *, HICON
);
2952 ShellExecuteA (HWND
, const char *, const char *, char *, const char *, int);
2954 /* end of stuff from shellapi.h in old Cygnus headers */
2955 /* -------------------------------------------------- */
2956 /* From ddeml.h in old Cygnus headers */
2959 DdeCreateStringHandleA (DWORD
, char *, int);
2962 DdeInitializeA (DWORD
*, CALLB
, DWORD
, DWORD
);
2965 DdeQueryStringA (DWORD
, HSZ
, char *, DWORD
, int);
2967 /* end of stuff from ddeml.h in old Cygnus headers */
2968 /* ----------------------------------------------- */
2970 WINBOOL STDCALL
LogonUserA (LPSTR
, LPSTR
, LPSTR
, DWORD
, DWORD
, HANDLE
*);
2971 WINBOOL STDCALL
CreateProcessAsUserA (HANDLE
, LPCTSTR
, LPTSTR
,
2972 SECURITY_ATTRIBUTES
*, SECURITY_ATTRIBUTES
*, WINBOOL
, DWORD
, LPVOID
,
2973 LPCTSTR
, STARTUPINFO
*, PROCESS_INFORMATION
*);
2977 #endif /* __cplusplus */
2979 #endif /* _GNU_H_WINDOWS32_ASCIIFUNCTIONS */