ioctlcode

package
v0.0.0-...-3547e8a Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 0 Imported by: 6

Documentation

Overview

Package ioctlcode provides constants and functions used in the definition of Windows I/O control codes.

Index

Constants

View Source
const (
	MethodBuffered  = iota // 0
	MethodInDirect         // 1
	MethodOutDirect        // 2
	MethodNeither          // 3
)

IO Control Code Method Types

View Source
const (
	AccessAny       = iota // 0 FILE_ANY_ACCESS
	AccessRead             // 1 FILE_READ_ACCESS
	AccessWrite            // 2 FILE_WRITE_ACCESS
	AccessReadWrite = AccessRead | AccessWrite
	AccessSpecial   = AccessAny
)

Access Restrictions

Variables

This section is empty.

Functions

func New

func New(deviceType, function uint16, method, access uint8) uint32

New returns an I/O control code for the given parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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