summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/internal/winapi/errors.go
blob: 4e80ef68c92c502d3a49a50c54114084194f3dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}