OEMEthGetFrame (Windows Embedded CE 6.0)

1/5/2010

This function receives data from the debug Ethernet adapter.

Syntax

BOOL OEMEthGetFrame(
  BYTE* pData, 
  UINT16* pwLength 
);

Parameters

  • pData
    [out] Buffer to hold received frame bytes. The buffer must be DWORD aligned.
  • pwLength
    [in] Number of bytes in the receiving buffer when the function is entered.

Return Value

If the frame is present, the function returns TRUE and fills the pData and pwLength buffers.

If no frame is present, the function returns FALSE.

Requirements

Header halether.h
Library hal.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Tasks

Implementing the Ethernet Controller-Related Functions

Reference

Boot Loader Ethernet Controller Functions
OEMEthSendFrame
OEMEthISR
KITLTRANSPORT