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
011f071d
Commit
011f071d
authored
Aug 06, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
combase: Move CoCopyProxy().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
28f325fd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
37 deletions
+23
-37
combase.c
dlls/combase/combase.c
+21
-0
combase.spec
dlls/combase/combase.spec
+1
-1
compobj.c
dlls/ole32/compobj.c
+0
-35
ole32.spec
dlls/ole32/ole32.spec
+1
-1
No files found.
dlls/combase/combase.c
View file @
011f071d
...
...
@@ -503,3 +503,24 @@ HRESULT WINAPI CoSetProxyBlanket(IUnknown *proxy, DWORD authn_service, DWORD aut
if
(
FAILED
(
hr
))
ERR
(
"-- failed with %#x.
\n
"
,
hr
);
return
hr
;
}
/***********************************************************************
* CoCopyProxy (combase.@)
*/
HRESULT
WINAPI
CoCopyProxy
(
IUnknown
*
proxy
,
IUnknown
**
proxy_copy
)
{
IClientSecurity
*
client_security
;
HRESULT
hr
;
TRACE
(
"%p, %p.
\n
"
,
proxy
,
proxy_copy
);
hr
=
IUnknown_QueryInterface
(
proxy
,
&
IID_IClientSecurity
,
(
void
**
)
&
client_security
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IClientSecurity_CopyProxy
(
client_security
,
proxy
,
proxy_copy
);
IClientSecurity_Release
(
client_security
);
}
if
(
FAILED
(
hr
))
ERR
(
"-- failed with %#x.
\n
"
,
hr
);
return
hr
;
}
dlls/combase/combase.spec
View file @
011f071d
...
...
@@ -75,7 +75,7 @@
@ stdcall CoAddRefServerProcess() ole32.CoAddRefServerProcess
@ stub CoAllowUnmarshalerCLSID
@ stub CoCancelCall
@ stdcall CoCopyProxy(ptr ptr)
ole32.CoCopyProxy
@ stdcall CoCopyProxy(ptr ptr)
@ stub CoCreateErrorInfo
@ stdcall CoCreateFreeThreadedMarshaler(ptr ptr) ole32.CoCreateFreeThreadedMarshaler
@ stdcall CoCreateGuid(ptr)
...
...
dlls/ole32/compobj.c
View file @
011f071d
...
...
@@ -4193,41 +4193,6 @@ HRESULT WINAPI CoAllowSetForegroundWindow(IUnknown *pUnk, void *pvReserved)
}
/***********************************************************************
* CoCopyProxy [OLE32.@]
*
* Copies a proxy.
*
* PARAMS
* pProxy [I] Pointer to the proxy object.
* ppCopy [O] Copy of the proxy.
*
* RETURNS
* Success: S_OK.
* Failure: HRESULT code.
*
* SEE ALSO
* CoQueryProxyBlanket, CoSetProxyBlanket.
*/
HRESULT
WINAPI
CoCopyProxy
(
IUnknown
*
pProxy
,
IUnknown
**
ppCopy
)
{
IClientSecurity
*
pCliSec
;
HRESULT
hr
;
TRACE
(
"%p
\n
"
,
pProxy
);
hr
=
IUnknown_QueryInterface
(
pProxy
,
&
IID_IClientSecurity
,
(
void
**
)
&
pCliSec
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IClientSecurity_CopyProxy
(
pCliSec
,
pProxy
,
ppCopy
);
IClientSecurity_Release
(
pCliSec
);
}
if
(
FAILED
(
hr
))
ERR
(
"-- failed with 0x%08x
\n
"
,
hr
);
return
hr
;
}
/***********************************************************************
* CoGetCallContext [OLE32.@]
*
* Gets the context of the currently executing server call in the current
...
...
dlls/ole32/ole32.spec
View file @
011f071d
...
...
@@ -9,7 +9,7 @@
@ stdcall CoAddRefServerProcess()
@ stdcall CoAllowSetForegroundWindow(ptr ptr)
@ stdcall CoBuildVersion()
@ stdcall CoCopyProxy(ptr ptr)
@ stdcall CoCopyProxy(ptr ptr)
combase.CoCopyProxy
@ stdcall CoCreateFreeThreadedMarshaler(ptr ptr)
@ stdcall CoCreateGuid(ptr) combase.CoCreateGuid
@ stdcall CoCreateInstance(ptr ptr long ptr ptr)
...
...
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