Commit de5316b8 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Added stubs for NdrDllCanUnloadNow and NdrDllGetClassObject.

parent 000b180a
......@@ -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
......
......@@ -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] */
)
{
......@@ -504,6 +508,14 @@ RPC_STATUS WINAPI RpcStringBindingComposeW( LPWSTR ObjUuid, LPWSTR Protseq, LPWS
}
/***********************************************************************
* RpcBindingFree (RPCRT4.@)
*/
RPC_STATUS WINAPI RpcBindingFree(/*RPC_BINDING_HANDLE* */ void * Binding)
{
FIXME("(%p): stub\n", Binding);
return RPC_S_OK;
}
/***********************************************************************
* RpcBindingFromStringBindingA (RPCRT4.@)
*/
RPC_STATUS WINAPI RpcBindingFromStringBindingA( LPSTR StringBinding, RPC_BINDING_HANDLE* Binding )
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment