mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
mscoree: Add a stub for GetCORSystemDirectory.
This commit is contained in:
parent
efb1e8eb75
commit
077b4024be
2 changed files with 14 additions and 2 deletions
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue