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
d89b470e
Commit
d89b470e
authored
Jul 14, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Aug 05, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add IWICBitmapDecoderInfo to headers.
parent
a14256f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
144 additions
and
2 deletions
+144
-2
wincodec.idl
include/wincodec.idl
+144
-2
No files found.
include/wincodec.idl
View file @
d89b470e
...
...
@@ -69,6 +69,23 @@ typedef enum WICBitmapPaletteType {
WICBITMAPPALETTETYPE_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICBitmapPaletteType
;
typedef
enum
WICComponentType
{
WICDecoder
=
0
x00000001
,
WICEncoder
=
0
x00000002
,
WICPixelFormatConverter
=
0
x00000004
,
WICMetadataReader
=
0
x00000008
,
WICMetadataWriter
=
0
x00000010
,
WICPixelFormat
=
0
x00000020
,
WICCOMPONENTTYPE_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICComponentType
;
typedef
enum
WICComponentSigning
{
WICComponentSigned
=
0
x00000001
,
WICComponentUnsigned
=
0
x00000002
,
WICComponentSafe
=
0
x00000004
,
WICComponentDisabled
=
0
x80000000
}
WICComponentSigning
;
typedef
GUID
WICPixelFormatGUID
;
typedef
REFGUID
REFWICPixelFormatGUID
;
...
...
@@ -91,15 +108,23 @@ typedef struct WICRect {
INT
Height
;
}
WICRect
;
typedef
struct
WICBitmapPattern
{
ULARGE_INTEGER
Position
;
ULONG
Length
;
BYTE
*
Pattern
;
BYTE
*
Mask
;
BOOL
EndOfStream
;
}
WICBitmapPattern
;
typedef
UINT32
WICColor
;
cpp_quote
(
"#define WINCODEC_ERR_WRONGSTATE 0x88982f04"
)
cpp_quote
(
"#define WINCODEC_ERR_CODECNOTHUMBNAIL 0x88982f44"
)
cpp_quote
(
"#define WINCODEC_ERR_PALETTEUNAVAILABLE 0x88982f45"
)
cpp_quote
(
"#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81"
)
cpp_quote
(
"#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c"
)
interface
IWICBitmap
;
interface
IWICComponentInfo
;
interface
IWICBitmapEncoder
;
interface
IWICPalette
;
interface
IWICFormatConverter
;
...
...
@@ -112,7 +137,6 @@ interface IWICColorTransform;
interface
IWICFastMetadataEncoder
;
interface
IWICMetadataQueryReader
;
interface
IWICMetadataQueryWriter
;
interface
IWICBitmapDecoderInfo
;
[
object
,
...
...
@@ -186,6 +210,45 @@ interface IWICPalette : IUnknown
[
object
,
uuid
(
23b
c3f0a
-
698b
-
4357
-
886b
-
f24d50671334
)
]
interface
IWICComponentInfo
:
IUnknown
{
HRESULT
GetComponentType
(
[
out
]
WICComponentType
*
pType
)
;
HRESULT
GetCLSID
(
[
out
]
CLSID
*
pclsid
)
;
HRESULT
GetSigningStatus
(
[
out
]
DWORD
*
pStatus
)
;
HRESULT
GetAuthor
(
[
in
]
UINT
cchAuthor
,
[
in
,
out
,
unique
,
size_is
(
cchAuthor
)
]
WCHAR
*
wzAuthor
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetVendorGUID
(
[
out
]
GUID
*
pguidVendor
)
;
HRESULT
GetVersion
(
[
in
]
UINT
cchVersion
,
[
in
,
out
,
unique
,
size_is
(
cchVersion
)
]
WCHAR
*
wzVersion
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetSpecVersion
(
[
in
]
UINT
cchSpecVersion
,
[
in
,
out
,
unique
,
size_is
(
cchSpecVersion
)
]
WCHAR
*
wzSpecVersion
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetFriendlyName
(
[
in
]
UINT
cchFriendlyName
,
[
in
,
out
,
unique
,
size_is
(
cchFriendlyName
)
]
WCHAR
*
wzFriendlyName
,
[
out
]
UINT
*
pcchActual
)
;
}
[
object
,
uuid
(
3b16811b
-
6
a43
-
4
ec9
-
a813
-
3
d930c13b940
)
]
interface
IWICBitmapFrameDecode
:
IWICBitmapSource
...
...
@@ -204,6 +267,85 @@ interface IWICBitmapFrameDecode : IWICBitmapSource
[
object
,
uuid
(
e87a44c4
-
b76e
-
4
c47
-
8b09
-
298
eb12a2714
)
]
interface
IWICBitmapCodecInfo
:
IWICComponentInfo
{
HRESULT
GetContainerFormat
(
[
out
]
GUID
*
pguidContainerFormat
)
;
HRESULT
GetPixelFormats
(
[
in
]
UINT
cFormats
,
[
in
,
out
,
unique
,
size_is
(
cFormats
)
]
GUID
*
pguidPixelFormats
,
[
out
]
UINT
*
pcActual
)
;
HRESULT
GetColorManagementVersion
(
[
in
]
UINT
cchColorManagementVersion
,
[
in
,
out
,
unique
,
size_is
(
cchColorManagementVersion
)
]
WCHAR
*
wzColorManagementVersion
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetDeviceManufacturer
(
[
in
]
UINT
cchDeviceManufacturer
,
[
in
,
out
,
unique
,
size_is
(
cchDeviceManufacturer
)
]
WCHAR
*
wzDeviceManufacturer
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetDeviceModels
(
[
in
]
UINT
cchDeviceModels
,
[
in
,
out
,
unique
,
size_is
(
cchDeviceModels
)
]
WCHAR
*
wzDeviceModels
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetMimeTypes
(
[
in
]
UINT
cchMimeTypes
,
[
in
,
out
,
unique
,
size_is
(
cchMimeTypes
)
]
WCHAR
*
wzMimeTypes
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
GetFileExtensions
(
[
in
]
UINT
cchFileExtensions
,
[
in
,
out
,
unique
,
size_is
(
cchFileExtensions
)
]
WCHAR
*
wzFileExtensions
,
[
out
]
UINT
*
pcchActual
)
;
HRESULT
DoesSupportAnimation
(
[
out
]
BOOL
*
pfSupportAnimation
)
;
HRESULT
DoesSupportChromaKey
(
[
out
]
BOOL
*
pfSupportChromaKey
)
;
HRESULT
DoesSupportLossless
(
[
out
]
BOOL
*
pfSupportLossless
)
;
HRESULT
DoesSupportMultiframe
(
[
out
]
BOOL
*
pfSupportMultiframe
)
;
HRESULT
MatchesMimeType
(
[
in
]
LPCWSTR
wzMimeType
,
[
out
]
BOOL
*
pfMatches
)
;
}
interface
IWICBitmapDecoder
;
[
object
,
uuid
(
d8cd007f
-
d08f
-
4191
-
9b
fc
-
236
ea7f0e4b5
)
]
interface
IWICBitmapDecoderInfo
:
IWICBitmapCodecInfo
{
[
local
]
HRESULT
GetPatterns
(
[
in
]
UINT
cbSizePatterns
,
[
in
,
out
,
unique
]
WICBitmapPattern
*
pPatterns
,
[
in
,
out
,
unique
]
UINT
*
pcPatterns
,
[
in
,
out
,
unique
]
UINT
*
pcbPatternsActual
)
;
HRESULT
MatchesPattern
(
[
in
]
IStream
*
pIStream
,
[
out
]
BOOL
*
pfMatches
)
;
HRESULT
CreateInstance
(
[
out
]
IWICBitmapDecoder
**
ppIBitmapDecoder
)
;
}
[
object
,
uuid
(
9
edde9e7
-
8
dee
-
47
ea
-
99
df
-
e6faf2ed44bf
)
]
interface
IWICBitmapDecoder
:
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