WriteLog(_T("GetDependentServices: checking dependencies..."));
LPENUM_SERVICE_STATUS lpDependencies = GetDependentServices(hService);
if (lpDependencies != NULL)
{
for (i = 0; i < (sizeof(lpDependencies)/sizeof(lpDependencies[0])); i++)
or another try with sizeof(lpDependencies)/sizeof(ENUM_SERVICE_STATUS)...
both didn't help.
how can i get the count of entries in lpdependencies?