Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
74ce0d36
Commit
74ce0d36
authored
Nov 30, 2005
by
Vincent Béron
Committed by
Alexandre Julliard
Nov 30, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update win32.api to current cvs.
Add __RPC_USER as a calling convention in winapi.
parent
0e68b671
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
164 additions
and
38 deletions
+164
-38
win16.api
tools/winapi/win16.api
+0
-1
win32.api
tools/winapi/win32.api
+157
-30
winapi_function.pm
tools/winapi/winapi_function.pm
+2
-2
winapi_local.pm
tools/winapi/winapi_local.pm
+2
-2
winapi_parser.pm
tools/winapi/winapi_parser.pm
+3
-3
No files found.
tools/winapi/win16.api
View file @
74ce0d36
...
@@ -1195,7 +1195,6 @@ LPARAM
...
@@ -1195,7 +1195,6 @@ LPARAM
LRESULT
LRESULT
POINT16
POINT16
UINT
UINT
int
%ptr
%ptr
...
...
tools/winapi/win32.api
View file @
74ce0d36
...
@@ -105,7 +105,9 @@ MD5_CTX *
...
@@ -105,7 +105,9 @@ MD5_CTX *
PACCESS_MASK
PACCESS_MASK
PACL
PACL
PACL *
PACL *
PACTRL_ACCESSA *
PACTRL_ACCESSW *
PACTRL_ACCESSW *
PACTRL_AUDITA *
PACTRL_AUDITW *
PACTRL_AUDITW *
PBOOL
PBOOL
PDWORD
PDWORD
...
@@ -224,6 +226,7 @@ BOOL
...
@@ -224,6 +226,7 @@ BOOL
DWORD
DWORD
HINSTANCE
HINSTANCE
HRESULT
HRESULT
HWND
%long --pointer
%long --pointer
...
@@ -605,6 +608,7 @@ DWORD
...
@@ -605,6 +608,7 @@ DWORD
HANDLE
HANDLE
HCERTSTORE
HCERTSTORE
HCRYPTPROV
HCRYPTPROV
HMODULE
LONG
LONG
ULONG
ULONG
...
@@ -614,11 +618,15 @@ BYTE *
...
@@ -614,11 +618,15 @@ BYTE *
CERT_EXTENSION[]
CERT_EXTENSION[]
CRYPTPROTECT_PROMPTSTRUCT *
CRYPTPROTECT_PROMPTSTRUCT *
CRYPT_ATTRIBUTE[]
CRYPT_ATTRIBUTE[]
CRYPT_OID_FUNC_ENTRY[]
DATA_BLOB *
DATA_BLOB *
DWORD *
DWORD *
GUID *
GUID *
HCRYPTKEY *
HCRYPTKEY *
HCRYPTOIDFUNCADDR *
HCRYPTOIDFUNCSET
HCRYPTOIDFUNCSET
HLRUCACHE
HLRUCACHE *
LPFILETIME
LPFILETIME
LPVOID
LPVOID
LPWSTR *
LPWSTR *
...
@@ -656,6 +664,7 @@ void
...
@@ -656,6 +664,7 @@ void
%wstr
%wstr
LPCWSTR
LPCWSTR
LPWSTR
%%ctl3d32.dll
%%ctl3d32.dll
...
@@ -746,6 +755,7 @@ ULONG64
...
@@ -746,6 +755,7 @@ ULONG64
DWORD64 *
DWORD64 *
LPAPI_VERSION
LPAPI_VERSION
LPSTACKFRAME
LPSTACKFRAME
LPSTACKFRAME64
LPVOID
LPVOID
PDWORD
PDWORD
PENUMDIRTREE_CALLBACK
PENUMDIRTREE_CALLBACK
...
@@ -753,26 +763,36 @@ PENUMLOADED_MODULES_CALLBACK
...
@@ -753,26 +763,36 @@ PENUMLOADED_MODULES_CALLBACK
PFIND_DEBUG_FILE_CALLBACK
PFIND_DEBUG_FILE_CALLBACK
PFINDFILEINPATHCALLBACK
PFINDFILEINPATHCALLBACK
PFUNCTION_TABLE_ACCESS_ROUTINE
PFUNCTION_TABLE_ACCESS_ROUTINE
PFUNCTION_TABLE_ACCESS_ROUTINE64
PGET_MODULE_BASE_ROUTINE
PGET_MODULE_BASE_ROUTINE
PGET_MODULE_BASE_ROUTINE64
PIMAGE_DEBUG_INFORMATION
PIMAGE_DEBUG_INFORMATION
PIMAGEHLP_CONTEXT
PIMAGEHLP_CONTEXT
PIMAGEHLP_LINE
PIMAGEHLP_LINE
PIMAGEHLP_LINE64
PIMAGEHLP_MODULE
PIMAGEHLP_MODULE
PIMAGEHLP_MODULE64
PIMAGEHLP_SYMBOL
PIMAGEHLP_SYMBOL
PIMAGEHLP_STACK_FRAME
PIMAGEHLP_STACK_FRAME
PMINIDUMP_CALLBACK_INFORMATION
PMINIDUMP_CALLBACK_INFORMATION
PMINIDUMP_DIRECTORY *
PMINIDUMP_DIRECTORY *
PMINIDUMP_EXCEPTION_INFORMATION
PMINIDUMP_EXCEPTION_INFORMATION
PMINIDUMP_USER_STREAM_INFORMATION
PMINIDUMP_USER_STREAM_INFORMATION
PMODLOAD_DATA
PREAD_PROCESS_MEMORY_ROUTINE
PREAD_PROCESS_MEMORY_ROUTINE
PREAD_PROCESS_MEMORY_ROUTINE64
PSYM_ENUMERATESYMBOLS_CALLBACK
PSYM_ENUMERATESYMBOLS_CALLBACK
PSYM_ENUMLINES_CALLBACK
PSYM_ENUMLINES_CALLBACK
PSYM_ENUMMODULES_CALLBACK
PSYM_ENUMMODULES_CALLBACK
PSYM_ENUMSOURCEFILES_CALLBACK
PSYM_ENUMSOURCEFILES_CALLBACK
PSYM_ENUMSYMBOLS_CALLBACK
PSYM_ENUMSYMBOLS_CALLBACK
PSYMBOL_REGISTERED_CALLBACK
PSYMBOL_FUNCENTRY_CALLBACK
PSYMBOL_FUNCENTRY_CALLBACK64
PSYMBOL_INFO
PSYMBOL_INFO
PSYMBOL_REGISTERED_CALLBACK
PSYMBOL_REGISTERED_CALLBACK64
PTRANSLATE_ADDRESS_ROUTINE
PTRANSLATE_ADDRESS_ROUTINE
PTRANSLATE_ADDRESS_ROUTINE64
PVOID
PVOID
ULONG *
ULONG *
char **
char **
...
@@ -1297,12 +1317,15 @@ LPCWSTR
...
@@ -1297,12 +1317,15 @@ LPCWSTR
%long
%long
DWORD
HDRVR
HDRVR
L
ONG
L
PARAM
LRESULT
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%icmp.dll
%%icmp.dll
%long
%long
...
@@ -1335,12 +1358,15 @@ LPVOID
...
@@ -1335,12 +1358,15 @@ LPVOID
%long
%long
DWORD
HDRVR
HDRVR
LPARAM
LPARAM
LRESULT
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%imagehlp.dll
%%imagehlp.dll
%long
%long
...
@@ -1489,9 +1515,14 @@ REFIID
...
@@ -1489,9 +1515,14 @@ REFIID
%long
%long
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
%long --pointer
DWORD_PTR
%%kernel32.dll
%%kernel32.dll
...
@@ -1796,33 +1827,53 @@ LPWSTR
...
@@ -1796,33 +1827,53 @@ LPWSTR
%long
%long
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
%long --pointer
DWORD_PTR
%%mcicda.dll
%%mcicda.dll
%long
%long
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
%long --pointer
DWORD_PTR
%%mciseq.dll
%%mciseq.dll
%long
%long
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
%long --pointer
DWORD_PTR
%%mciwave.drv
%%mciwave.drv
%long
%long
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
%long --pointer
DWORD_PTR
%%midimap.dll
%%midimap.dll
...
@@ -1830,9 +1881,14 @@ LONG
...
@@ -1830,9 +1881,14 @@ LONG
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%mlang.dll
%%mlang.dll
%long
%long
...
@@ -1945,10 +2001,15 @@ LPWSTR
...
@@ -1945,10 +2001,15 @@ LPWSTR
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%msacm32.dll
%%msacm32.dll
%long
%long
...
@@ -1965,6 +2026,10 @@ LRESULT
...
@@ -1965,6 +2026,10 @@ LRESULT
MMRESULT
MMRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%ptr
%ptr
ACMDRIVERENUMCB
ACMDRIVERENUMCB
...
@@ -2067,8 +2132,8 @@ unsigned long
...
@@ -2067,8 +2132,8 @@ unsigned long
%ptr
%ptr
DMO_MEDIA_TYPE **
DMO_MEDIA_TYPE *
DMO_MEDIA_TYPE *
DMO_MEDIA_TYPE **
DMO_PARTIAL_MEDIATYPE *
DMO_PARTIAL_MEDIATYPE *
IEnumDMO **
IEnumDMO **
REFCLSID
REFCLSID
...
@@ -2084,12 +2149,15 @@ WCHAR *
...
@@ -2084,12 +2149,15 @@ WCHAR *
%long
%long
DWORD
HDRVR
HDRVR
LPARAM
LPARAM
LRESULT
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%mshtml.dll
%%mshtml.dll
%long
%long
...
@@ -2194,12 +2262,15 @@ REFCLSID
...
@@ -2194,12 +2262,15 @@ REFCLSID
%long
%long
DWORD
HDRVR
HDRVR
LRESULT
LRESULT
LPARAM
LPARAM
UINT
UINT
%long --pointer
DWORD_PTR
%%msnet32.dll
%%msnet32.dll
%long
%long
...
@@ -2413,12 +2484,15 @@ LPCWSTR
...
@@ -2413,12 +2484,15 @@ LPCWSTR
%long
%long
DWORD
HDRVR
HDRVR
L
ONG
L
PARAM
LRESULT
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%mswsock.dll
%%mswsock.dll
%long
%long
...
@@ -2439,8 +2513,8 @@ struct sockaddr **
...
@@ -2439,8 +2513,8 @@ struct sockaddr **
%void
%void
void
VOID
VOID
void
%%msxml3.dll
%%msxml3.dll
...
@@ -2458,6 +2532,7 @@ REFIID
...
@@ -2458,6 +2532,7 @@ REFIID
%long
%long
DSROLE_PRIMARY_DOMAIN_INFO_LEVEL
DWORD
DWORD
NET_API_STATUS
NET_API_STATUS
UCHAR
UCHAR
...
@@ -2475,8 +2550,13 @@ PBYTE *
...
@@ -2475,8 +2550,13 @@ PBYTE *
PDWORD
PDWORD
PNCB
PNCB
PNETSETUP_JOIN_STATUS
PNETSETUP_JOIN_STATUS
PVOID
PVOID *
PVOID *
%void
void
%wstr
%wstr
LMSTR
LMSTR
...
@@ -2816,6 +2896,7 @@ LONG
...
@@ -2816,6 +2896,7 @@ LONG
UINT
UINT
ULONG
ULONG
int
int
unsigned long
%ptr
%ptr
...
@@ -2827,7 +2908,11 @@ DWORD *
...
@@ -2827,7 +2908,11 @@ DWORD *
FILETIME *
FILETIME *
FMTID *
FMTID *
GUID *
GUID *
HBITMAP *
HDC *
HENHMETAFILE *
HGLOBAL *
HGLOBAL *
HPALETTE *
HRESULT *
HRESULT *
ICreateErrorInfo **
ICreateErrorInfo **
IDataObject *
IDataObject *
...
@@ -2891,11 +2976,14 @@ REFCLSID
...
@@ -2891,11 +2976,14 @@ REFCLSID
REFGUID
REFGUID
REFIID
REFIID
SNB
SNB
SNB *
SOLE_AUTHENTICATION_SERVICE *
SOLE_AUTHENTICATION_SERVICE *
STGMEDIUM *
STGMEDIUM *
STGOPTIONS *
STGOPTIONS *
ULONG *
ULONG *
WORD *
WORD *
unsigned char *
unsigned long *
void *
void *
void **
void **
...
@@ -3454,6 +3542,7 @@ UUID *
...
@@ -3454,6 +3542,7 @@ UUID *
UUID_VECTOR *
UUID_VECTOR *
unsigned char *
unsigned char *
unsigned char **
unsigned char **
unsigned long *
unsigned short *
unsigned short *
unsigned short **
unsigned short **
void *
void *
...
@@ -4502,30 +4591,45 @@ LPSTR
...
@@ -4502,30 +4591,45 @@ LPSTR
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%winearts.drv
%%winearts.drv
%long
%long
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%wineaudioio.drv
%%wineaudioio.drv
%long
%long
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%wined3d.dll
%%wined3d.dll
%long
%long
...
@@ -4568,50 +4672,73 @@ void
...
@@ -4568,50 +4672,73 @@ void
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%winejack.drv
%%winejack.drv
%long
%long
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%winemp3.acm
%%winemp3.acm
%long
%long
DWORD
HDRVR
HDRVR
LPARAM
LPARAM
LRESULT
LRESULT
UINT
UINT
%long --pointer
DWORD_PTR
%%winenas.drv
%%winenas.drv
%long
%long
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
WORD
WORD
UINT
UINT
%long --pointer
DWORD_PTR
%%wineoss.drv
%%wineoss.drv
%long
%long
DWORD
DWORD
HDRVR
HDRVR
LONG
LPARAM
LRESULT
UINT
UINT
WORD
WORD
%long --pointer
DWORD_PTR
%%wineps.drv
%%wineps.drv
%long
%long
...
...
tools/winapi/winapi_function.pm
View file @
74ce0d36
...
@@ -309,7 +309,7 @@ sub calling_convention16($) {
...
@@ -309,7 +309,7 @@ sub calling_convention16($) {
}
elsif
(
/^(?:VFWAPIV|WINAPIV)$/
)
{
}
elsif
(
/^(?:VFWAPIV|WINAPIV)$/
)
{
if
(
!
defined
(
$suffix
))
{
return
undef
;
}
if
(
!
defined
(
$suffix
))
{
return
undef
;
}
return
"pascal$suffix"
;
# FIXME: Is this correct?
return
"pascal$suffix"
;
# FIXME: Is this correct?
}
elsif
(
/^(?:__stdcall|__RPC_STUB|NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
}
elsif
(
/^(?:__stdcall|__RPC_STUB|
__RPC_USER|
NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
if
(
!
defined
(
$suffix
))
{
return
undef
;
}
if
(
!
defined
(
$suffix
))
{
return
undef
;
}
return
"pascal$suffix"
;
return
"pascal$suffix"
;
}
elsif
(
$_
eq
"__asm"
)
{
}
elsif
(
$_
eq
"__asm"
)
{
...
@@ -327,7 +327,7 @@ sub calling_convention32($) {
...
@@ -327,7 +327,7 @@ sub calling_convention32($) {
return
"cdecl"
;
return
"cdecl"
;
}
elsif
(
/^(?:VFWAPIV|WINAPIV)$/
)
{
}
elsif
(
/^(?:VFWAPIV|WINAPIV)$/
)
{
return
"varargs"
;
return
"varargs"
;
}
elsif
(
/^(?:__stdcall|__RPC_STUB|NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
}
elsif
(
/^(?:__stdcall|__RPC_STUB|
__RPC_USER|
NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
return
"stdcall"
;
return
"stdcall"
;
}
elsif
(
$_
eq
"__asm"
)
{
}
elsif
(
$_
eq
"__asm"
)
{
return
"asm"
;
return
"asm"
;
...
...
tools/winapi/winapi_local.pm
View file @
74ce0d36
...
@@ -85,7 +85,7 @@ sub _check_function($$$$$$) {
...
@@ -85,7 +85,7 @@ sub _check_function($$$$$$) {
$implemented_calling_convention
=
"cdecl"
;
$implemented_calling_convention
=
"cdecl"
;
}
elsif
(
$calling_convention
=~
/^(?:VFWAPIV|WINAPIV)$/
)
{
}
elsif
(
$calling_convention
=~
/^(?:VFWAPIV|WINAPIV)$/
)
{
$implemented_calling_convention
=
"varargs"
;
$implemented_calling_convention
=
"varargs"
;
}
elsif
(
$calling_convention
=~
/^(?:__stdcall|__RPC_STUB|NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
}
elsif
(
$calling_convention
=~
/^(?:__stdcall|__RPC_STUB|
__RPC_USER|
NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
if
(
defined
(
$implemented_return_kind
)
&&
$implemented_return_kind
=~
/^(?:s_word|word|void)$/
)
{
if
(
defined
(
$implemented_return_kind
)
&&
$implemented_return_kind
=~
/^(?:s_word|word|void)$/
)
{
$implemented_calling_convention
=
"pascal16"
;
$implemented_calling_convention
=
"pascal16"
;
}
else
{
}
else
{
...
@@ -101,7 +101,7 @@ sub _check_function($$$$$$) {
...
@@ -101,7 +101,7 @@ sub _check_function($$$$$$) {
$implemented_calling_convention
=
"cdecl"
;
$implemented_calling_convention
=
"cdecl"
;
}
elsif
(
$calling_convention
=~
/^(?:VFWAPIV|WINAPIV)$/
)
{
}
elsif
(
$calling_convention
=~
/^(?:VFWAPIV|WINAPIV)$/
)
{
$implemented_calling_convention
=
"varargs"
;
$implemented_calling_convention
=
"varargs"
;
}
elsif
(
$calling_convention
=~
/^(?:__stdcall|__RPC_STUB|NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
}
elsif
(
$calling_convention
=~
/^(?:__stdcall|__RPC_STUB|
__RPC_USER|
NET_API_FUNCTION|RPC_ENTRY|VFWAPI|WINAPI|CALLBACK)$/
)
{
if
(
defined
(
$implemented_return_kind
)
&&
$implemented_return_kind
eq
"longlong"
)
{
if
(
defined
(
$implemented_return_kind
)
&&
$implemented_return_kind
eq
"longlong"
)
{
$implemented_calling_convention
=
"stdcall"
;
# FIXME: Check entry flags
$implemented_calling_convention
=
"stdcall"
;
# FIXME: Check entry flags
}
else
{
}
else
{
...
...
tools/winapi/winapi_parser.pm
View file @
74ce0d36
...
@@ -373,7 +373,7 @@ sub parse_c_file($$) {
...
@@ -373,7 +373,7 @@ sub parse_c_file($$) {
}
}
next
;
next
;
}
elsif
(
/
(
extern
\
s
+|
static
\
s
+
)?((
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
signed
\
s
+|
unsigned
\
s
+
)?
\
w
+
((
\
s
*\*
)
+\
s
*|\
s
+
))
}
elsif
(
/
(
extern
\
s
+|
static
\
s
+
)?((
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
signed
\
s
+|
unsigned
\
s
+
)?
\
w
+
((
\
s
*\*
)
+\
s
*|\
s
+
))
((
__cdecl
|
__stdcall
|
__RPC_STUB
|
CDECL
|
NET_API_FUNCTION
|
RPC_ENTRY
|
VFWAPIV
|
VFWAPI
|
WINAPIV
|
WINAPI
|
CALLBACK
)
\
s
+
)?
((
__cdecl
|
__stdcall
|
__RPC_STUB
|
__RPC_USER
|
CDECL
|
NET_API_FUNCTION
|
RPC_ENTRY
|
VFWAPIV
|
VFWAPI
|
WINAPIV
|
WINAPI
|
CALLBACK
)
\
s
+
)?
(
\
w
+
(
\
(
\
w
+\
))?)
\
s
*\
((
.*
?)
\
)
\
s
*
(
\
{
|\
;)
/
sx
)
(
\
w
+
(
\
(
\
w
+\
))?)
\
s
*\
((
.*
?)
\
)
\
s
*
(
\
{
|\
;)
/
sx
)
{
{
my
@lines
=
split
(
/\n/
,
$&
);
my
@lines
=
split
(
/\n/
,
$&
);
...
@@ -449,8 +449,8 @@ sub parse_c_file($$) {
...
@@ -449,8 +449,8 @@ sub parse_c_file($$) {
((?:
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
register
\
s
+|
(?:
signed
\
s
+|
unsigned
\
s
+
)
((?:
struct
\
s
+|
union
\
s
+|
enum
\
s
+|
register
\
s
+|
(?:
signed
\
s
+|
unsigned
\
s
+
)
(?:
short
\
s
+
(?
=
int
)
|
long
\
s
+
(?
=
int
))?)?
\
w
+
)
\
s
*
(?:
short
\
s
+
(?
=
int
)
|
long
\
s
+
(?
=
int
))?)?
\
w
+
)
\
s
*
((?:
const
|
volatile
)?
\
s
*
(?:
\*\
s
*
(?:
const
|
volatile
)?
\
s
*
?)
*
)
\
s
*
((?:
const
|
volatile
)?
\
s
*
(?:
\*\
s
*
(?:
const
|
volatile
)?
\
s
*
?)
*
)
\
s
*
(?:
__cdecl
\
s
+|
__stdcall
\
s
+|
__RPC_STUB
\
s
+|
CALLBACK
\
s
+|
CDECL
\
s
+|
NET_API_FUNCTION
\
s
+|
RPC_ENTRY
\
s
+|
STDMETHODCALLTYPE
\
s
+|
VFWAPIV
\
s
+|
VFWAPI
\
s
+|
WINAPIV
\
s
+|
WINAPI
\
s
+
)?
(?:
__cdecl
\
s
+|
__stdcall
\
s
+|
__RPC_STUB
\
s
+|
__RPC_USER
\
s
+|
CALLBACK
\
s
+|
CDECL
\
s
+|
NET_API_FUNCTION
\
s
+|
RPC_ENTRY
\
s
+|
STDMETHODCALLTYPE
\
s
+|
VFWAPIV
\
s
+|
VFWAPI
\
s
+|
WINAPIV
\
s
+|
WINAPI
\
s
+
)?
\
(
\
s
*
(?:
__cdecl
|
__stdcall
|
__RPC_STUB
|
CALLBACK
|
CDECL
|
NET_API_FUNCTION
|
RPC_ENTRY
|
STDMETHODCALLTYPE
|
VFWAPIV
|
VFWAPI
|
WINAPIV
|
WINAPI
)?
\
s
*\*\
s
*
((?:
\
w
+
)?)
\
s
*\
)
\
s
*
\
(
\
s
*
(?:
__cdecl
|
__stdcall
|
__RPC_STUB
|
__RPC_USER
\
s
+|
CALLBACK
|
CDECL
|
NET_API_FUNCTION
|
RPC_ENTRY
|
STDMETHODCALLTYPE
|
VFWAPIV
|
VFWAPI
|
WINAPIV
|
WINAPI
)?
\
s
*\*\
s
*
((?:
\
w
+
)?)
\
s
*\
)
\
s
*
\
(
\
s
*
(
.*
?)
\
s
*\
)
$
/
x
)
\
(
\
s
*
(
.*
?)
\
s
*\
)
$
/
x
)
{
{
my
$return_type
=
$1
;
my
$return_type
=
$1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment