oleaut32: Clean up IPSFactoryBuffer instance.
This commit is contained in:
parent
d7af6664ac
commit
91bd7ffaa8
|
@ -2338,17 +2338,12 @@ static const IPSFactoryBufferVtbl psfacbufvtbl = {
|
||||||
PSFacBuf_CreateStub
|
PSFacBuf_CreateStub
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This is the whole PSFactoryBuffer object, just the vtableptr */
|
static IPSFactoryBuffer psfac = { &psfacbufvtbl };
|
||||||
static const IPSFactoryBufferVtbl *lppsfac = &psfacbufvtbl;
|
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* TMARSHAL_DllGetClassObject
|
* 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)) {
|
return IPSFactoryBuffer_QueryInterface(&psfac, iid, ppv);
|
||||||
*ppv = &lppsfac;
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
return E_NOINTERFACE;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue