Add a function to retrieve the MIDL_SERVER_INFO struct from an object.

This commit is contained in:
Robert Shearman 2005-11-29 10:42:04 +01:00 committed by Alexandre Julliard
parent 4a76473965
commit 68fcd5d8f7
2 changed files with 8 additions and 0 deletions

View file

@ -41,4 +41,6 @@ HRESULT WINAPI CStdStubBuffer_Construct(REFIID riid,
LPPSFACTORYBUFFER pPSFactory,
LPRPCSTUBBUFFER *ppStub);
const MIDL_SERVER_INFO *CStdStubBuffer_GetServerInfo(IRpcStubBuffer *iface);
#endif /* __WINE_CPSF_H */

View file

@ -177,3 +177,9 @@ void WINAPI CStdStubBuffer_DebugServerRelease(LPRPCSTUBBUFFER iface,
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;
}