mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
parent
b209531959
commit
33ad554800
270 changed files with 71049 additions and 14434 deletions
3
vendor/golang.org/x/sys/windows/svc/service.go
generated
vendored
3
vendor/golang.org/x/sys/windows/svc/service.go
generated
vendored
|
@ -72,6 +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 // 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.
|
||||
|
@ -328,7 +329,7 @@ func Run(name string, handler Handler) error {
|
|||
}
|
||||
s.c <- e
|
||||
// Always return NO_ERROR (0) for now.
|
||||
return 0
|
||||
return windows.NO_ERROR
|
||||
}
|
||||
|
||||
var svcmain uintptr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue