Commit d489c58e authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

faultrep: Use wide-char string literals.

parent 1c2d53fa
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment