Commit 077b4024 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

mscoree: Add a stub for GetCORSystemDirectory.

parent efb1e8eb
......@@ -39,8 +39,8 @@
@ stdcall GetAssemblyMDImport(ptr ptr ptr)
@ stub GetCORRequiredVersion
@ stub GetCORRootDirectory
@ stub GetCORSystemDirectory
@ stdcall GetCORVersion(wstr long ptr)
@ stdcall GetCORSystemDirectory(ptr long ptr)
@ stdcall GetCORVersion(ptr long ptr)
@ stub GetCompileInfo
@ stub GetFileVersion
@ stub GetHashFromAssemblyFile
......
......@@ -192,6 +192,18 @@ DWORD _CorValidateImage(LPCVOID* imageBase, LPCWSTR imageName)
return E_FAIL;
}
HRESULT WINAPI GetCORSystemDirectory(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
{
FIXME("(%p, %d, %p): stub!\n", pbuffer, cchBuffer, dwLength);
if (!dwLength)
return E_POINTER;
*dwLength = 0;
return S_OK;
}
HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
{
static const WCHAR version[] = {'v','1','.','1','.','4','3','2','2',0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment