Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
4715b802
Commit
4715b802
authored
Jan 02, 2003
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jan 02, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- API files update.
- Minor improvement and bug fixes.
parent
ca70e84f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
183 additions
and
28 deletions
+183
-28
win16.api
tools/winapi/win16.api
+37
-1
win32.api
tools/winapi/win32.api
+102
-10
winapi.pm
tools/winapi/winapi.pm
+13
-0
modules.dat
tools/winapi_check/modules.dat
+17
-5
winapi_check
tools/winapi_check/winapi_check
+13
-11
winapi_local.pm
tools/winapi_check/winapi_local.pm
+1
-1
No files found.
tools/winapi/win16.api
View file @
4715b802
...
@@ -1234,7 +1234,7 @@ void
...
@@ -1234,7 +1234,7 @@ void
void
void
%%wineps16.d
ll
%%wineps16.d
rv
%long
%long
...
@@ -1297,6 +1297,42 @@ BOOL
...
@@ -1297,6 +1297,42 @@ BOOL
HWND16
HWND16
%%wintab.dll
%long
DWORD
LPARAM
LRESULT
%ptr
LPBYTE
LPINT16
LPLOGCONTEXT16
LPVOID
LPWTHOOKPROC16
UINT16 *
WTCONFIGPROC16
WTENUMPROC16
WTHOOKPROC16
%str
LPSTR
%word
BOOL16
HCTX16
HMGR16
HWND16
HWTHOOK16
INT16
UINT16
WPARAM16
%%winsock.dll
%%winsock.dll
%long
%long
...
...
tools/winapi/win32.api
View file @
4715b802
...
@@ -17,6 +17,8 @@ NTSTATUS
...
@@ -17,6 +17,8 @@ NTSTATUS
POLICY_INFORMATION_CLASS
POLICY_INFORMATION_CLASS
REGSAM
REGSAM
SC_HANDLE
SC_HANDLE
SC_STATUS_TYPE
SE_OBJECT_TYPE
SECURITY_IMPERSONATION_LEVEL
SECURITY_IMPERSONATION_LEVEL
SECURITY_INFORMATION
SECURITY_INFORMATION
SERVICE_STATUS_HANDLE
SERVICE_STATUS_HANDLE
...
@@ -53,8 +55,11 @@ LPSERVICE_TABLE_ENTRYA
...
@@ -53,8 +55,11 @@ LPSERVICE_TABLE_ENTRYA
LPSERVICE_TABLE_ENTRYW
LPSERVICE_TABLE_ENTRYW
LPVOID
LPVOID
LPVOID *
LPVOID *
LPWSTR *
PACL
PACL
PACL *
PACL *
PACTRL_ACCESSW *
PACTRL_AUDITW *
PBOOL
PBOOL
PDWORD
PDWORD
PGENERIC_MAPPING
PGENERIC_MAPPING
...
@@ -164,8 +169,10 @@ LPWSTR
...
@@ -164,8 +169,10 @@ LPWSTR
%long
%long
BOOL
BOOL
DWORD
HFCI
HFCI
HFDI
HFDI
HRESULT
INT_PTR
INT_PTR
TCOMP
TCOMP
USHORT
USHORT
...
@@ -173,6 +180,7 @@ int
...
@@ -173,6 +180,7 @@ int
%ptr
%ptr
DLLVERSIONINFO *
PCCAB
PCCAB
PERF
PERF
PFDICABINETINFO
PFDICABINETINFO
...
@@ -201,6 +209,10 @@ PFNWRITE
...
@@ -201,6 +209,10 @@ PFNWRITE
char *
char *
void *
void *
%str
LPCSTR
%%comcat.dll
%%comcat.dll
%long
%long
...
@@ -405,6 +417,26 @@ HDC
...
@@ -405,6 +417,26 @@ HDC
void
void
%%d3dx8.dll
%long
DWORD
HFONT
HRESULT
UINT
%ptr
LPD3DXBUFFER *
LPDIRECT3DDEVICE8
LPCVOID
LPD3DXFONT *
%str
LPSTR
%%ddraw.dll
%%ddraw.dll
%long
%long
...
@@ -893,6 +925,7 @@ LPCVOID
...
@@ -893,6 +925,7 @@ LPCVOID
LPDCB
LPDCB
LPDEBUG_EVENT
LPDEBUG_EVENT
LPDWORD
LPDWORD
LPFIBER_START_ROUTINE
LPFILETIME
LPFILETIME
LPINPUT_RECORD
LPINPUT_RECORD
LPLDT_ENTRY
LPLDT_ENTRY
...
@@ -964,7 +997,6 @@ BUILTIN16_DESCRIPTOR *
...
@@ -964,7 +997,6 @@ BUILTIN16_DESCRIPTOR *
FARPROC16
FARPROC16
UINT16 *
UINT16 *
SEGPTR
SEGPTR
struct DPMI_segments *
%str
%str
...
@@ -1270,7 +1302,7 @@ MSVCRT_clock_t
...
@@ -1270,7 +1302,7 @@ MSVCRT_clock_t
MSVCRT_complex
MSVCRT_complex
MSVCRT_size_t
MSVCRT_size_t
MSVCRT_time_t
MSVCRT_time_t
WCHAR
MSVCRT_wchar_t
int
int
long
long
unsigned int
unsigned int
...
@@ -1280,6 +1312,7 @@ unsigned long
...
@@ -1280,6 +1312,7 @@ unsigned long
LONGLONG
LONGLONG
ULONGLONG
ULONGLONG
__int64
%ptr
%ptr
...
@@ -1287,7 +1320,6 @@ EXCEPTION_FRAME *
...
@@ -1287,7 +1320,6 @@ EXCEPTION_FRAME *
EXCEPTION_FRAME **
EXCEPTION_FRAME **
MSVCRT_EXCEPTION_FRAME *
MSVCRT_EXCEPTION_FRAME *
MSVCRT_FILE *
MSVCRT_FILE *
MSVCRT_compar_fn_t
MSVCRT_exception *
MSVCRT_exception *
MSVCRT_fpos_t *
MSVCRT_fpos_t *
MSVCRT_free_func
MSVCRT_free_func
...
@@ -1296,15 +1328,15 @@ MSVCRT_matherr_func
...
@@ -1296,15 +1328,15 @@ MSVCRT_matherr_func
MSVCRT_new_handler_func
MSVCRT_new_handler_func
MSVCRT_sig_handler_func
MSVCRT_sig_handler_func
MSVCRT_time_t *
MSVCRT_time_t *
MSVCRT_wchar_t *
MSVCRT_wchar_t **
MSVCRT_wchar_t ***
MSVCRT_wint_t
MSVCRT_wint_t
PCONTEXT
PCONTEXT
PEXCEPTION_FRAME
PEXCEPTION_FRAME
PEXCEPTION_FRAME *
PEXCEPTION_FRAME *
PEXCEPTION_POINTERS
PEXCEPTION_POINTERS
PEXCEPTION_RECORD
PEXCEPTION_RECORD
WCHAR *
WCHAR **
WCHAR ***
WORD **
WORD **
_HEAPINFO *
_HEAPINFO *
_INITTERMFUN *
_INITTERMFUN *
...
@@ -1313,7 +1345,6 @@ __non_rtti_object *
...
@@ -1313,7 +1345,6 @@ __non_rtti_object *
_onexit_t
_onexit_t
_onexit_t **
_onexit_t **
_se_translator_function
_se_translator_function
_stati64 *
bad_cast *
bad_cast *
bad_typeid *
bad_typeid *
char *
char *
...
@@ -1326,6 +1357,7 @@ struct MSVCRT_tm *
...
@@ -1326,6 +1357,7 @@ struct MSVCRT_tm *
struct _diskfree_t *
struct _diskfree_t *
struct _finddata_t *
struct _finddata_t *
struct _stat *
struct _stat *
struct _stati64 *
struct _timeb *
struct _timeb *
struct _utimbuf *
struct _utimbuf *
struct _wfinddata_t *
struct _wfinddata_t *
...
@@ -1397,10 +1429,16 @@ LPBITMAPINFO
...
@@ -1397,10 +1429,16 @@ LPBITMAPINFO
LPBITMAPINFOHEADER
LPBITMAPINFOHEADER
LPDWORD
LPDWORD
LPVOID
LPVOID
PCOMPVARS
%str
%str
LPCSTR
LPCSTR
LPSTR
%void
void
%wstr
%wstr
...
@@ -1416,6 +1454,7 @@ NET_API_STATUS
...
@@ -1416,6 +1454,7 @@ NET_API_STATUS
%ptr
%ptr
LPBYTE
LPBYTE *
LPBYTE *
LPDWORD
LPDWORD
LPVOID
LPVOID
...
@@ -1527,6 +1566,9 @@ PIMAGE_SECTION_HEADER
...
@@ -1527,6 +1566,9 @@ PIMAGE_SECTION_HEADER
PIO_APC_ROUTINE
PIO_APC_ROUTINE
PIO_STATUS_BLOCK
PIO_STATUS_BLOCK
PLARGE_INTEGER
PLARGE_INTEGER
PLPCMESSAGE
PLPCSECTIONINFO
PLPCSECTIONMAPINFO
PLUID
PLUID
POBJDIR_INFORMATION
POBJDIR_INFORMATION
POBJECT_ATTRIBUTES
POBJECT_ATTRIBUTES
...
@@ -2107,9 +2149,11 @@ MIDL_STUB_MESSAGE *
...
@@ -2107,9 +2149,11 @@ MIDL_STUB_MESSAGE *
PFORMAT_STRING
PFORMAT_STRING
PMIDL_STUB_DESC
PMIDL_STUB_DESC
PMIDL_STUB_MESSAGE
PMIDL_STUB_MESSAGE
PRPC_BINDING_VECTOR
PRPC_MESSAGE
PRPC_MESSAGE
PRPC_POLICY
PRPC_POLICY
PRPCOLEMESSAGE
PRPCOLEMESSAGE
PUUID_VECTOR
ProxyFileInfo **
ProxyFileInfo **
REFCLSID
REFCLSID
REFIID
REFIID
...
@@ -2123,6 +2167,8 @@ RPC_STATUS *
...
@@ -2123,6 +2167,8 @@ RPC_STATUS *
UUID *
UUID *
unsigned char *
unsigned char *
unsigned char **
unsigned char **
unsigned short *
unsigned short **
void *
void *
%str
%str
...
@@ -2308,6 +2354,7 @@ LPSHELLEXECUTEINFOA
...
@@ -2308,6 +2354,7 @@ LPSHELLEXECUTEINFOA
LPSHELLEXECUTEINFOW
LPSHELLEXECUTEINFOW
LPSHELLFLAGSTATE
LPSHELLFLAGSTATE
LPSHELLFOLDER
LPSHELLFOLDER
LPSHELLSTATE
LPSHELLVIEW *
LPSHELLVIEW *
LPSHFILEOPSTRUCTA
LPSHFILEOPSTRUCTA
LPSHFILEOPSTRUCTW
LPSHFILEOPSTRUCTW
...
@@ -2397,6 +2444,7 @@ DLLVERSIONINFO *
...
@@ -2397,6 +2444,7 @@ DLLVERSIONINFO *
DWORD *
DWORD *
HICON *
HICON *
HKEY *
HKEY *
HWND *
IBindCtx *
IBindCtx *
IConnectionPoint **
IConnectionPoint **
IFACE_INDEX_TBL *
IFACE_INDEX_TBL *
...
@@ -2439,7 +2487,6 @@ LPWSTR *
...
@@ -2439,7 +2487,6 @@ LPWSTR *
OLECMD *
OLECMD *
OLECMDTEXT *
OLECMDTEXT *
PHUSKEY
PHUSKEY
PHWND
PLONG
PLONG
PSECURITY_DESCRIPTOR
PSECURITY_DESCRIPTOR
PVOID
PVOID
...
@@ -2751,8 +2798,6 @@ LPBYTE
...
@@ -2751,8 +2798,6 @@ LPBYTE
LPCDLGTEMPLATEA
LPCDLGTEMPLATEA
LPCDLGTEMPLATEW
LPCDLGTEMPLATEW
LPCMENUINFO
LPCMENUINFO
LPCONVCONTEXT
LPCONVINFO
LPCVOID
LPCVOID
LPDEVMODEA
LPDEVMODEA
LPDEVMODEW
LPDEVMODEW
...
@@ -2783,6 +2828,8 @@ MONITORENUMPROC
...
@@ -2783,6 +2828,8 @@ MONITORENUMPROC
MSG *
MSG *
PAINTSTRUCT *
PAINTSTRUCT *
PCOMBOBOXINFO
PCOMBOBOXINFO
PCONVCONTEXT
PCONVINFO
PCURSORINFO
PCURSORINFO
PDWORD_PTR
PDWORD_PTR
PFNCALLBACK
PFNCALLBACK
...
@@ -2925,6 +2972,16 @@ LPCSTR
...
@@ -2925,6 +2972,16 @@ LPCSTR
void
void
%%winejack.drv
%long
DWORD
HDRVR
LONG
UINT
WORD
%%winemp3.acm
%%winemp3.acm
%long
%long
...
@@ -3037,6 +3094,7 @@ LPINTERNET_BUFFERSW
...
@@ -3037,6 +3094,7 @@ LPINTERNET_BUFFERSW
LPINTERNET_CACHE_ENTRY_INFOA
LPINTERNET_CACHE_ENTRY_INFOA
LPINTERNET_CACHE_ENTRY_INFOW
LPINTERNET_CACHE_ENTRY_INFOW
LPURL_COMPONENTSA
LPURL_COMPONENTSA
LPURL_COMPONENTSW
LPVOID
LPVOID
LPWIN32_FIND_DATAA
LPWIN32_FIND_DATAA
LPWIN32_FIND_DATAW
LPWIN32_FIND_DATAW
...
@@ -3178,6 +3236,40 @@ LPSTR
...
@@ -3178,6 +3236,40 @@ LPSTR
LPCWSTR
LPCWSTR
LPWSTR
LPWSTR
%%wintab32.dll
%long
BOOL
DWORD
LPARAM
LRESULT
HCTX
HMGR
HWND
HWTHOOK
UINT
WPARAM
int
%ptr
LPBYTE
LPINT
LPLOGCONTEXTA
LPLOGCONTEXTW
LPVOID
UINT *
WTENUMPROC
%str
LPSTR
%wstr
LPWSTR
%%wintrust.dll
%%wintrust.dll
%long
%long
...
...
tools/winapi/winapi.pm
View file @
4715b802
...
@@ -293,6 +293,19 @@ sub parse_spec_file {
...
@@ -293,6 +293,19 @@ sub parse_spec_file {
$calling_convention
.=
" -register"
;
$calling_convention
.=
" -register"
;
}
}
if
(
$internal_name
=~
/^(.*?)\.(.*?)$/
)
{
my
$forward_module
=
$1
;
my
$forward_name
=
$2
;
if
(
0
)
{
$calling_convention
.=
" -forward"
;
}
else
{
$calling_convention
=
"forward"
;
}
$$function_forward
{
$module
}{
$external_name
}
=
[
$forward_module
,
$forward_name
];
}
if
(
$external_name
ne
"@"
)
{
if
(
$external_name
ne
"@"
)
{
$$module_external_calling_convention
{
$module
}{
$external_name
}
=
$calling_convention
;
$$module_external_calling_convention
{
$module
}{
$external_name
}
=
$calling_convention
;
}
else
{
}
else
{
...
...
tools/winapi_check/modules.dat
View file @
4715b802
...
@@ -48,6 +48,10 @@ dlls/crypt32
...
@@ -48,6 +48,10 @@ dlls/crypt32
dlls/d3d8
dlls/d3d8
% dlls/d3dx8/d3dx8.spec
dlls/d3dx8
% dlls/dciman32/dciman32.spec
% dlls/dciman32/dciman32.spec
dlls/dciman32
dlls/dciman32
...
@@ -484,15 +488,11 @@ dlls/winaspi
...
@@ -484,15 +488,11 @@ dlls/winaspi
dlls/winedos
dlls/winedos
% dlls/winedos/winedos16.spec
dlls/winedos
% dlls/wineps/wineps.spec
% dlls/wineps/wineps.spec
dlls/wineps
dlls/wineps
% dlls/wineps/wineps16.spec
% dlls/wineps/wineps16.
drv.
spec
dlls/wineps
dlls/wineps
...
@@ -548,6 +548,10 @@ dlls/winmm/winealsa
...
@@ -548,6 +548,10 @@ dlls/winmm/winealsa
dlls/winmm/wineaudioio
dlls/winmm/wineaudioio
% dlls/winmm/winejack/winejack.drv.spec
dlls/winmm/winejack
% dlls/winmm/winenas/winenas.drv.spec
% dlls/winmm/winenas/winenas.drv.spec
dlls/winmm/winenas
dlls/winmm/winenas
...
@@ -574,6 +578,14 @@ dlls/winnls
...
@@ -574,6 +578,14 @@ dlls/winnls
dlls/winsock
dlls/winsock
% dlls/wintab32/wintab.spec
dlls/wintab32
% dlls/wintab32/wintab32.spec
dlls/wintab32
% dlls/winsock/ws2_32.spec
% dlls/winsock/ws2_32.spec
dlls/winsock
dlls/winsock
...
...
tools/winapi_check/winapi_check
View file @
4715b802
...
@@ -42,10 +42,12 @@ use config qw(
...
@@ -42,10 +42,12 @@ use config qw(
use
output
qw($output)
;
use
output
qw($output)
;
use
winapi_check_options
qw($options)
;
use
winapi_check_options
qw($options)
;
if
(
$options
->
progress
)
{
BEGIN
{
$output
->
enable_progress
;
if
(
$options
->
progress
)
{
}
else
{
$output
->
enable_progress
;
$output
->
disable_progress
;
}
else
{
$output
->
disable_progress
;
}
}
}
use
modules
qw($modules)
;
use
modules
qw($modules)
;
...
@@ -94,7 +96,7 @@ if ($options->global) {
...
@@ -94,7 +96,7 @@ if ($options->global) {
}
}
}
elsif
(
-
e
"$wine_dir/include/$header"
)
{
}
elsif
(
-
e
"$wine_dir/include/$header"
)
{
$include2info
{
$file
}{
includes
}{
"include/$header"
}
++
;
$include2info
{
$file
}{
includes
}{
"include/$header"
}
++
;
}
els
e
{
}
els
if
(
$header
ne
"config.h"
)
{
$output
->
write
(
"$file: #include \"$header\" is not a local include\n"
);
$output
->
write
(
"$file: #include \"$header\" is not a local include\n"
);
}
}
}
}
...
@@ -536,11 +538,11 @@ foreach my $file (@c_files) {
...
@@ -536,11 +538,11 @@ foreach my $file (@c_files) {
}
else
{
}
else
{
$include
=
"$header"
;
$include
=
"$header"
;
}
}
}
elsif
(
$header
eq
"controls.h"
)
{
# FIXME: Kludge
}
elsif
(
$header
=~
/^(?:controls\.h|message\.h)$/
)
{
# FIXME: Kludge
$include
=
"dlls/user/$header"
;
$include
=
"dlls/user/$header"
;
}
elsif
(
$header
eq
"ts_xlib.h"
)
{
# FIXME: Kludge
}
elsif
(
$header
=~
/^(?:ts_xlib\.h|winproc\.h|x11font\.h|)$/
)
{
# FIXME: Kludge
$include
=
"dlls/x11drv/$header"
;
$include
=
"dlls/x11drv/$header"
;
}
elsif
(
$check_local
)
{
}
elsif
(
$check_local
&&
$header
ne
"config.h"
)
{
$output
->
write
(
"$file: #include \"$header\": file not found\n"
);
$output
->
write
(
"$file: #include \"$header\": file not found\n"
);
}
}
...
@@ -611,12 +613,12 @@ foreach my $file (@c_files) {
...
@@ -611,12 +613,12 @@ foreach my $file (@c_files) {
$include2info
{
$name
}{
used
}
++
;
$include2info
{
$name
}{
used
}
++
;
}
}
}
}
}
elsif
(
$header
eq
"controls.h"
)
{
# FIXME: Kludge
}
elsif
(
$header
=~
/^(?:controls\.h|message\.h)$/
)
{
# FIXME: Kludge
$include2info
{
"dlls/user/$header"
}{
used
}
++
;
$include2info
{
"dlls/user/$header"
}{
used
}
++
;
foreach
my
$name
(
keys
(
%
{
$include2info
{
"dlls/user/$header"
}{
includes
}}))
{
foreach
my
$name
(
keys
(
%
{
$include2info
{
"dlls/user/$header"
}{
includes
}}))
{
$include2info
{
$name
}{
used
}
++
;
$include2info
{
$name
}{
used
}
++
;
}
}
}
elsif
(
$header
eq
"ts_xlib.h"
)
{
# FIXME: Kludge
}
elsif
(
$header
=~
/^(?:ts_xlib\.h|winproc\.h|x11font\.h|)$/
)
{
# FIXME: Kludge
$include2info
{
"dlls/x11drv/$header"
}{
used
}
++
;
$include2info
{
"dlls/x11drv/$header"
}{
used
}
++
;
foreach
my
$name
(
keys
(
%
{
$include2info
{
"dlls/user/$header"
}{
includes
}}))
{
foreach
my
$name
(
keys
(
%
{
$include2info
{
"dlls/user/$header"
}{
includes
}}))
{
$include2info
{
$name
}{
used
}
++
;
$include2info
{
$name
}{
used
}
++
;
...
@@ -626,7 +628,7 @@ foreach my $file (@c_files) {
...
@@ -626,7 +628,7 @@ foreach my $file (@c_files) {
foreach
my
$name
(
keys
(
%
{
$include2info
{
"include/$header"
}{
includes
}}))
{
foreach
my
$name
(
keys
(
%
{
$include2info
{
"include/$header"
}{
includes
}}))
{
$include2info
{
$name
}{
used
}
++
;
$include2info
{
$name
}{
used
}
++
;
}
}
}
els
e
{
}
els
if
(
$header
ne
"config.h"
)
{
$output
->
write
(
"$file: #include \"$header\" is not a local include\n"
);
$output
->
write
(
"$file: #include \"$header\" is not a local include\n"
);
}
}
}
}
...
...
tools/winapi_check/winapi_local.pm
View file @
4715b802
...
@@ -412,7 +412,7 @@ sub check_file {
...
@@ -412,7 +412,7 @@ sub check_file {
}
}
if
(
$options
->
cross_call_unicode_ascii
)
{
if
(
$options
->
cross_call_unicode_ascii
)
{
if
(
$name
=~
/W$/
)
{
if
(
$name
=~
/
(?<!A)
W$/
)
{
for
my
$called_name
(
@called_names
)
{
for
my
$called_name
(
@called_names
)
{
if
(
$called_name
=~
/A$/
)
{
if
(
$called_name
=~
/A$/
)
{
$output
->
write
(
"$file: $module: $name: illegal call to $called_name (Unicode -> ASCII)\n"
);
$output
->
write
(
"$file: $module: $name: illegal call to $called_name (Unicode -> ASCII)\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