RegistryPropertySetMod sets the modifiers for a property in the Registry.
OSStatus RegistryPropertySetMod (
const RegEntryID *entry,
const RegPropertyName *name,
RegPropertyModifiers modifiers);
RegistryPropertySetMod sets the modifiers specified in modifiers for the property with name name in the name entry identified by entry. The caller is responsible for preserving bits that should remain set by reading the current modifier value, changing it, and then assigning the new value.
noErr
|
0 | No error |
paramErr
|
-50 | Bad parameter |
nrInvalidNodeErr
|
-2538 | RegEntryID value not valid |
nrNotFoundErr
|
-2539 | Search failed to match criteria |