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
7e8a9e3d
Commit
7e8a9e3d
authored
Aug 30, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winmm: Fix the mmTask*() prototypes.
parent
2264b0c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
winmm.c
dlls/winmm/winmm.c
+7
-7
mmddk.h
include/mmddk.h
+6
-6
No files found.
dlls/winmm/winmm.c
View file @
7e8a9e3d
...
...
@@ -2817,7 +2817,7 @@ static DWORD WINAPI mmTaskRun(void* pmt)
/******************************************************************
* mmTaskCreate (WINMM.@)
*/
MMRESULT
WINAPI
mmTaskCreate
(
LPTASKCALLBACK
cb
,
HANDLE
*
ph
,
DWORD
client
)
UINT
WINAPI
mmTaskCreate
(
LPTASKCALLBACK
cb
,
HANDLE
*
ph
,
DWORD_PTR
client
)
{
HANDLE
hThread
;
HANDLE
hEvent
=
0
;
...
...
@@ -2846,7 +2846,7 @@ MMRESULT WINAPI mmTaskCreate(LPTASKCALLBACK cb, HANDLE* ph, DWORD client)
/******************************************************************
* mmTaskBlock (WINMM.@)
*/
void
WINAPI
mmTaskBlock
(
HANDLE
tid
)
VOID
WINAPI
mmTaskBlock
(
DWORD
tid
)
{
MSG
msg
;
...
...
@@ -2860,20 +2860,20 @@ void WINAPI mmTaskBlock(HANDLE tid)
/******************************************************************
* mmTaskSignal (WINMM.@)
*/
BOOL
WINAPI
mmTaskSignal
(
HANDLE
tid
)
BOOL
WINAPI
mmTaskSignal
(
DWORD
tid
)
{
return
PostThreadMessageW
(
(
DWORD
)
tid
,
WM_USER
,
0
,
0
);
return
PostThreadMessageW
(
tid
,
WM_USER
,
0
,
0
);
}
/******************************************************************
* mmTaskYield (WINMM.@)
*/
void
WINAPI
mmTaskYield
(
void
)
{}
VOID
WINAPI
mmTaskYield
(
VOID
)
{}
/******************************************************************
* mmGetCurrentTask (WINMM.@)
*/
HANDLE
WINAPI
mmGetCurrentTask
(
void
)
DWORD
WINAPI
mmGetCurrentTask
(
VOID
)
{
return
(
HANDLE
)
GetCurrentThreadId
();
return
GetCurrentThreadId
();
}
include/mmddk.h
View file @
7e8a9e3d
...
...
@@ -453,15 +453,15 @@ BOOL WINAPI mciFreeCommandResource(UINT uTable);
BOOL
WINAPI
DriverCallback
(
DWORD_PTR
dwCallBack
,
DWORD
uFlags
,
HDRVR
hDev
,
DWORD
wMsg
,
DWORD_PTR
dwUser
,
DWORD_PTR
dwParam1
,
DWORD_PTR
dwParam2
);
typedef
void
(
*
LPTASKCALLBACK
)(
DWORD
dwInst
);
typedef
VOID
(
*
LPTASKCALLBACK
)(
DWORD
dwInst
);
#define TASKERR_NOTASKSUPPORT 1
#define TASKERR_OUTOFMEMORY 2
MMRESULT
WINAPI
mmTaskCreate
(
LPTASKCALLBACK
,
HANDLE
*
,
DWORD
);
void
WINAPI
mmTaskBlock
(
HANDLE
);
BOOL
WINAPI
mmTaskSignal
(
HANDLE
);
void
WINAPI
mmTaskYield
(
void
);
HANDLE
WINAPI
mmGetCurrentTask
(
void
);
UINT
WINAPI
mmTaskCreate
(
LPTASKCALLBACK
,
HANDLE
*
,
DWORD_PTR
);
VOID
WINAPI
mmTaskBlock
(
DWORD
);
BOOL
WINAPI
mmTaskSignal
(
DWORD
);
VOID
WINAPI
mmTaskYield
(
VOID
);
DWORD
WINAPI
mmGetCurrentTask
(
VOID
);
#ifdef __WINESRC__
#define WAVE_DIRECTSOUND 0x0080
...
...
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