<< Previous | Next >>

OSMboxQuery

INT8U OSMboxQuery (OS_EVENT *pevent, OS_MBOX_DATA *pdata);

Description

Obtains information about a message mailbox.

Parameters

pevent
Pointer to message mailbox's event control block.

pdata
Pointer to a data structure for information about the message mailbox

Return value

OS_NO_ERR
The call was successful and the message was sent.

OS_ERR_EVENT_TYPE
Attempting to obtain data from a non mailbox.

Library

OS_MBOX.C

See also

OSMboxAccept, OSMboxCreate, OSMboxPend, OSMboxPost


020-0059 Rev. D << Previous | Next >> µC/OS-II