Skip to content

Commit

Permalink
windows: fix constant values for JobObjectInformationClass
Browse files Browse the repository at this point in the history
The constant values were incorrect and has been fixed in this CL.

Reference:
https://learn.microsoft.com/en-us/windows/win32/api/jobapi2/nf-jobapi2-setinformationjobobject#parameters
  • Loading branch information
masshash committed Mar 25, 2023
1 parent 00d8004 commit cd1e32d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows/types_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2229,10 +2229,10 @@ const (
JobObjectExtendedLimitInformation = 9
JobObjectGroupInformation = 11
JobObjectGroupInformationEx = 14
JobObjectLimitViolationInformation2 = 35
JobObjectLimitViolationInformation2 = 34
JobObjectNetRateControlInformation = 32
JobObjectNotificationLimitInformation = 12
JobObjectNotificationLimitInformation2 = 34
JobObjectNotificationLimitInformation2 = 33
JobObjectSecurityLimitInformation = 5
)

Expand Down

0 comments on commit cd1e32d

Please sign in to comment.