Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void ctrx_sync_on_bitmap2(long x_start, long y_start, long width, long height, char *hash, char *temp)
- // over load of function:
- // ctrx_sync_on_bitmap(50 , 50 , 436 , 565 , "<hash>", CTRX_LAST);
- // to handle errors
- // incase of errors, exit the current iteration instead of stopping the current vuser
- {
- int result;
- result = ctrx_sync_on_bitmap(x_start, y_start, width, height, hash, CONTINUE_ON_ERROR, CTRX_LAST);
- if (result == 0)
- {
- // oke
- lr_output_message("The result is OK (%d)", result);
- }
- else
- {
- lr_output_message("The result is Failed (%d)", result);
- ctrx_logoff(CTRX_NORMAL_LOGOFF, CONTINUE_ON_ERROR, CTRX_LAST);
- lr_exit(LR_EXIT_MAIN_ITERATION_AND_CONTINUE, LR_FAIL);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement