Function ntcore_sys::NT_GetEntryString [] [src]

pub unsafe extern "C" fn NT_GetEntryString(
    entry: NT_Entry,
    last_change: *mut u64,
    str_len: *mut usize
) -> *mut c_char

Returns a copy of the string assigned to the entry name. If the entry name is not currently assigned, or is assigned to a different type, returns null.

@param entry entry handle @param last_change returns time in ms since the last change in the value @param str_len returns the length of the string @return pointer to the string (UTF-8), or null if error

It is the caller's responsibility to free the string once its no longer needed. The NT_FreeCharArray() function is useful for this purpose.