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 */
42 LPCSTR lpBackupFileName
49 LPCSTR lpBackupFileName
54 CreateProcessAsUserA (
56 LPCSTR lpApplicationName,
58 LPSECURITY_ATTRIBUTES lpProcessAttributes,
59 LPSECURITY_ATTRIBUTES lpThreadAttributes,
60 WINBOOL bInheritHandles,
61 DWORD dwCreationFlags,
63 LPCSTR lpCurrentDirectory,
64 LPSTARTUPINFOA lpStartupInfo,
65 LPPROCESS_INFORMATION lpProcessInformation
83 FileEncryptionStatusA(
90 GetCurrentHwProfileA (
91 LPHW_PROFILE_INFOA lpHwProfileInfo
101 DWORD dwLogonProvider,
112 DWORD dwLogonProvider,
115 PVOID *ppProfileBuffer ,
116 LPDWORD pdwProfileLength ,
117 PQUOTA_LIMITS pQuotaLimits
122 OpenBackupEventLogA (
123 LPCSTR lpUNCServerName,
129 OpenEncryptedFileRawA(
138 LPCSTR lpUNCServerName,
147 DWORD dwRecordOffset,
149 DWORD nNumberOfBytesToRead,
151 DWORD *pnMinNumberOfBytesNeeded
156 ChangeServiceConfig2A(
164 EnumServicesStatusExA(
165 SC_HANDLE hSCManager,
166 SC_ENUM_TYPE InfoLevel,
168 DWORD dwServiceState,
171 LPDWORD pcbBytesNeeded,
172 LPDWORD lpServicesReturned,
173 LPDWORD lpResumeHandle,
179 QueryServiceConfig2A(
184 LPDWORD pcbBytesNeeded
187 SERVICE_STATUS_HANDLE
189 RegisterServiceCtrlHandlerExA(
190 LPCSTR lpServiceName,
191 LPHANDLER_FUNCTION_EX lpHandlerProc,
197 SendIMEMessageExA(HWND hwnd, LPARAM lparam);
201 IMPSetIMEA( HWND hwnd, LPIMEPROA ime);
205 IMPQueryIMEA( LPIMEPROA ime);
209 IMPGetIMEA( HWND hwnd, LPIMEPROA ime);
222 UILANGUAGE_ENUMPROCA lpUILanguageEnumProc,
228 EnumLanguageGroupLocalesA(
229 LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc,
230 LGRPID LanguageGroup,
236 EnumSystemLanguageGroupsA(
237 LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc,
253 DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx,
260 CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx,
280 LPCPINFOEXA lpCPInfoEx);
284 CheckNameLegalDOS8Dot3A(
286 LPSTR lpOemName OPTIONAL,
287 DWORD OemNameSize OPTIONAL,
288 PWINBOOL pbNameContainsSpaces OPTIONAL,
296 LPCSTR lpExistingFileName,
297 LPSECURITY_ATTRIBUTES lpSecurityAttributes
303 LPSECURITY_ATTRIBUTES lpJobAttributes,
309 DeleteVolumeMountPointA(
310 LPCSTR lpszVolumeMountPoint
315 DnsHostnameToComputerNameA (
323 FindActCtxSectionStringA(
325 const GUID *lpExtensionGuid,
327 LPCSTR lpStringToFind,
328 PACTCTX_SECTION_KEYED_DATA ReturnedData
335 FINDEX_INFO_LEVELS fInfoLevelId,
336 LPVOID lpFindFileData,
337 FINDEX_SEARCH_OPS fSearchOp,
338 LPVOID lpSearchFilter,
339 DWORD dwAdditionalFlags
345 LPSTR lpszVolumeName,
346 DWORD cchBufferLength
351 FindFirstVolumeMountPointA(
352 LPCSTR lpszRootPathName,
353 LPSTR lpszVolumeMountPoint,
354 DWORD cchBufferLength
361 LPSTR lpszVolumeName,
362 DWORD cchBufferLength
367 FindNextVolumeMountPointA(
368 HANDLE hFindVolumeMountPoint,
369 LPSTR lpszVolumeMountPoint,
370 DWORD cchBufferLength
376 COMPUTER_NAME_FORMAT NameType,
390 GetFirmwareEnvironmentVariableA(
400 LPCSTR lpszShortPath,
415 GetSystemWow64DirectoryA(
422 GetVolumeNameForVolumeMountPointA(
423 LPCSTR lpszVolumeMountPoint,
424 LPSTR lpszVolumeName,
425 DWORD cchBufferLength
432 LPSTR lpszVolumePathName,
433 DWORD cchBufferLength
438 GetVolumePathNamesForVolumeNameA(
439 LPCSTR lpszVolumeName,
440 LPSTR lpszVolumePathNames,
441 DWORD cchBufferLength,
442 PDWORD lpcchReturnLength
448 DWORD dwDesiredAccess,
449 WINBOOL bInheritHandle,
456 LPCSTR lpReplacedFileName,
457 LPCSTR lpReplacementFileName,
458 LPCSTR lpBackupFileName,
459 DWORD dwReplaceFlags,
467 COMPUTER_NAME_FORMAT NameType,
486 SetFirmwareEnvironmentVariableA(
495 SetVolumeMountPointA(
496 LPCSTR lpszVolumeMountPoint,
497 LPCSTR lpszVolumeName
503 LPOSVERSIONINFOEXA lpVersionInformation,
505 DWORDLONG dwlConditionMask
510 RegisterDeviceNotificationA(
512 LPVOID NotificationFilter,
518 GetRawInputDeviceInfoA(
526 BroadcastSystemMessageExA(
528 LPDWORD lpdwRecipients,
536 CreateFontIndirectExA(const ENUMLOGFONTEXDVA *elfexd);
550 RemoveFontResourceExA(
558 GetStringBitmapA(HDC hdc,LPSTR psz,WINBOOL unknown,UINT cj,BYTE *lpSB);
572 PrivateExtractIconsA(
621 PrivateExtractIconExA(
632 LPCSTR lpApplicationName,
646 GetEnvironmentStringsA(
652 FreeEnvironmentStringsA(
672 DWORD nMaxMessageSize,
674 LPSECURITY_ATTRIBUTES lpSecurityAttributes
722 LPSECURITY_ATTRIBUTES lpMutexAttributes,
723 WINBOOL bInitialOwner,
730 DWORD dwDesiredAccess,
731 WINBOOL bInheritHandle,
738 LPSECURITY_ATTRIBUTES lpEventAttributes,
739 WINBOOL bManualReset,
740 WINBOOL bInitialState,
747 DWORD dwDesiredAccess,
748 WINBOOL bInheritHandle,
755 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
764 DWORD dwDesiredAccess,
765 WINBOOL bInheritHandle,
773 LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
775 DWORD dwMaximumSizeHigh,
776 DWORD dwMaximumSizeLow,
783 DWORD dwDesiredAccess,
784 WINBOOL bInheritHandle,
790 GetLogicalDriveStringsA(
804 LPCSTR lpLibFileName,
838 GetEnvironmentVariableA(
846 SetEnvironmentVariableA(
853 ExpandEnvironmentStringsA(
862 LPCSTR lpOutputString
886 ENUMRESTYPEPROCA lpEnumFunc,
895 ENUMRESNAMEPROCA lpEnumFunc,
901 EnumResourceLanguagesA(
905 ENUMRESLANGPROCA lpEnumFunc,
911 BeginUpdateResourceA(
913 WINBOOL bDeleteExistingResources
988 LPSTR lpReturnedString,
1004 LPSTR lpReturnedString,
1010 WriteProfileSectionA(
1017 GetPrivateProfileIntA(
1026 GetPrivateProfileStringA(
1030 LPSTR lpReturnedString,
1037 WritePrivateProfileStringA(
1046 GetPrivateProfileSectionA(
1048 LPSTR lpReturnedString,
1055 WritePrivateProfileSectionA(
1064 LPCSTR lpRootPathName
1069 GetSystemDirectoryA(
1077 DWORD nBufferLength,
1085 LPCSTR lpPrefixString,
1087 LPSTR lpTempFileName
1092 GetWindowsDirectoryA(
1099 SetCurrentDirectoryA(
1105 GetCurrentDirectoryA(
1106 DWORD nBufferLength,
1113 LPCSTR lpRootPathName,
1114 LPDWORD lpSectorsPerCluster,
1115 LPDWORD lpBytesPerSector,
1116 LPDWORD lpNumberOfFreeClusters,
1117 LPDWORD lpTotalNumberOfClusters
1122 GetDiskFreeSpaceExA(
1123 LPCSTR lpDirectoryName,
1124 PULARGE_INTEGER lpFreeBytesAvailableToCaller,
1125 PULARGE_INTEGER lpTotalNumberOfBytes,
1126 PULARGE_INTEGER lpTotalNumberOfFreeBytes
1133 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1139 LPCSTR lpTemplateDirectory,
1140 LPCSTR lpNewDirectory,
1141 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1154 DWORD nBufferLength,
1163 LPCSTR lpDeviceName,
1170 LPCSTR lpDeviceName,
1179 DWORD dwDesiredAccess,
1181 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
1182 DWORD dwCreationDisposition,
1183 DWORD dwFlagsAndAttributes,
1184 HANDLE hTemplateFile
1191 DWORD dwFileAttributes
1202 GetFileAttributesExA(
1204 GET_FILEEX_INFO_LEVELS fInfoLevelId,
1205 LPVOID lpFileInformation
1210 GetCompressedFileSizeA(
1212 LPDWORD lpFileSizeHigh
1227 DWORD nBufferLength,
1235 LPCSTR lpExistingFileName,
1236 LPCSTR lpNewFileName,
1237 WINBOOL bFailIfExists
1243 LPCSTR lpExistingFileName,
1244 LPCSTR lpNewFileName,
1245 LPPROGRESS_ROUTINE lpProgressRoutine,
1254 LPCSTR lpExistingFileName,
1255 LPCSTR lpNewFileName
1261 LPCSTR lpExistingFileName,
1262 LPCSTR lpNewFileName,
1268 MoveFileWithProgressA(
1269 LPCSTR lpExistingFileName,
1270 LPCSTR lpNewFileName,
1271 LPPROGRESS_ROUTINE lpProgressRoutine,
1282 DWORD nMaxInstances,
1283 DWORD nOutBufferSize,
1284 DWORD nInBufferSize,
1285 DWORD nDefaultTimeOut,
1286 LPSECURITY_ATTRIBUTES lpSecurityAttributes
1291 GetNamedPipeHandleStateA(
1294 LPDWORD lpCurInstances,
1295 LPDWORD lpMaxCollectionCount,
1296 LPDWORD lpCollectDataTimeout,
1298 DWORD nMaxUserNameSize
1304 LPCSTR lpNamedPipeName,
1306 DWORD nInBufferSize,
1308 DWORD nOutBufferSize,
1309 LPDWORD lpBytesRead,
1316 LPCSTR lpNamedPipeName,
1323 LPCSTR lpRootPathName,
1329 GetVolumeInformationA(
1330 LPCSTR lpRootPathName,
1331 LPSTR lpVolumeNameBuffer,
1332 DWORD nVolumeNameSize,
1333 LPDWORD lpVolumeSerialNumber,
1334 LPDWORD lpMaximumComponentLength,
1335 LPDWORD lpFileSystemFlags,
1336 LPSTR lpFileSystemNameBuffer,
1337 DWORD nFileSystemNameSize
1344 LPCSTR lpBackupFileName
1351 LPCSTR lpBackupFileName
1357 LPCSTR lpUNCServerName,
1363 RegisterEventSourceA (
1364 LPCSTR lpUNCServerName,
1370 OpenBackupEventLogA (
1371 LPCSTR lpUNCServerName,
1380 DWORD dwRecordOffset,
1382 DWORD nNumberOfBytesToRead,
1384 DWORD *pnMinNumberOfBytesNeeded
1403 AccessCheckAndAuditAlarmA (
1404 LPCSTR SubsystemName,
1406 LPSTR ObjectTypeName,
1408 PSECURITY_DESCRIPTOR SecurityDescriptor,
1409 DWORD DesiredAccess,
1410 PGENERIC_MAPPING GenericMapping,
1411 WINBOOL ObjectCreation,
1412 LPDWORD GrantedAccess,
1413 LPBOOL AccessStatus,
1414 LPBOOL pfGenerateOnClose
1419 ObjectOpenAuditAlarmA (
1420 LPCSTR SubsystemName,
1422 LPSTR ObjectTypeName,
1424 PSECURITY_DESCRIPTOR pSecurityDescriptor,
1426 DWORD DesiredAccess,
1427 DWORD GrantedAccess,
1428 PPRIVILEGE_SET Privileges,
1429 WINBOOL ObjectCreation,
1430 WINBOOL AccessGranted,
1431 LPBOOL GenerateOnClose
1436 ObjectPrivilegeAuditAlarmA (
1437 LPCSTR SubsystemName,
1440 DWORD DesiredAccess,
1441 PPRIVILEGE_SET Privileges,
1442 WINBOOL AccessGranted
1447 ObjectCloseAuditAlarmA (
1448 LPCSTR SubsystemName,
1450 WINBOOL GenerateOnClose
1455 PrivilegedServiceAuditAlarmA (
1456 LPCSTR SubsystemName,
1459 PPRIVILEGE_SET Privileges,
1460 WINBOOL AccessGranted
1467 SECURITY_INFORMATION SecurityInformation,
1468 PSECURITY_DESCRIPTOR pSecurityDescriptor
1475 SECURITY_INFORMATION RequestedInformation,
1476 PSECURITY_DESCRIPTOR pSecurityDescriptor,
1478 LPDWORD lpnLengthNeeded
1483 FindFirstChangeNotificationA(
1485 WINBOOL bWatchSubtree,
1486 DWORD dwNotifyFilter
1499 LPCSTR lpSystemName,
1503 LPSTR ReferencedDomainName,
1504 LPDWORD cbReferencedDomainName,
1511 LPCSTR lpSystemName,
1512 LPCSTR lpAccountName,
1515 LPSTR ReferencedDomainName,
1516 LPDWORD cbReferencedDomainName,
1522 LookupPrivilegeValueA(
1523 LPCSTR lpSystemName,
1530 LookupPrivilegeNameA(
1531 LPCSTR lpSystemName,
1539 LookupPrivilegeDisplayNameA(
1540 LPCSTR lpSystemName,
1542 LPSTR lpDisplayName,
1543 LPDWORD cbDisplayName,
1544 LPDWORD lpLanguageId
1556 BuildCommDCBAndTimeoutsA(
1559 LPCOMMTIMEOUTS lpCommTimeouts
1572 GetDefaultCommConfigA(
1580 SetDefaultCommConfigA(
1596 LPCSTR lpComputerName
1615 wsprintfA(LPSTR, LPCSTR, ...);
1619 LoadKeyboardLayoutA(
1625 GetKeyboardLayoutNameA(
1633 LPDEVMODEA pDevmode,
1635 ACCESS_MASK dwDesiredAccess,
1636 LPSECURITY_ATTRIBUTES lpsa);
1644 DWORD dwDesiredAccess);
1650 DESKTOPENUMPROCA lpEnumFunc,
1655 CreateWindowStationA(
1658 DWORD dwDesiredAccess,
1659 LPSECURITY_ATTRIBUTES lpsa);
1661 HANDLE STDCALL CreateWaitableTimerA( LPSECURITY_ATTRIBUTES Attributes,
1670 DWORD dwDesiredAccess);
1674 EnumWindowStationsA(
1675 ENUMWINDOWSTATIONPROCA lpEnumFunc,
1680 GetUserObjectInformationA(
1685 LPDWORD lpnLengthNeeded);
1689 SetUserObjectInformationA(
1697 RegisterWindowMessageA(
1706 UINT wMsgFilterMax);
1732 SendMessageTimeoutA(
1739 PDWORD_PTR lpdwResult);
1751 SendMessageCallbackA(
1756 SENDASYNCPROC lpResultCallBack,
1786 WNDPROC lpPrevWndFunc,
1795 CONST WNDCLASSA *lpWndClass);
1801 HINSTANCE hInstance);
1806 HINSTANCE hInstance ,
1808 LPWNDCLASSA lpWndClass);
1812 RegisterClassExA(CONST WNDCLASSEXA *);
1816 GetClassInfoExA(HINSTANCE, LPCSTR, LPWNDCLASSEXA);
1823 LPCSTR lpWindowName,
1831 HINSTANCE hInstance,
1837 HINSTANCE hInstance,
1838 LPCSTR lpTemplateName,
1840 DLGPROC lpDialogFunc,
1841 LPARAM dwInitParam);
1845 CreateDialogIndirectParamA(
1846 HINSTANCE hInstance,
1847 LPCDLGTEMPLATE lpTemplate,
1849 DLGPROC lpDialogFunc,
1850 LPARAM dwInitParam);
1855 HINSTANCE hInstance,
1856 LPCSTR lpTemplateName,
1858 DLGPROC lpDialogFunc,
1859 LPARAM dwInitParam);
1863 DialogBoxIndirectParamA(
1864 HINSTANCE hInstance,
1865 LPCDLGTEMPLATE hDialogTemplate,
1867 DLGPROC lpDialogFunc,
1868 LPARAM dwInitParam);
1887 SendDlgItemMessageA(
1910 RegisterClipboardFormatA(
1915 GetClipboardFormatNameA(
1917 LPSTR lpszFormatName,
1937 DWORD cchDstLength);
1944 DWORD cchDstLength);
1977 LPCSTR lpszCurrent);
1986 IsCharAlphaNumericA(
2013 STDCALL VkKeyScanExA(
2033 HINSTANCE hInstance,
2034 LPCSTR lpTableName);
2038 CreateAcceleratorTableA(
2043 CopyAcceleratorTableA(
2050 TranslateAcceleratorA(
2058 HINSTANCE hInstance,
2064 CONST MENUTEMPLATE *lpMenuTemplate);
2136 WINBOOL fByPosition,
2137 LPMENUITEMINFOA lpmii);
2150 DrawTextExA(HDC, LPSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
2157 GRAYSTRINGPROC lpOutputFunc,
2167 DrawStateA(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
2178 LPINT lpnTabStopPositions,
2183 GetTabbedTextExtentA(
2188 LPINT lpnTabStopPositions);
2213 PROPENUMPROCEXA lpEnumFunc,
2220 PROPENUMPROCA lpEnumFunc);
2237 GetWindowTextLengthA(
2259 MessageBoxIndirectA(LPMSGBOXPARAMS);
2290 LPCSTR lpClassName ,
2291 LPCSTR lpWindowName);
2295 FindWindowExA(HWND, HWND, LPCSTR, LPCSTR);
2315 HINSTANCE hInstance,
2316 LPCSTR lpBitmapName);
2321 HINSTANCE hInstance,
2322 LPCSTR lpCursorName);
2326 LoadCursorFromFileA(
2332 HINSTANCE hInstance,
2348 HINSTANCE hInstance,
2372 DlgDirListComboBoxA(
2381 DlgDirSelectComboBoxExA(
2391 HWND hWndMDIClient ,
2408 LPCSTR lpWindowName,
2415 HINSTANCE hInstance,
2430 ChangeDisplaySettingsA(
2431 LPDEVMODEA lpDevMode,
2436 EnumDisplaySettingsA(
2437 LPCSTR lpszDeviceName,
2439 LPDEVMODEA lpDevMode);
2443 SystemParametersInfoA(
2451 AddFontResourceA(LPCSTR);
2455 CopyMetaFileA(HMETAFILE, LPCSTR);
2459 CreateFontIndirectA(CONST LOGFONTA *);
2463 CreateICA(LPCSTR, LPCSTR , LPCSTR , CONST DEVMODEA *);
2467 CreateMetaFileA(LPCSTR);
2471 CreateScalableFontResourceA(DWORD, LPCSTR, LPCSTR, LPCSTR);
2475 DeviceCapabilitiesA(LPCSTR, LPCSTR, WORD,
2476 LPSTR, CONST DEVMODEA *);
2480 EnumFontFamiliesExA(HDC, LPLOGFONTA, FONTENUMEXPROCA, LPARAM,DWORD);
2484 EnumFontFamiliesA(HDC, LPCSTR, FONTENUMPROCA, LPARAM);
2488 EnumFontsA(HDC, LPCSTR, FONTENUMPROCA, LPARAM);
2492 GetCharWidthA(HDC, UINT, UINT, LPINT);
2496 GetCharWidth32A(HDC, UINT, UINT, LPINT);
2500 GetCharWidthFloatA(HDC, UINT, UINT, PFLOAT);
2504 GetCharABCWidthsA(HDC, UINT, UINT, LPABC);
2508 GetCharABCWidthsFloatA(HDC, UINT, UINT, LPABCFLOAT);
2511 GetGlyphOutlineA(HDC, UINT, UINT, LPGLYPHMETRICS, DWORD, LPVOID, CONST MAT2 *);
2515 GetMetaFileA(LPCSTR);
2519 GetOutlineTextMetricsA(HDC, UINT, LPOUTLINETEXTMETRICA);
2523 GetTextExtentPointA(
2532 GetTextExtentPoint32A(
2541 GetTextExtentExPointA(
2553 GetCharacterPlacementA(HDC, LPCSTR, int, int, LPGCP_RESULTSA, DWORD);
2557 ResetDCA(HDC, CONST DEVMODEA *);
2561 RemoveFontResourceA(LPCSTR);
2565 CopyEnhMetaFileA(HENHMETAFILE, LPCSTR);
2569 CreateEnhMetaFileA(HDC, LPCSTR, CONST RECT *, LPCSTR);
2573 GetEnhMetaFileA(LPCSTR);
2577 GetEnhMetaFileDescriptionA(HENHMETAFILE, UINT, LPSTR );
2581 GetTextMetricsA(HDC, LPTEXTMETRICA);
2585 StartDocA(HDC, CONST DOCINFOA *);
2589 GetObjectA(HGDIOBJ, int, LPVOID);
2593 TextOutA(HDC, int, int, LPCSTR, int);
2597 ExtTextOutA(HDC, int, int, UINT, CONST RECT *,LPCSTR, UINT, CONST INT *);
2601 PolyTextOutA(HDC, CONST POLYTEXTA *, int);
2605 GetTextFaceA(HDC, int, LPSTR);
2609 GetKerningPairsA(HDC, DWORD, LPKERNINGPAIR);
2613 CreateColorSpaceA(LPLOGCOLORSPACEA);
2617 GetLogColorSpaceA(HCOLORSPACE,LPLOGCOLORSPACEA,DWORD);
2621 GetICMProfileA(HDC,DWORD,LPSTR);
2625 SetICMProfileA(HDC,LPSTR);
2629 UpdateICMRegKeyA(DWORD, DWORD, LPSTR, UINT);
2633 EnumICMProfilesA(HDC,ICMENUMPROCA,LPARAM);
2637 PropertySheetA(LPCPROPSHEETHEADERA lppsph);
2641 ImageList_LoadImageA(HINSTANCE hi, LPCSTR lpbmp, int cx, int cGrow, COLORREF crMask, UINT uType, UINT uFlags);
2645 CreateStatusWindowA(LONG style, LPCSTR lpszText, HWND hwndParent, UINT wID);
2649 DrawStatusTextA(HDC hDC, LPRECT lprc, LPCSTR pszText, UINT uFlags);
2653 GetOpenFileNameA(LPOPENFILENAMEA);
2657 GetSaveFileNameA(LPOPENFILENAMEA);
2661 GetFileTitleA(LPCSTR, LPSTR, WORD);
2665 ChooseColorA(LPCHOOSECOLORA);
2669 FindTextA(LPFINDREPLACEA);
2673 ReplaceTextA(LPFINDREPLACEA);
2677 ChooseFontA(LPCHOOSEFONTA);
2681 PrintDlgA(LPPRINTDLGA);
2685 PageSetupDlgA( LPPAGESETUPDLGA );
2690 LPCSTR lpApplicationName,
2691 LPSTR lpCommandLine,
2692 LPSECURITY_ATTRIBUTES lpProcessAttributes,
2693 LPSECURITY_ATTRIBUTES lpThreadAttributes,
2694 WINBOOL bInheritHandles,
2695 DWORD dwCreationFlags,
2696 LPVOID lpEnvironment,
2697 LPCSTR lpCurrentDirectory,
2698 LPSTARTUPINFOA lpStartupInfo,
2699 LPPROCESS_INFORMATION lpProcessInformation
2705 LPSTARTUPINFOA lpStartupInfo
2713 FINDEX_INFO_LEVELS fInfoLevelId,
2714 LPVOID lpFindFileData,
2715 FINDEX_SEARCH_OPS fSearchOp,
2716 LPVOID lpSearchFilter,
2717 DWORD dwAdditionalFlags
2724 LPWIN32_FIND_DATAA lpFindFileData
2731 LPWIN32_FIND_DATAA lpFindFileData
2737 LPOSVERSIONINFOA lpVersionInformation
2740 #define CreateWindowA(lpClassName, lpWindowName, dwStyle, x, y,\
2741 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)\
2742 CreateWindowExA(0L, lpClassName, lpWindowName, dwStyle, x, y,\
2743 nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam)
2745 #define CreateDialogA(hInstance, lpName, hWndParent, lpDialogFunc) \
2746 CreateDialogParamA(hInstance, lpName, hWndParent, lpDialogFunc, 0L)
2748 #define CreateDialogIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2749 CreateDialogIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2751 #define DialogBoxA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2752 DialogBoxParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2754 #define DialogBoxIndirectA(hInstance, lpTemplate, hWndParent, lpDialogFunc) \
2755 DialogBoxIndirectParamA(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0L)
2759 CreateDCA(LPCSTR, LPCSTR , LPCSTR , CONST DEVMODEA *);
2765 LPSTR szSrcFileName,
2766 LPSTR szDestFileName,
2776 GetFileVersionInfoSizeA(
2777 LPSTR lptstrFilename,
2783 GetFileVersionInfoA(
2784 LPSTR lptstrFilename,
2801 const LPVOID pBlock,
2803 LPVOID * lplpBuffer,
2822 RegConnectRegistryA (
2823 LPCSTR lpMachineName,
2845 LPSECURITY_ATTRIBUTES lpSecurityAttributes,
2847 LPDWORD lpdwDisposition
2883 PFILETIME lpftLastWriteTime
2892 LPDWORD lpcbValueName,
2933 LPDWORD lpcbMaxSubKeyLen,
2934 LPDWORD lpcbMaxClassLen,
2936 LPDWORD lpcbMaxValueNameLen,
2937 LPDWORD lpcbMaxValueLen,
2938 LPDWORD lpcbSecurityDescriptor,
2939 PFILETIME lpftLastWriteTime
2953 RegQueryMultipleValuesA (
2994 LPSECURITY_ATTRIBUTES lpSecurityAttributes
3027 InitiateSystemShutdownA(
3028 LPSTR lpMachineName,
3031 WINBOOL bForceAppsClosed,
3032 WINBOOL bRebootAfterShutdown
3037 AbortSystemShutdownA(
3038 LPCSTR lpMachineName
3081 CONST SYSTEMTIME *lpTime,
3091 CONST SYSTEMTIME *lpDate,
3102 CONST NUMBERFMTA *lpFormat,
3112 CONST CURRENCYFMTA *lpFormat,
3113 LPSTR lpCurrencyStr,
3119 CALINFO_ENUMPROCA lpCalInfoEnumProc,
3127 TIMEFMT_ENUMPROCA lpTimeFmtEnumProc,
3134 DATEFMT_ENUMPROCA lpDateFmtEnumProc,
3169 LOCALE_ENUMPROCA lpLocaleEnumProc,
3174 EnumSystemCodePagesA(
3175 CODEPAGE_ENUMPROCA lpCodePageEnumProc,
3181 HANDLE hConsoleInput,
3182 PINPUT_RECORD lpBuffer,
3184 LPDWORD lpNumberOfEventsRead
3190 HANDLE hConsoleInput,
3191 PINPUT_RECORD lpBuffer,
3193 LPDWORD lpNumberOfEventsRead
3199 HANDLE hConsoleInput,
3200 CONST INPUT_RECORD *lpBuffer,
3202 LPDWORD lpNumberOfEventsWritten
3208 HANDLE hConsoleOutput,
3209 PCHAR_INFO lpBuffer,
3211 COORD dwBufferCoord,
3212 PSMALL_RECT lpReadRegion
3217 WriteConsoleOutputA(
3218 HANDLE hConsoleOutput,
3219 CONST CHAR_INFO *lpBuffer,
3221 COORD dwBufferCoord,
3222 PSMALL_RECT lpWriteRegion
3227 ReadConsoleOutputCharacterA(
3228 HANDLE hConsoleOutput,
3232 LPDWORD lpNumberOfCharsRead
3237 WriteConsoleOutputCharacterA(
3238 HANDLE hConsoleOutput,
3242 LPDWORD lpNumberOfCharsWritten
3247 FillConsoleOutputCharacterA(
3248 HANDLE hConsoleOutput,
3252 LPDWORD lpNumberOfCharsWritten
3257 ScrollConsoleScreenBufferA(
3258 HANDLE hConsoleOutput,
3259 CONST SMALL_RECT *lpScrollRectangle,
3260 CONST SMALL_RECT *lpClipRectangle,
3261 COORD dwDestinationOrigin,
3262 CONST CHAR_INFO *lpFill
3268 LPSTR lpConsoleTitle,
3275 LPCSTR lpConsoleTitle
3281 HANDLE hConsoleInput,
3283 DWORD nNumberOfCharsToRead,
3284 LPDWORD lpNumberOfCharsRead,
3291 HANDLE hConsoleOutput,
3292 CONST VOID *lpBuffer,
3293 DWORD nNumberOfCharsToWrite,
3294 LPDWORD lpNumberOfCharsWritten,
3300 LPCSTR lpRemoteName,
3306 WNetAddConnection2A(
3307 LPNETRESOURCEA lpNetResource,
3314 WNetAddConnection3A(
3316 LPNETRESOURCEA lpNetResource,
3323 WNetCancelConnectionA(
3329 WNetCancelConnection2A(
3345 LPNETRESOURCEA lpNetResource,
3350 LPDWORD lpBufferSize,
3362 WNetConnectionDialog1A(
3363 LPCONNECTDLGSTRUCTA lpConnDlgStruct
3367 WNetDisconnectDialog1A(
3368 LPDISCDLGSTRUCTA lpConnDlgStruct
3376 LPNETRESOURCEA lpNetResource,
3385 LPDWORD lpBufferSize
3389 WNetGetUniversalNameA(
3393 LPDWORD lpBufferSize
3404 WNetGetProviderNameA(
3406 LPSTR lpProviderName,
3407 LPDWORD lpBufferSize
3411 WNetGetNetworkInformationA(
3413 LPNETINFOSTRUCT lpNetInfoStruct
3420 DWORD nErrorBufSize,
3426 MultinetGetConnectionPerformanceA(
3427 LPNETRESOURCEA lpNetResource,
3428 LPNETCONNECTINFOSTRUCT lpNetConnectInfoStruct
3433 ChangeServiceConfigA(
3435 DWORD dwServiceType,
3437 DWORD dwErrorControl,
3438 LPCSTR lpBinaryPathName,
3439 LPCSTR lpLoadOrderGroup,
3441 LPCSTR lpDependencies,
3442 LPCSTR lpServiceStartName,
3444 LPCSTR lpDisplayName
3450 SC_HANDLE hSCManager,
3451 LPCSTR lpServiceName,
3452 LPCSTR lpDisplayName,
3453 DWORD dwDesiredAccess,
3454 DWORD dwServiceType,
3456 DWORD dwErrorControl,
3457 LPCSTR lpBinaryPathName,
3458 LPCSTR lpLoadOrderGroup,
3460 LPCSTR lpDependencies,
3461 LPCSTR lpServiceStartName,
3467 EnumDependentServicesA(
3469 DWORD dwServiceState,
3470 LPENUM_SERVICE_STATUSA lpServices,
3472 LPDWORD pcbBytesNeeded,
3473 LPDWORD lpServicesReturned
3478 EnumServicesStatusA(
3479 SC_HANDLE hSCManager,
3480 DWORD dwServiceType,
3481 DWORD dwServiceState,
3482 LPENUM_SERVICE_STATUSA lpServices,
3484 LPDWORD pcbBytesNeeded,
3485 LPDWORD lpServicesReturned,
3486 LPDWORD lpResumeHandle
3492 SC_HANDLE hSCManager,
3493 LPCSTR lpDisplayName,
3494 LPSTR lpServiceName,
3500 GetServiceDisplayNameA(
3501 SC_HANDLE hSCManager,
3502 LPCSTR lpServiceName,
3503 LPSTR lpDisplayName,
3510 LPCSTR lpMachineName,
3511 LPCSTR lpDatabaseName,
3512 DWORD dwDesiredAccess
3518 SC_HANDLE hSCManager,
3519 LPCSTR lpServiceName,
3520 DWORD dwDesiredAccess
3525 QueryServiceConfigA(
3527 LPQUERY_SERVICE_CONFIGA lpServiceConfig,
3529 LPDWORD pcbBytesNeeded
3534 QueryServiceLockStatusA(
3535 SC_HANDLE hSCManager,
3536 LPQUERY_SERVICE_LOCK_STATUSA lpLockStatus,
3538 LPDWORD pcbBytesNeeded
3541 SERVICE_STATUS_HANDLE
3543 RegisterServiceCtrlHandlerA(
3544 LPCSTR lpServiceName,
3545 LPHANDLER_FUNCTION lpHandlerProc
3550 StartServiceCtrlDispatcherA(
3551 LPSERVICE_TABLE_ENTRYA lpServiceStartTable
3558 DWORD dwNumServiceArgs,
3559 LPCSTR *lpServiceArgVectors
3562 /* Extensions to OpenGL */
3565 wglUseFontBitmapsA(HDC, DWORD, DWORD, DWORD);
3568 wglUseFontOutlinesA(HDC, DWORD, DWORD, DWORD, FLOAT,
3569 FLOAT, int, LPGLYPHMETRICSFLOAT);
3571 /* ------------------------------------- */
3572 /* From shellapi.h in old Cygnus headers */
3575 DragQueryFileA(HDROP, unsigned int, char *, unsigned int);
3578 ExtractAssociatedIconA (HINSTANCE, char *, WORD *);
3581 ExtractIconA (HINSTANCE, const char *, unsigned int);
3584 FindExecutableA (const char *, const char *, char *);
3587 ShellAboutA (HWND, const char *, const char *, HICON);
3590 ShellExecuteA (HWND, const char *, const char *, char *, const char *, int);
3592 /* end of stuff from shellapi.h in old Cygnus headers */
3593 /* -------------------------------------------------- */
3594 /* From ddeml.h in old Cygnus headers */
3597 DdeCreateStringHandleA (DWORD, char *, int);
3600 DdeInitializeA (DWORD *, CALLB, DWORD, DWORD);
3603 DdeQueryStringA (DWORD, HSZ, char *, DWORD, int);
3605 /* end of stuff from ddeml.h in old Cygnus headers */
3606 /* ----------------------------------------------- */
3609 SHGetFileInfoA (LPCSTR, DWORD, SHFILEINFO FAR *, UINT, UINT);
3612 SHGetPathFromIDListA (LPCITEMIDLIST, LPSTR);
3616 #endif /* __cplusplus */
3618 #endif /* _GNU_H_WINDOWS32_ASCIIFUNCTIONS */