26 Info->pCurrentService->lpServiceName,
105 (
LPARAM)
Info->pCurrentService->lpDisplayName);
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
INT_PTR CALLBACK DeleteDialogProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
static BOOL DoDeleteService(PMAIN_WND_INFO Info, HWND hDlg)
VOID UpdateServiceCount(PMAIN_WND_INFO Info)
VOID DisplayString(LPWSTR Msg)
struct _MAIN_WND_INFO * PMAIN_WND_INFO
LPWSTR GetServiceDescription(LPWSTR lpServiceName)
#define IDS_DELETE_SUCCESS
#define HeapFree(x, y, z)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
#define ListView_DeleteItem(hwnd, i)
BOOL WINAPI DeleteService(SC_HANDLE hService)
SC_HANDLE WINAPI OpenSCManagerW(LPCWSTR lpMachineName, LPCWSTR lpDatabaseName, DWORD dwDesiredAccess)
SC_HANDLE WINAPI OpenServiceW(SC_HANDLE hSCManager, LPCWSTR lpServiceName, DWORD dwDesiredAccess)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
#define SC_MANAGER_ALL_ACCESS
HANDLE WINAPI LoadImageW(_In_opt_ HINSTANCE hInst, _In_ LPCWSTR name, _In_ UINT type, _In_ int cx, _In_ int cy, _In_ UINT fuLoad)
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define SetWindowLongPtrW
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)
BOOL WINAPI DestroyIcon(_In_ HICON)