- Support for stdcall64

- Minor API updates.
This commit is contained in:
Patrik Stridvall 2000-10-02 03:34:14 +00:00 committed by Alexandre Julliard
parent 6d52787f73
commit 1051c3fe13
11 changed files with 32 additions and 16 deletions

View File

@ -356,6 +356,7 @@ dlls/win32s
% dlls/win32s/win32s16.spec
dlls/kernel
dlls/win32s
memory
scheduler

View File

@ -51,6 +51,7 @@ MMIOINFO16 *
UINT16 *
WAVEHDR *
WORD *
YIELDPROC16
%ptr # --forbidden
@ -63,10 +64,6 @@ FARPROC16
LPTIMECALLBACK16
SEGPTR
%segptr # --forbidden
YIELDPROC
%str
LPCSTR

View File

@ -9,16 +9,26 @@ LPDWORD
%ptr # --forbidden
HINF16 *
LPHKEY
LPWORD
%str
LPCSTR
LPSTR
%void
void
%word # --forbidden
INT16
LOGDISKID16
HINF16
HINSTANCE16
HKEY
HWND16
RETERR16
WORD

View File

@ -33,7 +33,6 @@ LPDWORD
LPICONINFO16
LPINT16
LPMSG16
LPMSG16_32
LPMSGBOXPARAMS16
LPPAINTSTRUCT16
LPPOINT16

View File

@ -38,10 +38,6 @@ HMODULE16
UINT16
int
%longlong
LARGE_INTEGER
%ptr
BOOL *

View File

@ -38,21 +38,23 @@ unsigned long
%longlong
LARGE_INTEGER
LONGLONG
ULONGLONG
%ptr
CONTEXT *
CONTEXT86 *
CRITICAL_SECTION *
DWORD *
EXCEPTION_FRAME *
EXCEPTION_RECORD *
FILETIME *
HANDLE *
INT *
LARGE_INTEGER *
LPBYTE
LPDWORD
LPDWORD *
LPFILETIME
LPRTL_RWLOCK
LPVOID
LPVOID *
@ -90,7 +92,10 @@ PULONG
PUNICODE_STRING
PVOID
PVOID *
RTL_CRITICAL_SECTION *
STRING *
UINT *
ULONGLONG *
UNICODE_STRING *
VOID *
struct _TEB *

View File

@ -38,6 +38,7 @@ HIMAGELIST *
HWND *
IShellFolder **
IStream *
ITEMIDLIST *
IUnknown *
LPBROWSEINFOA
LPBYTE

View File

@ -24,12 +24,12 @@ int
DLLVERSIONINFO *
IStream *
ITEMIDLIST *
IUnknown *
LPBYTE
LPCLSID
LPCVOID
LPDWORD
LPITEMIDLIST
LPSTRRET
LPVOID
REFGUID

View File

@ -1,7 +1,10 @@
%long
BOOL
DWORD
%ptr
LPSRB
LPDWORD
LPSRB
LPVOID

View File

@ -268,7 +268,7 @@ sub parse_spec_file {
}
my $ordinal;
if(/^(\d+|@)\s+(pascal|pascal16|stdcall|cdecl|register|interrupt|varargs)\s+(\S+)\s*\(\s*(.*?)\s*\)\s*(\S+)$/) {
if(/^(\d+|@)\s+(pascal|pascal16|stdcall|stdcall64|cdecl|register|interrupt|varargs)\s+(\S+)\s*\(\s*(.*?)\s*\)\s*(\S+)$/) {
my $calling_convention = $2;
my $external_name = $3;
my $arguments = $4;

View File

@ -75,7 +75,11 @@ sub check_function {
} elsif($calling_convention =~ /^VFWAPIV|WINAPIV$/) {
$implemented_calling_convention = "varargs";
} elsif($calling_convention =~ /^__stdcall|VFWAPI|WINAPI|CALLBACK$/) {
$implemented_calling_convention = "stdcall";
if($implemented_return_kind =~ /^longlong$/) {
$implemented_calling_convention = "stdcall64";
} else {
$implemented_calling_convention = "stdcall";
}
} else {
$implemented_calling_convention = "cdecl";
}