Module: wine Branch: refs/heads/master Commit: b330bd7ae9c5d1ddca1ea4f737dbbae3865e25f5 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=b330bd7ae9c5d1ddca1ea4f7...
Author: Robert Shearman rob@codeweavers.com Date: Tue Jan 10 19:59:48 2006 +0100
rpcrt4: Remove the unused RPCRT4_GetPSFactory function.
---
dlls/rpcrt4/ndr_misc.h | 2 -- dlls/rpcrt4/ndr_ole.c | 14 -------------- 2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/dlls/rpcrt4/ndr_misc.h b/dlls/rpcrt4/ndr_misc.h index 1d4319e..0abeaed 100644 --- a/dlls/rpcrt4/ndr_misc.h +++ b/dlls/rpcrt4/ndr_misc.h @@ -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( diff --git a/dlls/rpcrt4/ndr_ole.c b/dlls/rpcrt4/ndr_ole.c index 5d7cccf..48f5b72 100644 --- a/dlls/rpcrt4/ndr_ole.c +++ b/dlls/rpcrt4/ndr_ole.c @@ -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; -}