Assigns the approximate regex progress callback.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_REC_approx_regex_progress_cb_set( const HIG_REC_APPROX_REGEX higRecApproxRegex, LPFNIG_REC_APPROX_REGEX_PROGRESS_CB const lpfnCallback, LPVOID const lpUserData ); |
Name | Type | Description |
---|---|---|
higRecApproxRegex | const HIG_REC_APPROX_REGEX | The handle to an approximate regex instance. |
lpfnCallback | LPFNIG_REC_APPROX_REGEX_PROGRESS_CB | The progress callback function to invoke during searches. |
lpUserData | LPVOID | Anonymous data passed to the progress callback function. |
This function does not process image pixels.
Use this function to install a callback to receive progress notifications prior to completion. The callback presents an opportunity to stop the current operation.
Copy Code
|
|
---|---|
AT_ERRCOUNT errCount = 0 ; HIG_REC_APPROX_REGEX higRecApproxRegex = 0 ; LPVOID user_data = 0 ; IG_REC_approx_regex_create( &higRecApproxRegex ) ; errCount = IG_REC_approx_regex_progress_cb_set ( higRecApproxRegex, &on_approx_regex_progress, &user_data ) ; IG_REC_approx_regex_delete( higRecApproxRegex ) ; |
Use this function to install a callback to receive progress notifications prior to completion. The callback presents an opportunity to stop the current operation.