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
3e5c704e
Commit
3e5c704e
authored
Nov 28, 2009
by
Jörg Höhle
Committed by
Alexandre Julliard
Feb 12, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi: Use MCIERR_UNSUPPORTED_FUNCTION, not 0 (NOERROR).
parent
a34831df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mciavi.c
dlls/mciavi32/mciavi.c
+6
-6
No files found.
dlls/mciavi32/mciavi.c
View file @
3e5c704e
...
...
@@ -397,6 +397,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
if
(
dwFlags
&
MCI_DGV_PLAY_REVERSE
)
return
MCIERR_UNSUPPORTED_FUNCTION
;
EnterCriticalSection
(
&
wma
->
cs
);
...
...
@@ -457,7 +458,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
/* signal the state change */
SetEvent
(
wma
->
ack_event
);
if
(
dwFlags
&
(
MCI_DGV_PLAY_REPEAT
|
MCI_
DGV_PLAY_REVERSE
|
MCI_
MCIAVI_PLAY_WINDOW
|
MCI_MCIAVI_PLAY_FULLSCREEN
))
if
(
dwFlags
&
(
MCI_DGV_PLAY_REPEAT
|
MCI_MCIAVI_PLAY_WINDOW
|
MCI_MCIAVI_PLAY_FULLSCREEN
))
FIXME
(
"Unsupported flag %08x
\n
"
,
dwFlags
);
/* time is in microseconds, we should convert it to milliseconds */
...
...
@@ -719,9 +720,7 @@ static DWORD MCIAVI_mciLoad(UINT wDevID, DWORD dwFlags, LPMCI_DGV_LOAD_PARMSW lp
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
MCIAVI_mciStop
(
wDevID
,
MCI_WAIT
,
NULL
);
return
0
;
return
MCIERR_UNSUPPORTED_FUNCTION
;
/* like w2k */
}
/******************************************************************************
...
...
@@ -797,6 +796,7 @@ static DWORD MCIAVI_mciCue(UINT wDevID, DWORD dwFlags, LPMCI_DGV_CUE_PARMS lpPar
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
if
(
dwFlags
&
MCI_DGV_CUE_INPUT
)
return
MCIERR_UNSUPPORTED_FUNCTION
;
return
0
;
}
...
...
@@ -815,7 +815,7 @@ static DWORD MCIAVI_mciSetAudio(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SETAUDIO_P
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
return
0
;
return
MCIERR_UNSUPPORTED_FUNCTION
;
/* like w2k */
}
/******************************************************************************
...
...
@@ -849,7 +849,7 @@ static DWORD MCIAVI_mciSetVideo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SETVIDEO_P
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
return
0
;
return
MCIERR_UNSUPPORTED_FUNCTION
;
/* like w2k */
}
/******************************************************************************
...
...
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