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
690ae7ba
Commit
690ae7ba
authored
Oct 12, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mciavi32: Win64 printf format warning fixes.
parent
c840d396
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
57 additions
and
58 deletions
+57
-58
Makefile.in
dlls/mciavi32/Makefile.in
+0
-1
info.c
dlls/mciavi32/info.c
+15
-15
mciavi.c
dlls/mciavi32/mciavi.c
+39
-39
mmoutput.c
dlls/mciavi32/mmoutput.c
+0
-0
wnd.c
dlls/mciavi32/wnd.c
+3
-3
No files found.
dlls/mciavi32/Makefile.in
View file @
690ae7ba
...
...
@@ -4,7 +4,6 @@ SRCDIR = @srcdir@
VPATH
=
@srcdir@
MODULE
=
mciavi32.dll
IMPORTS
=
msvfw32 winmm user32 gdi32 kernel32
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
info.c
\
...
...
dlls/mciavi32/info.c
View file @
690ae7ba
...
...
@@ -40,9 +40,9 @@ DWORD MCIAVI_ConvertFrameToTimeFormat(WINE_MCIAVI* wma, DWORD val, LPDWORD lpRe
ret
=
val
;
break
;
default:
WARN
(
"Bad time format %
l
u!
\n
"
,
wma
->
dwMciTimeFormat
);
WARN
(
"Bad time format %u!
\n
"
,
wma
->
dwMciTimeFormat
);
}
TRACE
(
"val=%
lu=0x%08lx [tf=%lu] => ret=%l
u
\n
"
,
val
,
val
,
wma
->
dwMciTimeFormat
,
ret
);
TRACE
(
"val=%
u=0x%08x [tf=%u] => ret=%
u
\n
"
,
val
,
val
,
wma
->
dwMciTimeFormat
,
ret
);
*
lpRet
=
0
;
return
ret
;
}
...
...
@@ -62,9 +62,9 @@ DWORD MCIAVI_ConvertTimeFormatToFrame(WINE_MCIAVI* wma, DWORD val)
ret
=
val
;
break
;
default:
WARN
(
"Bad time format %
l
u!
\n
"
,
wma
->
dwMciTimeFormat
);
WARN
(
"Bad time format %u!
\n
"
,
wma
->
dwMciTimeFormat
);
}
TRACE
(
"val=%
lu=0x%08lx [tf=%lu] => ret=%l
u
\n
"
,
val
,
val
,
wma
->
dwMciTimeFormat
,
ret
);
TRACE
(
"val=%
u=0x%08x [tf=%u] => ret=%
u
\n
"
,
val
,
val
,
wma
->
dwMciTimeFormat
,
ret
);
return
ret
;
}
...
...
@@ -76,7 +76,7 @@ DWORD MCIAVI_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_PARMS l
WINE_MCIAVI
*
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
DWORD
ret
;
TRACE
(
"(%04x, %08
l
X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
TRACE
(
"(%04x, %08X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
...
...
@@ -131,7 +131,7 @@ DWORD MCIAVI_mciGetDevCaps(UINT wDevID, DWORD dwFlags, LPMCI_GETDEVCAPS_PARMS l
ret
=
MCI_RESOURCE_RETURNED
;
break
;
default:
FIXME
(
"Unknown capability (%08l
x) !
\n
"
,
lpParms
->
dwItem
);
FIXME
(
"Unknown capability (%08
x) !
\n
"
,
lpParms
->
dwItem
);
ret
=
MCIERR_UNRECOGNIZED_COMMAND
;
break
;
}
...
...
@@ -158,7 +158,7 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
TRACE
(
"buf=%p, len=%
l
u
\n
"
,
lpParms
->
lpstrReturn
,
lpParms
->
dwRetSize
);
TRACE
(
"buf=%p, len=%u
\n
"
,
lpParms
->
lpstrReturn
,
lpParms
->
dwRetSize
);
EnterCriticalSection
(
&
wma
->
cs
);
...
...
@@ -167,7 +167,7 @@ DWORD MCIAVI_mciInfo(UINT wDevID, DWORD dwFlags, LPMCI_DGV_INFO_PARMSW lpParms)
else
if
(
dwFlags
&
MCI_INFO_FILE
)
str
=
wma
->
lpFileName
;
else
{
WARN
(
"Don't know this info command (%
l
u)
\n
"
,
dwFlags
);
WARN
(
"Don't know this info command (%u)
\n
"
,
dwFlags
);
ret
=
MCIERR_UNRECOGNIZED_COMMAND
;
}
if
(
str
)
{
...
...
@@ -207,7 +207,7 @@ DWORD MCIAVI_mciSet(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SET_PARMS lpParms)
wma
->
dwMciTimeFormat
=
MCI_FORMAT_FRAMES
;
break
;
default:
WARN
(
"Bad time format %l
u!
\n
"
,
lpParms
->
dwTimeFormat
);
WARN
(
"Bad time format %
u!
\n
"
,
lpParms
->
dwTimeFormat
);
LeaveCriticalSection
(
&
wma
->
cs
);
return
MCIERR_BAD_TIME_FORMAT
;
}
...
...
@@ -249,7 +249,7 @@ DWORD MCIAVI_mciSet(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SET_PARMS lpParms)
wma
->
dwSet
|=
2
;
break
;
default:
WARN
(
"Unknown audio chanel %
l
u
\n
"
,
lpParms
->
dwAudio
);
WARN
(
"Unknown audio chanel %u
\n
"
,
lpParms
->
dwAudio
);
break
;
}
}
...
...
@@ -283,7 +283,7 @@ DWORD MCIAVI_mciSet(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SET_PARMS lpParms)
wma
->
dwSet
&=
~
2
;
break
;
default:
WARN
(
"Unknown audio chanel %
l
u
\n
"
,
lpParms
->
dwAudio
);
WARN
(
"Unknown audio chanel %u
\n
"
,
lpParms
->
dwAudio
);
break
;
}
}
...
...
@@ -306,12 +306,12 @@ DWORD MCIAVI_mciSet(UINT wDevID, DWORD dwFlags, LPMCI_DGV_SET_PARMS lpParms)
case
MCI_DGV_FF_MPEG
:
FIXME
(
"Setting file format (%s) to 'MPEG'
\n
"
,
str
);
break
;
case
MCI_DGV_FF_RDIB
:
FIXME
(
"Setting file format (%s) to 'RLE DIB'
\n
"
,
str
);
break
;
case
MCI_DGV_FF_RJPEG
:
FIXME
(
"Setting file format (%s) to 'RJPEG'
\n
"
,
str
);
break
;
default:
FIXME
(
"Setting unknown file format (%s): %
l
d
\n
"
,
str
,
lpParms
->
dwFileFormat
);
default:
FIXME
(
"Setting unknown file format (%s): %d
\n
"
,
str
,
lpParms
->
dwFileFormat
);
}
}
if
(
dwFlags
&
MCI_DGV_SET_SPEED
)
{
FIXME
(
"Setting speed to %
l
d
\n
"
,
lpParms
->
dwSpeed
);
FIXME
(
"Setting speed to %d
\n
"
,
lpParms
->
dwSpeed
);
}
LeaveCriticalSection
(
&
wma
->
cs
);
...
...
@@ -452,8 +452,8 @@ DWORD MCIAVI_mciStatus(UINT wDevID, DWORD dwFlags, LPMCI_DGV_STATUS_PARMSW lpPar
case MCI_STATUS_MEDIA_PRESENT:
#endif
default:
FIXME
(
"Unknowm command %08l
X !
\n
"
,
lpParms
->
dwItem
);
TRACE
(
"(%04x, %08l
X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
FIXME
(
"Unknowm command %08
X !
\n
"
,
lpParms
->
dwItem
);
TRACE
(
"(%04x, %08
X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
LeaveCriticalSection
(
&
wma
->
cs
);
return
MCIERR_UNRECOGNIZED_COMMAND
;
}
...
...
dlls/mciavi32/mciavi.c
View file @
690ae7ba
This diff is collapsed.
Click to expand it.
dlls/mciavi32/mmoutput.c
View file @
690ae7ba
This diff is collapsed.
Click to expand it.
dlls/mciavi32/wnd.c
View file @
690ae7ba
...
...
@@ -150,7 +150,7 @@ DWORD MCIAVI_mciPut(UINT wDevID, DWORD dwFlags, LPMCI_DGV_PUT_PARMS lpParms)
WINE_MCIAVI
*
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
RECT
rc
;
TRACE
(
"(%04x, %08
l
X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
TRACE
(
"(%04x, %08X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
...
...
@@ -202,7 +202,7 @@ DWORD MCIAVI_mciWhere(UINT wDevID, DWORD dwFlags, LPMCI_DGV_RECT_PARMS lpParms)
{
WINE_MCIAVI
*
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
TRACE
(
"(%04x, %08
l
x, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
TRACE
(
"(%04x, %08x, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
...
...
@@ -268,7 +268,7 @@ DWORD MCIAVI_mciWindow(UINT wDevID, DWORD dwFlags, LPMCI_DGV_WINDOW_PARMSW lpPar
{
WINE_MCIAVI
*
wma
=
MCIAVI_mciGetOpenDev
(
wDevID
);
TRACE
(
"(%04x, %08
l
X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
TRACE
(
"(%04x, %08X, %p)
\n
"
,
wDevID
,
dwFlags
,
lpParms
);
if
(
lpParms
==
NULL
)
return
MCIERR_NULL_PARAMETER_BLOCK
;
if
(
wma
==
NULL
)
return
MCIERR_INVALID_DEVICE_ID
;
...
...
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