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
ad9036e1
Commit
ad9036e1
authored
May 28, 2009
by
Vincent Povirk
Committed by
Alexandre Julliard
Jun 08, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add wincodec.idl.
parent
ed4cde25
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
0 deletions
+195
-0
.gitignore
.gitignore
+1
-0
Makefile.in
include/Makefile.in
+1
-0
wincodec.idl
include/wincodec.idl
+193
-0
No files found.
.gitignore
View file @
ad9036e1
...
...
@@ -165,6 +165,7 @@ include/unknwn.h
include/urlhist.h
include/urlmon.h
include/vmr9.h
include/wincodec.h
include/wine/itss.h
include/wine/svcctl.h
include/wine/wined3d.h
...
...
include/Makefile.in
View file @
ad9036e1
...
...
@@ -77,6 +77,7 @@ PUBLIC_IDL_H_SRCS = \
urlhist.idl
\
urlmon.idl
\
vmr9.idl
\
wincodec.idl
\
wine/itss.idl
\
wine/svcctl.idl
\
wtypes.idl
\
...
...
include/wincodec.idl
0 → 100644
View file @
ad9036e1
/*
*
Copyright
2009
Vincent
Povirk
for
CodeWeavers
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
import
"wtypes.idl"
;
import
"propidl.idl"
;
import
"objidl.idl"
;
import
"ocidl.idl"
;
#
define
CODEC_FORCE_DWORD
0
x7fffffff
typedef
enum
WICDecodeOptions
{
WICDecodeMetadataCacheOnDemand
=
0
x00000000
,
WICDecodeMetadataCacheOnLoad
=
0
x00000001
,
WICMETADATACACHEOPTION_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICDecodeOptions
;
typedef
enum
WICBitmapCreateCacheOption
{
WICBitmapNoCache
=
0
x00000000
,
WICBitmapCacheOnDemand
=
0
x00000001
,
WICBitmapCacheOnLoad
=
0
x00000002
,
WICBITMAPCREATECACHEOPTION_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICBitmapCreateCacheOption
;
typedef
enum
WICBitmapAlphaChannelOption
{
WICBitmapUseAlpha
=
0
x00000000
,
WICBitmapUsePremultipliedAlpha
=
0
x00000001
,
WICBitmapIgnoreAlpha
=
0
x00000002
,
WICBITMAPALPHACHANNELOPTIONS_FORCE_DWORD
=
CODEC_FORCE_DWORD
}
WICBitmapAlphaChannelOption
;
typedef
GUID
WICPixelFormatGUID
;
typedef
REFGUID
REFWICPixelFormatGUID
;
interface
IWICBitmapSource
;
interface
IWICBitmapDecoder
;
interface
IWICBitmap
;
interface
IWICComponentInfo
;
interface
IWICBitmapEncoder
;
interface
IWICPalette
;
interface
IWICFormatConverter
;
interface
IWICBitmapScaler
;
interface
IWICBitmapClipper
;
interface
IWICBitmapFlipRotator
;
interface
IWICStream
;
interface
IWICColorContext
;
interface
IWICColorTransform
;
interface
IWICBitmapFrameDecode
;
interface
IWICFastMetadataEncoder
;
interface
IWICMetadataQueryReader
;
interface
IWICMetadataQueryWriter
;
cpp_quote
(
"DEFINE_GUID(CLSID_WICImagingFactory, 0xcacaf262,0x9370,0x4615,0xa1,0x3b,0x9f,0x55,0x39,0xda,0x4c,0x0a);"
)
[
object
,
uuid
(
ec5ec8a9
-
c395
-
4314
-
9
c77
-
54
d7a935ff70
)
]
interface
IWICImagingFactory
:
IUnknown
{
HRESULT
CreateDecoderFromFilename
(
[
in
]
LPCWSTR
wzFilename
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
DWORD
dwDesiredAccess
,
[
in
]
WICDecodeOptions
metadataOptions
,
[
out
,
retval
]
IWICBitmapDecoder
**
ppIDecoder
)
;
HRESULT
CreateDecoderFromStream
(
[
in
]
IStream
*
pIStream
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
WICDecodeOptions
metadataOptions
,
[
out
,
retval
]
IWICBitmapDecoder
**
ppIDecoder
)
;
HRESULT
CreateDecoderFromFileHandle
(
[
in
]
ULONG_PTR
hFile
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
WICDecodeOptions
metadataOptions
,
[
out
,
retval
]
IWICBitmapDecoder
**
ppIDecoder
)
;
HRESULT
CreateComponentInfo
(
[
in
]
REFCLSID
clsidComponent
,
[
out
]
IWICComponentInfo
**
ppIInfo
)
;
HRESULT
CreateDecoder
(
[
in
]
REFGUID
guidContainerFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
out
,
retval
]
IWICBitmapDecoder
**
ppIDecoder
)
;
HRESULT
CreateEncoder
(
[
in
]
REFGUID
guidContainerFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
out
,
retval
]
IWICBitmapEncoder
**
ppIEncoder
)
;
HRESULT
CreatePalette
(
[
out
]
IWICPalette
**
ppIPalette
)
;
HRESULT
CreateFormatConverter
(
[
out
]
IWICFormatConverter
**
ppIFormatConverter
)
;
HRESULT
CreateBitmapScaler
(
[
out
]
IWICBitmapScaler
**
ppIBitmapScaler
)
;
HRESULT
CreateBitmapClipper
(
[
out
]
IWICBitmapClipper
**
ppIBitmapClipper
)
;
HRESULT
CreateBitmapFlipRotator
(
[
out
]
IWICBitmapFlipRotator
**
ppIBitmapFlipRotator
)
;
HRESULT
CreateStream
(
[
out
]
IWICStream
**
ppIWICStream
)
;
HRESULT
CreateColorContext
(
[
out
]
IWICColorContext
**
ppIWICColorContext
)
;
HRESULT
CreateColorTransformer
(
[
out
]
IWICColorTransform
**
ppIWICColorTransform
)
;
HRESULT
CreateBitmap
(
[
in
]
UINT
uiWidth
,
[
in
]
UINT
uiHeight
,
[
in
]
REFWICPixelFormatGUID
pixelFormat
,
[
in
]
WICBitmapCreateCacheOption
option
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateBitmapFromSource
(
[
in
]
IWICBitmapSource
*
piBitmapSource
,
[
in
]
WICBitmapCreateCacheOption
option
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateBitmapFromSourceRect
(
[
in
]
IWICBitmapSource
*
piBitmapSource
,
[
in
]
UINT
x
,
[
in
]
UINT
y
,
[
in
]
UINT
width
,
[
in
]
UINT
height
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateBitmapFromMemory
(
[
in
]
UINT
uiWidth
,
[
in
]
UINT
uiHeight
,
[
in
]
REFWICPixelFormatGUID
pixelFormat
,
[
in
]
UINT
cbStride
,
[
in
]
UINT
cbBufferSize
,
[
in
,
size_is
(
cbBufferSize
)
]
BYTE
*
pbBuffer
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateBitmapFromHBITMAP
(
[
in
]
HBITMAP
hBitmap
,
[
in
,
unique
]
HPALETTE
hPalette
,
[
in
]
WICBitmapAlphaChannelOption
options
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateBitmapFromHICON
(
[
in
]
HICON
hIcon
,
[
out
]
IWICBitmap
**
ppIBitmap
)
;
HRESULT
CreateComponentEnumerator
(
[
in
]
DWORD
componentTypes
,
[
in
]
DWORD
options
,
[
out
]
IEnumUnknown
**
ppIEnumUnknown
)
;
HRESULT
CreateFastMetadataEncoderFromDecoder
(
[
in
]
IWICBitmapDecoder
*
pIDecoder
,
[
out
]
IWICFastMetadataEncoder
**
ppIFastEncoder
)
;
HRESULT
CreateFastMetadataEncoderFromFrameDecode
(
[
in
]
IWICBitmapFrameDecode
*
pIFrameDecoder
,
[
out
]
IWICFastMetadataEncoder
**
ppIFastEncoder
)
;
HRESULT
CreateQueryWriter
(
[
in
]
REFGUID
guidMetadataFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
out
]
IWICMetadataQueryWriter
**
ppIQueryWriter
)
;
HRESULT
CreateQueryWriterFromReader
(
[
in
]
IWICMetadataQueryReader
*
pIQueryReader
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
out
]
IWICMetadataQueryWriter
**
ppIQueryWriter
)
;
}
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