-
prcv_mbx
-
Receive from mailbox (polling).
ER prcv_mbx ( ID mbxid, T_MSG **ppk_msg );
|
MOVW BC, #LOWW(_ppk_msg)
MOV A, #mbxid
CALL !!_prcv_mbx
|
|
|
|
|
ID mbxid;
|
ID number of the mailbox from which a message is received.
|
|
T_MSG **ppk_msg;
|
Start address of the message packet received from the mailbox.
|
This service call receives a message from the mailbox specified by parameter
mbxid, and stores its start address in the area specified by parameter
ppk_msg.
If the message could not be received from the target mailbox (no messages were queued in the wait queue) when this service call is issued, message reception processing is not executed but "E_TMOUT" is returned.