mscoree: Make several string constants static.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
31deafe153
commit
e078e1654c
|
@ -446,8 +446,8 @@ static HRESULT WINAPI CLRRuntimeInfo_GetVersionString(ICLRRuntimeInfo* iface,
|
|||
|
||||
static BOOL get_install_root(LPWSTR install_dir)
|
||||
{
|
||||
const WCHAR dotnet_key[] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','.','N','E','T','F','r','a','m','e','w','o','r','k','\\',0};
|
||||
const WCHAR install_root[] = {'I','n','s','t','a','l','l','R','o','o','t',0};
|
||||
static const WCHAR dotnet_key[] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','.','N','E','T','F','r','a','m','e','w','o','r','k','\\',0};
|
||||
static const WCHAR install_root[] = {'I','n','s','t','a','l','l','R','o','o','t',0};
|
||||
|
||||
DWORD len;
|
||||
HKEY key;
|
||||
|
|
|
@ -72,8 +72,8 @@ char *WtoA(LPCWSTR wstr)
|
|||
|
||||
static BOOL get_install_root(LPWSTR install_dir)
|
||||
{
|
||||
const WCHAR dotnet_key[] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','.','N','E','T','F','r','a','m','e','w','o','r','k','\\',0};
|
||||
const WCHAR install_root[] = {'I','n','s','t','a','l','l','R','o','o','t',0};
|
||||
static const WCHAR dotnet_key[] = {'S','O','F','T','W','A','R','E','\\','M','i','c','r','o','s','o','f','t','\\','.','N','E','T','F','r','a','m','e','w','o','r','k','\\',0};
|
||||
static const WCHAR install_root[] = {'I','n','s','t','a','l','l','R','o','o','t',0};
|
||||
|
||||
DWORD len;
|
||||
HKEY key;
|
||||
|
@ -564,7 +564,7 @@ BOOL WINAPI StrongNameSignatureVerificationEx(LPCWSTR filename, BOOL forceVerifi
|
|||
|
||||
HRESULT WINAPI CreateDebuggingInterfaceFromVersion(int nDebugVersion, LPCWSTR version, IUnknown **ppv)
|
||||
{
|
||||
const WCHAR v2_0[] = {'v','2','.','0','.','5','0','7','2','7',0};
|
||||
static const WCHAR v2_0[] = {'v','2','.','0','.','5','0','7','2','7',0};
|
||||
HRESULT hr = E_FAIL;
|
||||
ICLRRuntimeInfo *runtimeinfo;
|
||||
|
||||
|
|
Loading…
Reference in New Issue