Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
50d53928
Commit
50d53928
authored
May 28, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
May 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Extend IWICImagingFactory to IWICComponentFactory.
parent
fd31112a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
clsfactory.c
dlls/windowscodecs/clsfactory.c
+1
-1
imgfactory.c
dlls/windowscodecs/imgfactory.c
+0
-0
proxy.c
dlls/windowscodecs/proxy.c
+1
-1
metadata.c
dlls/windowscodecs/tests/metadata.c
+3
-2
wincodecs_private.h
dlls/windowscodecs/wincodecs_private.h
+1
-1
No files found.
dlls/windowscodecs/clsfactory.c
View file @
50d53928
...
...
@@ -45,7 +45,7 @@ typedef struct {
}
classinfo
;
static
classinfo
wic_classes
[]
=
{
{
&
CLSID_WICImagingFactory
,
Imaging
Factory_CreateInstance
},
{
&
CLSID_WICImagingFactory
,
Component
Factory_CreateInstance
},
{
&
CLSID_WICBmpDecoder
,
BmpDecoder_CreateInstance
},
{
&
CLSID_WICPngDecoder
,
PngDecoder_CreateInstance
},
{
&
CLSID_WICPngEncoder
,
PngEncoder_CreateInstance
},
...
...
dlls/windowscodecs/imgfactory.c
View file @
50d53928
This diff is collapsed.
Click to expand it.
dlls/windowscodecs/proxy.c
View file @
50d53928
...
...
@@ -624,5 +624,5 @@ HRESULT WINAPI WICCreateImagingFactory_Proxy(UINT SDKVersion, IWICImagingFactory
{
TRACE
(
"%x, %p
\n
"
,
SDKVersion
,
ppIImagingFactory
);
return
Imaging
Factory_CreateInstance
(
NULL
,
&
IID_IWICImagingFactory
,
(
void
**
)
ppIImagingFactory
);
return
Component
Factory_CreateInstance
(
NULL
,
&
IID_IWICImagingFactory
,
(
void
**
)
ppIImagingFactory
);
}
dlls/windowscodecs/tests/metadata.c
View file @
50d53928
...
...
@@ -441,15 +441,16 @@ static void test_create_reader(void)
hr
=
CoCreateInstance
(
&
CLSID_WICImagingFactory
,
NULL
,
CLSCTX_INPROC_SERVER
,
&
IID_IWICComponentFactory
,
(
void
**
)
&
factory
);
todo_wine
ok
(
hr
==
S_OK
,
"CoCreateInstance failed, hr=%x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
ok
(
hr
==
S_OK
,
"CoCreateInstance failed, hr=%x
\n
"
,
hr
);
stream
=
create_stream
(
metadata_tEXt
,
sizeof
(
metadata_tEXt
));
hr
=
IWICComponentFactory_CreateMetadataReaderFromContainer
(
factory
,
&
GUID_ContainerFormatPng
,
NULL
,
WICPersistOptionsDefault
,
stream
,
&
reader
);
todo_wine
ok
(
hr
==
S_OK
,
"CreateMetadataReaderFromContainer failed, hr=%x
\n
"
,
hr
);
if
(
FAILED
(
hr
))
return
;
if
(
SUCCEEDED
(
hr
))
{
...
...
dlls/windowscodecs/wincodecs_private.h
View file @
50d53928
...
...
@@ -28,7 +28,7 @@ DEFINE_GUID(GUID_WineContainerFormatTga, 0x0c44fda1,0xa5c5,0x4298,0x96,0x85,0x47
DEFINE_GUID
(
GUID_VendorWine
,
0xddf46da1
,
0x7dc1
,
0x404e
,
0x98
,
0xf2
,
0xef
,
0xa4
,
0x8d
,
0xfc
,
0x95
,
0x0a
);
extern
HRESULT
FormatConverter_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
Imaging
Factory_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
Component
Factory_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
BmpDecoder_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
riid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
PngDecoder_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
iid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
extern
HRESULT
PngEncoder_CreateInstance
(
IUnknown
*
pUnkOuter
,
REFIID
iid
,
void
**
ppv
)
DECLSPEC_HIDDEN
;
...
...
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