The caller sleeps until the next receive interrupt occurs for the designated queue. The sleep occurs on a counting semaphore so that the count accumulates for every receive interrupt. When configured, receive interrupts occur for every packet received. A microsecond-resolution timeout value may be specified, or INFINITE to indicate that the caller should block until the operation is complete.
Note: This call must be made if hpeOpen was called with the INPUT_INTERRUPT
flag set.
HPESTATUS hpeWaitForReceiveQueueComplete( HPEHANDLE devhandle,
DWORD queue_index, DWORD timeout_us );
devhandle
queue_index
timeout_us
INFINITE
to indicate that the operation should not time out before completion. A status value indicating the success or failure of the operation:
E_OK |
The operation completed successfully. |
E_EXIST |
The handle given is not a handle for an open HPE interface. |
E_TIME |
The call timed out before the operation was complete. |
E_STATE |
The driver is not operating in receive-interrupt mode. |
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 6.0 (HPE3) | intime/rt/include/hpeif2.h | hpeif2.h | hpeif2.lib |