hivex_node_set_value


Description:

[ Version ( since = "1.19.35" ) ]
public bool hivex_node_set_value (int64 nodeh, string key, int64 t, uint8[] val) throws Error

set or replace a single value in a node

Set or replace a single value under the node nodeh. The key is the name, t is the type, and val is the data.

This is a wrapper around the hivex(3) call of the same name.

This function depends on the feature "hivex". See also feature_available.

Parameters:

this

A GuestfsSession object

val

an array of binary data

val_size

The size of val, in bytes

Returns:

true on success, false on error