Author: ekohl
Date: Sat Jul 7 17:47:25 2012
New Revision: 56847
URL:
http://svn.reactos.org/svn/reactos?rev=56847&view=rev
Log:
[SERVICES]
Use Unicode functions instead of generic ones and replace all TEXT macros too.
Modified:
trunk/reactos/base/system/services/services.c
Modified: trunk/reactos/base/system/services/services.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
==============================================================================
--- trunk/reactos/base/system/services/services.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/services/services.c [iso-8859-1] Sat Jul 7 17:47:25 2012
@@ -85,17 +85,17 @@
{
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 @@
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,