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
a9d3fab1
Commit
a9d3fab1
authored
Oct 12, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
Oct 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implememnted GetFourCCCodes.
parent
f71c9628
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
x11.c
dlls/ddraw/ddraw/x11.c
+18
-3
No files found.
dlls/ddraw/ddraw/x11.c
View file @
a9d3fab1
...
...
@@ -1122,14 +1122,29 @@ static HRESULT WINAPI Xlib_IDirectDraw2Impl_EnumDisplayModes(
}
HRESULT
WINAPI
Xlib_IDirectDraw2Impl_GetFourCCCodes
(
LPDIRECTDRAW2
iface
,
LPDWORD
x
,
LPDWORD
y
LPDIRECTDRAW2
iface
,
LPDWORD
lpNumCodes
,
LPDWORD
lpCodes
)
{
#ifdef HAVE_XVIDEO
ICOM_THIS
(
IDirectDraw2Impl
,
iface
);
FIXME
(
"(%p,%p,%p), stub
\n
"
,
This
,
x
,
y
);
DDPRIVATE
(
This
);
XvImageFormatValues
*
fo
;
int
array_size
=
*
lpNumCodes
;
TRACE
(
"(%p,%p,%p) - %d slots available
\n
"
,
This
,
lpNumCodes
,
lpCodes
,
*
lpNumCodes
);
fo
=
TSXvListImageFormats
(
display
,
ddpriv
->
port_id
,
lpNumCodes
);
if
(
fo
==
NULL
)
*
lpNumCodes
=
0
;
/* I am not sure if X is clean in this case... */
if
(
lpCodes
!=
NULL
)
{
/* Fill in the FourCC table */
int
i
;
for
(
i
=
0
;
i
<
array_size
;
i
++
)
lpCodes
[
i
]
=
fo
[
i
].
id
;
}
if
(
fo
)
TSXFree
(
fo
);
return
DD_OK
;
#else
return
IDirectDraw2Impl_GetFourCCCodes
(
iface
,
x
,
y
);
return
IDirectDraw2Impl_GetFourCCCodes
(
iface
,
lpNumCodes
,
lpCodes
);
#endif
}
...
...
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