forgot to turn debugging off

svn path=/trunk/; revision=23850
This commit is contained in:
Ged Murphy 2006-08-31 22:51:28 +00:00
parent 01081d279e
commit 3c411c196d
3 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ Control(DWORD Control,
break;
case SERVICE_CONTROL_SHUTDOWN:
dwDesiredAccess = -1;
dwDesiredAccess = 0;
break;
}

View file

@ -37,7 +37,7 @@ BOOL Create(LPCTSTR ServiceName, LPCTSTR *ServiceArgs)
_tprintf(_T("error control - %lu\n"), dwErrorControl);
_tprintf(_T("Binary path - %s\n"), lpBinaryPathName);
_tprintf(_T("load order group - %s\n"), lpLoadOrderGroup);
_tprintf(_T("tag - %lu\n"), lpdwTagId);
_tprintf(_T("tag - %lu\n"), *lpdwTagId);
_tprintf(_T("dependincies - %s\n"), lpDependencies);
_tprintf(_T("account start name - %s\n"), lpServiceStartName);
_tprintf(_T("account password - %s\n"), lpPassword);

View file

@ -3,7 +3,7 @@
#include <stdio.h>
#include <tchar.h>
#define SCDBG
//#define SCDBG
VOID PrintService(LPCTSTR ServiceName, LPSERVICE_STATUS pStatus);
VOID PrintServiceEx(LPCTSTR ServiceName, LPSERVICE_STATUS_PROCESS pStatus);