Returns a pointer to the next receive buffer which has a fully-received frame in it for the designated queue. The pointer refers to the buffer which is used by the DMA engine, so if the data is required after the next cycle takes place it will need to be copied out of the buffer, or there should be sufficient receive buffers for multiple cycles.
If no buffer is available, the call returns a failing status.
HPESTATUS mhpeGetReceiveBuffer( MHPEHANDLE ephandle,
MHPEBUFFER **buffer_ptr
);
ephandle
buffer_ptr
A HPESTATUS.
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 7.1 | intime/rt/include/mhpeif.h | mhpeif.h | mhpeif.lib |