Function ntcore_sys::NT_SetDefaultEntryBoolean [] [src]

pub unsafe extern "C" fn NT_SetDefaultEntryBoolean(
    entry: NT_Entry,
    time: u64,
    default_boolean: NT_Bool
) -> NT_Bool

Set Default Entry Boolean. Sets the default for the specified key to be a boolean. If key exists with same type, does not set value. Otherwise sets value to the default.

@param entry entry handle @param time timestamp @param default_boolean value to be set if name does not exist @return 0 on error (value not set), 1 on success