mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[SERVICES]
Use Unicode functions instead of generic ones and replace all TEXT macros too. svn path=/trunk/; revision=56847
This commit is contained in:
parent
ef354366b6
commit
ef482f8abd
1 changed files with 8 additions and 8 deletions
|
@ -85,17 +85,17 @@ ScmCreateStartEvent(PHANDLE StartEvent)
|
|||
{
|
||||
HANDLE hEvent;
|
||||
|
||||
hEvent = CreateEvent(NULL,
|
||||
TRUE,
|
||||
FALSE,
|
||||
TEXT("SvcctrlStartEvent_A3752DX"));
|
||||
hEvent = CreateEventW(NULL,
|
||||
TRUE,
|
||||
FALSE,
|
||||
L"SvcctrlStartEvent_A3752DX");
|
||||
if (hEvent == NULL)
|
||||
{
|
||||
if (GetLastError() == ERROR_ALREADY_EXISTS)
|
||||
{
|
||||
hEvent = OpenEvent(EVENT_ALL_ACCESS,
|
||||
FALSE,
|
||||
TEXT("SvcctrlStartEvent_A3752DX"));
|
||||
hEvent = OpenEventW(EVENT_ALL_ACCESS,
|
||||
FALSE,
|
||||
L"SvcctrlStartEvent_A3752DX");
|
||||
if (hEvent == NULL)
|
||||
{
|
||||
return FALSE;
|
||||
|
@ -227,7 +227,7 @@ ScmCreateNamedPipe(VOID)
|
|||
|
||||
DPRINT("ScmCreateNamedPipe() - CreateNamedPipe(\"\\\\.\\pipe\\Ntsvcs\")\n");
|
||||
|
||||
hPipe = CreateNamedPipe(TEXT("\\\\.\\pipe\\Ntsvcs"),
|
||||
hPipe = CreateNamedPipeW(L"\\\\.\\pipe\\Ntsvcs",
|
||||
PIPE_ACCESS_DUPLEX,
|
||||
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
||||
PIPE_UNLIMITED_INSTANCES,
|
||||
|
|
Loading…
Reference in a new issue