mregistry

package module
v0.0.0-...-831dc85 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: MIT Imports: 3 Imported by: 0

README

Multiple registry - Library for working with multiple registry values

All examples in registry_test.go

Documentation

Index

Constants

View Source
const (
	DWORD = iota + 1<<1 - 1
	QWORD
	REG_SZ
	EXPAND_SZ
)

Variables

View Source
var (
	ErrUnknownType = errors.New("unknown provided type of registry value")
	ErrLocationArg = errors.New("your not set any data in `location` argument")
	ErrNamesArg    = errors.New("your not set name data in `names` argument")
)

Functions

func SetMultipleBinaryValues

func SetMultipleBinaryValues(key registry.Key, location string, access uint32, names []string, values [][]byte) error

SetMultipleBinaryValues sets multiple new BINARY values in one registry key. Based on registry.SetBinaryValue

func SetMultipleDWordValues

func SetMultipleDWordValues(key registry.Key, location string, access uint32, names []string, values []uint32) error

SetMultipleDWordValues sets multiple new DWORD values in one registry key. Based on registry.SetDWordValue

func SetMultipleExpandStringValues

func SetMultipleExpandStringValues(key registry.Key, location string, access uint32, names []string, values []string) error

SetMultipleExpandStringValues sets multiple new EXPAND_SZ values in one registry key. Based on registry.SetExpandStringValue

func SetMultipleQWordValues

func SetMultipleQWordValues(key registry.Key, location string, access uint32, names []string, values []uint64) error

SetMultipleQWordValues sets multiple new QWORD(different of DWORD) values in one registry key. Based on registry.SetQWordValue

func SetMultipleStringValues

func SetMultipleStringValues(key registry.Key, location string, access uint32, names []string, values []string) error

SetMultipleStringValues sets multiple new REG_SZ values in one registry key. Based on registry.SetStringValue

Types

This section is empty.

Jump to

Keyboard shortcuts

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