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
7862205d
Commit
7862205d
authored
Jun 05, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 07, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add definitions for IWICColorContext.
parent
4169d4df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
1 deletion
+34
-1
wincodec.idl
include/wincodec.idl
+34
-1
No files found.
include/wincodec.idl
View file @
7862205d
...
...
@@ -108,6 +108,12 @@ typedef enum WICBitmapTransformOptions {
WICBITMAPTRANSFORMOPTIONS_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICBitmapTransformOptions
;
typedef
enum
WICColorContextType
{
WICColorContextUninitialized
=
0
x00000000
,
WICColorContextProfile
=
0
x00000001
,
WICColorContextExifColorSpace
=
0
x00000002
}
WICColorContextType
;
typedef
enum
WICComponentType
{
WICDecoder
=
0
x00000001
,
WICEncoder
=
0
x00000002
,
...
...
@@ -188,7 +194,6 @@ cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81")
cpp_quote
(
"#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c"
)
interface
IWICPalette
;
interface
IWICColorContext
;
interface
IWICColorTransform
;
interface
IWICFastMetadataEncoder
;
interface
IWICMetadataQueryReader
;
...
...
@@ -196,6 +201,34 @@ interface IWICMetadataQueryWriter;
[
object
,
uuid
(
3
c613a02
-
34b2
-
44
ea
-
9
a7c
-
45
aea9c6fd6d
)
]
interface
IWICColorContext
:
IUnknown
{
HRESULT
InitializeFromFilename
(
[
in
]
LPCWSTR
wzFilename
)
;
HRESULT
InitializeFromMemory
(
[
in
,
size_is
(
cbBufferSize
)
]
const
BYTE
*
pbBuffer
,
[
in
]
UINT
cbBufferSize
)
;
HRESULT
InitializeFromExifColorSpace
(
[
in
]
UINT
value
)
;
HRESULT
GetType
(
[
out
]
WICColorContextType
*
pType
)
;
HRESULT
GetProfileBytes
(
[
in
]
UINT
cbBuffer
,
[
in
,
out
,
unique
,
size_is
(
cbBuffer
)
]
BYTE
*
pbBuffer
,
[
out
]
UINT
*
pcbActual
)
;
HRESULT
GetExifColorSpace
(
[
out
]
UINT
*
pValue
)
;
}
[
object
,
uuid
(
00000120
-
a8f2
-
4877
-
ba0a
-
fd2b6645fb94
)
]
interface
IWICBitmapSource
:
IUnknown
...
...
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