advapi32: Move the EnumDependentServicesA/W stubs in service.c where they belong.
Make the stubs return success.
This commit is contained in:
parent
702e6d8d15
commit
eb2d8458a3
|
@ -4307,34 +4307,6 @@ BOOL WINAPI DuplicateToken(
|
||||||
DuplicateTokenHandle );
|
DuplicateTokenHandle );
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL WINAPI EnumDependentServicesA(
|
|
||||||
SC_HANDLE hService,
|
|
||||||
DWORD dwServiceState,
|
|
||||||
LPENUM_SERVICE_STATUSA lpServices,
|
|
||||||
DWORD cbBufSize,
|
|
||||||
LPDWORD pcbBytesNeeded,
|
|
||||||
LPDWORD lpServicesReturned )
|
|
||||||
{
|
|
||||||
FIXME("%p 0x%08x %p 0x%08x %p %p - stub\n", hService, dwServiceState,
|
|
||||||
lpServices, cbBufSize, pcbBytesNeeded, lpServicesReturned);
|
|
||||||
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL WINAPI EnumDependentServicesW(
|
|
||||||
SC_HANDLE hService,
|
|
||||||
DWORD dwServiceState,
|
|
||||||
LPENUM_SERVICE_STATUSW lpServices,
|
|
||||||
DWORD cbBufSize,
|
|
||||||
LPDWORD pcbBytesNeeded,
|
|
||||||
LPDWORD lpServicesReturned )
|
|
||||||
{
|
|
||||||
FIXME("%p 0x%08x %p 0x%08x %p %p - stub\n", hService, dwServiceState,
|
|
||||||
lpServices, cbBufSize, pcbBytesNeeded, lpServicesReturned);
|
|
||||||
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* ComputeStringSidSize
|
* ComputeStringSidSize
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2570,3 +2570,31 @@ SERVICE_STATUS_HANDLE WINAPI RegisterServiceCtrlHandlerExW( LPCWSTR lpServiceNam
|
||||||
|
|
||||||
return handle;
|
return handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* EnumDependentServicesA [ADVAPI32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI EnumDependentServicesA( SC_HANDLE hService, DWORD dwServiceState,
|
||||||
|
LPENUM_SERVICE_STATUSA lpServices, DWORD cbBufSize,
|
||||||
|
LPDWORD pcbBytesNeeded, LPDWORD lpServicesReturned )
|
||||||
|
{
|
||||||
|
FIXME("%p 0x%08x %p 0x%08x %p %p - stub\n", hService, dwServiceState,
|
||||||
|
lpServices, cbBufSize, pcbBytesNeeded, lpServicesReturned);
|
||||||
|
|
||||||
|
*lpServicesReturned = 0;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/******************************************************************************
|
||||||
|
* EnumDependentServicesW [ADVAPI32.@]
|
||||||
|
*/
|
||||||
|
BOOL WINAPI EnumDependentServicesW( SC_HANDLE hService, DWORD dwServiceState,
|
||||||
|
LPENUM_SERVICE_STATUSW lpServices, DWORD cbBufSize,
|
||||||
|
LPDWORD pcbBytesNeeded, LPDWORD lpServicesReturned )
|
||||||
|
{
|
||||||
|
FIXME("%p 0x%08x %p 0x%08x %p %p - stub\n", hService, dwServiceState,
|
||||||
|
lpServices, cbBufSize, pcbBytesNeeded, lpServicesReturned);
|
||||||
|
|
||||||
|
*lpServicesReturned = 0;
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue