dar_user_interaction_create

fndar_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_cbcallback for displaying messages (or null for blind)
pause_cbcallback for yes/no questions (or null for blind - always returns false)
get_string_cbcallback for string input (or null for blind - returns empty)
get_secu_string_cbcallback for secure string input (or null for blind - returns empty)
ctxuser-provided context pointer passed to all callbacks
outPtrreceives the created user interaction handle

Returns

DAR_E_OK on success, error code otherwise.