Sunshine latest
Self-hosted game stream host for Moonlight.
service_ctrl::service_controller Class Reference

Public Member Functions

bool query_service_status (SERVICE_STATUS &status)
 Query the service status.
 
 service_controller (DWORD service_desired_access)
 Constructor for service_controller class.
 
bool start_service ()
 Asynchronously starts the Sunshine service.
 

Constructor & Destructor Documentation

◆ service_controller()

service_ctrl::service_controller::service_controller ( DWORD service_desired_access)
inline

Constructor for service_controller class.

Parameters
service_desired_accessSERVICE_* desired access flags.

Member Function Documentation

◆ query_service_status()

bool service_ctrl::service_controller::query_service_status ( SERVICE_STATUS & status)
inline

Query the service status.

Parameters
statusThe SERVICE_STATUS struct to populate.

The documentation for this class was generated from the following file: