Data Structures |
| struct | PMAIN_WND_INFO |
| struct | PMENU_HINT |
| struct | PSTOP_INFO |
| struct | PSERVICEPROPSHEET |
Defines |
| #define | NO_ITEM_SELECTED -1 |
| #define | MAX_KEY_LENGTH 256 |
| #define | LVNAME 0 |
| #define | LVDESC 1 |
| #define | LVSTATUS 2 |
| #define | LVSTARTUP 3 |
| #define | LVLOGONAS 4 |
| #define | IMAGE_UNKNOWN 0 |
| #define | IMAGE_SERVICE 1 |
| #define | IMAGE_DRIVER 2 |
| #define | DEFAULT_STEP 0 |
Functions |
| INT_PTR CALLBACK | AboutDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| INT_PTR CALLBACK | CreateDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| INT_PTR CALLBACK | DeleteDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| INT_PTR CALLBACK | ProgressDialogProc (HWND hDlg, UINT Message, WPARAM wParam, LPARAM lParam) |
| VOID | SetMenuAndButtonStates (PMAIN_WND_INFO Info) |
| VOID | UpdateServiceCount (PMAIN_WND_INFO Info) |
| VOID | ChangeListViewText (PMAIN_WND_INFO Info, ENUM_SERVICE_STATUS_PROCESS *pService, UINT Column) |
| BOOL | InitMainWindowImpl (VOID) |
| VOID | UninitMainWindowImpl (VOID) |
| HWND | CreateMainWindow (LPCTSTR lpCaption, int nCmdShow) |
| VOID | SetListViewStyle (HWND hListView, DWORD View) |
| VOID | ListViewSelectionChanged (PMAIN_WND_INFO Info, LPNMLISTVIEW pnmv) |
| BOOL | CreateListView (PMAIN_WND_INFO Info) |
| BOOL | DoStart (PMAIN_WND_INFO Info, LPWSTR lpStartParams) |
| BOOL | Control (PMAIN_WND_INFO Info, HWND hProgress, DWORD Control) |
| BOOL | DoStop (PMAIN_WND_INFO Info) |
| BOOL | DoPause (PMAIN_WND_INFO Info) |
| BOOL | DoResume (PMAIN_WND_INFO Info) |
| HWND | CreateProgressDialog (HWND hParent, UINT LabelId) |
| BOOL | DestroyProgressDialog (HWND hProgress, BOOL bComplete) |
| VOID | InitializeProgressDialog (HWND hProgress, LPWSTR lpServiceName) |
| VOID | IncrementProgressBar (HWND hProgress, UINT NewPos) |
| VOID | CompleteProgressBar (HWND hProgress) |
| ENUM_SERVICE_STATUS_PROCESS * | GetSelectedService (PMAIN_WND_INFO Info) |
| LPQUERY_SERVICE_CONFIG | GetServiceConfig (LPTSTR lpServiceName) |
| BOOL | SetServiceConfig (LPQUERY_SERVICE_CONFIG pServiceConfig, LPTSTR lpServiceName, LPTSTR lpPassword) |
| LPTSTR | GetServiceDescription (LPTSTR lpServiceName) |
| BOOL | SetServiceDescription (LPTSTR lpServiceName, LPTSTR lpDescription) |
| LPTSTR | GetExecutablePath (LPTSTR lpServiceName) |
| BOOL | RefreshServiceList (PMAIN_WND_INFO Info) |
| BOOL | UpdateServiceStatus (ENUM_SERVICE_STATUS_PROCESS *pService) |
| BOOL | GetServiceList (PMAIN_WND_INFO Info, DWORD *NumServices) |
| HTREEITEM | AddItemToTreeView (HWND hTreeView, HTREEITEM hRoot, LPTSTR lpDisplayName, LPTSTR lpServiceName, ULONG serviceType, BOOL bHasChildren) |
| INT_PTR CALLBACK | StopDependsDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) |
| LPWSTR | GetListOfServicesToStop (LPWSTR lpServiceName) |
| BOOL | TV1_Initialize (PSERVICEPROPSHEET pDlgInfo, LPTSTR lpServiceName) |
| VOID | TV1_AddDependantsToTree (PSERVICEPROPSHEET pDlgInfo, HTREEITEM hParent, LPTSTR lpServiceName) |
| BOOL | TV2_Initialize (PSERVICEPROPSHEET pDlgInfo, LPTSTR lpServiceName) |
| VOID | TV2_AddDependantsToTree (PSERVICEPROPSHEET pDlgInfo, HTREEITEM hParent, LPTSTR lpServiceName) |
| BOOL | TV2_HasDependantServices (LPWSTR lpServiceName) |
| LPENUM_SERVICE_STATUS | TV2_GetDependants (LPWSTR lpServiceName, LPDWORD lpdwCount) |
| LONG APIENTRY | OpenPropSheet (PMAIN_WND_INFO Info) |
| INT_PTR CALLBACK | DependenciesPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| INT_PTR CALLBACK | GeneralPageProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| VOID | ExportFile (PMAIN_WND_INFO Info) |
| INT | AllocAndLoadString (OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID) |
| DWORD | LoadAndFormatString (IN HINSTANCE hInstance, IN UINT uID, OUT LPTSTR *lpTarget,...) |
| BOOL | StatusBarLoadAndFormatString (IN HWND hStatusBar, IN INT PartId, IN HINSTANCE hInstance, IN UINT uID,...) |
| BOOL | StatusBarLoadString (IN HWND hStatusBar, IN INT PartId, IN HINSTANCE hInstance, IN UINT uID) |
| INT | GetTextFromEdit (OUT LPTSTR lpString, IN HWND hDlg, IN UINT Res) |
| VOID | GetError (VOID) |
| VOID | DisplayString (PTCHAR) |
| HIMAGELIST | InitImageList (UINT StartResource, UINT EndResource, UINT Width, UINT Height, ULONG type) |
Variables |
| HINSTANCE | hInstance |
| HANDLE | ProcessHeap |