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
2c5ef845
Commit
2c5ef845
authored
Mar 24, 2012
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IWICPixelFormatInfo definition.
parent
9588617d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
0 deletions
+48
-0
wincodec.idl
include/wincodec.idl
+48
-0
No files found.
include/wincodec.idl
View file @
2c5ef845
...
...
@@ -140,6 +140,16 @@ typedef enum WICComponentEnumerateOptions {
WICComponentEnumerateDisabled
=
0
x80000000
}
WICComponentEnumerateOptions
;
typedef
enum
WICPixelFormatNumericRepresentation
{
WICPixelFormatNumericRepresentationUnspecified
=
0
x00000000
,
WICPixelFormatNumericRepresentationIndexed
=
0
x00000001
,
WICPixelFormatNumericRepresentationUnsignedInteger
=
0
x00000002
,
WICPixelFormatNumericRepresentationSignedInteger
=
0
x00000003
,
WICPixelFormatNumericRepresentationFixed
=
0
x00000004
,
WICPixelFormatNumericRepresentationFloat
=
0
x00000005
,
WICPIXELFORMATNUMERICREPRESENTATION_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICPixelFormatNumericRepresentation
;
typedef
GUID
WICPixelFormatGUID
;
typedef
REFGUID
REFWICPixelFormatGUID
;
...
...
@@ -446,6 +456,44 @@ interface IWICBitmapFrameDecode : IWICBitmapSource
[
object
,
uuid
(
e8eda601
-
3
d48
-
431
a
-
ab44
-
69059b
e88bbe
)
]
interface
IWICPixelFormatInfo
:
IWICComponentInfo
{
HRESULT
GetFormatGUID
(
[
out
]
GUID
*
pFormat
)
;
HRESULT
GetColorContext
(
[
out
]
IWICColorContext
**
ppIColorContext
)
;
HRESULT
GetBitsPerPixel
(
[
out
]
UINT
*
puiBitsPerPixel
)
;
HRESULT
GetChannelCount
(
[
out
]
UINT
*
puiChannelCount
)
;
HRESULT
GetChannelMask
(
[
in
]
UINT
uiChannelIndex
,
[
in
]
UINT
cbMaskBuffer
,
[
in
,
out
,
unique
,
size_is
(
cbMaskBuffer
)
]
BYTE
*
pbMaskBuffer
,
[
out
]
UINT
*
pcbActual
)
;
}
[
object
,
uuid
(
a9db33a2
-
af5f
-
43
c7
-
b679
-
74
f5984b5aa4
)
]
interface
IWICPixelFormatInfo2
:
IWICPixelFormatInfo
{
HRESULT
SupportsTransparency
(
[
out
]
BOOL
*
pfSupportsTransparency
)
;
HRESULT
GetNumericRepresentation
(
[
out
]
WICPixelFormatNumericRepresentation
*
pNumericRepresentation
)
;
}
[
object
,
uuid
(
e87a44c4
-
b76e
-
4
c47
-
8b09
-
298
eb12a2714
)
]
interface
IWICBitmapCodecInfo
:
IWICComponentInfo
...
...
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