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) @ stdcall GetAssemblyMDImport(ptr ptr ptr)
@ stub GetCORRequiredVersion @ stub GetCORRequiredVersion
@ stub GetCORRootDirectory @ stub GetCORRootDirectory
@ stub GetCORSystemDirectory @ stdcall GetCORSystemDirectory(ptr long ptr)
@ stdcall GetCORVersion(wstr long ptr) @ stdcall GetCORVersion(ptr long ptr)
@ stub GetCompileInfo @ stub GetCompileInfo
@ stub GetFileVersion @ stub GetFileVersion
@ stub GetHashFromAssemblyFile @ stub GetHashFromAssemblyFile

View file

@ -192,6 +192,18 @@ DWORD _CorValidateImage(LPCVOID* imageBase, LPCWSTR imageName)
return E_FAIL; 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) HRESULT WINAPI GetCORVersion(LPWSTR pbuffer, DWORD cchBuffer, DWORD *dwLength)
{ {
static const WCHAR version[] = {'v','1','.','1','.','4','3','2','2',0}; static const WCHAR version[] = {'v','1','.','1','.','4','3','2','2',0};