Trying to create a spec file for a WINE wrapper for a Windows 64-bit DLL.
In a 32-bit equivalent project the spec file might have contained something like this:
@ stdcall foo (long ptr) Proxyfoo
In the above example, the functype
is stdcall
and the WineLib User Guide suggests that all possible values of functype
are as follows:-
FUNCTYPE should be one of:
- pascal – for a Win16 function
- stdcall – for a normal Win32 function
- cdecl – for a Win32 function using the C calling convention
- varargs – for a Win32 function taking a variable number of arguments
- thiscall – for a Win32 function using the C++ calling convention
So what value should be used for a 64-bit function? Or can it just be omitted? The user guide does not suggest it is an optional item.