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
ffa558bb
Commit
ffa558bb
authored
Nov 15, 2012
by
Hans Leidekker
Committed by
Alexandre Julliard
Nov 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Implement IWICColorContext::GetProfileBytes.
parent
da7c8c63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
colorcontext.c
dlls/windowscodecs/colorcontext.c
+12
-2
No files found.
dlls/windowscodecs/colorcontext.c
View file @
ffa558bb
...
...
@@ -151,8 +151,18 @@ static HRESULT WINAPI ColorContext_GetType(IWICColorContext *iface,
static
HRESULT
WINAPI
ColorContext_GetProfileBytes
(
IWICColorContext
*
iface
,
UINT
cbBuffer
,
BYTE
*
pbBuffer
,
UINT
*
pcbActual
)
{
FIXME
(
"(%p,%u,%p,%p)
\n
"
,
iface
,
cbBuffer
,
pbBuffer
,
pcbActual
);
return
E_NOTIMPL
;
ColorContext
*
This
=
impl_from_IWICColorContext
(
iface
);
TRACE
(
"(%p,%u,%p,%p)
\n
"
,
iface
,
cbBuffer
,
pbBuffer
,
pcbActual
);
if
(
This
->
type
!=
WICColorContextProfile
)
return
WINCODEC_ERR_NOTINITIALIZED
;
if
(
cbBuffer
>=
This
->
profile_len
&&
pbBuffer
)
memcpy
(
pbBuffer
,
This
->
profile
,
This
->
profile_len
);
*
pcbActual
=
This
->
profile_len
;
return
S_OK
;
}
static
HRESULT
WINAPI
ColorContext_GetExifColorSpace
(
IWICColorContext
*
iface
,
...
...
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