3.2.5.7 Registry Values

Settings in Registry Values (section 2.2.5) MUST be set by adding registry values.

If the Key value is any value other than those listed as valid in the table in section 2.2.5, an error SHOULD be logged and the client MUST stop processing Registry Value settings.

Registry values MUST be added by performing the external behavior consistent with locally invoking BaseRegSetValue (section 3.1.5.22) ([MS-RRP] section 3.1.5.22) for each setting.

  • The hKey MUST be set to a registry key handle opened by performing external behavior consistent with locally invoking BaseRegCreateKey (section 3.1.5.7) ([MS-RRP] section 3.1.5.7) using the portion of the RegistryValueName of the Setting prior to the last '\'.

  • The lpValueName MUST be set to the final portion of the RegistryValueName of the setting after the last '\'.

  • The dwType MUST be set to the RegistryValueType of the setting.

  • The lpData MUST be set to the RegistryValue of the setting.

  • The cbData MUST be set to the length in bytes of the RegistryValue of the setting.