Get a record from the host program.
| 3533 | |
| 3534 | // Get a record from the host program. |
| 3535 | ISC_STATUS API_ROUTINE isc_start_and_send(ISC_STATUS* userStatus, isc_req_handle* reqHandle, |
| 3536 | isc_tr_handle* traHandle, USHORT msgType, USHORT msgLength, const void* msg, SSHORT level) |
| 3537 | { |
| 3538 | StatusVector status(userStatus); |
| 3539 | CheckStatusWrapper statusWrapper(&status); |
| 3540 | |
| 3541 | try |
| 3542 | { |
| 3543 | RefPtr<YRequest> request(translateHandle(requests, reqHandle)); |
| 3544 | RefPtr<YTransaction> transaction(translateHandle(transactions, traHandle)); |
| 3545 | |
| 3546 | request->startAndSend(&statusWrapper, transaction, level, msgType, |
| 3547 | msgLength, reinterpret_cast<const UCHAR*>(msg)); |
| 3548 | } |
| 3549 | catch (const Exception& e) |
| 3550 | { |
| 3551 | e.stuffException(&statusWrapper); |
| 3552 | } |
| 3553 | |
| 3554 | return status[1]; |
| 3555 | } |
| 3556 | |
| 3557 | |
| 3558 | // Get a record from the host program. |
nothing calls this directly
no test coverage detected