49 if (!*lpStr && !*(lpStr + 1))
108 lpStr = lpDependants;
125 bHasChildren =
FALSE;
static unsigned char bytes[4]
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
LPQUERY_SERVICE_CONFIG GetServiceConfig(LPWSTR lpServiceName)
HTREEITEM AddItemToTreeView(HWND hTreeView, HTREEITEM hRoot, LPWSTR lpDisplayName, LPWSTR lpServiceName, ULONG serviceType, BOOL bHasChildren)
#define ERROR_INSUFFICIENT_BUFFER
BOOL TV1_Initialize(PDEPENDDATA pDependData, LPWSTR lpServiceName)
VOID TV1_AddDependantsToTree(PDEPENDDATA pDependData, HTREEITEM hParent, LPWSTR lpServiceName)
LPWSTR TV1_GetDependants(SC_HANDLE hService)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
#define HeapFree(x, y, z)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define TreeView_SetImageList(hwnd, himl, iImage)
SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR lpMachineName, LPCWSTR lpDatabaseName, DWORD dwDesiredAccess)
SC_HANDLE WINAPI OpenServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName, DWORD dwDesiredAccess)
BOOL WINAPI QueryServiceConfigW(SC_HANDLE hService, LPQUERY_SERVICE_CONFIGW lpServiceConfig, DWORD cbBufSize, LPDWORD pcbBytesNeeded)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
HIMAGELIST hDependsImageList
DWORD WINAPI GetLastError(void)
#define SERVICE_QUERY_STATUS
#define SERVICE_ENUMERATE_DEPENDENTS
#define SC_MANAGER_ALL_ACCESS
#define SERVICE_QUERY_CONFIG
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI EnableWindow(_In_ HWND, _In_ BOOL)