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
aa65a56a
Commit
aa65a56a
authored
May 20, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz32: Add support for MCI_PAUSE.
parent
ecbc1529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
mciqtz.c
dlls/mciqtz32/mciqtz.c
+24
-1
No files found.
dlls/mciqtz32/mciqtz.c
View file @
aa65a56a
...
...
@@ -389,6 +389,29 @@ static DWORD MCIQTZ_mciStop(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPa
}
/***************************************************************************
* MCIQTZ_mciPause [internal]
*/
static
DWORD
MCIQTZ_mciPause
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GENERIC_PARMS
lpParms
)
{
WINE_MCIQTZ
*
wma
;
HRESULT
hr
;
TRACE
(
"(%04x, %08X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
wma
=
MCIQTZ_mciGetOpenDev
(
wDevID
);
if
(
!
wma
)
return
MCIERR_INVALID_DEVICE_ID
;
hr
=
IMediaControl_Pause
(
wma
->
pmctrl
);
if
(
FAILED
(
hr
))
{
TRACE
(
"Cannot pause filtergraph (hr = %x)
\n
"
,
hr
);
return
MCIERR_INTERNAL
;
}
return
0
;
}
/***************************************************************************
* MCIQTZ_mciGetDevCaps [internal]
*/
static
DWORD
MCIQTZ_mciGetDevCaps
(
UINT
wDevID
,
DWORD
dwFlags
,
LPMCI_GETDEVCAPS_PARMS
lpParms
)
...
...
@@ -876,6 +899,7 @@ LRESULT CALLBACK MCIQTZ_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
case
MCI_PLAY
:
return
MCIQTZ_mciPlay
(
dwDevID
,
dwParam1
,
(
LPMCI_PLAY_PARMS
)
dwParam2
);
case
MCI_SEEK
:
return
MCIQTZ_mciSeek
(
dwDevID
,
dwParam1
,
(
LPMCI_SEEK_PARMS
)
dwParam2
);
case
MCI_STOP
:
return
MCIQTZ_mciStop
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_PAUSE
:
return
MCIQTZ_mciPause
(
dwDevID
,
dwParam1
,
(
LPMCI_GENERIC_PARMS
)
dwParam2
);
case
MCI_GETDEVCAPS
:
return
MCIQTZ_mciGetDevCaps
(
dwDevID
,
dwParam1
,
(
LPMCI_GETDEVCAPS_PARMS
)
dwParam2
);
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
);
...
...
@@ -885,7 +909,6 @@ LRESULT CALLBACK MCIQTZ_DriverProc(DWORD_PTR dwDevID, HDRVR hDriv, UINT wMsg,
case
MCI_UPDATE
:
return
MCIQTZ_mciUpdate
(
dwDevID
,
dwParam1
,
(
LPMCI_DGV_UPDATE_PARMS
)
dwParam2
);
case
MCI_RECORD
:
case
MCI_PAUSE
:
case
MCI_RESUME
:
case
MCI_INFO
:
case
MCI_PUT
:
...
...
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