Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
144d898f
Commit
144d898f
authored
Oct 03, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wiaservc: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
153dcacf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
service.c
dlls/wiaservc/service.c
+1
-2
No files found.
dlls/wiaservc/service.c
View file @
144d898f
...
...
@@ -107,7 +107,6 @@ StartCount(void)
VOID
WINAPI
ServiceMain
(
DWORD
dwArgc
,
LPWSTR
*
lpszArgv
)
{
static
const
WCHAR
stisvc_nameW
[]
=
{
's'
,
't'
,
'i'
,
's'
,
'v'
,
'c'
,
0
};
TRACE
(
"(%d, %p)
\n
"
,
dwArgc
,
lpszArgv
);
stop_event
=
CreateEventW
(
NULL
,
TRUE
,
FALSE
,
NULL
);
...
...
@@ -116,7 +115,7 @@ ServiceMain(DWORD dwArgc, LPWSTR *lpszArgv)
return
;
}
status_handle
=
RegisterServiceCtrlHandlerExW
(
stisvc_nameW
,
ServiceHandler
,
NULL
);
status_handle
=
RegisterServiceCtrlHandlerExW
(
L"stisvc"
,
ServiceHandler
,
NULL
);
if
(
!
status_handle
)
{
ERR
(
"failed to register handler: %u
\n
"
,
GetLastError
());
return
;
...
...
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