mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
rpcrt4: Remove the unused RPCRT4_GetPSFactory function.
This commit is contained in:
parent
e298538459
commit
b330bd7ae9
@ -30,8 +30,6 @@
|
||||
|
||||
struct IPSFactoryBuffer;
|
||||
|
||||
HRESULT RPCRT4_GetPSFactory(REFIID riid, struct IPSFactoryBuffer **ppPS);
|
||||
|
||||
#define ComputeConformance(pStubMsg, pMemory, pFormat, def) ComputeConformanceOrVariance(pStubMsg, pMemory, pFormat, def, &pStubMsg->MaxCount)
|
||||
#define ComputeVariance(pStubMsg, pMemory, pFormat, def) ComputeConformanceOrVariance(pStubMsg, pMemory, pFormat, def, &pStubMsg->ActualCount)
|
||||
PFORMAT_STRING ComputeConformanceOrVariance(
|
||||
|
@ -353,17 +353,3 @@ void WINAPI NdrOleFree(void *NodeToFree)
|
||||
if (!LoadCOM()) return;
|
||||
COM_MemFree(NodeToFree);
|
||||
}
|
||||
|
||||
/* internal */
|
||||
HRESULT RPCRT4_GetPSFactory(REFIID riid, LPPSFACTORYBUFFER *pPS)
|
||||
{
|
||||
HRESULT hr;
|
||||
CLSID clsid;
|
||||
|
||||
if (!LoadCOM()) return RPC_E_UNEXPECTED;
|
||||
hr = COM_GetPSClsid(riid, &clsid);
|
||||
if (FAILED(hr)) return hr;
|
||||
hr = COM_GetClassObject(&clsid, CLSCTX_INPROC_SERVER, NULL,
|
||||
&IID_IPSFactoryBuffer, (LPVOID *)pPS);
|
||||
return hr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user