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
c63d21bf
Commit
c63d21bf
authored
Jan 25, 2007
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 25, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Implement IClassFactory->QueryInterface() for the msi server dll.
parent
d316c197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
msi_main.c
dlls/msi/msi_main.c
+12
-4
No files found.
dlls/msi/msi_main.c
View file @
c63d21bf
...
...
@@ -59,7 +59,7 @@ static void UnlockModule(void)
}
/******************************************************************
*
DllMain
*
DllMain
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
...
...
@@ -78,8 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return
TRUE
;
}
typedef
struct
tagIClassFactoryImpl
{
typedef
struct
tagIClassFactoryImpl
{
const
IClassFactoryVtbl
*
lpVtbl
;
}
IClassFactoryImpl
;
...
...
@@ -87,7 +86,16 @@ static HRESULT WINAPI MsiCF_QueryInterface(LPCLASSFACTORY iface,
REFIID
riid
,
LPVOID
*
ppobj
)
{
IClassFactoryImpl
*
This
=
(
IClassFactoryImpl
*
)
iface
;
FIXME
(
"%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
TRACE
(
"%p %s %p
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
if
(
IsEqualCLSID
(
riid
,
&
IID_IUnknown
)
||
IsEqualCLSID
(
riid
,
&
IID_IClassFactory
)
)
{
IClassFactory_AddRef
(
iface
);
*
ppobj
=
iface
;
return
S_OK
;
}
return
E_NOINTERFACE
;
}
...
...
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