mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
full diff: https://github.com/Microsoft/hcsshim/compare/v0.8.9...v0.8.16 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
16 lines
364 B
Go
16 lines
364 B
Go
package winapi
|
|
|
|
import "syscall"
|
|
|
|
//sys RtlNtStatusToDosError(status uint32) (winerr error) = ntdll.RtlNtStatusToDosError
|
|
|
|
const (
|
|
STATUS_REPARSE_POINT_ENCOUNTERED = 0xC000050B
|
|
ERROR_NO_MORE_ITEMS = 0x103
|
|
ERROR_MORE_DATA syscall.Errno = 234
|
|
)
|
|
|
|
func NTSuccess(status uint32) bool {
|
|
return status == 0
|
|
}
|