mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 22:20:26 +00:00
oleaut32: Clean up IPSFactoryBuffer instance.
This commit is contained in:
parent
d7af6664ac
commit
91bd7ffaa8
@ -2338,17 +2338,12 @@ static const IPSFactoryBufferVtbl psfacbufvtbl = {
|
||||
PSFacBuf_CreateStub
|
||||
};
|
||||
|
||||
/* This is the whole PSFactoryBuffer object, just the vtableptr */
|
||||
static const IPSFactoryBufferVtbl *lppsfac = &psfacbufvtbl;
|
||||
static IPSFactoryBuffer psfac = { &psfacbufvtbl };
|
||||
|
||||
/***********************************************************************
|
||||
* TMARSHAL_DllGetClassObject
|
||||
*/
|
||||
HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid,LPVOID *ppv)
|
||||
HRESULT TMARSHAL_DllGetClassObject(REFCLSID rclsid, REFIID iid, void **ppv)
|
||||
{
|
||||
if (IsEqualIID(iid,&IID_IPSFactoryBuffer)) {
|
||||
*ppv = &lppsfac;
|
||||
return S_OK;
|
||||
}
|
||||
return E_NOINTERFACE;
|
||||
return IPSFactoryBuffer_QueryInterface(&psfac, iid, ppv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user