Skip to content

Commit

Permalink
windows: add JobObjectInformationClass consts for QueryInformationJob…
Browse files Browse the repository at this point in the history
  • Loading branch information
masshash committed Apr 2, 2023
1 parent 94933fc commit 2816391
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion windows/types_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -2220,15 +2220,19 @@ type JOBOBJECT_BASIC_UI_RESTRICTIONS struct {
}

const (
// JobObjectInformationClass
// JobObjectInformationClass for QueryInformationJobObject and SetInformationJobObject
JobObjectAssociateCompletionPortInformation = 7
JobObjectBasicAccountingInformation = 1
JobObjectBasicAndIoAccountingInformation = 8
JobObjectBasicLimitInformation = 2
JobObjectBasicProcessIdList = 3
JobObjectBasicUIRestrictions = 4
JobObjectCpuRateControlInformation = 15
JobObjectEndOfJobTimeInformation = 6
JobObjectExtendedLimitInformation = 9
JobObjectGroupInformation = 11
JobObjectGroupInformationEx = 14
JobObjectLimitViolationInformation = 13
JobObjectLimitViolationInformation2 = 34
JobObjectNetRateControlInformation = 32
JobObjectNotificationLimitInformation = 12
Expand Down

0 comments on commit 2816391

Please sign in to comment.