keyname is in the form PS_HKEY\
Subkey and PS_HKEY is one of the following: PS_HKEY_CONFIG, PS_HKEY_CONFIG_64, PS_HKEY_CLASSES, PS_HKEY_CLASSES_64, or PS_HKEY_USER.
Subkey is a subordinate key under a major key.
valuename is the name assigned to the Registry value or “default.”
type is PS_REG_STR, or PS_REG_UINT32, or PS_REG_UINT64.
filename is the name of a file, which may include a path.