Send a record to the host program.
| 3207 | |
| 3208 | // Send a record to the host program. |
| 3209 | ISC_STATUS API_ROUTINE isc_receive(ISC_STATUS* userStatus, isc_req_handle* reqHandle, USHORT msgType, |
| 3210 | USHORT msgLength, void* msg, SSHORT level) |
| 3211 | { |
| 3212 | StatusVector status(userStatus); |
| 3213 | CheckStatusWrapper statusWrapper(&status); |
| 3214 | |
| 3215 | try |
| 3216 | { |
| 3217 | RefPtr<YRequest> request(translateHandle(requests, reqHandle)); |
| 3218 | request->receive(&statusWrapper, level, msgType, msgLength, reinterpret_cast<UCHAR*>(msg)); |
| 3219 | } |
| 3220 | catch (const Exception& e) |
| 3221 | { |
| 3222 | e.stuffException(&statusWrapper); |
| 3223 | } |
| 3224 | |
| 3225 | return status[1]; |
| 3226 | } |
| 3227 | |
| 3228 | |
| 3229 | // Connect to a transaction in limbo. |
nothing calls this directly
no test coverage detected