Explorar o código

windows: document new ProcessId field

Change-Id: I761f962f30eb48471a0f033cf30ea6c428d3ce49
Reviewed-on: https://go-review.googlesource.com/c/sys/+/174237
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Jason A. Donenfeld %!s(int64=6) %!d(string=hai) anos
pai
achega
2cc0cad0ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      windows/svc/service.go

+ 1 - 1
windows/svc/service.go

@@ -72,7 +72,7 @@ type Status struct {
 	Accepts    Accepted
 	CheckPoint uint32 // used to report progress during a lengthy operation
 	WaitHint   uint32 // estimated time required for a pending operation, in milliseconds
-	ProcessId  uint32
+	ProcessId  uint32 // if the service is running, the process identifier of it, and otherwise zero
 }
 
 // ChangeRequest is sent to the service Handler to request service status change.