MCPcopy
hub / github.com/hardentools/hardentools / RegistryMultiValue

Struct RegistryMultiValue

registry_utils.go:58–65  ·  view source on GitHub ↗

RegistryMultiValue is a data type for multiple SingleValueDWORDs use if a single hardening needs multiple RegistrySingleValueDWORD to be modified.

Source from the content-addressed store, hash-verified

56// use if a single hardening needs multiple RegistrySingleValueDWORD to be
57// modified.
58type RegistryMultiValue struct {
59 ArraySingleDWORD []*RegistrySingleValueDWORD
60 ArraySingleSZ []*RegistrySingleValueSZ
61 shortName string
62 longName string
63 description string
64 hardenByDefault bool
65}
66
67// Harden function for RegistrySingleValueDWORD struct.
68func (regValue *RegistrySingleValueDWORD) Harden(harden bool) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected