Service manager.
More...
#include <ServiceManager.h>
ServiceManager::ServiceManager |
( |
| ) |
|
ServiceManager::~ServiceManager |
( |
| ) |
|
|
virtual |
void ServiceManager::Close |
( |
| ) |
|
close a previously opened service manager object
SC_HANDLE AppSecInc::Service::ServiceManager::GetHandle |
( |
| ) |
const |
|
inline |
std::list< ServiceStatusProcess > ServiceManager::GetServices |
( |
DWORD |
service_type = SERVICE_WIN32 , |
|
|
DWORD |
service_state = SERVICE_STATE_ALL , |
|
|
LPCTSTR |
service_group_name = NULL |
|
) |
| const |
return a list of services
bool AppSecInc::Service::ServiceManager::IsOpen |
( |
| ) |
const |
|
inline |
returns true if service manager is open
void ServiceManager::Open |
( |
const std::wstring & |
computer_name, |
|
|
const std::wstring & |
database_name, |
|
|
DWORD |
access = SC_MANAGER_ALL_ACCESS |
|
) |
| |
open the Service manager object on a computer
void ServiceManager::Open |
( |
DWORD |
access = SC_MANAGER_ALL_ACCESS | ) |
|
open the Service manager on the local computer with all access
bool ServiceManager::ServiceExists |
( |
const std::wstring & |
name | ) |
|
return true if the service exists
The documentation for this class was generated from the following files: