31 tvi.cChildren = bHasChildren;
69 tvins.hParent = hParent;
203 if (pDependData !=
NULL)
210 pDependData->hDependsWnd = hwndDlg;
HIMAGELIST InitImageList(UINT StartResource, UINT EndResource, UINT Width, UINT Height, ULONG type)
struct _DEPENDDATA * PDEPENDDATA
struct _SERVICEPROPSHEET * PSERVICEPROPSHEET
BOOL TV1_Initialize(PDEPENDDATA pDependData, LPWSTR lpServiceName)
VOID TV1_AddDependantsToTree(PDEPENDDATA pDependData, HTREEITEM hParent, LPWSTR lpServiceName)
VOID TV2_AddDependantsToTree(PDEPENDDATA pDependData, HTREEITEM hParent, LPWSTR lpServiceName)
BOOL TV2_Initialize(PDEPENDDATA pDependData, LPWSTR lpServiceName)
BOOL WINAPI ImageList_Destroy(HIMAGELIST himl)
#define HeapFree(x, y, z)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
static VOID DestroyItem(HWND hTreeView, HTREEITEM hItem)
INT_PTR CALLBACK DependenciesPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID InitDependPage(PDEPENDDATA pDependData)
static VOID DestroyTreeView(HWND hTreeView)
static LPARAM TreeView_GetItemParam(HWND hTreeView, HTREEITEM hItem)
HTREEITEM AddItemToTreeView(HWND hTreeView, HTREEITEM hParent, LPWSTR lpDisplayName, LPWSTR lpServiceName, ULONG ServiceType, BOOL bHasChildren)
#define TreeView_GetChild(hwnd, hitem)
#define TreeView_GetItem(hwnd, pitem)
#define TreeView_GetFirstVisible(hwnd)
#define TreeView_GetNextSibling(hwnd, hitem)
#define TVN_ITEMEXPANDING
#define TreeView_InsertItem(hwnd, lpis)
#define TVIF_SELECTEDIMAGE
STRSAFEAPI StringCchCopyW(STRSAFE_LPWSTR pszDest, size_t cchDest, STRSAFE_LPCWSTR pszSrc)
PSERVICEPROPSHEET pDlgInfo
HIMAGELIST hDependsImageList
ENUM_SERVICE_STATUS_PROCESS * pService
_In_ LPCSTR _Out_writes_to_opt_ cchDisplayName LPSTR lpDisplayName
int WINAPI GetSystemMetrics(_In_ int)
#define SERVICE_KERNEL_DRIVER
#define SERVICE_WIN32_SHARE_PROCESS
#define SERVICE_WIN32_OWN_PROCESS
#define SERVICE_FILE_SYSTEM_DRIVER