mscoree: Implemented GetRequestedRuntimeVersion.

This commit is contained in:
Alistair Leslie-Hughes 2011-04-28 20:22:45 +10:00 committed by Alexandre Julliard
parent 7c0cfc964b
commit 01c4adf477
2 changed files with 11 additions and 1 deletions

View file

@ -59,7 +59,7 @@
@ stub GetProcessExecutableHeap
@ stdcall GetRealProcAddress(str ptr)
@ stdcall GetRequestedRuntimeInfo(wstr wstr wstr long long ptr long ptr ptr long ptr)
@ stub GetRequestedRuntimeVersion
@ stdcall GetRequestedRuntimeVersion(wstr ptr long ptr)
@ stub GetRequestedRuntimeVersionForCLSID
@ stub GetStartupFlags
@ stub GetTargetForVTableEntry

View file

@ -249,6 +249,16 @@ HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWST
return ret;
}
HRESULT WINAPI GetRequestedRuntimeVersion(LPWSTR pExe, LPWSTR pVersion, DWORD cchBuffer, DWORD *dwlength)
{
TRACE("(%s, %p, %d, %p)\n", debugstr_w(pExe), debugstr_w(pExe), cchBuffer, dwlength);
if(!dwlength)
return E_POINTER;
return GetRequestedRuntimeInfo(pExe, NULL, NULL, 0, 0, NULL, 0, NULL, pVersion, cchBuffer, dwlength);
}
HRESULT WINAPI GetRealProcAddress(LPCSTR procname, void **ppv)
{
FIXME("(%s, %p)\n", debugstr_a(procname), ppv);