ChangeSet ID: 21521 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@winehq.org 2005/11/29 05:05:02
Modified files: dlls/rpcrt4 : cpsf.h cstub.c
Log message: Robert Shearman rob@codeweavers.com Add a function to retrieve the MIDL_SERVER_INFO struct from an object.
Patch: http://cvs.winehq.org/patch.py?id=21521
Old revision New revision Changes Path 1.2 1.3 +2 -0 wine/dlls/rpcrt4/cpsf.h 1.10 1.11 +6 -0 wine/dlls/rpcrt4/cstub.c
Index: wine/dlls/rpcrt4/cpsf.h diff -u -p wine/dlls/rpcrt4/cpsf.h:1.2 wine/dlls/rpcrt4/cpsf.h:1.3 --- wine/dlls/rpcrt4/cpsf.h:1.2 29 Nov 2005 11: 5: 2 -0000 +++ wine/dlls/rpcrt4/cpsf.h 29 Nov 2005 11: 5: 2 -0000 @@ -41,4 +41,6 @@ HRESULT WINAPI CStdStubBuffer_Construct( LPPSFACTORYBUFFER pPSFactory, LPRPCSTUBBUFFER *ppStub);
+const MIDL_SERVER_INFO *CStdStubBuffer_GetServerInfo(IRpcStubBuffer *iface); + #endif /* __WINE_CPSF_H */ Index: wine/dlls/rpcrt4/cstub.c diff -u -p wine/dlls/rpcrt4/cstub.c:1.10 wine/dlls/rpcrt4/cstub.c:1.11 --- wine/dlls/rpcrt4/cstub.c:1.10 29 Nov 2005 11: 5: 2 -0000 +++ wine/dlls/rpcrt4/cstub.c 29 Nov 2005 11: 5: 2 -0000 @@ -177,3 +177,9 @@ void WINAPI CStdStubBuffer_DebugServerRe CStdStubBuffer *This = (CStdStubBuffer *)iface; TRACE("(%p)->DebugServerRelease(%p)\n",This,pv); } + +const MIDL_SERVER_INFO *CStdStubBuffer_GetServerInfo(IRpcStubBuffer *iface) +{ + CStdStubBuffer *This = (CStdStubBuffer *)iface; + return STUB_HEADER(This).pServerInfo; +}