Skip to main content

wxd_DirDialog_GetPath

Function wxd_DirDialog_GetPath 

Source
pub unsafe extern "C" fn wxd_DirDialog_GetPath(
    self_: *const wxd_DirDialog_t,
    buffer: *mut c_char,
    bufLen: usize,
) -> c_int
Expand description

Gets the currently selected path. Returns the length of the path string (not including the null terminator), or -1 on error. If buffer is not null and bufLen is non-zero, copies up to bufLen-1 characters into buffer, null-terminating it.