Get a record from the host program.
| 3390 | |
| 3391 | // Get a record from the host program. |
| 3392 | ISC_STATUS API_ROUTINE isc_send(ISC_STATUS* userStatus, isc_req_handle* reqHandle, USHORT msgType, |
| 3393 | USHORT msgLength, const void* msg, SSHORT level) |
| 3394 | { |
| 3395 | StatusVector status(userStatus); |
| 3396 | CheckStatusWrapper statusWrapper(&status); |
| 3397 | |
| 3398 | try |
| 3399 | { |
| 3400 | RefPtr<YRequest> request(translateHandle(requests, reqHandle)); |
| 3401 | request->send(&statusWrapper, level, msgType, |
| 3402 | msgLength, static_cast<const UCHAR*>(msg)); |
| 3403 | } |
| 3404 | catch (const Exception& e) |
| 3405 | { |
| 3406 | e.stuffException(&statusWrapper); |
| 3407 | } |
| 3408 | |
| 3409 | return status[1]; |
| 3410 | } |
| 3411 | |
| 3412 | |
| 3413 | // Attach a service through the first subsystem that recognizes it. |
nothing calls this directly
no test coverage detected