The SNALink calls this function to read a data frame from the driver's buffers.
IoStatus.Status | IoStatus.Information |
---|---|
STATUS_BUFFER_TOO_SMALL | None. |
The driver transfers the next available received frame to the supplied buffer. Note that if the buffer is not large enough, a buffer overflow error is returned. This allows the application to decide if oversize frames are an error. If not, then a second attempt to read should be made, using a buffer at least Frame Length bytes long. A length of zero is returned if there are no frames ready to be received.