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
403a820e
Commit
403a820e
authored
Dec 09, 2009
by
Jörg Höhle
Committed by
Alexandre Julliard
Feb 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciqtz32: Complete MCI GetDevCaps/capability.
parent
6dadd15b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
6 deletions
+39
-6
mciqtz.c
dlls/mciqtz32/mciqtz.c
+39
-6
No files found.
dlls/mciqtz32/mciqtz.c
View file @
403a820e
...
@@ -354,10 +354,8 @@ static DWORD MCIQTZ_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_P
...
@@ -354,10 +354,8 @@ static DWORD MCIQTZ_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_P
if
(
!
wma
)
if
(
!
wma
)
return
MCIERR_INVALID_DEVICE_ID
;
return
MCIERR_INVALID_DEVICE_ID
;
if
(
!
(
dwFlags
&
MCI_STATUS_ITEM
))
{
if
(
!
(
dwFlags
&
MCI_GETDEVCAPS_ITEM
))
WARN
(
"No capability item specified
\n
"
);
return
MCIERR_MISSING_PARAMETER
;
return
MCIERR_UNRECOGNIZED_COMMAND
;
}
switch
(
lpParms
->
dwItem
)
{
switch
(
lpParms
->
dwItem
)
{
case
MCI_GETDEVCAPS_CAN_RECORD
:
case
MCI_GETDEVCAPS_CAN_RECORD
:
...
@@ -396,9 +394,44 @@ static DWORD MCIQTZ_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_P
...
@@ -396,9 +394,44 @@ static DWORD MCIQTZ_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_P
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_GETDEVCAPS_CAN_SAVE = %08x
\n
"
,
lpParms
->
dwReturn
);
TRACE
(
"MCI_GETDEVCAPS_CAN_SAVE = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
break
;
case
MCI_DGV_GETDEVCAPS_CAN_REVERSE
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_REVERSE = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_CAN_STRETCH
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
/* FIXME */
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_STRETCH = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_CAN_LOCK
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_LOCK = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_CAN_FREEZE
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_FREEZE = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_CAN_STR_IN
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_STRETCH_INPUT = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_HAS_STILL
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
TRACE
(
"MCI_DGV_GETDEVCAPS_HAS_STILL = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_CAN_TEST
:
lpParms
->
dwReturn
=
MAKEMCIRESOURCE
(
FALSE
,
MCI_FALSE
);
/* FIXME */
TRACE
(
"MCI_DGV_GETDEVCAPS_CAN_TEST = %08x
\n
"
,
lpParms
->
dwReturn
);
break
;
case
MCI_DGV_GETDEVCAPS_MAX_WINDOWS
:
lpParms
->
dwReturn
=
1
;
TRACE
(
"MCI_DGV_GETDEVCAPS_MAX_WINDOWS = %u
\n
"
,
lpParms
->
dwReturn
);
return
0
;
default:
default:
ERR
(
"Unknown capability %08x
\n
"
,
lpParms
->
dwItem
);
WARN
(
"Unknown capability %08x
\n
"
,
lpParms
->
dwItem
);
return
MCIERR_UNRECOGNIZED_COMMAND
;
/* Fall through */
case
MCI_DGV_GETDEVCAPS_MAXIMUM_RATE
:
/* unknown to w2k */
case
MCI_DGV_GETDEVCAPS_MINIMUM_RATE
:
/* unknown to w2k */
return
MCIERR_UNSUPPORTED_FUNCTION
;
}
}
return
MCI_RESOURCE_RETURNED
;
return
MCI_RESOURCE_RETURNED
;
...
...
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