mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
This allows services written with this library to register for more advanced notifications like SERVICE_CONTROL_DEVICEEVENT for example. Also the code now exposes the service status handle through a new api call, because the handle is needed to register for such notifications and can not be obtained by any other means. Change-Id: I80796e1dd9d94ec9d6c236d0413b17288c67fe1f Reviewed-on: https://go-review.googlesource.com/42812 Reviewed-by: Alex Brainman <alex.brainman@gmail.com> Run-TryBot: Alex Brainman <alex.brainman@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>