#include "precomp.h"
-
BOOL
TV2_HasDependantServices(LPWSTR lpServiceName)
{
bRet = TRUE;
}
}
+
+ CloseServiceHandle(hService);
}
CloseServiceHandle(hSCManager);
return bRet;
}
-
LPENUM_SERVICE_STATUS
TV2_GetDependants(LPWSTR lpServiceName,
LPDWORD lpdwCount)
return lpDependencies;
}
-
VOID
TV2_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo,
HTREEITEM hParent,
0,
FALSE);
- HeapFree(ProcessHeap,
- 0,
- lpNoDepends);
+ LocalFree(lpNoDepends);
/* Disable the window */
EnableWindow(pDlgInfo->hDependsTreeView2, FALSE);