advapi32/service: lpBinaryPathName is mandatory.

oldstable
Paul Vriens 2007-07-19 20:39:37 +02:00 committed by Alexandre Julliard
parent 857ff080eb
commit 4c24492d31
1 changed files with 1 additions and 2 deletions

View File

@ -1448,8 +1448,7 @@ CreateServiceW( SC_HANDLE hSCManager, LPCWSTR lpServiceName,
service_set_dword( &val[n++], szStart, &dwStartType );
service_set_dword( &val[n++], szError, &dwErrorControl );
if( lpBinaryPathName )
service_set_string( &val[n++], szImagePath, lpBinaryPathName );
service_set_string( &val[n++], szImagePath, lpBinaryPathName );
if( lpLoadOrderGroup )
service_set_string( &val[n++], szGroup, lpLoadOrderGroup );