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
5694feee
Commit
5694feee
authored
Aug 09, 2002
by
Patrik Stridvall
Committed by
Alexandre Julliard
Aug 09, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API file update.
parent
ec7d7b72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
10 deletions
+58
-10
win32.api
tools/winapi/win32.api
+31
-5
winapi.pm
tools/winapi/winapi.pm
+15
-4
modules.dat
tools/winapi_check/modules.dat
+8
-0
winapi_check
tools/winapi_check/winapi_check
+4
-1
No files found.
tools/winapi/win32.api
View file @
5694feee
...
...
@@ -284,6 +284,8 @@ LPWSTR
%long
int
size_t
unsigned int
%ptr
...
...
@@ -1187,6 +1189,8 @@ ULONGLONG
%ptr
EXCEPTION_FRAME *
EXCEPTION_FRAME **
MSVCRT_EXCEPTION_FRAME *
MSVCRT_FILE *
MSVCRT_compar_fn_t
...
...
@@ -1220,11 +1224,10 @@ bad_typeid *
char *
char **
char ***
cxx_exception_type *
exception *
int *
struct MSVCRT_tm *
struct __EXCEPTION_FRAME *
struct __EXCEPTION_FRAME **
struct _diskfree_t *
struct _finddata_t *
struct _stat *
...
...
@@ -1429,6 +1432,7 @@ VOID *
struct _TEB *
union cptable *
void *
wine_signal_handler
%ptr --extension
...
...
@@ -1541,6 +1545,7 @@ LPFORMATETC
LPGUID
LPLOCKBYTES *
LPMALLOC *
LPMALLOCSPY
LPMARSHAL *
LPMESSAGEFILTER
LPMESSAGEFILTER *
...
...
@@ -2220,7 +2225,6 @@ IUnknown **
LPBROWSEINFOW
LPBYTE
LPCITEMIDLIST
LPCLSID
LPCSHLWAPI_CLIST
LPCSTR *
LPCVOID
...
...
@@ -2233,17 +2237,17 @@ LPITEMIDLIST
LPOPENFILENAMEW
LPPAGESETUPDLGW
LPPRINTDLGW
LPSECURITY_ATTRIBUTES
LPSHELLEXECUTEINFOW
LPSHFILEOPSTRUCTW
LPSHLWAPI_CLIST
LPSHLWAPI_CLIST *
LPSTRRET
LP
UNKNOWN *
LP
THREAD_START_ROUTINE
LPVOID
LPVOID *
LPWORD
LPWSTR *
PACL
PHUSKEY
PLONG
PSECURITY_DESCRIPTOR
...
...
@@ -2253,6 +2257,7 @@ REFIID
SHFILEINFOW *
UINT *
ULARGE_INTEGER *
VOID *
WNDCLASSA *
unsigned char *
va_list
...
...
@@ -2671,6 +2676,16 @@ LONG
UINT
WORD
%%wineaudioio.drv
%long
DWORD
HDRVR
LONG
UINT
WORD
%%winedos.dll
%long
...
...
@@ -2703,6 +2718,16 @@ LPARAM
LRESULT
UINT
%%winenas.drv
%long
DWORD
HDRVR
LONG
WORD
UINT
%%wineoss.drv
%long
...
...
@@ -2777,6 +2802,7 @@ FILETIME
HANDLE
HINTERNET
HRESULT
HWND
INTERNET_PORT
%ptr
...
...
tools/winapi/winapi.pm
View file @
5694feee
...
...
@@ -250,7 +250,7 @@ sub parse_spec_file {
my
$ordinal
;
if
(
/^
(
\
d
+|
@
)
\
s
+
(
pascal
|
pascal16
|
stdcall
|
cdecl
|
varargs
)
\
s
+
((?:(?:
-
noimport
|-
norelay
|-
i386
|-
ret64
|-
register
|-
interrupt
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
+
)
$
/
x
)
((?:(?:
-
noimport
|-
no
name
|-
no
relay
|-
i386
|-
ret64
|-
register
|-
interrupt
)
\
s
+
)
*
)(
\
S
+
)
\
s
*\
(
\
s
*
(
.*
?)
\
s
*\
)
\
s
*
(
\
S
+
)
$
/
x
)
{
my
$calling_convention
=
$2
;
my
$flags
=
$3
;
...
...
@@ -262,6 +262,10 @@ sub parse_spec_file {
$flags
=~
s/\s+/ /g
;
if
(
$flags
=~
/-noname/
)
{
# $external_name = "@";
}
if
(
$flags
=~
/(?:-register|-interrupt)/
)
{
if
(
$arguments
)
{
$arguments
.=
" "
;
}
$arguments
.=
"ptr"
;
...
...
@@ -338,11 +342,18 @@ sub parse_spec_file {
}
}
}
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(?:-noimport|-norelay|-i386|-ret64))?\s+(\S+)$/
)
{
my
$external_name
=
$2
;
}
elsif
(
/^(\d+|@)\s+stub(?:\s+(-noimport|-noname|-norelay|-i386|-ret64))?\s+(\S+)$/
)
{
$ordinal
=
$1
;
my
$flags
=
$2
;
my
$external_name
=
$3
;
$flags
=
""
if
!
defined
(
$flags
);
if
(
$flags
=~
/-noname/
)
{
# $external_name = "@";
}
my
$internal_name
=
$external_name
;
if
(
$external_name
ne
"@"
)
{
...
...
tools/winapi_check/modules.dat
View file @
5694feee
...
...
@@ -535,6 +535,14 @@ dlls/winmm/winearts
dlls/winmm/winealsa
% dlls/winmm/wineaudioio/wineaudioio.drv.spec
dlls/winmm/wineaudioio
% dlls/winmm/winenas/winenas.drv.spec
dlls/winmm/winenas
% dlls/winmm/wineoss/wineoss.drv.spec
dlls/winmm/wineoss
...
...
tools/winapi_check/winapi_check
View file @
5694feee
...
...
@@ -561,7 +561,9 @@ foreach my $file (@c_files) {
if
(
$check_protection
&&
$header
)
{
if
((
-
e
"$wine_dir/include/$header"
||
-
e
"$wine_dir/$file_dir/$header"
))
{
if
(
$header
!~
/^(oleauto\.h|win(?:base|def|error|gdi|nls|nt|user)\.h)$/
)
{
if
(
$header
!~
/^(oleauto\.h|win(?:base|def|error|gdi|nls|nt|user)\.h)$/
&&
$file_dir
!~
/tests$/
)
{
$output
->
write
(
"$file: #include \<$header\> is a local include\n"
);
}
}
...
...
@@ -577,6 +579,7 @@ foreach my $file (@c_files) {
}
elsif
(
$macro
=~
/^HAVE_(.*?)_H$/
)
{
my
$name
=
$1
;
if
(
$header
!~
/^alloca\.h|sys\/time\.h|unistd\.h$/
&&
$file_dir
!~
/tests$/
&&
!
$preprocessor
->
is_def
(
"STATFS_DEFINED_BY_$name"
))
{
$output
->
write
(
"$file: #$directive $argument: is a conditional include, "
.
...
...
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