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
58f06cf9
Commit
58f06cf9
authored
Nov 17, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Pass QueryInterface arguments properly to main interface method.
parent
fc245339
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
compartmentmgr.c
dlls/msctf/compartmentmgr.c
+2
-2
context.c
dlls/msctf/context.c
+6
-6
documentmgr.c
dlls/msctf/documentmgr.c
+1
-1
inputprocessor.c
dlls/msctf/inputprocessor.c
+1
-1
threadmgr.c
dlls/msctf/threadmgr.c
+6
-6
No files found.
dlls/msctf/compartmentmgr.c
View file @
58f06cf9
...
...
@@ -134,7 +134,7 @@ static HRESULT WINAPI CompartmentMgr_QueryInterface(ITfCompartmentMgr *iface, RE
{
CompartmentMgr
*
This
=
impl_from_ITfCompartmentMgr
(
iface
);
if
(
This
->
pUnkOuter
)
return
IUnknown_QueryInterface
(
This
->
pUnkOuter
,
iid
,
*
ppvOut
);
return
IUnknown_QueryInterface
(
This
->
pUnkOuter
,
iid
,
ppvOut
);
else
{
*
ppvOut
=
NULL
;
...
...
@@ -574,7 +574,7 @@ static const ITfCompartmentVtbl CompartmentVtbl =
static
HRESULT
WINAPI
CompartmentSource_QueryInterface
(
ITfSource
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
Compartment
*
This
=
impl_from_ITfSource
(
iface
);
return
ITfCompartment_QueryInterface
(
&
This
->
ITfCompartment_iface
,
iid
,
*
ppvOut
);
return
ITfCompartment_QueryInterface
(
&
This
->
ITfCompartment_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
CompartmentSource_AddRef
(
ITfSource
*
iface
)
...
...
dlls/msctf/context.c
View file @
58f06cf9
...
...
@@ -590,7 +590,7 @@ static const ITfContextVtbl ContextVtbl =
static
HRESULT
WINAPI
ContextSource_QueryInterface
(
ITfSource
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
Context
*
This
=
impl_from_ITfSource
(
iface
);
return
ITfContext_QueryInterface
(
&
This
->
ITfContext_iface
,
iid
,
*
ppvOut
);
return
ITfContext_QueryInterface
(
&
This
->
ITfContext_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
ContextSource_AddRef
(
ITfSource
*
iface
)
...
...
@@ -676,7 +676,7 @@ static const ITfSourceVtbl ContextSourceVtbl =
static
HRESULT
WINAPI
InsertAtSelection_QueryInterface
(
ITfInsertAtSelection
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
Context
*
This
=
impl_from_ITfInsertAtSelection
(
iface
);
return
ITfContext_QueryInterface
(
&
This
->
ITfContext_iface
,
iid
,
*
ppvOut
);
return
ITfContext_QueryInterface
(
&
This
->
ITfContext_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
InsertAtSelection_AddRef
(
ITfInsertAtSelection
*
iface
)
...
...
@@ -751,19 +751,19 @@ static const ITfInsertAtSelectionVtbl InsertAtSelectionVtbl =
static
HRESULT
WINAPI
SourceSingle_QueryInterface
(
ITfSourceSingle
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
Context
*
This
=
impl_from_ITfSourceSingle
(
iface
);
return
Context_QueryInterface
((
ITfContext
*
)
This
,
iid
,
*
ppvOut
);
return
ITfContext_QueryInterface
(
&
This
->
ITfContext_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
SourceSingle_AddRef
(
ITfSourceSingle
*
iface
)
{
Context
*
This
=
impl_from_ITfSourceSingle
(
iface
);
return
Context_AddRef
((
ITfContext
*
)
This
);
return
ITfContext_AddRef
(
&
This
->
ITfContext_iface
);
}
static
ULONG
WINAPI
SourceSingle_Release
(
ITfSourceSingle
*
iface
)
{
Context
*
This
=
impl_from_ITfSourceSingle
(
iface
);
return
Context_Release
((
ITfContext
*
)
This
);
return
ITfContext_Release
(
&
This
->
ITfContext_iface
);
}
static
HRESULT
WINAPI
SourceSingle_AdviseSingleSink
(
ITfSourceSingle
*
iface
,
...
...
@@ -897,7 +897,7 @@ static HRESULT WINAPI TextStoreACPSink_QueryInterface(ITextStoreACPSink *iface,
if
(
IsEqualIID
(
iid
,
&
IID_IUnknown
)
||
IsEqualIID
(
iid
,
&
IID_ITextStoreACPSink
))
{
*
ppvOut
=
This
;
*
ppvOut
=
&
This
->
ITextStoreACPSink_iface
;
}
if
(
*
ppvOut
)
...
...
dlls/msctf/documentmgr.c
View file @
58f06cf9
...
...
@@ -280,7 +280,7 @@ static const ITfDocumentMgrVtbl DocumentMgr_DocumentMgrVtbl =
static
HRESULT
WINAPI
Source_QueryInterface
(
ITfSource
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
DocumentMgr
*
This
=
impl_from_ITfSource
(
iface
);
return
ITfDocumentMgr_QueryInterface
(
&
This
->
ITfDocumentMgr_iface
,
iid
,
*
ppvOut
);
return
ITfDocumentMgr_QueryInterface
(
&
This
->
ITfDocumentMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
Source_AddRef
(
ITfSource
*
iface
)
...
...
dlls/msctf/inputprocessor.c
View file @
58f06cf9
...
...
@@ -691,7 +691,7 @@ static const ITfInputProcessorProfilesVtbl InputProcessorProfilesVtbl =
static
HRESULT
WINAPI
IPPSource_QueryInterface
(
ITfSource
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
InputProcessorProfiles
*
This
=
impl_from_ITfSource
(
iface
);
return
ITfInputProcessorProfiles_QueryInterface
(
&
This
->
ITfInputProcessorProfiles_iface
,
iid
,
*
ppvOut
);
return
ITfInputProcessorProfiles_QueryInterface
(
&
This
->
ITfInputProcessorProfiles_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
IPPSource_AddRef
(
ITfSource
*
iface
)
...
...
dlls/msctf/threadmgr.c
View file @
58f06cf9
...
...
@@ -605,7 +605,7 @@ static const ITfThreadMgrVtbl ThreadMgrVtbl =
static
HRESULT
WINAPI
Source_QueryInterface
(
ITfSource
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfSource
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
Source_AddRef
(
ITfSource
*
iface
)
...
...
@@ -694,7 +694,7 @@ static const ITfSourceVtbl ThreadMgrSourceVtbl =
static
HRESULT
WINAPI
KeystrokeMgr_QueryInterface
(
ITfKeystrokeMgr
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfKeystrokeMgr
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
KeystrokeMgr_AddRef
(
ITfKeystrokeMgr
*
iface
)
...
...
@@ -986,7 +986,7 @@ static const ITfKeystrokeMgrVtbl KeystrokeMgrVtbl =
static
HRESULT
WINAPI
MessagePump_QueryInterface
(
ITfMessagePump
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfMessagePump
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
MessagePump_AddRef
(
ITfMessagePump
*
iface
)
...
...
@@ -1059,7 +1059,7 @@ static const ITfMessagePumpVtbl MessagePumpVtbl =
static
HRESULT
WINAPI
ClientId_QueryInterface
(
ITfClientId
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfClientId
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
ClientId_AddRef
(
ITfClientId
*
iface
)
...
...
@@ -1105,7 +1105,7 @@ static const ITfClientIdVtbl ClientIdVtbl =
static
HRESULT
WINAPI
ThreadMgrEventSink_QueryInterface
(
ITfThreadMgrEventSink
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfThreadMgrEventSink
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
ThreadMgrEventSink_AddRef
(
ITfThreadMgrEventSink
*
iface
)
...
...
@@ -1225,7 +1225,7 @@ static const ITfThreadMgrEventSinkVtbl ThreadMgrEventSinkVtbl =
static
HRESULT
WINAPI
ThreadMgrSourceSingle_QueryInterface
(
ITfSourceSingle
*
iface
,
REFIID
iid
,
LPVOID
*
ppvOut
)
{
ThreadMgr
*
This
=
impl_from_ITfSourceSingle
(
iface
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
*
ppvOut
);
return
ITfThreadMgr_QueryInterface
(
&
This
->
ITfThreadMgr_iface
,
iid
,
ppvOut
);
}
static
ULONG
WINAPI
ThreadMgrSourceSingle_AddRef
(
ITfSourceSingle
*
iface
)
...
...
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