LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2011 The Go Authors. All rights reserved. | 1 // Copyright 2011 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 package syscall | 5 package syscall |
6 | 6 |
7 const ( | 7 const ( |
8 // Windows errors. | 8 // Windows errors. |
9 ERROR_FILE_NOT_FOUND Errno = 2 | 9 ERROR_FILE_NOT_FOUND Errno = 2 |
10 ERROR_PATH_NOT_FOUND Errno = 3 | 10 ERROR_PATH_NOT_FOUND Errno = 3 |
(...skipping 1024 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1035 type WSAProtocolChain struct { | 1035 type WSAProtocolChain struct { |
1036 ChainLen int32 | 1036 ChainLen int32 |
1037 ChainEntries [MAX_PROTOCOL_CHAIN]uint32 | 1037 ChainEntries [MAX_PROTOCOL_CHAIN]uint32 |
1038 } | 1038 } |
1039 | 1039 |
1040 type TCPKeepalive struct { | 1040 type TCPKeepalive struct { |
1041 OnOff uint32 | 1041 OnOff uint32 |
1042 Time uint32 | 1042 Time uint32 |
1043 Interval uint32 | 1043 Interval uint32 |
1044 } | 1044 } |
| 1045 |
| 1046 const ( |
| 1047 // Wincon.h |
| 1048 ENABLE_LINE_INPUT = 0x0002 |
| 1049 ENABLE_PROCESSED_INPUT = 0x0001 |
| 1050 ) |
| 1051 |
| 1052 type ConsoleReadconsoleControl struct { |
| 1053 Length uint32 |
| 1054 InitialChars uint32 |
| 1055 CtrlWakeupMask uint32 |
| 1056 ControlKeyState uint32 |
| 1057 } |
LEFT | RIGHT |