mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 14:34:10 +00:00
mscoree: Fix a misleading parameter name.
Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5bb957fa30
commit
8184e86a67
|
@ -1716,7 +1716,7 @@ end:
|
||||||
|
|
||||||
#define CHARS_IN_GUID 39
|
#define CHARS_IN_GUID 39
|
||||||
|
|
||||||
HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
|
HRESULT create_monodata(REFCLSID clsid, LPVOID *ppObj)
|
||||||
{
|
{
|
||||||
static const WCHAR wszFileSlash[] = L"file:///";
|
static const WCHAR wszFileSlash[] = L"file:///";
|
||||||
static const WCHAR wszCLSIDSlash[] = L"CLSID\\";
|
static const WCHAR wszCLSIDSlash[] = L"CLSID\\";
|
||||||
|
@ -1739,7 +1739,7 @@ HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
|
||||||
DWORD dwBufLen = 350;
|
DWORD dwBufLen = 350;
|
||||||
|
|
||||||
lstrcpyW(path, wszCLSIDSlash);
|
lstrcpyW(path, wszCLSIDSlash);
|
||||||
StringFromGUID2(riid, path + lstrlenW(wszCLSIDSlash), CHARS_IN_GUID);
|
StringFromGUID2(clsid, path + lstrlenW(wszCLSIDSlash), CHARS_IN_GUID);
|
||||||
lstrcatW(path, wszInprocServer32);
|
lstrcatW(path, wszInprocServer32);
|
||||||
|
|
||||||
TRACE("Registry key: %s\n", debugstr_w(path));
|
TRACE("Registry key: %s\n", debugstr_w(path));
|
||||||
|
@ -1832,7 +1832,7 @@ HRESULT create_monodata(REFIID riid, LPVOID *ppObj )
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (!try_create_registration_free_com(riid, classname, ARRAY_SIZE(classname), filename, ARRAY_SIZE(filename)))
|
if (!try_create_registration_free_com(clsid, classname, ARRAY_SIZE(classname), filename, ARRAY_SIZE(filename)))
|
||||||
return CLASS_E_CLASSNOTAVAILABLE;
|
return CLASS_E_CLASSNOTAVAILABLE;
|
||||||
|
|
||||||
TRACE("classname (%s)\n", debugstr_w(classname));
|
TRACE("classname (%s)\n", debugstr_w(classname));
|
||||||
|
|
|
@ -212,7 +212,7 @@ HRESULT WINAPI CLRMetaHost_GetRuntime(ICLRMetaHost* iface, LPCWSTR pwzVersion, R
|
||||||
|
|
||||||
extern HRESULT CorDebug_Create(ICLRRuntimeHost *runtimehost, IUnknown** ppUnk) DECLSPEC_HIDDEN;
|
extern HRESULT CorDebug_Create(ICLRRuntimeHost *runtimehost, IUnknown** ppUnk) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern HRESULT create_monodata(REFIID riid, LPVOID *ppObj) DECLSPEC_HIDDEN;
|
extern HRESULT create_monodata(REFCLSID clsid, LPVOID *ppObj) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
extern HRESULT get_file_from_strongname(WCHAR* stringnameW, WCHAR* assemblies_path, int path_length) DECLSPEC_HIDDEN;
|
extern HRESULT get_file_from_strongname(WCHAR* stringnameW, WCHAR* assemblies_path, int path_length) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue