mscoree: Add a stub for GetCORSystemDirectory.
This commit is contained in:
parent
efb1e8eb75
commit
077b4024be
|
@ -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
|
||||||
|
|
|
@ -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};
|
||||||
|
|
Loading…
Reference in New Issue