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
1c8c7aac
Commit
1c8c7aac
authored
Feb 15, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvideo.dll16: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16873ae0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/msvideo.dll16/Makefile.in
+0
-1
msvideo16.c
dlls/msvideo.dll16/msvideo16.c
+6
-6
No files found.
dlls/msvideo.dll16/Makefile.in
View file @
1c8c7aac
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
msvideo.dll16
MODULE
=
msvideo.dll16
IMPORTS
=
msvfw32 version advapi32 user32
IMPORTS
=
msvfw32 version advapi32 user32
...
...
dlls/msvideo.dll16/msvideo16.c
View file @
1c8c7aac
...
@@ -166,7 +166,7 @@ LRESULT VFWAPIV ICMessage16( HIC16 hic, UINT16 msg, UINT16 cb, VA_LIST16 valist
...
@@ -166,7 +166,7 @@ LRESULT VFWAPIV ICMessage16( HIC16 hic, UINT16 msg, UINT16 cb, VA_LIST16 valist
lpData
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cb
);
lpData
=
HeapAlloc
(
GetProcessHeap
(),
0
,
cb
);
TRACE
(
"0x%08x, %u, %u, ...)
\n
"
,
(
DWORD
)
hic
,
msg
,
cb
);
TRACE
(
"0x%08
l
x, %u, %u, ...)
\n
"
,
(
DWORD
)
hic
,
msg
,
cb
);
for
(
i
=
0
;
i
<
cb
/
sizeof
(
WORD
);
i
++
)
for
(
i
=
0
;
i
<
cb
/
sizeof
(
WORD
);
i
++
)
{
{
...
@@ -187,7 +187,7 @@ LRESULT VFWAPI ICGetInfo16(HIC16 hic, ICINFO16 * picinfo, DWORD cb)
...
@@ -187,7 +187,7 @@ LRESULT VFWAPI ICGetInfo16(HIC16 hic, ICINFO16 * picinfo, DWORD cb)
{
{
LRESULT
ret
;
LRESULT
ret
;
TRACE
(
"(0x%08
x,%p,%
d)
\n
"
,
(
DWORD
)
hic
,
picinfo
,
cb
);
TRACE
(
"(0x%08
lx,%p,%l
d)
\n
"
,
(
DWORD
)
hic
,
picinfo
,
cb
);
ret
=
ICSendMessage16
(
hic
,
ICM_GETINFO
,
(
DWORD
)
picinfo
,
cb
);
ret
=
ICSendMessage16
(
hic
,
ICM_GETINFO
,
(
DWORD
)
picinfo
,
cb
);
TRACE
(
" -> 0x%08lx
\n
"
,
ret
);
TRACE
(
" -> 0x%08lx
\n
"
,
ret
);
return
ret
;
return
ret
;
...
@@ -218,7 +218,7 @@ DWORD VFWAPIV ICCompress16(HIC16 hic, DWORD dwFlags,
...
@@ -218,7 +218,7 @@ DWORD VFWAPIV ICCompress16(HIC16 hic, DWORD dwFlags,
ICCOMPRESS
iccmp
;
ICCOMPRESS
iccmp
;
SEGPTR
seg_iccmp
;
SEGPTR
seg_iccmp
;
TRACE
(
"(0x%08
x,%
d,%p,%p,%p,%p,...)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
TRACE
(
"(0x%08
lx,%l
d,%p,%p,%p,%p,...)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiOutput
,
lpData
,
lpbiInput
,
lpBits
);
lpbiOutput
,
lpData
,
lpbiInput
,
lpBits
);
iccmp
.
dwFlags
=
dwFlags
;
iccmp
.
dwFlags
=
dwFlags
;
...
@@ -252,7 +252,7 @@ DWORD VFWAPIV ICDecompress16(HIC16 hic, DWORD dwFlags,
...
@@ -252,7 +252,7 @@ DWORD VFWAPIV ICDecompress16(HIC16 hic, DWORD dwFlags,
SEGPTR
segptr
;
SEGPTR
segptr
;
DWORD
ret
;
DWORD
ret
;
TRACE
(
"(0x%08
x,%
d,%p,%p,%p,%p)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiFormat
,
TRACE
(
"(0x%08
lx,%l
d,%p,%p,%p,%p)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpbiFormat
,
lpData
,
lpbi
,
lpBits
);
lpData
,
lpbi
,
lpBits
);
icd
.
dwFlags
=
dwFlags
;
icd
.
dwFlags
=
dwFlags
;
...
@@ -291,7 +291,7 @@ DWORD VFWAPIV ICDrawBegin16(HIC16 hic, /* [in] */
...
@@ -291,7 +291,7 @@ DWORD VFWAPIV ICDrawBegin16(HIC16 hic, /* [in] */
ICDRAWBEGIN16
icdb
;
ICDRAWBEGIN16
icdb
;
SEGPTR
seg_icdb
;
SEGPTR
seg_icdb
;
TRACE
(
"(0x%08
x,%d,0x%08x,0x%08x,0x%08x,%u,%u,%u,%u,%p,%u,%u,%u,%u,%d,%
d)
\n
"
,
TRACE
(
"(0x%08
lx,%ld,0x%08lx,0x%08lx,0x%08lx,%u,%u,%u,%u,%p,%u,%u,%u,%u,%ld,%l
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
(
DWORD
)
hpal
,
(
DWORD
)
hwnd
,
(
DWORD
)
hdc
,
(
DWORD
)
hic
,
dwFlags
,
(
DWORD
)
hpal
,
(
DWORD
)
hwnd
,
(
DWORD
)
hdc
,
xDst
,
yDst
,
dxDst
,
dyDst
,
lpbi
,
xSrc
,
ySrc
,
dxSrc
,
dySrc
,
dwRate
,
xDst
,
yDst
,
dxDst
,
dyDst
,
lpbi
,
xSrc
,
ySrc
,
dxSrc
,
dySrc
,
dwRate
,
dwScale
);
dwScale
);
...
@@ -330,7 +330,7 @@ DWORD VFWAPIV ICDraw16(HIC16 hic, DWORD dwFlags,
...
@@ -330,7 +330,7 @@ DWORD VFWAPIV ICDraw16(HIC16 hic, DWORD dwFlags,
ICDRAW
icd
;
ICDRAW
icd
;
SEGPTR
seg_icd
;
SEGPTR
seg_icd
;
TRACE
(
"(0x%08
x,0x%08x,%p,%p,%d,%
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
TRACE
(
"(0x%08
lx,0x%08lx,%p,%p,%ld,%l
d)
\n
"
,
(
DWORD
)
hic
,
dwFlags
,
lpFormat
,
lpData
,
cbData
,
lTime
);
lpFormat
,
lpData
,
cbData
,
lTime
);
icd
.
dwFlags
=
dwFlags
;
icd
.
dwFlags
=
dwFlags
;
icd
.
lpFormat
=
lpFormat
;
icd
.
lpFormat
=
lpFormat
;
...
...
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