Added stubs for NdrDllCanUnloadNow and NdrDllGetClassObject.

This commit is contained in:
Mike McCormack 2002-01-29 18:16:39 +00:00 committed by Alexandre Julliard
parent 000b180a11
commit de5316b801
2 changed files with 37 additions and 4 deletions

View File

@ -23,8 +23,8 @@ debug_channels (ole)
@ stub MqGetContext # win9x
@ stub MqRegisterQueue # win9x
@ stub NdrDllCanUnloadNow
@ stub NdrDllGetClassObject
@ stdcall NdrDllCanUnloadNow(ptr) NdrDllCanUnloadNow
@ stdcall NdrDllGetClassObject() NdrDllGetClassObject
@ stdcall NdrDllRegisterProxy(long ptr ptr) NdrDllRegisterProxy
@ stub NdrDllUnregisterProxy
@ -36,7 +36,7 @@ debug_channels (ole)
@ stub RpcAsyncInitializeHandle
@ stub RpcAsyncRegisterInfo
@ stub RpcBindingCopy
@ stub RpcBindingFree
@ stdcall RpcBindingFree(ptr) RpcBindingFree
@ stdcall RpcBindingFromStringBindingA(str ptr) RpcBindingFromStringBindingA
@ stdcall RpcBindingFromStringBindingW(wstr ptr) RpcBindingFromStringBindingW
@ stub RpcBindingInqAuthClientA

View File

@ -18,6 +18,10 @@
#include "winbase.h"
#include "rpc.h"
#include "ole2.h"
#include "rpcndr.h"
#include "rpcproxy.h"
#ifdef HAVE_SYS_FILE_H
# include <sys/file.h>
#endif
@ -342,7 +346,7 @@ RPC_STATUS WINAPI UuidToStringA(UUID *Uuid, unsigned char** StringUuid)
*/
HRESULT WINAPI NdrDllRegisterProxy(
HMODULE hDll, /* [in] */
void **pProxyFileList, /* [???] FIXME: const ProxyFileInfo ** */
const ProxyFileInfo **pProxyFileList, /* [in] */
const CLSID *pclsid /* [in] */
)
{
@ -503,6 +507,14 @@ RPC_STATUS WINAPI RpcStringBindingComposeW( LPWSTR ObjUuid, LPWSTR Protseq, LPWS
return RPC_S_INVALID_STRING_UUID; /* Failure */
}
/***********************************************************************
* RpcBindingFree (RPCRT4.@)
*/
RPC_STATUS WINAPI RpcBindingFree(/*RPC_BINDING_HANDLE* */ void * Binding)
{
FIXME("(%p): stub\n", Binding);
return RPC_S_OK;
}
/***********************************************************************
* RpcBindingFromStringBindingA (RPCRT4.@)
*/
@ -522,3 +534,24 @@ RPC_STATUS WINAPI RpcBindingFromStringBindingW( LPWSTR StringBinding, RPC_BINDIN
return RPC_S_INVALID_STRING_BINDING; /* As good as any failure code */
}
/***********************************************************************
* NdrDllCanUnloadNow (RPCRT4.@)
*/
HRESULT WINAPI NdrDllCanUnloadNow(CStdPSFactoryBuffer *pPSFactoryBuffer)
{
FIXME("%p\n",pPSFactoryBuffer);
return FALSE;
}
HRESULT WINAPI NdrDllGetClassObject(
REFCLSID rclsid, REFIID riid , LPVOID *ppv,
const ProxyFileInfo ** pProxyFileList,
const CLSID * pclsid,
CStdPSFactoryBuffer * pPSFactoryBuffer)
{
if(ppv)
*ppv = NULL;
return RPC_S_UNKNOWN_IF;
}