winregistry

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const NONE = "NoneReturn"
View Source
const REG_BINARY = 0x03
View Source
const REG_DWORD = 0x04
View Source
const REG_EXPAND_SZ = 0x02
View Source
const REG_MULTISZ = 0x07
View Source
const REG_NONE = 0x00
View Source
const REG_QWORD = 0x0b
View Source
const REG_SZ = 0x01
View Source
const ROOT_KEY = 0x2c

Variables

This section is empty.

Functions

This section is empty.

Types

type RegVal

type RegVal struct {
	ValType string
	ValData []byte
}

type WinRegIF

type WinRegIF interface {
	GetVal(path string) (regtype uint32, val []byte, err error)
	GetClass(path string) (b []byte, err error)
	EnumKeys(path string) (subkeys []string, err error)
}

func InitLive

func InitLive(s string) (WinRegIF, error)

func InitOffline

func InitOffline(s string) (WinRegIF, error)

type WinRegLive

type WinRegLive struct {
	BaseKey string
}

type WinregRegistry

type WinregRegistry struct {
	// contains filtered or unexported fields
}

func (WinregRegistry) EnumKeys

func (w WinregRegistry) EnumKeys(s string) (r []string, err error)

func (WinregRegistry) GetClass

func (w WinregRegistry) GetClass(s string) ([]byte, error)

func (WinregRegistry) GetVal

func (w WinregRegistry) GetVal(s string) (uint32, []byte, error)

Jump to

Keyboard shortcuts

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