#include "precomp.h"
+#include <windowsx.h>
+
static const TCHAR szMainWndClass[] = TEXT("ServManWndClass");
BOOL bSortAscending = TRUE;
case ID_START:
{
- if (DoStart(Info))
+ if (DoStart(Info, NULL))
{
UpdateServiceStatus(Info->pCurrentService);
ChangeListViewText(Info, Info->pCurrentService, LVSTATUS);
case ID_RESTART:
if (DoStop(Info))
{
- DoStart(Info);
+ DoStart(Info, NULL);
UpdateServiceStatus(Info->pCurrentService);
ChangeListViewText(Info, Info->pCurrentService, LVSTATUS);
SetMenuAndButtonStates(Info);
Info);
if (hMainWnd == NULL)
{
- int ret;
- ret = GetLastError();
+ //int ret;
+ //ret = GetLastError();
GetError();
HeapFree(ProcessHeap,
0,