RegistryMultiValue is a data type for multiple SingleValueDWORDs use if a single hardening needs multiple RegistrySingleValueDWORD to be modified.
| 56 | // use if a single hardening needs multiple RegistrySingleValueDWORD to be |
| 57 | // modified. |
| 58 | type 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. |
| 68 | func (regValue *RegistrySingleValueDWORD) Harden(harden bool) error { |
nothing calls this directly
no outgoing calls
no test coverage detected