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
c4be28ed
Commit
c4be28ed
authored
Jun 23, 2015
by
Thomas Faber
Committed by
Alexandre Julliard
Jun 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msimtf: Add stub implementation for IActiveIMMMessagePumpOwner.
parent
38fb26fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
0 deletions
+80
-0
activeimmapp.c
dlls/msimtf/activeimmapp.c
+80
-0
No files found.
dlls/msimtf/activeimmapp.c
View file @
c4be28ed
...
...
@@ -42,6 +42,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(msimtf);
typedef
struct
tagActiveIMMApp
{
IActiveIMMApp
IActiveIMMApp_iface
;
IActiveIMMMessagePumpOwner
IActiveIMMMessagePumpOwner_iface
;
LONG
refCount
;
}
ActiveIMMApp
;
...
...
@@ -66,6 +67,10 @@ static HRESULT WINAPI ActiveIMMApp_QueryInterface (IActiveIMMApp* iface,
{
*
ppvOut
=
This
;
}
else
if
(
IsEqualIID
(
iid
,
&
IID_IActiveIMMMessagePumpOwner
))
{
*
ppvOut
=
&
This
->
IActiveIMMMessagePumpOwner_iface
;
}
if
(
*
ppvOut
)
{
...
...
@@ -812,6 +817,80 @@ static const IActiveIMMAppVtbl ActiveIMMAppVtbl =
ActiveIMMApp_EnumInputContext
};
static
inline
ActiveIMMApp
*
impl_from_IActiveIMMMessagePumpOwner
(
IActiveIMMMessagePumpOwner
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
ActiveIMMApp
,
IActiveIMMMessagePumpOwner_iface
);
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_QueryInterface
(
IActiveIMMMessagePumpOwner
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
return
IActiveIMMApp_QueryInterface
(
&
This
->
IActiveIMMApp_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
ActiveIMMMessagePumpOwner_AddRef
(
IActiveIMMMessagePumpOwner
*
iface
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
return
IActiveIMMApp_AddRef
(
&
This
->
IActiveIMMApp_iface
);
}
static
ULONG
WINAPI
ActiveIMMMessagePumpOwner_Release
(
IActiveIMMMessagePumpOwner
*
iface
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
return
IActiveIMMApp_Release
(
&
This
->
IActiveIMMApp_iface
);
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_Start
(
IActiveIMMMessagePumpOwner
*
iface
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
FIXME
(
"(%p)->(): stub
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_End
(
IActiveIMMMessagePumpOwner
*
iface
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
FIXME
(
"(%p)->(): stub
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_OnTranslateMessage
(
IActiveIMMMessagePumpOwner
*
iface
,
const
MSG
*
msg
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
msg
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_Pause
(
IActiveIMMMessagePumpOwner
*
iface
,
DWORD
*
cookie
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
cookie
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ActiveIMMMessagePumpOwner_Resume
(
IActiveIMMMessagePumpOwner
*
iface
,
DWORD
cookie
)
{
ActiveIMMApp
*
This
=
impl_from_IActiveIMMMessagePumpOwner
(
iface
);
FIXME
(
"(%p)->(%u): stub
\n
"
,
This
,
cookie
);
return
E_NOTIMPL
;
}
static
const
IActiveIMMMessagePumpOwnerVtbl
ActiveIMMMessagePumpOwnerVtbl
=
{
ActiveIMMMessagePumpOwner_QueryInterface
,
ActiveIMMMessagePumpOwner_AddRef
,
ActiveIMMMessagePumpOwner_Release
,
ActiveIMMMessagePumpOwner_Start
,
ActiveIMMMessagePumpOwner_End
,
ActiveIMMMessagePumpOwner_OnTranslateMessage
,
ActiveIMMMessagePumpOwner_Pause
,
ActiveIMMMessagePumpOwner_Resume
,
};
DECLSPEC_HIDDEN
HRESULT
ActiveIMMApp_Constructor
(
IUnknown
*
pUnkOuter
,
IUnknown
**
ppOut
)
{
ActiveIMMApp
*
This
;
...
...
@@ -823,6 +902,7 @@ DECLSPEC_HIDDEN HRESULT ActiveIMMApp_Constructor(IUnknown *pUnkOuter, IUnknown *
return
E_OUTOFMEMORY
;
This
->
IActiveIMMApp_iface
.
lpVtbl
=
&
ActiveIMMAppVtbl
;
This
->
IActiveIMMMessagePumpOwner_iface
.
lpVtbl
=
&
ActiveIMMMessagePumpOwnerVtbl
;
This
->
refCount
=
1
;
TRACE
(
"returning %p
\n
"
,
This
);
...
...
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