mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +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;
|
HANDLE hEvent;
|
||||||
|
|
||||||
hEvent = CreateEvent(NULL,
|
hEvent = CreateEventW(NULL,
|
||||||
TRUE,
|
TRUE,
|
||||||
FALSE,
|
FALSE,
|
||||||
TEXT("SvcctrlStartEvent_A3752DX"));
|
L"SvcctrlStartEvent_A3752DX");
|
||||||
if (hEvent == NULL)
|
if (hEvent == NULL)
|
||||||
{
|
{
|
||||||
if (GetLastError() == ERROR_ALREADY_EXISTS)
|
if (GetLastError() == ERROR_ALREADY_EXISTS)
|
||||||
{
|
{
|
||||||
hEvent = OpenEvent(EVENT_ALL_ACCESS,
|
hEvent = OpenEventW(EVENT_ALL_ACCESS,
|
||||||
FALSE,
|
FALSE,
|
||||||
TEXT("SvcctrlStartEvent_A3752DX"));
|
L"SvcctrlStartEvent_A3752DX");
|
||||||
if (hEvent == NULL)
|
if (hEvent == NULL)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -227,7 +227,7 @@ ScmCreateNamedPipe(VOID)
|
||||||
|
|
||||||
DPRINT("ScmCreateNamedPipe() - CreateNamedPipe(\"\\\\.\\pipe\\Ntsvcs\")\n");
|
DPRINT("ScmCreateNamedPipe() - CreateNamedPipe(\"\\\\.\\pipe\\Ntsvcs\")\n");
|
||||||
|
|
||||||
hPipe = CreateNamedPipe(TEXT("\\\\.\\pipe\\Ntsvcs"),
|
hPipe = CreateNamedPipeW(L"\\\\.\\pipe\\Ntsvcs",
|
||||||
PIPE_ACCESS_DUPLEX,
|
PIPE_ACCESS_DUPLEX,
|
||||||
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT,
|
||||||
PIPE_UNLIMITED_INSTANCES,
|
PIPE_UNLIMITED_INSTANCES,
|
||||||
|
|
Loading…
Reference in a new issue