mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
- Fix parameters for CreateService
svn path=/trunk/; revision=38195
This commit is contained in:
parent
78ef81691e
commit
7b6fe6680a
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ BOOL Create(LPCTSTR ServiceName, LPCTSTR *ServiceArgs)
|
||||||
DWORD dwErrorControl = SERVICE_ERROR_NORMAL;
|
DWORD dwErrorControl = SERVICE_ERROR_NORMAL;
|
||||||
LPCTSTR lpBinaryPathName = NULL;
|
LPCTSTR lpBinaryPathName = NULL;
|
||||||
LPCTSTR lpLoadOrderGroup = NULL;
|
LPCTSTR lpLoadOrderGroup = NULL;
|
||||||
LPDWORD lpdwTagId = NULL;
|
DWORD dwTagId = 0;
|
||||||
LPCTSTR lpDependencies = NULL;
|
LPCTSTR lpDependencies = NULL;
|
||||||
LPCTSTR lpServiceStartName = NULL;
|
LPCTSTR lpServiceStartName = NULL;
|
||||||
LPCTSTR lpPassword = NULL;
|
LPCTSTR lpPassword = NULL;
|
||||||
|
@ -36,7 +36,7 @@ BOOL Create(LPCTSTR ServiceName, LPCTSTR *ServiceArgs)
|
||||||
_tprintf(_T("error control - %lu\n"), dwErrorControl);
|
_tprintf(_T("error control - %lu\n"), dwErrorControl);
|
||||||
_tprintf(_T("Binary path - %s\n"), lpBinaryPathName);
|
_tprintf(_T("Binary path - %s\n"), lpBinaryPathName);
|
||||||
_tprintf(_T("load order group - %s\n"), lpLoadOrderGroup);
|
_tprintf(_T("load order group - %s\n"), lpLoadOrderGroup);
|
||||||
_tprintf(_T("tag - %lu\n"), lpdwTagId);
|
_tprintf(_T("tag - %lu\n"), dwTagId);
|
||||||
_tprintf(_T("dependincies - %s\n"), lpDependencies);
|
_tprintf(_T("dependincies - %s\n"), lpDependencies);
|
||||||
_tprintf(_T("account start name - %s\n"), lpServiceStartName);
|
_tprintf(_T("account start name - %s\n"), lpServiceStartName);
|
||||||
_tprintf(_T("account password - %s\n"), lpPassword);
|
_tprintf(_T("account password - %s\n"), lpPassword);
|
||||||
|
@ -66,7 +66,7 @@ BOOL Create(LPCTSTR ServiceName, LPCTSTR *ServiceArgs)
|
||||||
dwErrorControl,
|
dwErrorControl,
|
||||||
lpBinaryPathName,
|
lpBinaryPathName,
|
||||||
lpLoadOrderGroup,
|
lpLoadOrderGroup,
|
||||||
lpdwTagId,
|
&dwTagId,
|
||||||
lpDependencies,
|
lpDependencies,
|
||||||
lpServiceStartName,
|
lpServiceStartName,
|
||||||
lpPassword);
|
lpPassword);
|
||||||
|
|
Loading…
Reference in a new issue