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
f4f1719c
Commit
f4f1719c
authored
Oct 17, 1998
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 17, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed some more missing WINAPIs (hopefully correct).
parent
fb578cd9
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
12 deletions
+13
-12
builtin.c
dlls/msacm32/builtin.c
+2
-2
syslevel.h
include/syslevel.h
+2
-2
registry.c
misc/registry.c
+3
-2
dplay.c
multimedia/dplay.c
+1
-1
dsound.c
multimedia/dsound.c
+1
-1
mmsystem.c
multimedia/mmsystem.c
+2
-2
time.c
multimedia/time.c
+1
-1
caret.c
windows/caret.c
+1
-1
No files found.
dlls/msacm32/builtin.c
View file @
f4f1719c
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
/***********************************************************************
/***********************************************************************
* MSACM_BuiltinDrivers
* MSACM_BuiltinDrivers
*/
*/
LONG
MSACM_DummyDriverProc
(
LONG
WINAPI
MSACM_DummyDriverProc
(
DWORD
dwDriverId
,
HDRVR32
hdrvr
,
UINT32
msg
,
DWORD
dwDriverId
,
HDRVR32
hdrvr
,
UINT32
msg
,
LONG
lParam1
,
LONG
lParam2
);
LONG
lParam1
,
LONG
lParam2
);
...
@@ -29,7 +29,7 @@ WINE_ACMBUILTINDRIVER32 MSACM_BuiltinDrivers32[] = {
...
@@ -29,7 +29,7 @@ WINE_ACMBUILTINDRIVER32 MSACM_BuiltinDrivers32[] = {
/***********************************************************************
/***********************************************************************
* MSACM_DummyDriverProc
* MSACM_DummyDriverProc
*/
*/
LONG
MSACM_DummyDriverProc
(
LONG
WINAPI
MSACM_DummyDriverProc
(
DWORD
dwDriverId
,
HDRVR32
hdrvr
,
UINT32
msg
,
DWORD
dwDriverId
,
HDRVR32
hdrvr
,
UINT32
msg
,
LONG
lParam1
,
LONG
lParam2
)
LONG
lParam1
,
LONG
lParam2
)
{
{
...
...
include/syslevel.h
View file @
f4f1719c
...
@@ -14,8 +14,8 @@ extern WORD SYSLEVEL_Win16CurrentTeb;
...
@@ -14,8 +14,8 @@ extern WORD SYSLEVEL_Win16CurrentTeb;
extern
WORD
SYSLEVEL_EmergencyTeb
;
extern
WORD
SYSLEVEL_EmergencyTeb
;
void
SYSLEVEL_Init
(
void
);
void
SYSLEVEL_Init
(
void
);
VOID
SYSLEVEL_EnterWin16Lock
(
VOID
);
VOID
WINAPI
SYSLEVEL_EnterWin16Lock
(
VOID
);
VOID
SYSLEVEL_LeaveWin16Lock
(
VOID
);
VOID
WINAPI
SYSLEVEL_LeaveWin16Lock
(
VOID
);
VOID
SYSLEVEL_ReleaseWin16Lock
(
VOID
);
VOID
SYSLEVEL_ReleaseWin16Lock
(
VOID
);
VOID
SYSLEVEL_RestoreWin16Lock
(
VOID
);
VOID
SYSLEVEL_RestoreWin16Lock
(
VOID
);
...
...
misc/registry.c
View file @
f4f1719c
...
@@ -1244,7 +1244,7 @@ static LPKEYSTRUCT _w95_processKey ( LPKEYSTRUCT lpkey,
...
@@ -1244,7 +1244,7 @@ static LPKEYSTRUCT _w95_processKey ( LPKEYSTRUCT lpkey,
}
}
while
(
curdata
<
next
)
{
while
(
curdata
<
next
)
{
struct
dkh
*
xdkh
=
curdata
;
struct
dkh
*
xdkh
=
(
struct
dkh
*
)
curdata
;
bytesread
+=
sizeof
(
dkh
);
/* FIXME... nextkeyoff? */
bytesread
+=
sizeof
(
dkh
);
/* FIXME... nextkeyoff? */
if
(
xdkh
->
nrLS
==
nrLS
)
{
if
(
xdkh
->
nrLS
==
nrLS
)
{
...
@@ -2471,11 +2471,12 @@ DWORD WINAPI RegSetValueEx32W( HKEY hkey, LPWSTR lpszValueName,
...
@@ -2471,11 +2471,12 @@ DWORD WINAPI RegSetValueEx32W( HKEY hkey, LPWSTR lpszValueName,
lpkey
->
nrofvalues
++
;
lpkey
->
nrofvalues
++
;
memset
(
lpkey
->
values
+
i
,
'\0'
,
sizeof
(
KEYVALUE
));
memset
(
lpkey
->
values
+
i
,
'\0'
,
sizeof
(
KEYVALUE
));
}
}
if
(
lpkey
->
values
[
i
].
name
==
NULL
)
if
(
lpkey
->
values
[
i
].
name
==
NULL
)
{
if
(
lpszValueName
)
if
(
lpszValueName
)
lpkey
->
values
[
i
].
name
=
strdupW
(
lpszValueName
);
lpkey
->
values
[
i
].
name
=
strdupW
(
lpszValueName
);
else
else
lpkey
->
values
[
i
].
name
=
NULL
;
lpkey
->
values
[
i
].
name
=
NULL
;
}
lpkey
->
values
[
i
].
len
=
cbData
;
lpkey
->
values
[
i
].
len
=
cbData
;
lpkey
->
values
[
i
].
type
=
dwType
;
lpkey
->
values
[
i
].
type
=
dwType
;
if
(
lpkey
->
values
[
i
].
data
!=
NULL
)
if
(
lpkey
->
values
[
i
].
data
!=
NULL
)
...
...
multimedia/dplay.c
View file @
f4f1719c
...
@@ -427,7 +427,7 @@ static ULONG WINAPI IDirectPlayLobbyA_Release
...
@@ -427,7 +427,7 @@ static ULONG WINAPI IDirectPlayLobbyA_Release
/* Deallocate if this is the last reference to the object */
/* Deallocate if this is the last reference to the object */
if
(
!
(
this
->
ref
)
)
if
(
!
(
this
->
ref
)
)
{
{
deleteDPConnection
(
this
->
lpSession
);
deleteDPConnection
(
&
(
this
->
lpSession
)
);
HeapFree
(
GetProcessHeap
(),
0
,
this
);
HeapFree
(
GetProcessHeap
(),
0
,
this
);
return
S_OK
;
return
S_OK
;
}
}
...
...
multimedia/dsound.c
View file @
f4f1719c
...
@@ -903,7 +903,7 @@ DSOUND_MixInBuffer(IDirectSoundBuffer *dsb) {
...
@@ -903,7 +903,7 @@ DSOUND_MixInBuffer(IDirectSoundBuffer *dsb) {
}
}
}
}
static
DWORD
static
DWORD
WINAPI
DSOUND_thread
(
LPVOID
arg
)
{
DSOUND_thread
(
LPVOID
arg
)
{
int
res
,
i
,
curleft
,
playing
,
haveprimary
=
0
;
int
res
,
i
,
curleft
,
playing
,
haveprimary
=
0
;
...
...
multimedia/mmsystem.c
View file @
f4f1719c
...
@@ -295,7 +295,7 @@ ckid=%.4s fccType=%.4s cksize=%08lX \n", (LPSTR)&mmckInfo.ckid, (LPSTR)&mmckInfo
...
@@ -295,7 +295,7 @@ ckid=%.4s fccType=%.4s cksize=%08lX \n", (LPSTR)&mmckInfo.ckid, (LPSTR)&mmckInfo
return
bRet
;
return
bRet
;
}
}
static
DWORD
PlaySound_Thread
(
LPVOID
arg
)
static
DWORD
WINAPI
PlaySound_Thread
(
LPVOID
arg
)
{
{
DWORD
res
;
DWORD
res
;
...
@@ -1957,7 +1957,7 @@ struct SCA32 {
...
@@ -1957,7 +1957,7 @@ struct SCA32 {
DWORD
WINAPI
mciSendCommand32A
(
UINT32
wDevID
,
UINT32
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
);
DWORD
WINAPI
mciSendCommand32A
(
UINT32
wDevID
,
UINT32
wMsg
,
DWORD
dwParam1
,
DWORD
dwParam2
);
static
DWORD
mciSCAStarter32
(
LPVOID
arg
)
static
DWORD
WINAPI
mciSCAStarter32
(
LPVOID
arg
)
{
{
struct
SCA32
*
sca
=
(
struct
SCA32
*
)
arg
;
struct
SCA32
*
sca
=
(
struct
SCA32
*
)
arg
;
DWORD
ret
;
DWORD
ret
;
...
...
multimedia/time.c
View file @
f4f1719c
...
@@ -101,7 +101,7 @@ static void TIME_TriggerCallBack(LPTIMERENTRY lpTimer, DWORD dwCurrent)
...
@@ -101,7 +101,7 @@ static void TIME_TriggerCallBack(LPTIMERENTRY lpTimer, DWORD dwCurrent)
/**************************************************************************
/**************************************************************************
* TIME_MMSysTimeCallback
* TIME_MMSysTimeCallback
*/
*/
static
VOID
TIME_MMSysTimeCallback
(
HWND32
hwnd
,
UINT32
msg
,
static
VOID
WINAPI
TIME_MMSysTimeCallback
(
HWND32
hwnd
,
UINT32
msg
,
UINT32
id
,
DWORD
dwTime
)
UINT32
id
,
DWORD
dwTime
)
{
{
LPTIMERENTRY
lpTimer
;
LPTIMERENTRY
lpTimer
;
...
...
windows/caret.c
View file @
f4f1719c
...
@@ -75,7 +75,7 @@ static void CARET_DisplayCaret( DISPLAY_CARET status )
...
@@ -75,7 +75,7 @@ static void CARET_DisplayCaret( DISPLAY_CARET status )
/*****************************************************************
/*****************************************************************
* CARET_Callback
* CARET_Callback
*/
*/
static
VOID
CARET_Callback
(
HWND32
hwnd
,
UINT32
msg
,
UINT32
id
,
DWORD
ctime
)
static
VOID
CA
LLBACK
CA
RET_Callback
(
HWND32
hwnd
,
UINT32
msg
,
UINT32
id
,
DWORD
ctime
)
{
{
TRACE
(
caret
,
"hwnd=%04x, timerid=%d, caret=%d
\n
"
,
TRACE
(
caret
,
"hwnd=%04x, timerid=%d, caret=%d
\n
"
,
hwnd
,
id
,
Caret
.
on
);
hwnd
,
id
,
Caret
.
on
);
...
...
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