mscoree: Add a stub for GetCORSystemDirectory.

This commit is contained in:
James Hawkins 2006-12-18 03:40:13 -06:00 committed by Alexandre Julliard
parent efb1e8eb75
commit 077b4024be
2 changed files with 14 additions and 2 deletions

View file

@ -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

View file

@ -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};