mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 17:12:57 +00:00
[SERVICES]
- Silence some debug prints svn path=/trunk/; revision=63720
This commit is contained in:
parent
16e23a8b75
commit
6be6b3b4d4
1 changed files with 13 additions and 13 deletions
|
@ -936,16 +936,16 @@ ScmControlService(PSERVICE Service,
|
||||||
&Overlapped);
|
&Overlapped);
|
||||||
if (bResult == FALSE)
|
if (bResult == FALSE)
|
||||||
{
|
{
|
||||||
DPRINT1("WriteFile() returned FALSE\n");
|
DPRINT("WriteFile() returned FALSE\n");
|
||||||
|
|
||||||
dwError = GetLastError();
|
dwError = GetLastError();
|
||||||
if (dwError == ERROR_IO_PENDING)
|
if (dwError == ERROR_IO_PENDING)
|
||||||
{
|
{
|
||||||
DPRINT1("dwError: ERROR_IO_PENDING\n");
|
DPRINT("dwError: ERROR_IO_PENDING\n");
|
||||||
|
|
||||||
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
||||||
PipeTimeout);
|
PipeTimeout);
|
||||||
DPRINT1("WaitForSingleObject() returned %lu\n", dwError);
|
DPRINT("WaitForSingleObject() returned %lu\n", dwError);
|
||||||
|
|
||||||
if (dwError == WAIT_TIMEOUT)
|
if (dwError == WAIT_TIMEOUT)
|
||||||
{
|
{
|
||||||
|
@ -990,16 +990,16 @@ ScmControlService(PSERVICE Service,
|
||||||
&Overlapped);
|
&Overlapped);
|
||||||
if (bResult == FALSE)
|
if (bResult == FALSE)
|
||||||
{
|
{
|
||||||
DPRINT1("ReadFile() returned FALSE\n");
|
DPRINT("ReadFile() returned FALSE\n");
|
||||||
|
|
||||||
dwError = GetLastError();
|
dwError = GetLastError();
|
||||||
if (dwError == ERROR_IO_PENDING)
|
if (dwError == ERROR_IO_PENDING)
|
||||||
{
|
{
|
||||||
DPRINT1("dwError: ERROR_IO_PENDING\n");
|
DPRINT("dwError: ERROR_IO_PENDING\n");
|
||||||
|
|
||||||
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
||||||
PipeTimeout);
|
PipeTimeout);
|
||||||
DPRINT1("WaitForSingleObject() returned %lu\n", dwError);
|
DPRINT("WaitForSingleObject() returned %lu\n", dwError);
|
||||||
|
|
||||||
if (dwError == WAIT_TIMEOUT)
|
if (dwError == WAIT_TIMEOUT)
|
||||||
{
|
{
|
||||||
|
@ -1187,16 +1187,16 @@ ScmSendStartCommand(PSERVICE Service,
|
||||||
&Overlapped);
|
&Overlapped);
|
||||||
if (bResult == FALSE)
|
if (bResult == FALSE)
|
||||||
{
|
{
|
||||||
DPRINT1("WriteFile() returned FALSE\n");
|
DPRINT("WriteFile() returned FALSE\n");
|
||||||
|
|
||||||
dwError = GetLastError();
|
dwError = GetLastError();
|
||||||
if (dwError == ERROR_IO_PENDING)
|
if (dwError == ERROR_IO_PENDING)
|
||||||
{
|
{
|
||||||
DPRINT1("dwError: ERROR_IO_PENDING\n");
|
DPRINT("dwError: ERROR_IO_PENDING\n");
|
||||||
|
|
||||||
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
||||||
PipeTimeout);
|
PipeTimeout);
|
||||||
DPRINT1("WaitForSingleObject() returned %lu\n", dwError);
|
DPRINT("WaitForSingleObject() returned %lu\n", dwError);
|
||||||
|
|
||||||
if (dwError == WAIT_TIMEOUT)
|
if (dwError == WAIT_TIMEOUT)
|
||||||
{
|
{
|
||||||
|
@ -1241,16 +1241,16 @@ ScmSendStartCommand(PSERVICE Service,
|
||||||
&Overlapped);
|
&Overlapped);
|
||||||
if (bResult == FALSE)
|
if (bResult == FALSE)
|
||||||
{
|
{
|
||||||
DPRINT1("ReadFile() returned FALSE\n");
|
DPRINT("ReadFile() returned FALSE\n");
|
||||||
|
|
||||||
dwError = GetLastError();
|
dwError = GetLastError();
|
||||||
if (dwError == ERROR_IO_PENDING)
|
if (dwError == ERROR_IO_PENDING)
|
||||||
{
|
{
|
||||||
DPRINT1("dwError: ERROR_IO_PENDING\n");
|
DPRINT("dwError: ERROR_IO_PENDING\n");
|
||||||
|
|
||||||
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
dwError = WaitForSingleObject(Service->lpImage->hControlPipe,
|
||||||
PipeTimeout);
|
PipeTimeout);
|
||||||
DPRINT1("WaitForSingleObject() returned %lu\n", dwError);
|
DPRINT("WaitForSingleObject() returned %lu\n", dwError);
|
||||||
|
|
||||||
if (dwError == WAIT_TIMEOUT)
|
if (dwError == WAIT_TIMEOUT)
|
||||||
{
|
{
|
||||||
|
@ -1457,7 +1457,7 @@ ScmWaitForServiceConnect(PSERVICE Service)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DPRINT1("ScmWaitForServiceConnect() done\n");
|
DPRINT("ScmWaitForServiceConnect() done\n");
|
||||||
|
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue