Rob Shearman : mscoree: Add a stub for GetVersionFromProcess.

Alexandre Julliard julliard at winehq.org
Tue Dec 18 13:08:16 CST 2007


Module: wine
Branch: master
Commit: 1421c1a4474db1fc8dd4d0f8c6adece9ae1c402d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1421c1a4474db1fc8dd4d0f8c6adece9ae1c402d

Author: Rob Shearman <rob at codeweavers.com>
Date:   Tue Dec 18 14:55:17 2007 +0000

mscoree: Add a stub for GetVersionFromProcess.

---

 dlls/mscoree/mscoree.spec   |    2 +-
 dlls/mscoree/mscoree_main.c |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/mscoree/mscoree.spec b/dlls/mscoree/mscoree.spec
index 0d3106d..b8b6d91 100644
--- a/dlls/mscoree/mscoree.spec
+++ b/dlls/mscoree/mscoree.spec
@@ -63,7 +63,7 @@
 @ stub GetStartupFlags
 @ stub GetTargetForVTableEntry
 @ stub GetTokenForVTableEntry
-@ stub GetVersionFromProcess
+@ stdcall GetVersionFromProcess(ptr ptr long ptr)
 @ stub GetXMLElement
 @ stub GetXMLElementAttribute
 @ stub GetXMLObject
diff --git a/dlls/mscoree/mscoree_main.c b/dlls/mscoree/mscoree_main.c
index b3879c0..062f9ae 100644
--- a/dlls/mscoree/mscoree_main.c
+++ b/dlls/mscoree/mscoree_main.c
@@ -264,3 +264,9 @@ HRESULT WINAPI GetAssemblyMDImport(LPCWSTR szFileName, REFIID riid, IUnknown **p
     FIXME("(%p %s, %p, %p): stub\n", szFileName, debugstr_w(szFileName), riid, *ppIUnk);
     return ERROR_CALL_NOT_IMPLEMENTED;
 }
+
+HRESULT WINAPI GetVersionFromProcess(HANDLE hProcess, LPWSTR pVersion, DWORD cchBuffer, DWORD *dwLength)
+{
+    FIXME("(%p, %p, %d, %p): stub\n", hProcess, pVersion, cchBuffer, dwLength);
+    return E_NOTIMPL;
+}




More information about the wine-cvs mailing list