blob: fdddc0c70abd07571a0802b4a083445555a77b9d [file] [log] [blame]
khenaidood948f772021-08-11 17:49:24 -04001// Copyright 2011 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package windows
6
7type WSAData struct {
8 Version uint16
9 HighVersion uint16
10 MaxSockets uint16
11 MaxUdpDg uint16
12 VendorInfo *byte
13 Description [WSADESCRIPTION_LEN + 1]byte
14 SystemStatus [WSASYS_STATUS_LEN + 1]byte
15}
16
17type Servent struct {
18 Name *byte
19 Aliases **byte
20 Proto *byte
21 Port uint16
22}
23
24type JOBOBJECT_BASIC_LIMIT_INFORMATION struct {
25 PerProcessUserTimeLimit int64
26 PerJobUserTimeLimit int64
27 LimitFlags uint32
28 MinimumWorkingSetSize uintptr
29 MaximumWorkingSetSize uintptr
30 ActiveProcessLimit uint32
31 Affinity uintptr
32 PriorityClass uint32
33 SchedulingClass uint32
34}