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
a971489d
Commit
a971489d
authored
Nov 03, 2008
by
Aric Stewart
Committed by
Alexandre Julliard
Nov 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msimtf: Add a mostly wrapper stub for IActiveIMMApp.
parent
40c06ea2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
13 deletions
+20
-13
Makefile.in
dlls/msimtf/Makefile.in
+5
-2
activeimmapp.c
dlls/msimtf/activeimmapp.c
+0
-0
main.c
dlls/msimtf/main.c
+15
-11
No files found.
dlls/msimtf/Makefile.in
View file @
a971489d
...
...
@@ -3,9 +3,12 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
msimtf.dll
IMPORTS
=
uuid kernel32
IMPORTS
=
uuid imm32 kernel32
C_SRCS
=
\
activeimmapp.c
\
main.c
C_SRCS
=
main.c
RC_SRCS
=
rsrc.rc
@MAKE_DLL_RULES@
...
...
dlls/msimtf/activeimmapp.c
0 → 100644
View file @
a971489d
This diff is collapsed.
Click to expand it.
dlls/msimtf/main.c
View file @
a971489d
...
...
@@ -36,13 +36,9 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
msimtf
);
static
HINSTANCE
msimtf_instance
;
extern
HRESULT
ActiveIMMApp_Constructor
(
IUnknown
*
punkOuter
,
IUnknown
**
ppOut
)
;
static
HRESULT
CActiveIMM_Create
(
IUnknown
*
outer
,
REFIID
riid
,
void
**
ppv
)
{
FIXME
(
"(%p %s %p)
\n
"
,
outer
,
debugstr_guid
(
riid
),
ppv
);
return
E_NOINTERFACE
;
}
static
HINSTANCE
msimtf_instance
;
/******************************************************************
* DllMain (msimtf.@)
...
...
@@ -66,7 +62,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
typedef
struct
{
const
IClassFactoryVtbl
*
lpClassFactoryVtbl
;
HRESULT
(
*
cf
)(
IUnknown
*
,
REFIID
,
void
**
);
HRESULT
(
*
cf
)(
IUnknown
*
,
IUnknown
**
);
}
ClassFactory
;
static
HRESULT
WINAPI
ClassFactory_QueryInterface
(
IClassFactory
*
iface
,
...
...
@@ -105,7 +101,17 @@ static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface,
IUnknown
*
pOuter
,
REFIID
riid
,
void
**
ppv
)
{
ClassFactory
*
This
=
(
ClassFactory
*
)
iface
;
return
This
->
cf
(
pOuter
,
riid
,
ppv
);
HRESULT
ret
;
IUnknown
*
obj
;
TRACE
(
"(%p, %p, %s, %p)
\n
"
,
iface
,
pOuter
,
debugstr_guid
(
riid
),
ppv
);
ret
=
This
->
cf
(
pOuter
,
&
obj
);
if
(
FAILED
(
ret
))
return
ret
;
ret
=
IUnknown_QueryInterface
(
obj
,
riid
,
ppv
);
IUnknown_Release
(
obj
);
return
ret
;
}
static
HRESULT
WINAPI
ClassFactory_LockServer
(
IClassFactory
*
iface
,
BOOL
dolock
)
...
...
@@ -130,11 +136,9 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
if
(
IsEqualGUID
(
&
CLSID_CActiveIMM
,
rclsid
))
{
static
ClassFactory
cf
=
{
&
ClassFactoryVtbl
,
CActiveIMM_Create
ActiveIMMApp_Constructor
,
};
TRACE
(
"CLSID_CActiveIMM
\n
"
);
return
IClassFactory_QueryInterface
((
IClassFactory
*
)
&
cf
,
riid
,
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