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
f6d5c6ce
Commit
f6d5c6ce
authored
Apr 25, 2001
by
Patrik Stridvall
Committed by
Alexandre Julliard
Apr 25, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Minor API files update
- Minor bug fixes
parent
6db32501
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
94 additions
and
23 deletions
+94
-23
modules.dat
tools/winapi_check/modules.dat
+6
-0
compobj.api
tools/winapi_check/win16/compobj.api
+1
-0
setupx.api
tools/winapi_check/win16/setupx.api
+6
-0
user.api
tools/winapi_check/win16/user.api
+0
-1
crtdll.api
tools/winapi_check/win32/crtdll.api
+13
-0
kernel32.api
tools/winapi_check/win32/kernel32.api
+1
-0
msvcrt.api
tools/winapi_check/win32/msvcrt.api
+18
-18
ntdll.api
tools/winapi_check/win32/ntdll.api
+1
-1
ole32.api
tools/winapi_check/win32/ole32.api
+1
-0
ttydrv.api
tools/winapi_check/win32/ttydrv.api
+4
-1
user32.api
tools/winapi_check/win32/user32.api
+4
-0
version.api
tools/winapi_check/win32/version.api
+1
-0
wintrust.api
tools/winapi_check/win32/wintrust.api
+9
-0
ws2_32.api
tools/winapi_check/win32/ws2_32.api
+1
-0
x11drv.api
tools/winapi_check/win32/x11drv.api
+6
-1
winapi_check
tools/winapi_check/winapi_check
+20
-0
winapi_documentation.pm
tools/winapi_check/winapi_documentation.pm
+2
-1
No files found.
tools/winapi_check/modules.dat
View file @
f6d5c6ce
...
...
@@ -26,6 +26,8 @@ dlls/commdlg
% dlls/crtdll/crtdll.spec
dlls/crtdll
% dlls/dciman32/dciman32.spec
dlls/dciman32
...
...
@@ -464,6 +466,10 @@ dlls/wsock32
dlls/winspool
% dlls/wintrust/wintrust.spec
dlls/wintrust
% dlls/wow32/wow32.spec
% dlls/x11drv/x11drv.spec
...
...
tools/winapi_check/win16/compobj.api
View file @
f6d5c6ce
...
...
@@ -12,6 +12,7 @@ INT
%ptr
CLSID *
COSERVERINFO *
FILETIME *
GUID *
HTASK16 *
...
...
tools/winapi_check/win16/setupx.api
View file @
f6d5c6ce
...
...
@@ -2,15 +2,18 @@
DWORD
LPARAM
int
%ptr
HINF16 *
LPBYTE
LPDWORD
LPEXPANDVTBL
LPHKEY
LPLOGDISKDESC
LPLPDEVICE_INFO16
LPVOID
VIFPROC
%str
...
...
@@ -31,4 +34,7 @@ HINSTANCE16
HKEY
HWND16
RETERR16
UINT16
VHSTR
WORD
WPARAM
tools/winapi_check/win16/user.api
View file @
f6d5c6ce
...
...
@@ -13,7 +13,6 @@ POINT16
BOOL
INT
UINT
HINSTANCE
%ptr
...
...
tools/winapi_check/win32/crtdll.api
View file @
f6d5c6ce
%long
int
size_t
%ptr
char ***
int *
%void
void
tools/winapi_check/win32/kernel32.api
View file @
f6d5c6ce
...
...
@@ -8,6 +8,7 @@ CALID
CALTYPE
COORD
DWORD
EXECUTION_STATE
LCTYPE
HANDLE
HFILE
...
...
tools/winapi_check/win32/msvcrt.api
View file @
f6d5c6ce
...
...
@@ -8,16 +8,16 @@ DWORD
HANDLE
INT
LONG
MSVCRT_clock_t
MSVCRT_complex
MSVCRT_size_t
MSVCRT_time_t
ULONG
WCHAR
clock_t
int
long
unsigned int
unsigned long
size_t
time_t
%longlong
...
...
@@ -26,24 +26,22 @@ ULONGLONG
%ptr
DWORD *
__non_rtti_object *
_HEAPINFO *
_INITTERMFUN *
_onexit_t
_onexit_t **
LPDWORD *
LPTHREAD_START_ROUTINE
MSVCRT__INITTERMFUN *
MSVCRT_EXCEPTION_FRAME *
MSVCRT_FILE *
MSVCRT_HEAPINFO *
MSVCRT_atexit_func
MSVCRT_atexit_func **
MSVCRT_comp_func
MSVCRT_diskfree_t *
MSVCRT_finddata_t *
MSVCRT_compar_fn_t
MSVCRT_exception *
MSVCRT_fpos_t *
MSVCRT_matherr_func
MSVCRT_new_handler_func
MSVCRT_sig_handler_func
MSVCRT_time
b
*
MSVCRT_w
finddata_t *
MSVCRT_time
_t
*
MSVCRT_w
int_t
PCONTEXT
PEXCEPTION_FRAME
PEXCEPTION_FRAME *
...
...
@@ -53,7 +51,6 @@ WCHAR *
WCHAR **
WCHAR ***
WORD **
__non_rtti_object *
bad_cast *
bad_typeid *
char *
...
...
@@ -62,9 +59,12 @@ char ***
exception *
int *
jmp_buf
struct _finddata_t *
struct _diskfree_t *
struct _stat *
struct _timeb *
struct _utimbuf *
time
_t *
struct _wfinddata
_t *
type_info *
unsigned char *
unsigned int *
...
...
@@ -78,8 +78,8 @@ LPCSTR
%unknown
div_t
ldiv_t
MSVCRT_
div_t
MSVCRT_
ldiv_t
%void
...
...
tools/winapi_check/win32/ntdll.api
View file @
f6d5c6ce
...
...
@@ -114,7 +114,7 @@ WCHAR ***
char *
char ***
enum __DEBUG_CLASS
enum request
union generic_request *
va_list
%str
...
...
tools/winapi_check/win32/ole32.api
View file @
f6d5c6ce
...
...
@@ -54,6 +54,7 @@ LPENUMFORMATETC *
LPENUMOLEVERB *
LPFILETIME
LPFORMATETC
LPGUID
LPLOCKBYTES *
LPMALLOC *
LPMESSAGEFILTER
...
...
tools/winapi_check/win32/ttydrv.api
View file @
f6d5c6ce
...
...
@@ -5,6 +5,9 @@ CHAR
DWORD
INT
HANDLE
HDC
HRGN
HWND
LONG
UINT
WORD
...
...
@@ -18,7 +21,7 @@ int
%ptr
BYTE *
KEYBOARD_CONFIG
*
WINDOWPOS
*
LPBYTE
LPDIDEVICEOBJECTDATA
LPDWORD
...
...
tools/winapi_check/win32/user32.api
View file @
f6d5c6ce
...
...
@@ -143,6 +143,10 @@ DLGPROC16
HOOKPROC16
WNDPROC16
%ptr # --forbidden
int *
%str
LPSTR
...
...
tools/winapi_check/win32/version.api
View file @
f6d5c6ce
%long
BOOL
DWORD
UINT
...
...
tools/winapi_check/win32/wintrust.api
0 → 100644
View file @
f6d5c6ce
%long
HWND
LONG
%ptr
GUID *
LPVOID
tools/winapi_check/win32/ws2_32.api
View file @
f6d5c6ce
...
...
@@ -24,6 +24,7 @@ FARPROC
INT *
LPDWORD
LPVOID
LPWSABUF
LPWSADATA
LPWSAOVERLAPPED
LPWSAOVERLAPPED_COMPLETION_ROUTINE
...
...
tools/winapi_check/win32/x11drv.api
View file @
f6d5c6ce
...
...
@@ -4,6 +4,10 @@ BOOL
CHAR
DWORD
HANDLE
HDC
HICON
HRGN
HWND
INT
LONG
UINT
...
...
@@ -19,12 +23,12 @@ int
BYTE *
CURSORICONINFO *
KEYBOARD_CONFIG *
LPBYTE
LPDIDEVICEOBJECTDATA
LPDWORD
LPMOUSE_EVENT_PROC
LPVOID
WINDOWPOS *
WND *
%str
...
...
@@ -34,6 +38,7 @@ LPSTR
%wstr
LPCWSTR
LPWSTR
%void
...
...
tools/winapi_check/winapi_check
View file @
f6d5c6ce
...
...
@@ -100,6 +100,16 @@ sub file_type {
}
}
sub
file_skip
{
local
$_
=
shift
;
if
(
/agl.c$/
)
{
return
1
;
}
return
0
;
}
my
$modules
=
'modules'
->
new
(
$options
,
$output
,
$wine_dir
,
$current_dir
,
\&
file_type
,
"$winapi_check_dir/modules.dat"
);
my
$win16api
=
'winapi'
->
new
(
$options
,
$output
,
"win16"
,
"$winapi_check_dir/win16"
);
...
...
@@ -268,6 +278,10 @@ foreach my $file ($options->c_files) {
my
$file_type
=
file_type
(
$file
);
if
(
file_skip
(
$file
))
{
next
;
}
my
$found_function
=
sub
{
my
$documentation
=
shift
;
my
$linkage
=
shift
;
...
...
@@ -308,6 +322,11 @@ foreach my $file ($options->c_files) {
$modules
->
found_module_in_dir
(
$module32
,
$file_dir
);
}
my
$previous_function
;
if
(
defined
(
$functions
{
$internal_name
}))
{
$previous_function
=
$functions
{
$internal_name
};
}
my
$function
=
'winapi_function'
->
new
;
$functions
{
$internal_name
}
=
$function
;
...
...
@@ -440,6 +459,7 @@ foreach my $file ($options->c_files) {
}
if
(
$options
->
local
&&
$options
->
documentation
&&
!
defined
(
$previous_function
)
&&
(
defined
(
$module16
)
||
defined
(
$module32
))
&&
$linkage
ne
"extern"
&&
$statements
)
{
...
...
tools/winapi_check/winapi_documentation.pm
View file @
f6d5c6ce
...
...
@@ -129,7 +129,8 @@ sub check_documentation {
}
if
(
$options
->
documentation_pedantic
)
{
if
(
$documentation
!~
/^ \*\s+(?:\@|\w+)(?:\s+\(\w+\.(?:\@|\d+)\))+/m
)
{
my
$ordinal
=
$win16api
->
function_ordinal
(
$internal_name
);
if
(
defined
(
$ordinal
)
&&
$documentation
!~
/^ \*\s+(?:\@|\w+)(?:\s+[\(\[]\w+\.(?:\@|\d+)[\)\]])+/m
)
{
$output
->
write
(
"documentation: pedantic check failed \\\n$documentation\n"
);
}
}
...
...
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