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
7824827a
Commit
7824827a
authored
Jul 24, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Make classinfo structure const.
parent
2a35901a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
clsfactory.c
dlls/windowscodecs/clsfactory.c
+4
-4
No files found.
dlls/windowscodecs/clsfactory.c
View file @
7824827a
...
...
@@ -44,7 +44,7 @@ typedef struct {
HRESULT
(
*
constructor
)(
IUnknown
*
,
REFIID
,
void
**
);
}
classinfo
;
static
classinfo
wic_classes
[]
=
{
static
c
onst
c
lassinfo
wic_classes
[]
=
{
{
&
CLSID_WICImagingFactory
,
ComponentFactory_CreateInstance
},
{
&
CLSID_WICBmpDecoder
,
BmpDecoder_CreateInstance
},
{
&
CLSID_WICPngDecoder
,
PngDecoder_CreateInstance
},
...
...
@@ -66,7 +66,7 @@ static classinfo wic_classes[] = {
typedef
struct
{
IClassFactory
IClassFactory_iface
;
LONG
ref
;
c
lassinfo
*
info
;
c
onst
classinfo
*
info
;
}
ClassFactoryImpl
;
static
inline
ClassFactoryImpl
*
impl_from_IClassFactory
(
IClassFactory
*
iface
)
...
...
@@ -142,7 +142,7 @@ static const IClassFactoryVtbl ClassFactoryImpl_Vtbl = {
ClassFactoryImpl_LockServer
};
static
HRESULT
ClassFactoryImpl_Constructor
(
classinfo
*
info
,
REFIID
riid
,
LPVOID
*
ppv
)
static
HRESULT
ClassFactoryImpl_Constructor
(
c
onst
c
lassinfo
*
info
,
REFIID
riid
,
LPVOID
*
ppv
)
{
ClassFactoryImpl
*
This
;
HRESULT
ret
;
...
...
@@ -165,7 +165,7 @@ static HRESULT ClassFactoryImpl_Constructor(classinfo *info, REFIID riid, LPVOID
HRESULT
WINAPI
DllGetClassObject
(
REFCLSID
rclsid
,
REFIID
iid
,
LPVOID
*
ppv
)
{
HRESULT
ret
;
classinfo
*
info
=
NULL
;
c
onst
c
lassinfo
*
info
=
NULL
;
int
i
;
TRACE
(
"(%s,%s,%p)
\n
"
,
debugstr_guid
(
rclsid
),
debugstr_guid
(
iid
),
ppv
);
...
...
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