dar_user_interaction_create
fn
dar_err dar_user_interaction_create(dar_ui_message_cb message_cb,
dar_pause_cb pause_cb,
dar_get_string_cb get_string_cb,
dar_get_secu_string_cb get_secu_string_cb,
void * ctx,
dar_user_interaction * * outPtr)Create a user interaction object with full callback support.
Parameters
message_cb | callback for displaying messages (or null for blind) |
pause_cb | callback for yes/no questions (or null for blind - always returns false) |
get_string_cb | callback for string input (or null for blind - returns empty) |
get_secu_string_cb | callback for secure string input (or null for blind - returns empty) |
ctx | user-provided context pointer passed to all callbacks |
outPtr | receives the created user interaction handle |
Returns
DAR_E_OK on success, error code otherwise.