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,
645 LPCSTR lpNewFileName,
646 LPPROGRESS_ROUTINE lpProgressRoutine,
655 LPCSTR lpExistingFileName,
662 LPCSTR lpExistingFileName,
663 LPCSTR lpNewFileName,
669 MoveFileWithProgressA(
670 LPCSTR lpExistingFileName,
671 LPCSTR lpNewFileName,
672 LPPROGRESS_ROUTINE lpProgressRoutine,
684 DWORD nOutBufferSize,
686 DWORD nDefaultTimeOut,
687 LPSECURITY_ATTRIBUTES lpSecurityAttributes
692 GetNamedPipeHandleStateA(
695 LPDWORD lpCurInstances,
696 LPDWORD lpMaxCollectionCount,
697 LPDWORD lpCollectDataTimeout,
699 DWORD nMaxUserNameSize
705 LPCSTR lpNamedPipeName,
709 DWORD nOutBufferSize,
717 LPCSTR lpNamedPipeName,
724 LPCSTR lpRootPathName,
730 GetVolumeInformationA(
731 LPCSTR lpRootPathName,
732 LPSTR lpVolumeNameBuffer,
733 DWORD nVolumeNameSize,
734 LPDWORD lpVolumeSerialNumber,
735 LPDWORD lpMaximumComponentLength,
736 LPDWORD lpFileSystemFlags,
737 LPSTR lpFileSystemNameBuffer,
738 DWORD nFileSystemNameSize
745 LPCSTR lpBackupFileName
752 LPCSTR lpBackupFileName
758 LPCSTR lpUNCServerName,
764 RegisterEventSourceA (
765 LPCSTR lpUNCServerName,
771 OpenBackupEventLogA (
772 LPCSTR lpUNCServerName,
781 DWORD dwRecordOffset,
783 DWORD nNumberOfBytesToRead,
785 DWORD *pnMinNumberOfBytesNeeded
804 AccessCheckAndAuditAlarmA (
805 LPCSTR SubsystemName,
807 LPSTR ObjectTypeName,
809 PSECURITY_DESCRIPTOR SecurityDescriptor,
811 PGENERIC_MAPPING GenericMapping,
812 WINBOOL ObjectCreation,
813 LPDWORD GrantedAccess,
815 LPBOOL pfGenerateOnClose
820 ObjectOpenAuditAlarmA (
821 LPCSTR SubsystemName,
823 LPSTR ObjectTypeName,
825 PSECURITY_DESCRIPTOR pSecurityDescriptor,
829 PPRIVILEGE_SET Privileges,
830 WINBOOL ObjectCreation,
831 WINBOOL AccessGranted,
832 LPBOOL GenerateOnClose
837 ObjectPrivilegeAuditAlarmA (
838 LPCSTR SubsystemName,
842 PPRIVILEGE_SET Privileges,
843 WINBOOL AccessGranted
848 ObjectCloseAuditAlarmA (
849 LPCSTR SubsystemName,
851 WINBOOL GenerateOnClose
856 PrivilegedServiceAuditAlarmA (
857 LPCSTR SubsystemName,
860 PPRIVILEGE_SET Privileges,
861 WINBOOL AccessGranted
868 SECURITY_INFORMATION SecurityInformation,
869 PSECURITY_DESCRIPTOR pSecurityDescriptor
876 SECURITY_INFORMATION RequestedInformation,
877 PSECURITY_DESCRIPTOR pSecurityDescriptor,
879 LPDWORD lpnLengthNeeded
884 FindFirstChangeNotificationA(
886 WINBOOL bWatchSubtree,
904 LPSTR ReferencedDomainName,
905 LPDWORD cbReferencedDomainName,
913 LPCSTR lpAccountName,
916 LPSTR ReferencedDomainName,
917 LPDWORD cbReferencedDomainName,
923 LookupPrivilegeValueA(
931 LookupPrivilegeNameA(
940 LookupPrivilegeDisplayNameA(
944 LPDWORD cbDisplayName,
957 BuildCommDCBAndTimeoutsA(
960 LPCOMMTIMEOUTS lpCommTimeouts
973 GetDefaultCommConfigA(
981 SetDefaultCommConfigA(
997 LPCSTR lpComputerName
1016 wsprintfA(LPSTR, LPCSTR, ...);
1020 LoadKeyboardLayoutA(
1026 GetKeyboardLayoutNameA(
1034 LPDEVMODEA pDevmode,
1036 ACCESS_MASK dwDesiredAccess,
1037 LPSECURITY_ATTRIBUTES lpsa);
1045 DWORD dwDesiredAccess);
1051 DESKTOPENUMPROC lpEnumFunc,
1056 CreateWindowStationA(
1059 DWORD dwDesiredAccess,
1060 LPSECURITY_ATTRIBUTES lpsa);
1062 HANDLE STDCALL CreateWaitableTimerA( LPSECURITY_ATTRIBUTES Attributes,
1071 DWORD dwDesiredAccess);
1075 EnumWindowStationsA(
1076 ENUMWINDOWSTATIONPROC lpEnumFunc,
1081 GetUserObjectInformationA(
1086 LPDWORD lpnLengthNeeded);
1090 SetUserObjectInformationA(
1098 RegisterWindowMessageA(
1107 UINT wMsgFilterMax);
1133 SendMessageTimeoutA(
1140 PDWORD_PTR lpdwResult);
1152 SendMessageCallbackA(
1157 SENDASYNCPROC lpResultCallBack,
1187 WNDPROC lpPrevWndFunc,
1196 CONST WNDCLASS *lpWndClass);
1202 HINSTANCE hInstance);
1207 HINSTANCE hInstance ,
1209 LPWNDCLASS lpWndClass);
1213 RegisterClassExA(CONST WNDCLASSEX *);
1217 GetClassInfoExA(HINSTANCE, LPCSTR, LPWNDCLASSEX);
1224 LPCSTR lpWindowName,
1232 HINSTANCE hInstance,
1238 HINSTANCE hInstance,
1239 LPCSTR lpTemplateName,
1241 DLGPROC lpDialogFunc,
1242 LPARAM dwInitParam);
1246 CreateDialogIndirectParamA(
1247 HINSTANCE hInstance,
1248 LPCDLGTEMPLATE lpTemplate,
1250 DLGPROC lpDialogFunc,
1251 LPARAM dwInitParam);
1256 HINSTANCE hInstance,
1257 LPCSTR lpTemplateName,
1259 DLGPROC lpDialogFunc,
1260 LPARAM dwInitParam);
1264 DialogBoxIndirectParamA(
1265 HINSTANCE hInstance,
1266 LPCDLGTEMPLATE hDialogTemplate,
1268 DLGPROC lpDialogFunc,
1269 LPARAM dwInitParam);
1288 SendDlgItemMessageA(
1311 RegisterClipboardFormatA(
1316 GetClipboardFormatNameA(
1318 LPSTR lpszFormatName,
1338 DWORD cchDstLength);
1345 DWORD cchDstLength);
1378 LPCSTR lpszCurrent);
1387 IsCharAlphaNumericA(
1414 STDCALL VkKeyScanExA(
1434 HINSTANCE hInstance,
1435 LPCSTR lpTableName);
1439 CreateAcceleratorTableA(
1444 CopyAcceleratorTableA(
1451 TranslateAcceleratorA(
1459 HINSTANCE hInstance,
1465 CONST MENUTEMPLATE *lpMenuTemplate);
1537 WINBOOL fByPosition,
1538 LPMENUITEMINFO lpmii);
1551 DrawTextExA(HDC, LPSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
1558 GRAYSTRINGPROC lpOutputFunc,
1568 DrawStateA(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
1579 LPINT lpnTabStopPositions,
1584 GetTabbedTextExtentA(
1589 LPINT lpnTabStopPositions);
1614 PROPENUMPROCEX lpEnumFunc,
1621 PROPENUMPROC lpEnumFunc);
1638 GetWindowTextLengthA(
1660 MessageBoxIndirectA(LPMSGBOXPARAMS);
1691 LPCSTR lpClassName ,
1692 LPCSTR lpWindowName);
1696 FindWindowExA(HWND, HWND, LPCSTR, LPCSTR);
1716 HINSTANCE hInstance,
1717 LPCSTR lpBitmapName);
1722 HINSTANCE hInstance,
1723 LPCSTR lpCursorName);
1727 LoadCursorFromFileA(
1733 HINSTANCE hInstance,
1749 HINSTANCE hInstance,
1773 DlgDirListComboBoxA(
1782 DlgDirSelectComboBoxExA(
1792 HWND hWndMDIClient ,
1809 LPCSTR lpWindowName,
1816 HINSTANCE hInstance,
1831 ChangeDisplaySettingsA(
1832 LPDEVMODEA lpDevMode,
1837 EnumDisplaySettingsA(
1838 LPCSTR lpszDeviceName,
1840 LPDEVMODEA lpDevMode);
1844 SystemParametersInfoA(
1852 AddFontResourceA(LPCSTR);
1856 CopyMetaFileA(HMETAFILE, LPCSTR);
1860 CreateFontIndirectA(CONST LOGFONT *);
1864 CreateICA(LPCSTR, LPCSTR , LPCSTR , CONST DEVMODEA *);
1868 CreateMetaFileA(LPCSTR);
1872 CreateScalableFontResourceA(DWORD, LPCSTR, LPCSTR, LPCSTR);
1876 DeviceCapabilitiesA(LPCSTR, LPCSTR, WORD,
1877 LPSTR, CONST DEVMODEA *);
1881 EnumFontFamiliesExA(HDC, LPLOGFONT, FONTENUMEXPROC, LPARAM,DWORD);
1885 EnumFontFamiliesA(HDC, LPCSTR, FONTENUMPROC, LPARAM);
1889 EnumFontsA(HDC, LPCSTR, ENUMFONTSPROC, LPARAM);
1893 GetCharWidthA(HDC, UINT, UINT, LPINT);
1897 GetCharWidth32A(HDC, UINT, UINT, LPINT);
1901 GetCharWidthFloatA(HDC, UINT, UINT, PFLOAT);
1905 GetCharABCWidthsA(HDC, UINT, UINT, LPABC);
1909 GetCharABCWidthsFloatA(HDC, UINT, UINT, LPABCFLOAT);
1912 GetGlyphOutlineA(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
1916 GetMetaFileA(LPCSTR);
1920 GetOutlineTextMetricsA(HDC, UINT, LPOUTLINETEXTMETRIC);
1924 GetTextExtentPointA(
1933 GetTextExtentPoint32A(
1942 GetTextExtentExPointA(
1954 GetCharacterPlacementA(HDC, LPCSTR, int, int, LPGCP_RESULTS, DWORD);
1958 ResetDCA(HDC, CONST DEVMODEA *);
1962 RemoveFontResourceA(LPCSTR);
1966 CopyEnhMetaFileA(HENHMETAFILE, LPCSTR);
1970 CreateEnhMetaFileA(HDC, LPCSTR, CONST RECT *, LPCSTR);
1974 GetEnhMetaFileA(LPCSTR);
1978 GetEnhMetaFileDescriptionA(HENHMETAFILE, UINT, LPSTR );
1982 GetTextMetricsA(HDC, LPTEXTMETRIC);
1986 StartDocA(HDC, CONST DOCINFO *);
1990 GetObjectA(HGDIOBJ, int, LPVOID);
1994 TextOutA(HDC, int, int, LPCSTR, int);
1998 ExtTextOutA(HDC, int, int, UINT, CONST RECT *,LPCSTR, UINT, CONST INT *);
2002 PolyTextOutA(HDC, CONST POLYTEXT *, int);
2006 GetTextFaceA(HDC, int, LPSTR);
2010 GetKerningPairsA(HDC, DWORD, LPKERNINGPAIR);
2014 CreateColorSpaceA(LPLOGCOLORSPACE);
2018 GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACE,DWORD);
2022 GetICMProfileA(HDC,DWORD,LPSTR);
2026 SetICMProfileA(HDC,LPSTR);
2030 UpdateICMRegKeyA(DWORD, DWORD, LPSTR, UINT);
2034 EnumICMProfilesA(HDC,ICMENUMPROC,LPARAM);
2038 PropertySheetA(LPCPROPSHEETHEADER lppsph);
2042 ImageList_LoadImageA(HINSTANCE hi, LPCSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags);
2046 CreateStatusWindowA(LONG style, LPCSTR lpszText, HWND hwndParent, UINT wID);
2050 DrawStatusTextA(HDC hDC, LPRECT lprc, LPCSTR pszText, UINT uFlags);
2054 GetOpenFileNameA(LPOPENFILENAME);
2058 GetSaveFileNameA(LPOPENFILENAME);
2062 GetFileTitleA(LPCSTR, LPSTR, WORD);
2066 ChooseColorA(LPCHOOSECOLOR);
2070 FindTextA(LPFINDREPLACE);
2074 ReplaceTextA(LPFINDREPLACE);
2078 ChooseFontA(LPCHOOSEFONT);
2082 PrintDlgA(LPPRINTDLG);
2086 PageSetupDlgA( LPPAGESETUPDLG );
2091 LPCSTR lpApplicationName,
2092 LPSTR lpCommandLine,
2093 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2094 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2095 WINBOOL bInheritHandles,
2096 DWORD dwCreationFlags,
2097 LPVOID lpEnvironment,
2098 LPCSTR lpCurrentDirectory,
2099 LPSTARTUPINFOA lpStartupInfo,
2100 LPPROCESS_INFORMATION lpProcessInformation
2106 LPSTARTUPINFOA lpStartupInfo
2114 FINDEX_INFO_LEVELS fInfoLevelId,
2115 LPVOID lpFindFileData,
2116 FINDEX_SEARCH_OPS fSearchOp,
2117 LPVOID lpSearchFilter,
2118 DWORD dwAdditionalFlags
2125 LPWIN32_FIND_DATA lpFindFileData
2132 LPWIN32_FIND_DATA lpFindFileData
2138 LPOSVERSIONINFOA lpVersionInformation
2141 #define CreateWindowA(lpClassName, lpWindowName, dwStyle, x, y,\
2142 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2143 CreateWindowExA(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2144 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2146 #define CreateDialogA(hInstance, lpName, hWndParent, lpDialogFunc) \
2147 CreateDialogParamA(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2149 #define CreateDialogIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2150 CreateDialogIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2152 #define DialogBoxA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2153 DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2155 #define DialogBoxIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2156 DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2160 CreateDCA(LPCSTR, LPCSTR , LPCSTR , CONST DEVMODEA *);
2166 LPSTR szSrcFileName,
2167 LPSTR szDestFileName,
2177 GetFileVersionInfoSizeA(
2178 LPSTR lptstrFilename,
2184 GetFileVersionInfoA(
2185 LPSTR lptstrFilename,
2202 const LPVOID pBlock,
2204 LPVOID * lplpBuffer,
2223 RegConnectRegistryA (
2224 LPCSTR lpMachineName,
2246 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2248 LPDWORD lpdwDisposition
2284 PFILETIME lpftLastWriteTime
2293 LPDWORD lpcbValueName,
2334 LPDWORD lpcbMaxSubKeyLen,
2335 LPDWORD lpcbMaxClassLen,
2337 LPDWORD lpcbMaxValueNameLen,
2338 LPDWORD lpcbMaxValueLen,
2339 LPDWORD lpcbSecurityDescriptor,
2340 PFILETIME lpftLastWriteTime
2354 RegQueryMultipleValuesA (
2395 LPSECURITY_ATTRIBUTES lpSecurityAttributes
2428 InitiateSystemShutdownA(
2429 LPSTR lpMachineName,
2432 WINBOOL bForceAppsClosed,
2433 WINBOOL bRebootAfterShutdown
2438 AbortSystemShutdownA(
2439 LPCSTR lpMachineName
2482 CONST SYSTEMTIME *lpTime,
2492 CONST SYSTEMTIME *lpDate,
2503 CONST NUMBERFMT *lpFormat,
2513 CONST CURRENCYFMT *lpFormat,
2514 LPSTR lpCurrencyStr,
2520 CALINFO_ENUMPROC lpCalInfoEnumProc,
2528 TIMEFMT_ENUMPROC lpTimeFmtEnumProc,
2535 DATEFMT_ENUMPROC lpDateFmtEnumProc,
2570 LOCALE_ENUMPROC lpLocaleEnumProc,
2575 EnumSystemCodePagesA(
2576 CODEPAGE_ENUMPROC lpCodePageEnumProc,
2582 HANDLE hConsoleInput,
2583 PINPUT_RECORD lpBuffer,
2585 LPDWORD lpNumberOfEventsRead
2591 HANDLE hConsoleInput,
2592 PINPUT_RECORD lpBuffer,
2594 LPDWORD lpNumberOfEventsRead
2600 HANDLE hConsoleInput,
2601 CONST INPUT_RECORD *lpBuffer,
2603 LPDWORD lpNumberOfEventsWritten
2609 HANDLE hConsoleOutput,
2610 PCHAR_INFO lpBuffer,
2612 COORD dwBufferCoord,
2613 PSMALL_RECT lpReadRegion
2618 WriteConsoleOutputA(
2619 HANDLE hConsoleOutput,
2620 CONST CHAR_INFO *lpBuffer,
2622 COORD dwBufferCoord,
2623 PSMALL_RECT lpWriteRegion
2628 ReadConsoleOutputCharacterA(
2629 HANDLE hConsoleOutput,
2633 LPDWORD lpNumberOfCharsRead
2638 WriteConsoleOutputCharacterA(
2639 HANDLE hConsoleOutput,
2643 LPDWORD lpNumberOfCharsWritten
2648 FillConsoleOutputCharacterA(
2649 HANDLE hConsoleOutput,
2653 LPDWORD lpNumberOfCharsWritten
2658 ScrollConsoleScreenBufferA(
2659 HANDLE hConsoleOutput,
2660 CONST SMALL_RECT *lpScrollRectangle,
2661 CONST SMALL_RECT *lpClipRectangle,
2662 COORD dwDestinationOrigin,
2663 CONST CHAR_INFO *lpFill
2669 LPSTR lpConsoleTitle,
2676 LPCSTR lpConsoleTitle
2682 HANDLE hConsoleInput,
2684 DWORD nNumberOfCharsToRead,
2685 LPDWORD lpNumberOfCharsRead,
2692 HANDLE hConsoleOutput,
2693 CONST VOID *lpBuffer,
2694 DWORD nNumberOfCharsToWrite,
2695 LPDWORD lpNumberOfCharsWritten,
2701 LPCSTR lpRemoteName,
2707 WNetAddConnection2A(
2708 LPNETRESOURCE lpNetResource,
2715 WNetAddConnection3A(
2717 LPNETRESOURCE lpNetResource,
2724 WNetCancelConnectionA(
2730 WNetCancelConnection2A(
2746 LPNETRESOURCE lpNetResource,
2751 LPDWORD lpBufferSize,
2763 WNetConnectionDialog1A(
2764 LPCONNECTDLGSTRUCT lpConnDlgStruct
2768 WNetDisconnectDialog1A(
2769 LPDISCDLGSTRUCT lpConnDlgStruct
2777 LPNETRESOURCE lpNetResource,
2786 LPDWORD lpBufferSize
2790 WNetGetUniversalNameA(
2794 LPDWORD lpBufferSize
2805 WNetGetProviderNameA(
2807 LPSTR lpProviderName,
2808 LPDWORD lpBufferSize
2812 WNetGetNetworkInformationA(
2814 LPNETINFOSTRUCT lpNetInfoStruct
2821 DWORD nErrorBufSize,
2827 MultinetGetConnectionPerformanceA(
2828 LPNETRESOURCE lpNetResource,
2829 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
2834 ChangeServiceConfigA(
2836 DWORD dwServiceType,
2838 DWORD dwErrorControl,
2839 LPCSTR lpBinaryPathName,
2840 LPCSTR lpLoadOrderGroup,
2842 LPCSTR lpDependencies,
2843 LPCSTR lpServiceStartName,
2845 LPCSTR lpDisplayName
2851 SC_HANDLE hSCManager,
2852 LPCSTR lpServiceName,
2853 LPCSTR lpDisplayName,
2854 DWORD dwDesiredAccess,
2855 DWORD dwServiceType,
2857 DWORD dwErrorControl,
2858 LPCSTR lpBinaryPathName,
2859 LPCSTR lpLoadOrderGroup,
2861 LPCSTR lpDependencies,
2862 LPCSTR lpServiceStartName,
2868 EnumDependentServicesA(
2870 DWORD dwServiceState,
2871 LPENUM_SERVICE_STATUSA lpServices,
2873 LPDWORD pcbBytesNeeded,
2874 LPDWORD lpServicesReturned
2879 EnumServicesStatusA(
2880 SC_HANDLE hSCManager,
2881 DWORD dwServiceType,
2882 DWORD dwServiceState,
2883 LPENUM_SERVICE_STATUSA lpServices,
2885 LPDWORD pcbBytesNeeded,
2886 LPDWORD lpServicesReturned,
2887 LPDWORD lpResumeHandle
2893 SC_HANDLE hSCManager,
2894 LPCSTR lpDisplayName,
2895 LPSTR lpServiceName,
2901 GetServiceDisplayNameA(
2902 SC_HANDLE hSCManager,
2903 LPCSTR lpServiceName,
2904 LPSTR lpDisplayName,
2911 LPCSTR lpMachineName,
2912 LPCSTR lpDatabaseName,
2913 DWORD dwDesiredAccess
2919 SC_HANDLE hSCManager,
2920 LPCSTR lpServiceName,
2921 DWORD dwDesiredAccess
2926 QueryServiceConfigA(
2928 LPQUERY_SERVICE_CONFIGA lpServiceConfig,
2930 LPDWORD pcbBytesNeeded
2935 QueryServiceLockStatusA(
2936 SC_HANDLE hSCManager,
2937 LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus,
2939 LPDWORD pcbBytesNeeded
2942 SERVICE_STATUS_HANDLE
2944 RegisterServiceCtrlHandlerA(
2945 LPCSTR lpServiceName,
2946 LPHANDLER_FUNCTION lpHandlerProc
2951 StartServiceCtrlDispatcherA(
2952 LPSERVICE_TABLE_ENTRYA lpServiceStartTable
2959 DWORD dwNumServiceArgs,
2960 LPCSTR *lpServiceArgVectors
2963 /* Extensions to OpenGL */
2966 wglUseFontBitmapsA(HDC, DWORD, DWORD, DWORD);
2969 wglUseFontOutlinesA(HDC, DWORD, DWORD, DWORD, FLOAT,
2970 FLOAT, int, LPGLYPHMETRICSFLOAT);
2972 /* ------------------------------------- */
2973 /* From shellapi.h in old Cygnus headers */
2976 DragQueryFileA(HDROP, unsigned int, char *, unsigned int);
2979 ExtractAssociatedIconA (HINSTANCE, char *, WORD *);
2982 ExtractIconA (HINSTANCE, const char *, unsigned int);
2985 FindExecutableA (const char *, const char *, char *);
2988 ShellAboutA (HWND, const char *, const char *, HICON);
2991 ShellExecuteA (HWND, const char *, const char *, char *, const char *, int);
2993 /* end of stuff from shellapi.h in old Cygnus headers */
2994 /* -------------------------------------------------- */
2995 /* From ddeml.h in old Cygnus headers */
2998 DdeCreateStringHandleA (DWORD, char *, int);
3001 DdeInitializeA (DWORD *, CALLB, DWORD, DWORD);
3004 DdeQueryStringA (DWORD, HSZ, char *, DWORD, int);
3006 /* end of stuff from ddeml.h in old Cygnus headers */
3007 /* ----------------------------------------------- */
3009 WINBOOL STDCALL LogonUserA (LPSTR, LPSTR, LPSTR, DWORD, DWORD, HANDLE *);
3010 WINBOOL STDCALL CreateProcessAsUserA (HANDLE, LPCTSTR, LPTSTR,
3011 SECURITY_ATTRIBUTES*, SECURITY_ATTRIBUTES*, WINBOOL, DWORD, LPVOID,
3012 LPCTSTR, STARTUPINFOA*, PROCESS_INFORMATION*);
3016 #endif /* __cplusplus */
3018 #endif /* _GNU_H_WINDOWS32_ASCIIFUNCTIONS */