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
0b3c79f7
Commit
0b3c79f7
authored
Apr 26, 2005
by
Christian Costa
Committed by
Alexandre Julliard
Apr 26, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed flags handling in MCIAVI_mciInfo.
parent
b6f4eccd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
info.c
dlls/winmm/mciavi/info.c
+6
-6
No files found.
dlls/winmm/mciavi/info.c
View file @
0b3c79f7
...
@@ -164,13 +164,13 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
...
@@ -164,13 +164,13 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
EnterCriticalSection
(
&
wma
->
cs
);
EnterCriticalSection
(
&
wma
->
cs
);
switch
(
dwFlags
)
{
if
(
dwFlags
&
MCI_INFO_PRODUCT
)
case
MCI_INFO_PRODUCT
:
str
=
wszAviPlayer
;
break
;
str
=
wszAviPlayer
;
case
MCI_INFO_FILE
:
str
=
wma
->
lpFileName
;
break
;
else
if
(
dwFlags
&
MCI_INFO_FILE
)
default:
str
=
wma
->
lpFileName
;
else
{
WARN
(
"Don't know this info command (%lu)
\n
"
,
dwFlags
);
WARN
(
"Don't know this info command (%lu)
\n
"
,
dwFlags
);
LeaveCriticalSection
(
&
wma
->
cs
);
ret
=
MCIERR_UNRECOGNIZED_COMMAND
;
return
MCIERR_UNRECOGNIZED_COMMAND
;
}
}
if
(
str
)
{
if
(
str
)
{
if
(
strlenW
(
str
)
+
1
>
lpParms
->
dwRetSize
)
{
if
(
strlenW
(
str
)
+
1
>
lpParms
->
dwRetSize
)
{
...
...
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