rpcrt4: Added stub function CreateStubFromTypeInfo.
This commit is contained in:
parent
4082920c3a
commit
9d056eb8e2
|
@ -483,3 +483,24 @@ CreateProxyFromTypeInfo( LPTYPEINFO pTypeInfo, LPUNKNOWN pUnkOuter, REFIID riid,
|
||||||
}
|
}
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI
|
||||||
|
CreateStubFromTypeInfo(ITypeInfo *pTypeInfo, REFIID riid, IUnknown *pUnkServer,
|
||||||
|
IRpcStubBuffer **ppStub )
|
||||||
|
{
|
||||||
|
typedef INT (WINAPI *MessageBoxA)(HWND,LPCSTR,LPCSTR,UINT);
|
||||||
|
HMODULE hUser32 = LoadLibraryA("user32");
|
||||||
|
MessageBoxA pMessageBoxA = (void *)GetProcAddress(hUser32, "MessageBoxA");
|
||||||
|
|
||||||
|
FIXME("%p %s %p %p\n", pTypeInfo, debugstr_guid(riid), pUnkServer, ppStub);
|
||||||
|
if (pMessageBoxA)
|
||||||
|
{
|
||||||
|
pMessageBoxA(NULL,
|
||||||
|
"The native implementation of OLEAUT32.DLL cannot be used "
|
||||||
|
"with Wine's RPCRT4.DLL. Remove OLEAUT32.DLL and try again.\n",
|
||||||
|
"Wine: Unimplemented CreateProxyFromTypeInfo",
|
||||||
|
0x10);
|
||||||
|
ExitProcess(1);
|
||||||
|
}
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
@ stdcall CreateProxyFromTypeInfo(ptr ptr ptr ptr ptr)
|
@ stdcall CreateProxyFromTypeInfo(ptr ptr ptr ptr ptr)
|
||||||
@ stub CreateStubFromTypeInfo
|
@ stdcall CreateStubFromTypeInfo(ptr ptr ptr ptr)
|
||||||
@ stdcall CStdStubBuffer_AddRef(ptr)
|
@ stdcall CStdStubBuffer_AddRef(ptr)
|
||||||
@ stdcall CStdStubBuffer_Connect(ptr ptr)
|
@ stdcall CStdStubBuffer_Connect(ptr ptr)
|
||||||
@ stdcall CStdStubBuffer_CountRefs(ptr)
|
@ stdcall CStdStubBuffer_CountRefs(ptr)
|
||||||
|
|
Loading…
Reference in New Issue