From 2cc0cad0ac78f3ede1f4d2b6ca16ea3038641af4 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 28 Apr 2019 09:22:57 +0200 Subject: [PATCH] windows: document new ProcessId field Change-Id: I761f962f30eb48471a0f033cf30ea6c428d3ce49 Reviewed-on: https://go-review.googlesource.com/c/sys/+/174237 Run-TryBot: Alex Brainman TryBot-Result: Gobot Gobot Reviewed-by: Alex Brainman --- windows/svc/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/svc/service.go b/windows/svc/service.go index 51b94dff..ee3d6965 100644 --- a/windows/svc/service.go +++ b/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.