INtime SDK Help
UpdateReceiveInfo
INtime Help

UpdateReceiveInfo

This handler is invoked just before returning results to either ReceiveRtMessage or ReceiveRtReply, caused by a service handler calling DeliverStatus. The kernel handles the receipt of a message at a port, and then may call this routine in order that the RECEIVEINFO structure may be filled out. If this handler is not supplied then the kernel uses a default handler which copies information from the control structure just received at the port to the RECEIVEINFO structure.

If implementation is not required, the pUpdateReceiveInfo field of the SERVICEDESC structure should be set to NULL.

void UpdateReceiveInfo(
    LPSERVICEDESC pService,
    RTHANDLE hPort,
    LPCONTROLBUFFER pControl,
    LPRECEIVEINFO pRecvInfo,
    LPWORD pExcep
);

Return Values

Return status code in pExcep.

See Also

RT Service handlers, ReceiveRtMessage, ReceiveRtReply, RECEIVEINFO, SERVICEDESC