Przeglądaj źródła

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 6 lat temu
rodzic
commit
2cc0cad0ac
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      windows/svc/service.go

+ 1 - 1
windows/svc/service.go

@@ -72,7 +72,7 @@ type Status struct {
 	Accepts    Accepted
 	Accepts    Accepted
 	CheckPoint uint32 // used to report progress during a lengthy operation
 	CheckPoint uint32 // used to report progress during a lengthy operation
 	WaitHint   uint32 // estimated time required for a pending operation, in milliseconds
 	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.
 // ChangeRequest is sent to the service Handler to request service status change.