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
b11e2d8d
Commit
b11e2d8d
authored
Jul 01, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Jul 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add definitions for IWICPalette.
parent
56af92b0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
wincodec.idl
include/wincodec.idl
+63
-0
No files found.
include/wincodec.idl
View file @
b11e2d8d
...
...
@@ -51,6 +51,24 @@ typedef enum WICBitmapDecoderCapabilities {
WICBitmapDecoderCapabilityCanDecodeThumbnail
=
0
x00000010
,
}
WICBitmapDecoderCapabilities
;
typedef
enum
WICBitmapPaletteType
{
WICBitmapPaletteTypeCustom
=
0
x00000000
,
WICBitmapPaletteTypeMedianCut
=
0
x00000001
,
WICBitmapPaletteTypeFixedBW
=
0
x00000002
,
WICBitmapPaletteTypeFixedHalftone8
=
0
x00000003
,
WICBitmapPaletteTypeFixedHalftone27
=
0
x00000004
,
WICBitmapPaletteTypeFixedHalftone64
=
0
x00000005
,
WICBitmapPaletteTypeFixedHalftone125
=
0
x00000006
,
WICBitmapPaletteTypeFixedHalftone216
=
0
x00000007
,
WICBitmapPaletteTypeFixedWebPalette
=
WICBitmapPaletteTypeFixedHalftone216
,
WICBitmapPaletteTypeFixedHalftone252
=
0
x00000008
,
WICBitmapPaletteTypeFixedHalftone256
=
0
x00000009
,
WICBitmapPaletteTypeFixedGray4
=
0
x0000000A
,
WICBitmapPaletteTypeFixedGray16
=
0
x0000000B
,
WICBitmapPaletteTypeFixedGray256
=
0
x0000000C
,
WICBITMAPPALETTETYPE_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICBitmapPaletteType
;
typedef
GUID
WICPixelFormatGUID
;
typedef
REFGUID
REFWICPixelFormatGUID
;
...
...
@@ -73,6 +91,8 @@ typedef struct WICRect {
INT
Height
;
}
WICRect
;
typedef
UINT32
WICColor
;
cpp_quote
(
"#define WINCODEC_ERR_WRONGSTATE 0x88982f04"
)
cpp_quote
(
"#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44"
)
...
...
@@ -121,6 +141,49 @@ interface IWICBitmapSource : IUnknown
[
object
,
uuid
(
00000040
-
a8f2
-
4877
-
ba0a
-
fd2b6645fb94
)
]
interface
IWICPalette
:
IUnknown
{
HRESULT
InitializePredefined
(
[
in
]
WICBitmapPaletteType
ePaletteType
,
[
in
]
BOOL
fAddTransparentColor
)
;
HRESULT
InitializeCustom
(
[
in
,
size_is
(
colorCount
)
]
WICColor
*
pColors
,
[
in
]
UINT
colorCount
)
;
HRESULT
InitializeFromBitmap
(
[
in
]
IWICBitmapSource
*
pISurface
,
[
in
]
UINT
colorCount
,
[
in
]
BOOL
fAddTransparentColor
)
;
HRESULT
InitializeFromPalette
(
[
in
]
IWICPalette
*
pIPalette
)
;
HRESULT
GetType
(
[
out
]
WICBitmapPaletteType
*
pePaletteType
)
;
HRESULT
GetColorCount
(
[
out
]
UINT
*
pcCount
)
;
HRESULT
GetColors
(
[
in
]
UINT
colorCount
,
[
out
,
size_is
(
colorCount
)
]
WICColor
*
pColors
,
[
out
]
UINT
*
pcActualColors
)
;
HRESULT
IsBlackWhite
(
[
out
]
BOOL
*
pfIsBlackWhite
)
;
HRESULT
IsGrayscale
(
[
out
]
BOOL
*
pfIsGrayscale
)
;
HRESULT
HasAlpha
(
[
out
]
BOOL
*
pfHasAlpha
)
;
}
[
object
,
uuid
(
3b16811b
-
6
a43
-
4
ec9
-
a813
-
3
d930c13b940
)
]
interface
IWICBitmapFrameDecode
:
IWICBitmapSource
...
...
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