winerrno

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	// InvalidProcessTraceHandle designates an invalid trace handle reference
	InvalidProcessTraceHandle uint64 = 0xffffffffffffffff
	// InvalidPID indicates invalid process identifier value
	InvalidPID uint32 = 0xffffffff
	// StatusInfoLengthMismatch indicates an issue with the parameter length
	StatusInfoLengthMismatch = 0xC0000004
	// StatusBufferTooSmall indicates that the passed memory buffer doesn't have enough space to satisfy the call
	StatusBufferTooSmall = 0xC0000023
	// StatusBufferOverflow indicates that the data was too small to fit in the buffer
	StatusBufferOverflow = 0x80000005
	// Success determines successful return code
	Success Errno = 0x0
	// InvalidParameter defines that the parameter is incorrect
	InvalidParameter Errno = 0x57
	// AlreadyExists cannot create a file when that file already exists
	AlreadyExists Errno = 0xb7
	// DiskFull defines there is not enough space on the disk
	DiskFull Errno = 0x70
	// AccessDenied defines that the access is denied because of insufficient privileges
	AccessDenied Errno = 0x5
	// NoSysResources is thrown when insufficient system resources exist to complete the requested service
	NoSysResources Errno = 0x5aa
	// BadLength is given when the process issued a command but the command length is incorrect
	BadLength Errno = 0x18
	// WMIInstanceNotFound is thrown when he instance name passed was not recognized as valid by a WMI data provider
	WMIInstanceNotFound Errno = 0x1069
	// Cancelled determines the operation was canceled by the user
	Cancelled Errno = 0x4c7
	// NoAccess denotes invalid access to memory location
	NoAccess Errno = 0x3e6
	// InsufficientBuffer determines that the data area passed to a system call is too small
	InsufficientBuffer Errno = 0x7a
	// NotFound denotes that the element is not found
	NotFound Errno = 0x490
	// CtxClosePending indicates that function will stop after it has processed all real-time events in
	// its buffers (it will not receive any new events)
	CtxClosePending Errno = 0x1B5F
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Errno

type Errno uintptr

Errno is the type alias for error codes returned by API functions

func (Errno) IsNotFound

func (e Errno) IsNotFound() bool

IsNotFound returns true is the underlying error is NotFound.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL