a service instance
More...
#include <ServiceInstance.h>
| ServiceInstance::ServiceInstance |
( |
| ) |
|
| ServiceInstance::~ServiceInstance |
( |
| ) |
|
|
virtual |
| void ServiceInstance::Close |
( |
| ) |
|
close a previously opened service object
| void ServiceInstance::Continue |
( |
| ) |
|
continue (resume) a service
| void ServiceInstance::Control |
( |
DWORD |
control | ) |
|
| void ServiceInstance::Delete |
( |
| ) |
|
get service configuration
| std::wstring ServiceInstance::GetDescription |
( |
| ) |
const |
| SC_HANDLE AppSecInc::Service::ServiceInstance::GetHandle |
( |
| ) |
const |
|
inline |
return the service handle
| void ServiceInstance::GetServiceProcessStatus |
( |
LPSERVICE_STATUS_PROCESS |
lp | ) |
const |
return process information
| DWORD ServiceInstance::GetServiceState |
( |
| ) |
const |
| bool AppSecInc::Service::ServiceInstance::IsOpen |
( |
| ) |
const |
|
inline |
returns true if service is already open
| bool AppSecInc::Service::ServiceInstance::IsPaused |
( |
| ) |
const |
|
inline |
returns true if the service is paused
| bool AppSecInc::Service::ServiceInstance::IsStarted |
( |
| ) |
const |
|
inline |
returns true if the service is started
| bool AppSecInc::Service::ServiceInstance::IsStopped |
( |
| ) |
const |
|
inline |
returns true if the service is stopped
| void ServiceInstance::Open |
( |
const ServiceManager & |
scm, |
|
|
const std::wstring & |
name, |
|
|
DWORD |
access = SERVICE_ALL_ACCESS |
|
) |
| |
open the service instance object
| void ServiceInstance::Pause |
( |
| ) |
|
| void ServiceInstance::Restart |
( |
| ) |
|
| void ServiceInstance::Start |
( |
| ) |
|
| void ServiceInstance::Stop |
( |
| ) |
|
| bool ServiceInstance::Wait |
( |
DWORD |
timeout = INFINITE | ) |
const |
wait for a transition to complete while the service is pausing, starting, stopping, etc.
The documentation for this class was generated from the following files: