...

Source file src/github.com/Microsoft/hcsshim/internal/winapi/errors.go

Documentation: github.com/Microsoft/hcsshim/internal/winapi

     1  //go:build windows
     2  
     3  package winapi
     4  
     5  import "syscall"
     6  
     7  //sys RtlNtStatusToDosError(status uint32) (winerr error) = ntdll.RtlNtStatusToDosError
     8  
     9  const (
    10  	STATUS_REPARSE_POINT_ENCOUNTERED               = 0xC000050B
    11  	ERROR_NO_MORE_ITEMS                            = 0x103
    12  	ERROR_MORE_DATA                  syscall.Errno = 234
    13  )
    14  
    15  func NTSuccess(status uint32) bool {
    16  	return status == 0
    17  }
    18  

View as plain text