Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lorenzo Ferrillo
wine
Commits
5d3328d5
Commit
5d3328d5
authored
13 years ago
by
Esme Povirk
Committed by
Alexandre Julliard
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
include: Add definition of IWICComponentFactory and its dependencies.
parent
84fac09b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
include/Makefile.in
+1
-0
1 addition, 0 deletions
include/Makefile.in
include/wincodec.idl
+23
-0
23 additions, 0 deletions
include/wincodec.idl
include/wincodecsdk.idl
+213
-0
213 additions, 0 deletions
include/wincodecsdk.idl
with
238 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
5d3328d5
...
...
@@ -231,6 +231,7 @@ include/wbemcli.h
include/wia_lh.h
include/wia_xp.h
include/wincodec.h
include/wincodecsdk.h
include/wine/itss.h
include/wine/svcctl.h
include/wine/winedxgi.h
...
...
This diff is collapsed.
Click to expand it.
include/Makefile.in
+
1
−
0
View file @
5d3328d5
...
...
@@ -100,6 +100,7 @@ PUBLIC_IDL_H_SRCS = \
wia_lh.idl
\
wia_xp.idl
\
wincodec.idl
\
wincodecsdk.idl
\
wine/itss.idl
\
wine/svcctl.idl
\
winsxs.idl
\
...
...
This diff is collapsed.
Click to expand it.
include/wincodec.idl
+
23
−
0
View file @
5d3328d5
...
...
@@ -900,6 +900,29 @@ interface IWICImagingFactory : IUnknown
[
out
]
IWICMetadataQueryWriter
**
ppIQueryWriter
)
;
}
[
local
,
object
,
uuid
(
dc2bb46d
-
3
f07
-481e-8625
-
220
c4aedbb33
)
]
interface
IWICEnumMetadataItem
:
IUnknown
{
HRESULT
Next
(
[
in
]
ULONG
celt
,
[
in
,
out
,
unique
,
size_is
(
celt
)
]
PROPVARIANT
*
rgeltSchema
,
[
in
,
out
,
size_is
(
celt
)
]
PROPVARIANT
*
rgeltId
,
[
in
,
out
,
optional
,
size_is
(
celt
)
]
PROPVARIANT
*
rgeltValue
,
[
out
,
optional
]
ULONG
*
pceltFetched
)
;
HRESULT
Skip
(
[
in
]
ULONG
celt
)
;
HRESULT
Reset
()
;
HRESULT
Clone
(
[
out
]
IWICEnumMetadataItem
**
ppIEnumMetadataItem
)
;
}
cpp_quote
(
"HRESULT WINAPI WICConvertBitmapSource(REFWICPixelFormatGUID dstFormat, IWICBitmapSource *pISrc, IWICBitmapSource **ppIDst);"
)
cpp_quote
(
"DEFINE_GUID(CLSID_WICBmpDecoder, 0x6b462062,0x7cbf,0x400d,0x9f,0xdb,0x81,0x3d,0xd1,0x0f,0x27,0x78);"
)
...
...
This diff is collapsed.
Click to expand it.
include/wincodecsdk.idl
0 → 100644
+
213
−
0
View file @
5d3328d5
/*
*
Copyright
2011
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
"wincodec.idl"
;
typedef
enum
WICPersistOptions
{
WICPersistOptionsDefault
=
0
x00000000
,
WICPersistOptionsLittleEndian
=
0
x00000001
,
WICPersistOptionsBigEndian
=
0
x00000002
,
WICPersistOptionsStrictFormat
=
0
x00000004
,
WICPersistOptionsNoCacheStream
=
0
x00000008
,
WICPersistOptionsMask
=
0
x0000FFFF
}
WICPersistOptions
;
typedef
enum
WICMetadataCreationOptions
{
WICMetadataCreationDefault
=
0
x00000000
,
WICMetadataCreationAllowUnknown
=
WICMetadataCreationDefault
,
WICMetadataCreationFailUnknown
=
0
x00010000
,
WICMetadataCreationMask
=
0
xFFFF0000
}
WICMetadataCreationOptions
;
[
object
,
uuid
(
aba958bf
-
c672
-
44
d1
-
8
d61
-
ce6df2e682c2
)
]
interface
IWICMetadataHandlerInfo
:
IWICComponentInfo
{
HRESULT
GetMetadataFormat
(
[
out
]
GUID
*
pguidMetadataFormat
)
;
HRESULT
GetContainerFormats
(
[
in
]
UINT
cContainerFormats
,
[
in
,
out
,
unique
,
size_is
(
cContainerFormats
)
]
GUID
*
pguidContainerFormats
,
[
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
DoesRequireFullStream
(
[
out
]
BOOL
*
pfRequiresFullStream
)
;
HRESULT
DoesSupportPadding
(
[
out
]
BOOL
*
pfSupportsPadding
)
;
HRESULT
DoesRequireFixedSize
(
[
out
]
BOOL
*
pfFixedSize
)
;
}
[
object
,
uuid
(
9204
fe99
-
d8fc
-
4
fd5
-
a001
-
9536b067
a899
)
]
interface
IWICMetadataReader
:
IUnknown
{
HRESULT
GetMetadataFormat
(
[
out
]
GUID
*
pguidMetadataFormat
)
;
HRESULT
GetMetadataHandlerInfo
(
[
out
]
IWICMetadataHandlerInfo
**
ppIHandler
)
;
HRESULT
GetCount
(
[
out
]
UINT
*
pcCount
)
;
HRESULT
GetValueByIndex
(
[
in
]
UINT
nIndex
,
[
in
,
out
,
unique
]
PROPVARIANT
*
pvarSchema
,
[
in
,
out
,
unique
]
PROPVARIANT
*
pvarId
,
[
in
,
out
,
unique
]
PROPVARIANT
*
pvarValue
)
;
HRESULT
GetValue
(
[
in
]
const
PROPVARIANT
*
pvarSchema
,
[
in
]
const
PROPVARIANT
*
pvarId
,
[
in
,
out
,
unique
]
const
PROPVARIANT
*
pvarValue
)
;
HRESULT
GetEnumerator
(
[
out
]
IWICEnumMetadataItem
**
ppIEnumMetadata
)
;
}
[
object
,
uuid
(
f7836e16
-
3b
e0
-
470b
-
86b
b
-
160
d0aecd7de
)
]
interface
IWICMetadataWriter
:
IWICMetadataReader
{
HRESULT
SetValue
(
[
in
,
unique
]
const
PROPVARIANT
*
pvarSchema
,
[
in
]
const
PROPVARIANT
*
pvarId
,
[
in
]
const
PROPVARIANT
*
pvarValue
)
;
HRESULT
SetValueByIndex
(
[
in
]
UINT
nIndex
,
[
in
,
unique
]
const
PROPVARIANT
*
pvarSchema
,
[
in
]
const
PROPVARIANT
*
pvarId
,
[
in
]
const
PROPVARIANT
*
pvarValue
)
;
HRESULT
RemoveValue
(
[
in
,
unique
]
const
PROPVARIANT
*
pvarSchema
,
[
in
]
const
PROPVARIANT
*
pvarId
)
;
HRESULT
RemoveValueByIndex
(
[
in
]
UINT
nIndex
)
;
}
[
object
,
uuid
(
feaa2a8d
-
b3f3
-
43
e4
-
b25c
-
d1de990a1ae1
)
]
interface
IWICMetadataBlockReader
:
IUnknown
{
HRESULT
GetContainerFormat
(
[
out
]
GUID
*
pguidContainerFormat
)
;
HRESULT
GetCount
(
[
out
]
UINT
*
pcCount
)
;
HRESULT
GetReaderByIndex
(
[
in
]
UINT
nIndex
,
[
out
]
IWICMetadataReader
**
ppIMetadataReader
)
;
HRESULT
GetEnumerator
(
[
out
]
IEnumUnknown
**
ppIEnumMetadata
)
;
}
[
object
,
uuid
(
08
fb9676
-
b444
-
41
e8
-
8
dbe
-
6
a53a542bff1
)
]
interface
IWICMetadataBlockWriter
:
IWICMetadataBlockReader
{
HRESULT
InitializeFromBlockReader
(
[
in
]
IWICMetadataBlockReader
*
pIMDBlockReader
)
;
HRESULT
GetWriterByIndex
(
[
in
]
UINT
nIndex
,
[
out
]
IWICMetadataWriter
**
ppIMetadataWriter
)
;
HRESULT
AddWriter
(
[
in
]
IWICMetadataWriter
*
pIMetadataWriter
)
;
HRESULT
SetWriterByIndex
(
[
in
]
UINT
nIndex
,
[
in
]
IWICMetadataWriter
*
pIMetadataWriter
)
;
HRESULT
RemoveWriterByIndex
(
[
in
]
UINT
nIndex
)
;
}
[
object
,
uuid
(
412
d0c3a
-
9650
-
44
fa
-
af5b
-
dd2a06c8e8fb
)
]
interface
IWICComponentFactory
:
IWICImagingFactory
{
HRESULT
CreateMetadataReader
(
[
in
]
REFGUID
guidMetadataFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
DWORD
dwOptions
,
[
in
]
IStream
*
pIStream
,
[
out
]
IWICMetadataReader
**
ppIReader
)
;
HRESULT
CreateMetadataReaderFromContainer
(
[
in
]
REFGUID
guidMetadataFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
DWORD
dwOptions
,
[
in
]
IStream
*
pIStream
,
[
out
]
IWICMetadataReader
**
ppIReader
)
;
HRESULT
CreateMetadataWriter
(
[
in
]
REFGUID
guidMetadataFormat
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
in
]
DWORD
dwMetadataOptions
,
[
out
]
IWICMetadataWriter
**
ppIWriter
)
;
HRESULT
CreateMetadataWriterFromReader
(
[
in
]
IWICMetadataReader
*
pIReader
,
[
in
,
unique
]
const
GUID
*
pguidVendor
,
[
out
]
IWICMetadataWriter
**
ppIWriter
)
;
HRESULT
CreateQueryReaderFromBlockReader
(
[
in
]
IWICMetadataBlockReader
*
pIBlockReader
,
[
out
]
IWICMetadataQueryReader
**
ppIQueryReader
)
;
HRESULT
CreateQueryWriterFromBlockWriter
(
[
in
]
IWICMetadataBlockWriter
*
pIBlockWriter
,
[
out
]
IWICMetadataQueryWriter
**
ppIQueryWriter
)
;
HRESULT
CreateEncoderPropertyBag
(
[
in
,
unique
,
size_is
(
cCount
)
]
PROPBAG2
*
ppropOptions
,
[
in
]
UINT
cCount
,
[
out
]
IPropertyBag2
**
ppIPropertyBag
)
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment