faultrep: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1c2d53faa2
commit
d489c58e7b
|
@ -29,13 +29,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(faultrep);
|
||||
|
||||
static const WCHAR SZ_EXCLUSIONLIST_KEY[] = {
|
||||
'S','o','f','t','w','a','r','e','\\',
|
||||
'M','i','c','r','o','s','o','f','t','\\',
|
||||
'P','C','H','e','a','l','t','h','\\',
|
||||
'E','r','r','o','r','R','e','p','o','r','t','i','n','g','\\',
|
||||
'E','x','c','l','u','s','i','o','n','L','i','s','t', 0};
|
||||
|
||||
/*************************************************************************
|
||||
* AddERExcludedApplicationW [FAULTREP.@]
|
||||
*
|
||||
|
@ -70,7 +63,8 @@ BOOL WINAPI AddERExcludedApplicationW(LPCWSTR lpAppFileName)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
res = RegCreateKeyW(HKEY_LOCAL_MACHINE, SZ_EXCLUSIONLIST_KEY, &hkey);
|
||||
res = RegCreateKeyW(HKEY_LOCAL_MACHINE,
|
||||
L"Software\\Microsoft\\PCHealth\\ErrorReporting\\ExclusionList", &hkey);
|
||||
if (!res)
|
||||
{
|
||||
RegSetValueExW(hkey, lpAppFileName, 0, REG_DWORD, (LPBYTE)&value, sizeof(value));
|
||||
|
|
Loading…
Reference in New Issue