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 @ stub GetProcessExecutableHeap
@ stdcall GetRealProcAddress(str ptr) @ stdcall GetRealProcAddress(str ptr)
@ stdcall GetRequestedRuntimeInfo(wstr wstr wstr long long ptr long ptr ptr long 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 GetRequestedRuntimeVersionForCLSID
@ stub GetStartupFlags @ stub GetStartupFlags
@ stub GetTargetForVTableEntry @ stub GetTargetForVTableEntry

View File

@ -249,6 +249,16 @@ HRESULT WINAPI GetRequestedRuntimeInfo(LPCWSTR pExe, LPCWSTR pwszVersion, LPCWST
return ret; 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) HRESULT WINAPI GetRealProcAddress(LPCSTR procname, void **ppv)
{ {
FIXME("(%s, %p)\n", debugstr_a(procname), ppv); FIXME("(%s, %p)\n", debugstr_a(procname), ppv);