Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d489c58e
Commit
d489c58e
authored
Sep 30, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
faultrep: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
1c2d53fa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
faultrep.c
dlls/faultrep/faultrep.c
+2
-8
No files found.
dlls/faultrep/faultrep.c
View file @
d489c58e
...
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment