Public Member Functions | |
CServiceParameter () | |
Public Attributes | |
DWORD | m_desiredAccess |
DWORD | m_serviceType |
DWORD | m_startType |
DWORD | m_errorControl |
String | m_serviceStartName |
String | m_password |
It is a setting value that is used for CreateService function when registering a service.
|
inline |
It is a constructor method.
DWORD Proud::CServiceParameter::m_desiredAccess |
Appoint the access of the service. Default value is SERVICE_ALL_ACCESS.
DWORD Proud::CServiceParameter::m_errorControl |
Appoint the level of an error in case service start fails. Default value is SERVICE_ERROR_NORMAL.
String Proud::CServiceParameter::m_password |
Appoint the password of the account name that has been appointed by m_serviceStartName parameter.
String Proud::CServiceParameter::m_serviceStartName |
Appoint the name of an account that the service executes.
DWORD Proud::CServiceParameter::m_serviceType |
Appoint the service type. Default value is SERVICE_WIN32_OWN_PROCESS.
DWORD Proud::CServiceParameter::m_startType |
Set the start option of the service. Default value is SERVICE_DEMAND_START.