stmSetHandleErrorFunc Sets an error handler function. Syntax stmSetHandleErrorFunc(stm_context, error_function_ptr(err_str)) Return Type void Arguments Argument Name Input/Output Argument Type Argument Description stm_context Input Pointer STM context descriptor that was returned by stmInitImport error_func Input Pointer to function Function to call in case of an error. error_message Input String String to pass to error function.
stmSetHandleErrorFunc(stm_context, error_function_ptr(err_str))