Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Declare Function OpenSCManager Lib "advapi32" _
Alias "OpenSCManagerW" _
(ByVal lpMachineName As Long, _
ByVal lpDatabaseName As Long, _
ByVal dwDesiredAccess As Long) As Long
Private Declare Function OpenService Lib "advapi32" _
Alias "OpenServiceW" _
(ByVal hSCManager As Long, _
ByVal lpServiceName As Long, _
ByVal dwDesiredAccess As Long) As Long
Private Declare Function ControlService Lib "advapi32" _
(ByVal hService As Long, _
ByVal dwControl As Long, _
lpServiceStatus As SERVICE_STATUS) As Long
Type SERVICE_STATUS
dwServiceType As Long
dwCurrentState As Long
dwControlsAccepted As Long
dwWin32ExitCode As Long
dwServiceSpecificExitCode As Long
dwCheckPoint As Long
dwWaitHint As Long
End Type
Private Declare Function CloseServiceHandle Lib "advapi32" _
(ByVal hSCObject As Long) As Long