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
d0a3ef4f
Commit
d0a3ef4f
authored
Dec 30, 2009
by
Christian Costa
Committed by
Alexandre Julliard
Dec 30, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz: Add stub for MCI_SETAUDIO.
parent
05a258b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
mciqtz.c
dlls/mciqtz32/mciqtz.c
+23
-1
No files found.
dlls/mciqtz32/mciqtz.c
View file @
d0a3ef4f
...
...
@@ -604,6 +604,27 @@ static DWORD MCIQTZ_mciWhere(UINT wDevID, DWORD dwFlags, LPMCI_DGV_RECT_PARMS lp
return
0
;
}
/***************************************************************************
* MCIQTZ_mciSetAudio [internal]
*/
static
DWORD
MCIQTZ_mciSetAudio
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_DGV_SETAUDIO_PARMSW
lpParms
)
{
WINE_MCIQTZ
*
wma
;
FIXME
(
"(%04x, %08x, %p) : stub
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
!
lpParms
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
wma
=
MCIQTZ_mciGetOpenDev
(
wDevID
);
if
(
!
wma
)
return
MCIERR_INVALID_DEVICE_ID
;
MCIQTZ_mciStop
(
wDevID
,
MCI_WAIT
,
NULL
);
return
0
;
}
/*======================================================================*
* MCI QTZ entry points *
*======================================================================*/
...
...
@@ -644,6 +665,8 @@ LRESULT CALLBACK MCIQTZ_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
case
MCI_SET
:
return
MCIQTZ_mciSet
(
dwDevID
,
dwParam1
,
(
LPMCI_DGV_SET_PARMS
)
dwParam2
);
case
MCI_STATUS
:
return
MCIQTZ_mciStatus
(
dwDevID
,
dwParam1
,
(
LPMCI_DGV_STATUS_PARMSW
)
dwParam2
);
case
MCI_WHERE
:
return
MCIQTZ_mciWhere
(
dwDevID
,
dwParam1
,
(
LPMCI_DGV_RECT_PARMS
)
dwParam2
);
/* Digital Video specific */
case
MCI_SETAUDIO
:
return
MCIQTZ_mciSetAudio
(
dwDevID
,
dwParam1
,
(
LPMCI_DGV_SETAUDIO_PARMSW
)
dwParam2
);
case
MCI_RECORD
:
case
MCI_PAUSE
:
case
MCI_RESUME
:
...
...
@@ -666,7 +689,6 @@ LRESULT CALLBACK MCIQTZ_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
case
MCI_CAPTURE
:
case
MCI_MONITOR
:
case
MCI_RESERVE
:
case
MCI_SETAUDIO
:
case
MCI_SIGNAL
:
case
MCI_SETVIDEO
:
case
MCI_QUALITY
:
...
...
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