Hans Leidekker : mscoree: Add a stub implementation of GetRealProcAddress.
Alexandre Julliard
julliard at winehq.org
Tue Apr 19 12:08:18 CDT 2011
Module: wine
Branch: master
Commit: 22953b84f36ceb81ffad0f9a75fdfbb426303643
URL: http://source.winehq.org/git/wine.git/?a=commit;h=22953b84f36ceb81ffad0f9a75fdfbb426303643
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Apr 19 11:28:55 2011 +0200
mscoree: Add a stub implementation of GetRealProcAddress.
---
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 */
More information about the wine-cvs
mailing list