bunch of w32api fixes. ascii.h is gonecd ..! coff.h was unused and quite a few others were redunant and could be moved. If you try to build a app in the ROS build system without using __USE_W32API or Unicode beware it won't build as it shouldn't. Also partinfo was really broken so someone needs to fix this. If not I will attempt to w32api'ise it in the morning.
Modified: trunk/reactos/apps/testsets/loadlib/makefile
Modified: trunk/reactos/apps/utils/Makefile
Modified: trunk/reactos/apps/utils/net/ftp/makefile
Modified: trunk/reactos/apps/utils/net/ping/makefile
Modified: trunk/reactos/apps/utils/partinfo/makefile
Modified: trunk/reactos/apps/utils/partinfo/partinfo.c
Modified: trunk/reactos/apps/utils/pnpdump/makefile
Modified: trunk/reactos/apps/utils/pnpdump/pnpdump.c
Modified: trunk/reactos/apps/utils/ps/makefile
Modified: trunk/reactos/apps/utils/sc/makefile
Deleted: trunk/reactos/include/ascii.h
Deleted: trunk/reactos/include/coff.h
Modified: trunk/reactos/include/funcs.h
Deleted: trunk/reactos/include/icmpapi.h
Deleted: trunk/reactos/include/wine/cpl.h
Deleted: trunk/reactos/include/wine/fci.h
Deleted: trunk/reactos/include/wine/fdi.h
Deleted: trunk/reactos/include/wine/heap.h
Deleted: trunk/reactos/include/wine/ver.h
Modified: trunk/reactos/lib/samlib/dllmain.c
Modified: trunk/reactos/regtests/regtests/Makefile
Modified: trunk/reactos/services/rpcss/makefile
Modified: trunk/reactos/subsys/system/format/makefile
Modified: trunk/reactos/subsys/system/services/makefile
Modified: trunk/reactos/subsys/system/services/services.c
Added: trunk/reactos/w32api/include/fci.h
Added: trunk/reactos/w32api/include/fdi.h
Added: trunk/reactos/w32api/include/icmpapi.h

Modified: trunk/reactos/apps/testsets/loadlib/makefile
--- trunk/reactos/apps/testsets/loadlib/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/testsets/loadlib/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -11,7 +11,7 @@
 
 TARGET_NAME = loadlib
 
-TARGET_CFLAGS = -Wall -Werror -D_USE_W32API -DUNICODE -D_UNICODE
+TARGET_CFLAGS = -Wall -Werror -D__USE_W32API -DUNICODE -D_UNICODE
 
 TARGET_SDKLIBS = kernel32.a ntdll.a 
 

Modified: trunk/reactos/apps/utils/Makefile
--- trunk/reactos/apps/utils/Makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/Makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -9,7 +9,7 @@
 
 # Console system utilities
 # cabman cat net objdir partinfo pice ps sc stats
-UTIL_APPS = cat objdir partinfo pnpdump sc shutdown stats tickcount ps
+UTIL_APPS = cat objdir pnpdump sc shutdown stats tickcount ps
 
 UTIL_NET_APPS = arp finger ftp ipconfig netstat ping route telnet whois
 

Modified: trunk/reactos/apps/utils/net/ftp/makefile
--- trunk/reactos/apps/utils/net/ftp/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/net/ftp/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -8,6 +8,8 @@
 
 TARGET_INSTALLDIR = system32
 
+TARGET_CFLAGS = -D__USE_W32API
+
 TARGET_SDKLIBS = ws2_32.a iphlpapi.a
 # ntdll.a
 

Modified: trunk/reactos/apps/utils/net/ping/makefile
--- trunk/reactos/apps/utils/net/ping/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/net/ping/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -8,7 +8,7 @@
 
 TARGET_INSTALLDIR = system32
 
-TARGET_CFLAGS = -D__USE_W32_SOCKETS
+TARGET_CFLAGS = -D__USE_W32API -D__USE_W32_SOCKETS
 
 TARGET_SDKLIBS = ws2_32.a
 

Modified: trunk/reactos/apps/utils/partinfo/makefile
--- trunk/reactos/apps/utils/partinfo/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/partinfo/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -10,7 +10,7 @@
 
 TARGET_NAME = partinfo
 
-TARGET_CFLAGS = -Wall -Werror -Wno-format
+TARGET_CFLAGS = -D__USE_W32API -Wall -Werror -Wno-format
 
 TARGET_SDKLIBS = ntdll.a kernel32.a
 

Modified: trunk/reactos/apps/utils/partinfo/partinfo.c
--- trunk/reactos/apps/utils/partinfo/partinfo.c	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/partinfo/partinfo.c	2005-04-02 05:37:20 UTC (rev 14432)
@@ -8,10 +8,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 
+#include <ddk/ntddk.h>
+
 //#define DUMP_DATA
 #define DUMP_SIZE_INFO
+#define UNICODE
 
-
 #ifdef DUMP_DATA
 void HexDump(char *buffer, ULONG size)
 {

Modified: trunk/reactos/apps/utils/pnpdump/makefile
--- trunk/reactos/apps/utils/pnpdump/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/pnpdump/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -10,7 +10,7 @@
 
 TARGET_NAME = pnpdump
 
-TARGET_CFLAGS = -Wall -Werror
+TARGET_CFLAGS = -D__USE_W32API -Wall -Werror
 
 TARGET_SDKLIBS = ntdll.a kernel32.a
 

Modified: trunk/reactos/apps/utils/pnpdump/pnpdump.c
--- trunk/reactos/apps/utils/pnpdump/pnpdump.c	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/pnpdump/pnpdump.c	2005-04-02 05:37:20 UTC (rev 14432)
@@ -8,6 +8,8 @@
 #include <stdlib.h>
 #include <conio.h>
 
+#include <ddk/ntddk.h>
+
 #include <pshpack1.h>
 
 typedef struct _CM_PNP_BIOS_DEVICE_NODE

Modified: trunk/reactos/apps/utils/ps/makefile
--- trunk/reactos/apps/utils/ps/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/ps/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -10,7 +10,7 @@
 
 TARGET_NAME = ps
 
-TARGET_CFLAGS = -DANONYMOUSUNIONS -Werror -Wall
+TARGET_CFLAGS = -D__USE_W32API -DANONYMOUSUNIONS -Werror -Wall
 
 TARGET_SDKLIBS = ntdll.a kernel32.a user32.a
 

Modified: trunk/reactos/apps/utils/sc/makefile
--- trunk/reactos/apps/utils/sc/makefile	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/apps/utils/sc/makefile	2005-04-02 05:37:20 UTC (rev 14432)
@@ -13,7 +13,7 @@
 
 TARGET_NAME = sc
 
-TARGET_CFLAGS = -DDBG -Werror -Wall
+TARGET_CFLAGS = -D__USE_W32API -DDBG -Werror -Wall
 
 TARGET_SDKLIBS = kernel32.a ntdll.a advapi32.a
 

Deleted: trunk/reactos/include/ascii.h
--- trunk/reactos/include/ascii.h	2005-04-02 00:49:10 UTC (rev 14431)
+++ trunk/reactos/include/ascii.h	2005-04-02 05:37:20 UTC (rev 14432)
@@ -1,3630 +0,0 @@
-/* 
-   ASCIIFunctions.h
-
-   Declarations for all the Win32 ASCII Functions
-
-   Copyright (C) 1996 Free Software Foundation, Inc.
-
-   Author:  Scott Christley <scottc@net-community.com>
-
-   This file is part of the Windows32 API Library.
-
-   This library is free software; you can redistribute it and/or
-   modify it under the terms of the GNU Library General Public
-   License as published by the Free Software Foundation; either
-   version 2 of the License, or (at your option) any later version.
-   
-   This library is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-   Library General Public License for more details.
-
-   If you are interested in a warranty or support for this source code,
-   contact Scott Christley <scottc@net-community.com> for more information.
-   
-   You should have received a copy of the GNU Library General Public
-   License along with this library; see the file COPYING.LIB.
-   If not, write to the Free Software Foundation, 
-   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-*/ 
-
-#ifndef _GNU_H_WINDOWS32_ASCIIFUNCTIONS
-#define _GNU_H_WINDOWS32_ASCIIFUNCTIONS
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-WINBOOL
-STDCALL
-BackupEventLogA (
- HANDLE hEventLog,
- LPCSTR lpBackupFileName
- );
-
-WINBOOL
-STDCALL
-ClearEventLogA (
- HANDLE hEventLog,
- LPCSTR lpBackupFileName
- );
-
-WINBOOL
-STDCALL
-CreateProcessAsUserA (
- HANDLE hToken,
- LPCSTR lpApplicationName,
- LPSTR lpCommandLine,
- LPSECURITY_ATTRIBUTES lpProcessAttributes,
- LPSECURITY_ATTRIBUTES lpThreadAttributes,
- WINBOOL bInheritHandles,
- DWORD dwCreationFlags,
- LPVOID lpEnvironment,
- LPCSTR lpCurrentDirectory,
- LPSTARTUPINFOA lpStartupInfo,
- LPPROCESS_INFORMATION lpProcessInformation
- );
-
-WINBOOL
-STDCALL
-DecryptFileA(
- LPCSTR lpFileName,
- DWORD dwReserved
- );
-
-WINBOOL
-STDCALL
-EncryptFileA(
- LPCSTR lpFileName
- );
-
-WINBOOL
-STDCALL
-FileEncryptionStatusA(
- LPCSTR lpFileName,
- LPDWORD lpStatus
- );
-
-WINBOOL
-STDCALL
-GetCurrentHwProfileA (
- LPHW_PROFILE_INFOA lpHwProfileInfo
- );
-
-WINBOOL
-STDCALL
-LogonUserA (
- LPSTR lpszUsername,
- LPSTR lpszDomain,
- LPSTR lpszPassword,
- DWORD dwLogonType,
- DWORD dwLogonProvider,
- PHANDLE phToken
- );
-
-WINBOOL
-STDCALL
-LogonUserExA (
- LPCSTR lpszUsername,
- LPCSTR lpszDomain,
- LPCSTR lpszPassword,
- DWORD dwLogonType,
- DWORD dwLogonProvider,
- PHANDLE phToken ,
- PSID *ppLogonSid ,
- PVOID *ppProfileBuffer ,
- LPDWORD pdwProfileLength ,
- PQUOTA_LIMITS pQuotaLimits
- );
-
-HANDLE
-STDCALL
-OpenBackupEventLogA (
- LPCSTR lpUNCServerName,
- LPCSTR lpFileName
- );
-
-DWORD
-STDCALL
-OpenEncryptedFileRawA(
- LPCSTR lpFileName,
- ULONG ulFlags,
- PVOID * pvContext
- );
-
-HANDLE
-STDCALL
-OpenEventLogA (
- LPCSTR lpUNCServerName,
- LPCSTR lpSourceName
- );
-
-WINBOOL
-STDCALL
-ReadEventLogA (
- HANDLE hEventLog,
- DWORD dwReadFlags,
- DWORD dwRecordOffset,
- LPVOID lpBuffer,
- DWORD nNumberOfBytesToRead,
- DWORD *pnBytesRead,
- DWORD *pnMinNumberOfBytesNeeded
- );
-
-WINBOOL
-STDCALL
-ChangeServiceConfig2A(
-    SC_HANDLE    hService,
-    DWORD        dwInfoLevel,
-    LPVOID       lpInfo
-    );
-
-WINBOOL
-STDCALL
-EnumServicesStatusExA(
-    SC_HANDLE                  hSCManager,
-    SC_ENUM_TYPE               InfoLevel,
-    DWORD                      dwServiceType,
-    DWORD                      dwServiceState,
-    LPBYTE                     lpServices,
-    DWORD                      cbBufSize,
-    LPDWORD                    pcbBytesNeeded,
-    LPDWORD                    lpServicesReturned,
-    LPDWORD                    lpResumeHandle,
-    LPCSTR                   pszGroupName
-    );
-
-WINBOOL
-STDCALL
-QueryServiceConfig2A(
-    SC_HANDLE   hService,
-    DWORD       dwInfoLevel,
-    LPBYTE      lpBuffer,
-    DWORD       cbBufSize,
-    LPDWORD     pcbBytesNeeded
-    );
-
-SERVICE_STATUS_HANDLE
-STDCALL
-RegisterServiceCtrlHandlerExA(
-    LPCSTR                lpServiceName,
-    LPHANDLER_FUNCTION_EX   lpHandlerProc,
-    LPVOID                  lpContext
-    );
-
-LRESULT 
-STDCALL
-SendIMEMessageExA(HWND hwnd, LPARAM lparam);
-
-WINBOOL
-STDCALL
-IMPSetIMEA( HWND hwnd, LPIMEPROA ime);
-
-WINBOOL
-STDCALL
-IMPQueryIMEA( LPIMEPROA ime);
-
-WINBOOL
-STDCALL
-IMPGetIMEA( HWND hwnd, LPIMEPROA ime);
-
-WINBOOL
-STDCALL
-SetCalendarInfoA(
-    LCID     Locale,
-    CALID    Calendar,
-    CALTYPE  CalType,
-    LPCSTR  lpCalData);
-
-WINBOOL
-STDCALL
-EnumUILanguagesA(
-    UILANGUAGE_ENUMPROCA lpUILanguageEnumProc,
-    DWORD                dwFlags,
-    LONG_PTR             lParam);
-
-WINBOOL
-STDCALL
-EnumLanguageGroupLocalesA(
-    LANGGROUPLOCALE_ENUMPROCA lpLangGroupLocaleEnumProc,
-    LGRPID                    LanguageGroup,
-    DWORD                     dwFlags,
-    LONG_PTR                  lParam);
-
-WINBOOL
-STDCALL
-EnumSystemLanguageGroupsA(
-    LANGUAGEGROUP_ENUMPROCA lpLanguageGroupEnumProc,
-    DWORD                   dwFlags,
-    LONG_PTR                lParam);
-
-int
-STDCALL
-GetGeoInfoA(
-    GEOID       Location,
-    GEOTYPE     GeoType,
-    LPSTR     lpGeoData,
-    int         cchData,
-    LANGID      LangId);
-
-WINBOOL
-STDCALL
-EnumDateFormatsExA(
-    DATEFMT_ENUMPROCEXA lpDateFmtEnumProcEx,
-    LCID                Locale,
-    DWORD               dwFlags);
-
-WINBOOL
-STDCALL
-EnumCalendarInfoExA(
-    CALINFO_ENUMPROCEXA lpCalInfoEnumProcEx,
-    LCID                Locale,
-    CALID               Calendar,
-    CALTYPE             CalType);
-
-int
-STDCALL
-GetCalendarInfoA(
-    LCID     Locale,
-    CALID    Calendar,
-    CALTYPE  CalType,
-    LPSTR   lpCalData,
-    int      cchData,
-    LPDWORD  lpValue);
-
-WINBOOL
-STDCALL
-GetCPInfoExA(
-    UINT          CodePage,
-    DWORD         dwFlags,
-    LPCPINFOEXA  lpCPInfoEx);
-
-WINBOOL
-STDCALL
-CheckNameLegalDOS8Dot3A(
-    LPCSTR lpName,
-    LPSTR lpOemName OPTIONAL,
-    DWORD OemNameSize OPTIONAL,
-    PWINBOOL pbNameContainsSpaces OPTIONAL,
-    PWINBOOL pbNameLegal
-    );
-
-WINBOOL
-STDCALL
-CreateHardLinkA(
-    LPCSTR lpFileName,
-    LPCSTR lpExistingFileName,
-    LPSECURITY_ATTRIBUTES lpSecurityAttributes
-    );
-
-HANDLE
-STDCALL
-CreateJobObjectA(
-    LPSECURITY_ATTRIBUTES lpJobAttributes,
-    LPCSTR lpName
-    );
-
-WINBOOL
-STDCALL
-DeleteVolumeMountPointA(
-    LPCSTR lpszVolumeMountPoint
-    );
-
-WINBOOL
-STDCALL
-DnsHostnameToComputerNameA (
-    LPCSTR Hostname,
-    LPSTR ComputerName,
-    LPDWORD nSize
-    );
-
-WINBOOL
-STDCALL
-FindActCtxSectionStringA(
-    DWORD dwFlags,
-    const GUID *lpExtensionGuid,
-    ULONG ulSectionId,
-    LPCSTR lpStringToFind,
-    PACTCTX_SECTION_KEYED_DATA ReturnedData
-    );
-
-HANDLE
-STDCALL
-FindFirstFileExA(
-    LPCSTR lpFileName,
-    FINDEX_INFO_LEVELS fInfoLevelId,
-    LPVOID lpFindFileData,
-    FINDEX_SEARCH_OPS fSearchOp,
-    LPVOID lpSearchFilter,
-    DWORD dwAdditionalFlags
-    );
-
-HANDLE
-STDCALL
-FindFirstVolumeA(
-    LPSTR lpszVolumeName,
-    DWORD cchBufferLength
-    );
-
-HANDLE
-STDCALL
-FindFirstVolumeMountPointA(
-    LPCSTR lpszRootPathName,
-    LPSTR lpszVolumeMountPoint,
-    DWORD cchBufferLength
-    );
-
-WINBOOL
-STDCALL
-FindNextVolumeA(
-    HANDLE hFindVolume,
-    LPSTR lpszVolumeName,
-    DWORD cchBufferLength
-    );
-
-WINBOOL
-STDCALL
-FindNextVolumeMountPointA(
-    HANDLE hFindVolumeMountPoint,
-    LPSTR lpszVolumeMountPoint,
-    DWORD cchBufferLength
-    );
-
-WINBOOL
-STDCALL
-GetComputerNameExA (
-    COMPUTER_NAME_FORMAT NameType,
-    LPSTR lpBuffer,
-    LPDWORD nSize
-    );
-
-DWORD
-STDCALL
-GetDllDirectoryA(
-    DWORD nBufferLength,
-    LPSTR lpBuffer
-    );
-
-DWORD
-STDCALL
-GetFirmwareEnvironmentVariableA(
-    LPCSTR lpName,
-    LPCSTR lpGuid,
-    PVOID   pBuffer,
-    DWORD    nSize
-    );
-
-DWORD
-STDCALL
-GetLongPathNameA(
-    LPCSTR lpszShortPath,
-    LPSTR  lpszLongPath,
-    DWORD    cchBuffer
-    );
-
-WINBOOL
-STDCALL
-GetModuleHandleExA(
-    DWORD        dwFlags,
-    LPCSTR     lpModuleName,
-    HMODULE*    phModule
-    );
-
-UINT
-STDCALL
-GetSystemWow64DirectoryA(
-    LPSTR lpBuffer,
-    UINT uSize
-    );
-
-WINBOOL
-STDCALL
-GetVolumeNameForVolumeMountPointA(
-    LPCSTR lpszVolumeMountPoint,
-    LPSTR lpszVolumeName,
-    DWORD cchBufferLength
-    );
-
-WINBOOL
-STDCALL
-GetVolumePathNameA(
-    LPCSTR lpszFileName,
-    LPSTR lpszVolumePathName,
-    DWORD cchBufferLength
-    );
-
-WINBOOL
-STDCALL
-GetVolumePathNamesForVolumeNameA(
-    LPCSTR lpszVolumeName,
-    LPSTR lpszVolumePathNames,
-    DWORD cchBufferLength,
-    PDWORD lpcchReturnLength
-    );
-
-HANDLE
-STDCALL
-OpenJobObjectA(
-    DWORD dwDesiredAccess,
-    WINBOOL bInheritHandle,
-    LPCSTR lpName
-    );
-
-WINBOOL
-STDCALL
-ReplaceFileA(
-    LPCSTR  lpReplacedFileName,
-    LPCSTR  lpReplacementFileName,
-    LPCSTR  lpBackupFileName,
-    DWORD   dwReplaceFlags,
-    LPVOID  lpExclude,
-    LPVOID  lpReserved
-    );
-
-WINBOOL
-STDCALL
-SetComputerNameExA (
-    COMPUTER_NAME_FORMAT NameType,
-    LPCSTR lpBuffer
-    );
-
-WINBOOL
-STDCALL
-SetDllDirectoryA(
-    LPCSTR lpPathName
-    );
-
-WINBOOL
-STDCALL
-SetFileShortNameA(
-    HANDLE hFile,
-    LPCSTR lpShortName
-    );
-
-WINBOOL
-STDCALL
-SetFirmwareEnvironmentVariableA(
-    LPCSTR lpName,
-    LPCSTR lpGuid,
-    PVOID    pValue,
-    DWORD    nSize
-    );
-
-WINBOOL
-STDCALL
-SetVolumeMountPointA(
-    LPCSTR lpszVolumeMountPoint,
-    LPCSTR lpszVolumeName
-    );
-
-WINBOOL
-STDCALL
-VerifyVersionInfoA(
-    LPOSVERSIONINFOEXA lpVersionInformation,
-    DWORD dwTypeMask,
-    DWORDLONG dwlConditionMask
-    );
-
-HDEVNOTIFY
-STDCALL
-RegisterDeviceNotificationA(
-    HANDLE hRecipient,
-    LPVOID NotificationFilter,
-    DWORD Flags
-    );
-
-UINT
-STDCALL
-GetRawInputDeviceInfoA(
-    HANDLE hDevice,
-    UINT uiCommand,
-    LPVOID pData,
-    PUINT pcbSize);
-
-LONG
-STDCALL
-BroadcastSystemMessageExA(
-    DWORD dwflags,
-    LPDWORD lpdwRecipients,
-    UINT uiMessage,
-    WPARAM wParam,
-    LPARAM lParam,
-    PBSMINFO pBSMInfo);
-
-HFONT 
-STDCALL
-CreateFontIndirectExA(const ENUMLOGFONTEXDVA *elfexd);
-
-DWORD 
-STDCALL
-GetGlyphIndicesA(
-	HDC hdc,
-	LPCSTR lpstr,
-	int c,
-	LPWORD pgi,
-	DWORD fl
-);
-
-WINBOOL 
-STDCALL
-RemoveFontResourceExA(
-	LPCSTR lpFileName,
-	DWORD fl,
-	PVOID pdv
-);
-
-UINT 
-STDCALL
-GetStringBitmapA(HDC hdc,LPSTR psz,WINBOOL unknown,UINT cj,BYTE *lpSB);
-
-WINBOOL 
-STDCALL
-GetAltTabInfoA(
-	       HWND hwnd,
-	       int iItem,
-	       PALTTABINFO pati,
-	       LPSTR pszItemText,
-	       UINT cchItemText
-	       );
-
-UINT 
-STDCALL
-PrivateExtractIconsA(
-		     LPCSTR szFileName,
-		     int nIconIndex,
-		     int cxIcon,
-		     int cyIcon,
-		     HICON *phicon,
-		     UINT *piconid,
-		     UINT nIcons,
-		     UINT flags
-		     );
-
-UINT
-STDCALL
-RealGetWindowClassA(
-		    HWND hwnd,
-		    LPSTR pszType,
-		    UINT cchType
-		    );
-
-LRESULT
-STDCALL
-MenuWindowProcA(
-		HWND hWnd,
-		UINT Msg,
-		WPARAM wParam,
-		LPARAM lParam
-		);
-
-WINBOOL
-STDCALL
-DrawCaptionTempA(
-		  HWND hwnd,
-		  HDC hdc,
-		  const RECT *rect,
-		  HFONT hFont,
-		  HICON hIcon,
-		  LPCSTR str,
-		  UINT uFlags
-		  );
-
-HHOOK
-STDCALL
-SetWindowsHookA(
-		int idHook,
-		HOOKPROC lpfn
-		);
-
-HRESULT
-STDCALL
-PrivateExtractIconExA(
-		      DWORD u,
-		      DWORD v,
-		      DWORD w,
-		      DWORD x,
-		      DWORD y
-		      );
-
-WINBOOL
-STDCALL
-GetBinaryTypeA(
-	       LPCSTR lpApplicationName,
-	       LPDWORD lpBinaryType
-	       );
-
-DWORD
-STDCALL
-GetShortPathNameA(
-		  LPCSTR lpszLongPath,
-		  LPSTR  lpszShortPath,
-		  DWORD    cchBuffer
-		  );
-
-LPSTR
-STDCALL
-GetEnvironmentStringsA(
-		       VOID
-		       );
-
-WINBOOL
-STDCALL
-FreeEnvironmentStringsA(
-			LPSTR
-			);
-
-DWORD
-STDCALL
-FormatMessageA(
-	       DWORD dwFlags,
-	       LPCVOID lpSource,
-	       DWORD dwMessageId,
-	       DWORD dwLanguageId,
-	       LPSTR lpBuffer,
-	       DWORD nSize,
-	       va_list *Arguments
-	       );
-
-HANDLE
-STDCALL
-CreateMailslotA(
-		LPCSTR lpName,
-		DWORD nMaxMessageSize,
-		DWORD lReadTimeout,
-		LPSECURITY_ATTRIBUTES lpSecurityAttributes
-		);
-
-int
-STDCALL
-lstrcmpA(
-	 LPCSTR lpString1,
-	 LPCSTR lpString2
-	 );
-
-int
-STDCALL
-lstrcmpiA(
-	  LPCSTR lpString1,
-	  LPCSTR lpString2
-	  );
-
-LPSTR
-STDCALL
-lstrcpynA(
-	  LPSTR lpString1,
-	  LPCSTR lpString2,
-	  int iMaxLength
-	  );
-
-LPSTR
-STDCALL
-lstrcpyA(
-	 LPSTR lpString1,
-	 LPCSTR lpString2
-	 );
-
-LPSTR
-STDCALL
-lstrcatA(
-	 LPSTR lpString1,
-	 LPCSTR lpString2
-	 );
-
-int
-STDCALL
-lstrlenA(
-	 LPCSTR lpString
-	 );
-
-HANDLE
-STDCALL
-CreateMutexA(
-	     LPSECURITY_ATTRIBUTES lpMutexAttributes,
-	     WINBOOL bInitialOwner,
-	     LPCSTR lpName
-	     );
-
-HANDLE
-STDCALL
-OpenMutexA(
-	   DWORD dwDesiredAccess,
-	   WINBOOL bInheritHandle,
-	   LPCSTR lpName
-	   );
-
-HANDLE
-STDCALL
-CreateEventA(
-	     LPSECURITY_ATTRIBUTES lpEventAttributes,
-	     WINBOOL bManualReset,
-	     WINBOOL bInitialState,
-	     LPCSTR lpName
-	     );
-
-HANDLE
-STDCALL
-OpenEventA(
-	   DWORD dwDesiredAccess,
-	   WINBOOL bInheritHandle,
-	   LPCSTR lpName
-	   );
-
-HANDLE
-STDCALL
-CreateSemaphoreA(
-		 LPSECURITY_ATTRIBUTES lpSemaphoreAttributes,
-		 LONG lInitialCount,
-		 LONG lMaximumCount,
-		 LPCSTR lpName
-		 );
-
-HANDLE
-STDCALL
-OpenSemaphoreA(
-	       DWORD dwDesiredAccess,
-	       WINBOOL bInheritHandle,
-	       LPCSTR lpName
-	       );
-
-HANDLE
-STDCALL
-CreateFileMappingA(
-		   HANDLE hFile,
-		   LPSECURITY_ATTRIBUTES lpFileMappingAttributes,
-		   DWORD flProtect,
-		   DWORD dwMaximumSizeHigh,
-		   DWORD dwMaximumSizeLow,
-		   LPCSTR lpName
-		   );
-
-HANDLE
-STDCALL
-OpenFileMappingA(
-		 DWORD dwDesiredAccess,
-		 WINBOOL bInheritHandle,
-		 LPCSTR lpName
-		 );
-
-DWORD
-STDCALL
-GetLogicalDriveStringsA(
-			DWORD nBufferLength,
-			LPSTR lpBuffer
-			);
-
-HINSTANCE
-STDCALL
-LoadLibraryA(
-	     LPCSTR lpLibFileName
-	     );
-
-HINSTANCE
-STDCALL
-LoadLibraryExA(
-	       LPCSTR lpLibFileName,
-	       HANDLE hFile,
-	       DWORD dwFlags
-	       );
-
-DWORD
-STDCALL
-GetModuleFileNameA(
-		   HINSTANCE hModule,
-		   LPSTR lpFilename,
-		   DWORD nSize
-		   );
-
-HMODULE
-STDCALL
-GetModuleHandleA(
-		 LPCSTR lpModuleName
-		 );
-
-VOID
-STDCALL
-FatalAppExitA(
-	      UINT uAction,
-	      LPCSTR lpMessageText
-	      );
-
-LPSTR
-STDCALL
-GetCommandLineA(
-		VOID
-		);
-
-DWORD
-STDCALL
-GetEnvironmentVariableA(
-			LPCSTR lpName,
-			LPSTR lpBuffer,
-			DWORD nSize
-			);
-
-WINBOOL
-STDCALL
-SetEnvironmentVariableA(
-			LPCSTR lpName,
-			LPCSTR lpValue
-			);
-
-DWORD
-STDCALL
-ExpandEnvironmentStringsA(
-			  LPCSTR lpSrc,
-			  LPSTR lpDst,
-			  DWORD nSize
-			  );
-
-VOID
-STDCALL
[truncated at 1000 lines; 3963 more skipped]