You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
817 B

  1. // 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. package windows
  5. type WSAData struct {
  6. Version uint16
  7. HighVersion uint16
  8. MaxSockets uint16
  9. MaxUdpDg uint16
  10. VendorInfo *byte
  11. Description [WSADESCRIPTION_LEN + 1]byte
  12. SystemStatus [WSASYS_STATUS_LEN + 1]byte
  13. }
  14. type Servent struct {
  15. Name *byte
  16. Aliases **byte
  17. Proto *byte
  18. Port uint16
  19. }
  20. type JOBOBJECT_BASIC_LIMIT_INFORMATION struct {
  21. PerProcessUserTimeLimit int64
  22. PerJobUserTimeLimit int64
  23. LimitFlags uint32
  24. MinimumWorkingSetSize uintptr
  25. MaximumWorkingSetSize uintptr
  26. ActiveProcessLimit uint32
  27. Affinity uintptr
  28. PriorityClass uint32
  29. SchedulingClass uint32
  30. }