Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c840d396
Commit
c840d396
authored
Oct 12, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32: Win64 printf format warning fixes.
parent
1c774013
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
52 deletions
+51
-52
Makefile.in
dlls/msvfw32/Makefile.in
+0
-1
drawdib.c
dlls/msvfw32/drawdib.c
+12
-12
mciwnd.c
dlls/msvfw32/mciwnd.c
+4
-4
msvideo16.c
dlls/msvfw32/msvideo16.c
+6
-6
msvideo_main.c
dlls/msvfw32/msvideo_main.c
+29
-29
No files found.
dlls/msvfw32/Makefile.in
View file @
c840d396
...
...
@@ -5,7 +5,6 @@ VPATH = @srcdir@
MODULE
=
msvfw32.dll
IMPORTLIB
=
libmsvfw32.
$(IMPLIBEXT)
IMPORTS
=
winmm comctl32 version user32 gdi32 advapi32 kernel32 ntdll
EXTRADEFS
=
-DWINE_NO_LONG_AS_INT
C_SRCS
=
\
mciwnd.c
\
...
...
dlls/msvfw32/drawdib.c
View file @
c840d396
...
...
@@ -182,10 +182,10 @@ BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd,
BOOL
ret
=
TRUE
;
WINE_HDD
*
whdd
;
TRACE
(
"(%p,%p,%d,%d,%p,%d,%d,0x%08
l
x)
\n
"
,
TRACE
(
"(%p,%p,%d,%d,%p,%d,%d,0x%08x)
\n
"
,
hdd
,
hdc
,
dxDst
,
dyDst
,
lpbi
,
dxSrc
,
dySrc
,
(
DWORD
)
wFlags
);
TRACE
(
"lpbi: %
ld,%ld/%ld,%d,%d,%ld,%ld,%ld,%ld,%ld,%l
d
\n
"
,
TRACE
(
"lpbi: %
d,%d/%d,%d,%d,%d,%d,%d,%d,%d,%
d
\n
"
,
lpbi
->
biSize
,
lpbi
->
biWidth
,
lpbi
->
biHeight
,
lpbi
->
biPlanes
,
lpbi
->
biBitCount
,
lpbi
->
biCompression
,
lpbi
->
biSizeImage
,
lpbi
->
biXPelsPerMeter
,
lpbi
->
biYPelsPerMeter
,
lpbi
->
biClrUsed
,
...
...
@@ -206,7 +206,7 @@ BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd,
whdd
->
hic
=
ICOpen
(
ICTYPE_VIDEO
,
lpbi
->
biCompression
,
ICMODE_DECOMPRESS
);
if
(
!
whdd
->
hic
)
{
WARN
(
"Could not open IC. biCompression == 0x%08
l
x
\n
"
,
lpbi
->
biCompression
);
WARN
(
"Could not open IC. biCompression == 0x%08x
\n
"
,
lpbi
->
biCompression
);
ret
=
FALSE
;
}
...
...
@@ -234,8 +234,8 @@ BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd,
if
(
ICDecompressBegin
(
whdd
->
hic
,
lpbi
,
whdd
->
lpbiOut
)
!=
ICERR_OK
)
ret
=
FALSE
;
TRACE
(
"biSizeImage == %
l
d
\n
"
,
whdd
->
lpbiOut
->
biSizeImage
);
TRACE
(
"biCompression == %
l
d
\n
"
,
whdd
->
lpbiOut
->
biCompression
);
TRACE
(
"biSizeImage == %d
\n
"
,
whdd
->
lpbiOut
->
biSizeImage
);
TRACE
(
"biCompression == %d
\n
"
,
whdd
->
lpbiOut
->
biCompression
);
TRACE
(
"biBitCount == %d
\n
"
,
whdd
->
lpbiOut
->
biBitCount
);
}
}
...
...
@@ -254,7 +254,7 @@ BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd,
/*whdd->lpvbuf = HeapAlloc(GetProcessHeap(), 0, whdd->lpbiOut->biSizeImage);*/
whdd
->
hMemDC
=
CreateCompatibleDC
(
hdc
);
TRACE
(
"Creating: %
l
d, %p
\n
"
,
whdd
->
lpbiOut
->
biSize
,
whdd
->
lpvbits
);
TRACE
(
"Creating: %d, %p
\n
"
,
whdd
->
lpbiOut
->
biSize
,
whdd
->
lpvbits
);
whdd
->
hDib
=
CreateDIBSection
(
whdd
->
hMemDC
,
(
BITMAPINFO
*
)
whdd
->
lpbiOut
,
DIB_RGB_COLORS
,
&
(
whdd
->
lpvbits
),
0
,
0
);
if
(
whdd
->
hDib
)
{
...
...
@@ -263,7 +263,7 @@ BOOL VFWAPI DrawDibBegin(HDRAWDIB hdd,
else
{
ret
=
FALSE
;
TRACE
(
"Error: %
l
d
\n
"
,
GetLastError
());
TRACE
(
"Error: %d
\n
"
,
GetLastError
());
}
whdd
->
hOldDib
=
SelectObject
(
whdd
->
hMemDC
,
whdd
->
hDib
);
}
...
...
@@ -304,7 +304,7 @@ BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc,
WINE_HDD
*
whdd
;
BOOL
ret
=
TRUE
;
TRACE
(
"(%p,%p,%d,%d,%d,%d,%p,%p,%d,%d,%d,%d,0x%08
l
x)
\n
"
,
TRACE
(
"(%p,%p,%d,%d,%d,%d,%p,%p,%d,%d,%d,%d,0x%08x)
\n
"
,
hdd
,
hdc
,
xDst
,
yDst
,
dxDst
,
dyDst
,
lpbi
,
lpBits
,
xSrc
,
ySrc
,
dxSrc
,
dySrc
,
(
DWORD
)
wFlags
);
whdd
=
MSVIDEO_GetHddPtr
(
hdd
);
...
...
@@ -313,7 +313,7 @@ BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc,
TRACE
(
"whdd=%p
\n
"
,
whdd
);
if
(
wFlags
&
~
(
DDF_SAME_HDC
|
DDF_SAME_DRAW
|
DDF_NOTKEYFRAME
|
DDF_UPDATE
|
DDF_DONTDRAW
|
DDF_BACKGROUNDPAL
))
FIXME
(
"wFlags == 0x%08
l
x not handled
\n
"
,
(
DWORD
)
wFlags
);
FIXME
(
"wFlags == 0x%08x not handled
\n
"
,
(
DWORD
)
wFlags
);
if
(
!
lpBits
)
{
...
...
@@ -352,7 +352,7 @@ BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc,
{
DWORD
flags
=
0
;
TRACE
(
"Compression == 0x%08
l
x
\n
"
,
lpbi
->
biCompression
);
TRACE
(
"Compression == 0x%08x
\n
"
,
lpbi
->
biCompression
);
if
(
wFlags
&
DDF_NOTKEYFRAME
)
flags
|=
ICDECOMPRESS_NOTKEYFRAME
;
...
...
@@ -382,7 +382,7 @@ BOOL VFWAPI DrawDibDraw(HDRAWDIB hdd, HDC hdc,
* DrawDibStart [MSVFW32.@]
*/
BOOL
VFWAPI
DrawDibStart
(
HDRAWDIB
hdd
,
DWORD
rate
)
{
FIXME
(
"(%p, %
l
d), stub
\n
"
,
hdd
,
rate
);
FIXME
(
"(%p, %d), stub
\n
"
,
hdd
,
rate
);
return
TRUE
;
}
...
...
@@ -431,7 +431,7 @@ BOOL VFWAPI DrawDibSetPalette(HDRAWDIB hdd, HPALETTE hpal)
*/
LPVOID
VFWAPI
DrawDibGetBuffer
(
HDRAWDIB
hdd
,
LPBITMAPINFOHEADER
lpbi
,
DWORD
dwSize
,
DWORD
dwFlags
)
{
FIXME
(
"(%p, %p, 0x%08
lx, 0x%08lx), stub
\n
"
,
hdd
,
lpbi
,
dwSize
,
dwFlags
);
FIXME
(
"(%p, %p, 0x%08
x, 0x%08x), stub
\n
"
,
hdd
,
lpbi
,
dwSize
,
dwFlags
);
return
NULL
;
}
...
...
dlls/msvfw32/mciwnd.c
View file @
c840d396
...
...
@@ -104,7 +104,7 @@ BOOL VFWAPIV MCIWndRegisterClass(void)
HWND
VFWAPIV
MCIWndCreateW
(
HWND
hwndParent
,
HINSTANCE
hInstance
,
DWORD
dwStyle
,
LPCWSTR
szFile
)
{
TRACE
(
"%p %p %
l
x %s
\n
"
,
hwndParent
,
hInstance
,
dwStyle
,
debugstr_w
(
szFile
));
TRACE
(
"%p %p %x %s
\n
"
,
hwndParent
,
hInstance
,
dwStyle
,
debugstr_w
(
szFile
));
MCIWndRegisterClass
();
...
...
@@ -753,7 +753,7 @@ end_of_mci_open:
MCIWND_notify_error
(
mwi
);
return
0
;
}
TRACE
(
"MCIWNDM_GETLENGTH: %
l
d
\n
"
,
mci_status
.
dwReturn
);
TRACE
(
"MCIWNDM_GETLENGTH: %d
\n
"
,
mci_status
.
dwReturn
);
return
mci_status
.
dwReturn
;
}
...
...
@@ -770,7 +770,7 @@ end_of_mci_open:
MCIWND_notify_error
(
mwi
);
return
0
;
}
TRACE
(
"MCIWNDM_GETSTART: %
l
d
\n
"
,
mci_status
.
dwReturn
);
TRACE
(
"MCIWNDM_GETSTART: %d
\n
"
,
mci_status
.
dwReturn
);
return
mci_status
.
dwReturn
;
}
...
...
@@ -1066,7 +1066,7 @@ end_of_mci_open:
return
0
;
case
MCIWNDM_GETSTYLES
:
TRACE
(
"MCIWNDM_GETSTYLES: %08
l
x
\n
"
,
mwi
->
dwStyle
&
0xffff
);
TRACE
(
"MCIWNDM_GETSTYLES: %08x
\n
"
,
mwi
->
dwStyle
&
0xffff
);
return
mwi
->
dwStyle
&
0xffff
;
case
MCIWNDM_GETDEVICEA
:
...
...
dlls/msvfw32/msvideo16.c
View file @
c840d396
...
...
@@ -155,7 +155,7 @@ LRESULT VFWAPIV ICMessage16( HIC16 hic, UINT16 msg, UINT16 cb, VA_LIST16 valist
lpData
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cb
);
TRACE
(
"0x%08
l
x, %u, %u, ...)
\n
"
,
(
DWORD
)
hic
,
msg
,
cb
);
TRACE
(
"0x%08x, %u, %u, ...)
\n
"
,
(
DWORD
)
hic
,
msg
,
cb
);
for
(
i
=
0
;
i
<
cb
/
sizeof
(
WORD
);
i
++
)
{
...
...
@@ -176,7 +176,7 @@ LRESULT VFWAPI ICGetInfo16(HIC16 hic, ICINFO16 * picinfo, DWORD cb)
{
LRESULT
ret
;
TRACE
(
"(0x%08
lx,%p,%l
d)
\n
"
,
(
DWORD
)
hic
,
picinfo
,
cb
);
TRACE
(
"(0x%08
x,%p,%
d)
\n
"
,
(
DWORD
)
hic
,
picinfo
,
cb
);
ret
=
ICSendMessage16
(
hic
,
ICM_GETINFO
,
(
DWORD
)
picinfo
,
cb
);
TRACE
(
" -> 0x%08lx
\n
"
,
ret
);
return
ret
;
...
...
@@ -207,7 +207,7 @@ DWORD VFWAPIV ICCompress16(HIC16 hic, DWORD dwFlags,
ICCOMPRESS
iccmp
;
SEGPTR
seg_iccmp
;
TRACE
(
"(0x%08
lx,%l
d,%p,%p,%p,%p,...)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
TRACE
(
"(0x%08
x,%
d,%p,%p,%p,%p,...)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiOutput
,
lpData
,
lpbiInput
,
lpBits
);
iccmp
.
dwFlags
=
dwFlags
;
...
...
@@ -241,7 +241,7 @@ DWORD VFWAPIV ICDecompress16(HIC16 hic, DWORD dwFlags,
SEGPTR
segptr
;
DWORD
ret
;
TRACE
(
"(0x%08
lx,%l
d,%p,%p,%p,%p)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiFormat
,
TRACE
(
"(0x%08
x,%
d,%p,%p,%p,%p)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiFormat
,
lpData
,
lpbi
,
lpBits
);
icd
.
dwFlags
=
dwFlags
;
...
...
@@ -280,7 +280,7 @@ DWORD VFWAPIV ICDrawBegin16(HIC16 hic, /* [in] */
ICDRAWBEGIN16
icdb
;
SEGPTR
seg_icdb
;
TRACE
(
"(0x%08
lx,%ld,0x%08lx,0x%08lx,0x%08lx,%u,%u,%u,%u,%p,%u,%u,%u,%u,%ld,%l
d)
\n
"
,
TRACE
(
"(0x%08
x,%d,0x%08x,0x%08x,0x%08x,%u,%u,%u,%u,%p,%u,%u,%u,%u,%d,%
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
(
DWORD
)
hpal
,
(
DWORD
)
hwnd
,
(
DWORD
)
hdc
,
xDst
,
yDst
,
dxDst
,
dyDst
,
lpbi
,
xSrc
,
ySrc
,
dxSrc
,
dySrc
,
dwRate
,
dwScale
);
...
...
@@ -319,7 +319,7 @@ DWORD VFWAPIV ICDraw16(HIC16 hic, DWORD dwFlags,
ICDRAW
icd
;
SEGPTR
seg_icd
;
TRACE
(
"(0x%08
lx,0x%08lx,%p,%p,%ld,%l
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
TRACE
(
"(0x%08
x,0x%08x,%p,%p,%d,%
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpFormat
,
lpData
,
cbData
,
lTime
);
icd
.
dwFlags
=
dwFlags
;
icd
.
lpFormat
=
lpFormat
;
...
...
dlls/msvfw32/msvideo_main.c
View file @
c840d396
...
...
@@ -82,7 +82,7 @@ HMODULE MSVFW32_hModule;
BOOL
WINAPI
DllMain
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
TRACE
(
"%p,%
l
x,%p
\n
"
,
hinst
,
reason
,
reserved
);
TRACE
(
"%p,%x,%p
\n
"
,
hinst
,
reason
,
reserved
);
switch
(
reason
)
{
...
...
@@ -205,7 +205,7 @@ static BOOL ICInfo_enum_handler(const char *drv, int nr, void *param)
*/
BOOL
VFWAPI
ICInfo
(
DWORD
fccType
,
DWORD
fccHandler
,
ICINFO
*
lpicinfo
)
{
TRACE
(
"(%s,%s/%08
lx,%p)
\n
"
,
TRACE
(
"(%s,%s/%08
x,%p)
\n
"
,
wine_dbgstr_fcc
(
fccType
),
wine_dbgstr_fcc
(
fccHandler
),
fccHandler
,
lpicinfo
);
lpicinfo
->
fccType
=
fccType
;
...
...
@@ -394,7 +394,7 @@ HIC MSVIDEO_OpenFunction(DWORD fccType, DWORD fccHandler, UINT wMode,
ICOPEN
icopen
;
WINE_HIC
*
whic
;
TRACE
(
"(%s,%s,%d,%p,%08
lx)
\n
"
,
TRACE
(
"(%s,%s,%d,%p,%08
x)
\n
"
,
wine_dbgstr_fcc
(
fccType
),
wine_dbgstr_fcc
(
fccHandler
),
wMode
,
lpfnHandler
,
lpfnHandler16
);
icopen
.
dwSize
=
sizeof
(
ICOPEN
);
...
...
@@ -462,7 +462,7 @@ LRESULT VFWAPI ICGetInfo(HIC hic, ICINFO *picinfo, DWORD cb)
LRESULT
ret
;
WINE_HIC
*
whic
=
MSVIDEO_GetHicPtr
(
hic
);
TRACE
(
"(%p,%p,%
l
d)
\n
"
,
hic
,
picinfo
,
cb
);
TRACE
(
"(%p,%p,%d)
\n
"
,
hic
,
picinfo
,
cb
);
whic
=
MSVIDEO_GetHicPtr
(
hic
);
if
(
!
whic
)
return
ICERR_BADHANDLE
;
...
...
@@ -607,11 +607,11 @@ HIC VFWAPI ICGetDisplayFormat(
ICDecompressGetFormat
(
tmphic
,
lpbiIn
,
lpbiOut
);
if
(
lpbiOut
->
biCompression
!=
0
)
{
FIXME
(
"Ooch, how come decompressor outputs compressed data (%l
d)??
\n
"
,
FIXME
(
"Ooch, how come decompressor outputs compressed data (%
d)??
\n
"
,
lpbiOut
->
biCompression
);
}
if
(
lpbiOut
->
biSize
<
sizeof
(
*
lpbiOut
))
{
FIXME
(
"Ooch, size of output BIH is too small (%l
d)
\n
"
,
FIXME
(
"Ooch, size of output BIH is too small (%
d)
\n
"
,
lpbiOut
->
biSize
);
lpbiOut
->
biSize
=
sizeof
(
*
lpbiOut
);
}
...
...
@@ -649,7 +649,7 @@ ICCompress(
{
ICCOMPRESS
iccmp
;
TRACE
(
"(%p,%
l
d,%p,%p,%p,%p,...)
\n
"
,
hic
,
dwFlags
,
lpbiOutput
,
lpData
,
lpbiInput
,
lpBits
);
TRACE
(
"(%p,%d,%p,%p,%p,%p,...)
\n
"
,
hic
,
dwFlags
,
lpbiOutput
,
lpData
,
lpbiInput
,
lpBits
);
iccmp
.
dwFlags
=
dwFlags
;
...
...
@@ -677,9 +677,9 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
ICDECOMPRESS
icd
;
DWORD
ret
;
TRACE
(
"(%p,%
l
d,%p,%p,%p,%p)
\n
"
,
hic
,
dwFlags
,
lpbiFormat
,
lpData
,
lpbi
,
lpBits
);
TRACE
(
"(%p,%d,%p,%p,%p,%p)
\n
"
,
hic
,
dwFlags
,
lpbiFormat
,
lpData
,
lpbi
,
lpBits
);
TRACE
(
"lpBits[0] == %
l
x
\n
"
,((
LPDWORD
)
lpBits
)[
0
]);
TRACE
(
"lpBits[0] == %x
\n
"
,((
LPDWORD
)
lpBits
)[
0
]);
icd
.
dwFlags
=
dwFlags
;
icd
.
lpbiInput
=
lpbiFormat
;
...
...
@@ -690,9 +690,9 @@ DWORD VFWAPIV ICDecompress(HIC hic,DWORD dwFlags,LPBITMAPINFOHEADER lpbiFormat,
icd
.
ckid
=
0
;
ret
=
ICSendMessage
(
hic
,
ICM_DECOMPRESS
,(
DWORD_PTR
)
&
icd
,
sizeof
(
ICDECOMPRESS
));
TRACE
(
"lpBits[0] == %
l
x
\n
"
,((
LPDWORD
)
lpBits
)[
0
]);
TRACE
(
"lpBits[0] == %x
\n
"
,((
LPDWORD
)
lpBits
)[
0
]);
TRACE
(
"-> %
l
d
\n
"
,
ret
);
TRACE
(
"-> %d
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -739,7 +739,7 @@ static BOOL enum_compressors(HWND list, COMPVARS *pcv, BOOL enum_all)
{
if
(
ICCompressQuery
(
hic
,
pcv
->
lpbiIn
,
NULL
)
!=
ICERR_OK
)
{
TRACE
(
"fccHandler %s doesn't support input DIB format %
l
d
\n
"
,
TRACE
(
"fccHandler %s doesn't support input DIB format %d
\n
"
,
wine_dbgstr_fcc
(
icinfo
.
fccHandler
),
pcv
->
lpbiIn
->
bmiHeader
.
biCompression
);
ICClose
(
hic
);
continue
;
...
...
@@ -1087,7 +1087,7 @@ LRESULT MSVIDEO_SendMessage(WINE_HIC* whic, UINT msg, DWORD_PTR lParam1, DWORD_P
XX
(
ICM_DECOMPRESSEX_END
);
XX
(
ICM_SET_STATUS_PROC
);
default:
FIXME
(
"(%p,0x%08
l
x,0x%08lx,0x%08lx) unknown message
\n
"
,
whic
,(
DWORD
)
msg
,
lParam1
,
lParam2
);
FIXME
(
"(%p,0x%08x,0x%08lx,0x%08lx) unknown message
\n
"
,
whic
,(
DWORD
)
msg
,
lParam1
,
lParam2
);
}
#undef XX
...
...
@@ -1138,7 +1138,7 @@ DWORD VFWAPIV ICDrawBegin(
ICDRAWBEGIN
icdb
;
TRACE
(
"(%p,%
ld,%p,%p,%p,%u,%u,%u,%u,%p,%u,%u,%u,%u,%ld,%l
d)
\n
"
,
TRACE
(
"(%p,%
d,%p,%p,%p,%u,%u,%u,%u,%p,%u,%u,%u,%u,%d,%
d)
\n
"
,
hic
,
dwFlags
,
hpal
,
hwnd
,
hdc
,
xDst
,
yDst
,
dxDst
,
dyDst
,
lpbi
,
xSrc
,
ySrc
,
dxSrc
,
dySrc
,
dwRate
,
dwScale
);
...
...
@@ -1166,7 +1166,7 @@ DWORD VFWAPIV ICDrawBegin(
DWORD
VFWAPIV
ICDraw
(
HIC
hic
,
DWORD
dwFlags
,
LPVOID
lpFormat
,
LPVOID
lpData
,
DWORD
cbData
,
LONG
lTime
)
{
ICDRAW
icd
;
TRACE
(
"(%p,%
ld,%p,%p,%ld,%l
d)
\n
"
,
hic
,
dwFlags
,
lpFormat
,
lpData
,
cbData
,
lTime
);
TRACE
(
"(%p,%
d,%p,%p,%d,%
d)
\n
"
,
hic
,
dwFlags
,
lpFormat
,
lpData
,
cbData
,
lTime
);
icd
.
dwFlags
=
dwFlags
;
icd
.
lpFormat
=
lpFormat
;
...
...
@@ -1225,7 +1225,7 @@ HANDLE VFWAPI ICImageCompress(
LPBITMAPINFO
lpbiOut
,
LONG
lQuality
,
LONG
*
plSize
)
{
FIXME
(
"(%p,%08x,%p,%p,%p,%
l
d,%p)
\n
"
,
FIXME
(
"(%p,%08x,%p,%p,%p,%d,%p)
\n
"
,
hic
,
uiFlags
,
lpbiIn
,
lpBits
,
lpbiOut
,
lQuality
,
plSize
);
return
NULL
;
...
...
@@ -1329,7 +1329,7 @@ HANDLE VFWAPI ICImageDecompress(
goto
err
;
bInDecompress
=
TRUE
;
TRACE
(
"cbHdr %
ld, biSizeImage %l
d
\n
"
,
cbHdr
,
biSizeImage
);
TRACE
(
"cbHdr %
d, biSizeImage %
d
\n
"
,
cbHdr
,
biSizeImage
);
hMem
=
GlobalAlloc
(
GMEM_MOVEABLE
|
GMEM_ZEROINIT
,
cbHdr
+
biSizeImage
);
if
(
hMem
==
NULL
)
...
...
@@ -1374,7 +1374,7 @@ LPVOID VFWAPI ICSeqCompressFrame(PCOMPVARS pc, UINT uiFlags, LPVOID lpBits, BOOL
if
(
pc
->
cbState
!=
sizeof
(
ICCOMPRESS
))
{
ERR
(
"Invalid cbState %
l
i
\n
"
,
pc
->
cbState
);
ERR
(
"Invalid cbState %i
\n
"
,
pc
->
cbState
);
return
NULL
;
}
...
...
@@ -1404,7 +1404,7 @@ LPVOID VFWAPI ICSeqCompressFrame(PCOMPVARS pc, UINT uiFlags, LPVOID lpBits, BOOL
*
pfKey
=
FALSE
;
*
plSize
=
icComp
->
lpbiOutput
->
biSizeImage
;
TRACE
(
" -- 0x%08
l
x
\n
"
,
ret
);
TRACE
(
" -- 0x%08x
\n
"
,
ret
);
if
(
ret
==
ICERR_OK
)
{
LPVOID
oldprev
,
oldout
;
...
...
@@ -1428,7 +1428,7 @@ void VFWAPI ICSeqCompressFrameEnd(PCOMPVARS pc)
DWORD
ret
;
TRACE
(
"(%p)
\n
"
,
pc
);
ret
=
ICSendMessage
(
pc
->
hic
,
ICM_COMPRESS_END
,
0
,
0
);
TRACE
(
" -- %
l
x
\n
"
,
ret
);
TRACE
(
" -- %x
\n
"
,
ret
);
HeapFree
(
GetProcessHeap
(),
0
,
pc
->
lpbiIn
);
HeapFree
(
GetProcessHeap
(),
0
,
pc
->
lpBitsPrev
);
HeapFree
(
GetProcessHeap
(),
0
,
pc
->
lpBitsOut
);
...
...
@@ -1475,19 +1475,19 @@ BOOL VFWAPI ICSeqCompressFrameStart(PCOMPVARS pc, LPBITMAPINFO lpbiIn)
return
FALSE
;
}
TRACE
(
"Compvars:
\n
"
"
\t
pc:
\n
"
"
\t
size: %l
i
\n
"
"
\t
flags: %l
i
\n
"
"
\t
hic: %p
\n
"
"
\t
type: %l
x
\n
"
"
\t
handler: %l
x
\n
"
"
\t
in/out: %p/%p
\n
"
"key/data/quality: %li/%li/%l
i
\n
"
,
"
\t
pc:
\n
"
"
\t
size: %
i
\n
"
"
\t
flags: %
i
\n
"
"
\t
hic: %p
\n
"
"
\t
type: %
x
\n
"
"
\t
handler: %
x
\n
"
"
\t
in/out: %p/%p
\n
"
"key/data/quality: %i/%i/%
i
\n
"
,
pc
->
cbSize
,
pc
->
dwFlags
,
pc
->
hic
,
pc
->
fccType
,
pc
->
fccHandler
,
pc
->
lpbiIn
,
pc
->
lpbiOut
,
pc
->
lKey
,
pc
->
lDataRate
,
pc
->
lQ
);
ret
=
ICSendMessage
(
pc
->
hic
,
ICM_COMPRESS_BEGIN
,
(
DWORD_PTR
)
pc
->
lpbiIn
,
(
DWORD_PTR
)
pc
->
lpbiOut
);
TRACE
(
" -- %
l
x
\n
"
,
ret
);
TRACE
(
" -- %x
\n
"
,
ret
);
if
(
ret
==
ICERR_OK
)
{
ICCOMPRESS
*
icComp
=
(
ICCOMPRESS
*
)
pc
->
lpState
;
...
...
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