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
d5f824b4
Commit
d5f824b4
authored
Jan 25, 2001
by
Patrik Stridvall
Committed by
Alexandre Julliard
Jan 25, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some issues found by winapi_check.
parent
ad00529b
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
34 additions
and
30 deletions
+34
-30
dga2.c
dlls/ddraw/ddraw/dga2.c
+1
-1
thunks.c
dlls/ddraw/ddraw/thunks.c
+1
-1
user.c
dlls/ddraw/ddraw/user.c
+1
-1
xvidmode.c
dlls/ddraw/ddraw/xvidmode.c
+1
-1
fakezbuffer.c
dlls/ddraw/dsurface/fakezbuffer.c
+2
-2
struct_convert.c
dlls/ddraw/struct_convert.c
+2
-2
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
shdocvw.spec
dlls/shdocvw/shdocvw.spec
+1
-1
win32s16.spec
dlls/win32s/win32s16.spec
+1
-1
dosvm.c
dlls/winedos/dosvm.c
+11
-11
oss.c
dlls/winmm/wineoss/oss.c
+2
-0
dosexe.h
include/dosexe.h
+7
-5
output.c
tools/specmaker/output.c
+2
-2
No files found.
dlls/ddraw/ddraw/dga2.c
View file @
d5f824b4
...
...
@@ -11,7 +11,7 @@
#include "ts_xlib.h"
#include "ts_xf86dga2.h"
#include "x11drv.h"
#include
<ddraw.h>
#include
"ddraw.h"
#include <assert.h>
#include <stdlib.h>
...
...
dlls/ddraw/ddraw/thunks.c
View file @
d5f824b4
/* Direct Draw Thunks and old vtables
* Copyright 2000 TransGaming Technologies Inc.
*/
#include
<ddraw.h>
#include
"ddraw.h"
#include "ddraw_private.h"
#include "ddcomimpl.h"
...
...
dlls/ddraw/ddraw/user.c
View file @
d5f824b4
...
...
@@ -5,7 +5,7 @@
#include "config.h"
#include "debugtools.h"
#include
<ddraw.h>
#include
"ddraw.h"
#include <assert.h>
...
...
dlls/ddraw/ddraw/xvidmode.c
View file @
d5f824b4
...
...
@@ -12,7 +12,7 @@
#include "ts_xlib.h"
#include "ts_xf86vmode.h"
#include "x11drv.h"
#include
<ddraw.h>
#include
"ddraw.h"
#include <assert.h>
#include <stdlib.h>
...
...
dlls/ddraw/dsurface/fakezbuffer.c
View file @
d5f824b4
...
...
@@ -13,8 +13,8 @@
#include <stdlib.h>
#include <assert.h>
#include
<ddraw.h>
#include
<d3d.h>
#include
"ddraw.h"
#include
"d3d.h"
#include "debugtools.h"
...
...
dlls/ddraw/struct_convert.c
View file @
d5f824b4
...
...
@@ -3,10 +3,10 @@
* Copyright 2000 TransGaming Technologies Inc.
*/
#include <ddraw.h>
#include <string.h>
#include "ddraw.h"
#include "ddraw_private.h"
void
DDRAW_Convert_DDSCAPS_1_To_2
(
const
DDSCAPS
*
pIn
,
DDSCAPS2
*
pOut
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
d5f824b4
...
...
@@ -525,7 +525,7 @@ debug_channels (msvcrt)
@ stub _wfindnexti64 #(long ptr)
@ cdecl _wfopen(wstr wstr) MSVCRT__wfopen
@ stub _wfreopen #(wstr wstr ptr)
@ cdecl _wfsopen(wstr wstr) MSVCRT__wfsopen
@ cdecl _wfsopen(wstr wstr
long
) MSVCRT__wfsopen
@ stub _wfullpath #(wstr wstr long)
@ cdecl _wgetcwd(wstr long) MSVCRT__wgetcwd
@ cdecl _wgetdcwd(long wstr long) MSVCRT__wgetdcwd
...
...
@@ -742,7 +742,7 @@ debug_channels (msvcrt)
@ cdecl vprintf(str long) MSVCRT_vprintf
@ cdecl vsprintf(ptr str ptr) vsprintf
@ cdecl vswprintf(wstr wstr long) MSVCRT_vswprintf
@
varargs
vwprintf(wstr long) MSVCRT_vwprintf
@
cdecl
vwprintf(wstr long) MSVCRT_vwprintf
@ forward -noimport wcscat ntdll.wcscat
@ forward -noimport wcschr ntdll.wcschr
@ forward -noimport wcscmp ntdll.wcscmp
...
...
dlls/shdocvw/shdocvw.spec
View file @
d5f824b4
...
...
@@ -21,7 +21,7 @@ debug_channels (shdocvw)
134 stub DoOrganizeFavDlg
144 stub DoOrganizeFavDlgW
106 stub HlinkFindFrame
15
5
stub HlinkFrameNavigate
15
4
stub HlinkFrameNavigate
155 stub HlinkFrameNavigateNHL
156 stub IEWriteErrorLog
157 stub OpenURL
...
...
dlls/win32s/win32s16.spec
View file @
d5f824b4
...
...
@@ -6,7 +6,7 @@ owner w32skrnl
2 pascal16 BootTask() BootTask16
3 stub CREATEPROCESS
4 stub WAITFORDEBUGEVENT
5 pascal C
ONTINUEDEBUGEVENT
(long long long) ContinueDebugEvent
5 pascal C
ontinueDebugEvent
(long long long) ContinueDebugEvent
6 pascal READPROCESSMEMORY(long ptr ptr long ptr) ReadProcessMemory
7 stub WRITEPROCESSMEMORY
8 stub GETTHREADCONTEXT
...
...
dlls/winedos/dosvm.c
View file @
d5f824b4
...
...
@@ -61,7 +61,7 @@ DECLARE_DEBUG_CHANNEL(relay);
typedef
struct
_DOSEVENT
{
int
irq
,
priority
;
void
(
*
relay
)(
CONTEXT86
*
,
void
*
)
;
DOSRELAY
relay
;
void
*
data
;
struct
_DOSEVENT
*
next
;
}
DOSEVENT
,
*
LPDOSEVENT
;
...
...
@@ -213,7 +213,7 @@ static void DOSVM_SendQueuedEvents(CONTEXT86 *context)
DOSVM_SendQueuedEvent
(
context
);
}
void
WINAPI
DOSVM_QueueEvent
(
int
irq
,
int
priority
,
void
(
*
relay
)(
CONTEXT86
*
,
void
*
),
void
*
data
)
void
WINAPI
DOSVM_QueueEvent
(
INT
irq
,
INT
priority
,
DOSRELAY
relay
,
LPVOID
data
)
{
LPDOSEVENT
event
,
cur
,
prev
;
...
...
@@ -413,7 +413,7 @@ static void DOSVM_ProcessMessage(MSG *msg)
}
}
void
WINAPI
DOSVM_Wait
(
int
read_pipe
,
HANDLE
hObject
)
void
WINAPI
DOSVM_Wait
(
INT
read_pipe
,
HANDLE
hObject
)
{
MSG
msg
;
DWORD
waitret
;
...
...
@@ -481,7 +481,7 @@ chk_console_input:
}
while
(
TRUE
);
}
int
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
)
INT
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
)
{
struct
vm86plus_struct
VM86
;
int
stat
,
len
,
sig
;
...
...
@@ -584,7 +584,7 @@ void WINAPI DOSVM_PIC_ioport_out( WORD port, BYTE val)
}
}
void
WINAPI
DOSVM_SetTimer
(
unsigned
ticks
)
void
WINAPI
DOSVM_SetTimer
(
UINT
ticks
)
{
int
stat
=
DOSMOD_SET_TIMER
;
struct
timeval
tim
;
...
...
@@ -608,7 +608,7 @@ void WINAPI DOSVM_SetTimer( unsigned ticks )
}
}
unsigned
WINAPI
DOSVM_GetTimer
(
void
)
UINT
WINAPI
DOSVM_GetTimer
(
void
)
{
int
stat
=
DOSMOD_GET_TIMER
;
struct
timeval
tim
;
...
...
@@ -632,17 +632,17 @@ unsigned WINAPI DOSVM_GetTimer( void )
#else
/* !MZ_SUPPORTED */
int
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
)
INT
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
)
{
ERR_
(
module
)(
"DOS realmode not supported on this architecture!
\n
"
);
return
-
1
;
}
void
WINAPI
DOSVM_Wait
(
int
read_pipe
,
HANDLE
hObject
)
{}
void
WINAPI
DOSVM_Wait
(
INT
read_pipe
,
HANDLE
hObject
)
{}
void
WINAPI
DOSVM_PIC_ioport_out
(
WORD
port
,
BYTE
val
)
{}
void
WINAPI
DOSVM_SetTimer
(
unsigned
ticks
)
{}
unsigned
WINAPI
DOSVM_GetTimer
(
void
)
{
return
0
;
}
void
WINAPI
DOSVM_QueueEvent
(
int
irq
,
int
priority
,
void
(
*
relay
)(
CONTEXT86
*
,
void
*
),
void
*
data
)
void
WINAPI
DOSVM_SetTimer
(
UINT
ticks
)
{}
UINT
WINAPI
DOSVM_GetTimer
(
void
)
{
return
0
;
}
void
WINAPI
DOSVM_QueueEvent
(
INT
irq
,
INT
priority
,
DOSRELAY
relay
,
LPVOID
data
)
{
if
(
irq
<
0
)
{
/* callback event, perform it with dummy context */
...
...
dlls/winmm/wineoss/oss.c
View file @
d5f824b4
...
...
@@ -5,6 +5,8 @@
* Copyright 1999 Eric Pouech
*/
#include "config.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
...
...
include/dosexe.h
View file @
d5f824b4
...
...
@@ -13,6 +13,8 @@
struct
_DOSEVENT
;
typedef
void
(
*
DOSRELAY
)(
CONTEXT86
*
,
void
*
);
typedef
struct
_DOSTASK
{
WORD
psp_seg
,
retval
;
WORD
dpmi_flag
;
...
...
@@ -35,11 +37,11 @@ extern BOOL WINAPI MZ_Exec( CONTEXT86 *context, LPCSTR filename, BYTE func, LPVO
extern
void
WINAPI
MZ_Exit
(
CONTEXT86
*
context
,
BOOL
cs_psp
,
WORD
retval
);
extern
LPDOSTASK
WINAPI
MZ_Current
(
void
);
extern
LPDOSTASK
WINAPI
MZ_AllocDPMITask
(
void
);
extern
int
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
);
extern
void
WINAPI
DOSVM_Wait
(
int
read_pipe
,
HANDLE
hObject
);
extern
void
WINAPI
DOSVM_QueueEvent
(
int
irq
,
int
priority
,
void
(
*
relay
)(
CONTEXT86
*
,
void
*
),
void
*
data
);
extern
INT
WINAPI
DOSVM_Enter
(
CONTEXT86
*
context
);
extern
void
WINAPI
DOSVM_Wait
(
INT
read_pipe
,
HANDLE
hObject
);
extern
void
WINAPI
DOSVM_QueueEvent
(
INT
irq
,
INT
priority
,
DOSRELAY
relay
,
LPVOID
data
);
extern
void
WINAPI
DOSVM_PIC_ioport_out
(
WORD
port
,
BYTE
val
);
extern
void
WINAPI
DOSVM_SetTimer
(
unsigned
ticks
);
extern
unsigned
WINAPI
DOSVM_GetTimer
(
void
);
extern
void
WINAPI
DOSVM_SetTimer
(
UINT
ticks
);
extern
UINT
WINAPI
DOSVM_GetTimer
(
void
);
#endif
/* __WINE_DOSEXE_H */
tools/specmaker/output.c
View file @
d5f824b4
...
...
@@ -241,9 +241,9 @@ void output_c_symbol (const parsed_symbol *sym)
if
(
!
sym
->
function_name
)
{
/* #ifdef'd dummy */
fprintf
(
cfile
,
"#if 0
\n
%s %s_%s()
\n
{
\n\t
%s in .spec */
\n
}
\n
#endif
\n\n\n
"
,
fprintf
(
cfile
,
"#if 0
\n
%s %s_%s()
\n
{
\n\t
/*
%s in .spec */
\n
}
\n
#endif
\n\n\n
"
,
CALLING_CONVENTION
,
OUTPUT_UC_DLL_NAME
,
sym
->
symbol
,
globals
.
forward_dll
?
"
/* @forward"
:
"/*
@stub"
);
globals
.
forward_dll
?
"
@forward"
:
"
@stub"
);
return
;
}
...
...
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