mscoree: Add a stub implementation of GetRealProcAddress.
Hans Leidekker
hans at codeweavers.com
Tue Apr 19 04:28:55 CDT 2011
---
dlls/mscoree/mscoree.spec | 2 +-
dlls/mscoree/mscoree_main.c | 6 ++++++
include/corerror.h | 1 +
3 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 63a14b6..99b3efb 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -57,7 +57,7 @@
@ stub GetPermissionRequests
@ stub GetPrivateContextsPerfCounters
@ stub GetProcessExecutableHeap
-@ stub GetRealProcAddress
+@ stdcall GetRealProcAddress(str ptr)
@ stdcall GetRequestedRuntimeInfo(wstr wstr wstr long long ptr long ptr ptr long ptr)
@ stub GetRequestedRuntimeVersion
@ stub GetRequestedRuntimeVersionForCLSID
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index 9b5d401..49c802e 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -249,6 +249,12 @@ HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWST
return ret;
}
+HRESULT WINAPI GetRealProcAddress(LPCSTR procname, void **ppv)
+{
+ FIXME("(%s, %p)\n", debugstr_a(procname), ppv);
+ return CLR_E_SHIM_RUNTIMEEXPORT;
+}
+
HRESULT WINAPI GetFileVersion(LPCWSTR szFilename, LPWSTR szBuffer, DWORD cchBuffer, DWORD *dwLength)
{
TRACE("(%s, %p, %d, %p)\n", debugstr_w(szFilename), szBuffer, cchBuffer, dwLength);
diff --git a/include/corerror.h b/include/corerror.h
index 10e0bd2..aef7f63 100644
--- a/include/corerror.h
+++ b/include/corerror.h
@@ -124,5 +124,6 @@
#define CLDB_E_FILE_OLDVER EMAKEHR(0x1107)
#define CLR_E_SHIM_RUNTIME EMAKEHR(0x1700)
+#define CLR_E_SHIM_RUNTIMEEXPORT EMAKEHR(0x1701)
#endif /* __WINE_CORERROR_H */
--
1.7.4.1
More information about the wine-patches
mailing list