Partager via


OEMReadDebugByte (Windows Embedded CE 6.0)

1/5/2010

This function retrieves a byte from the debug monitor port.

Syntax

int OEMReadDebugByte (void); 

Parameters

None.

Return Value

Returns the data byte if available, OEM_DEBUG_COM_ERROR if an error is detected, or OEM_DEBUG_READ_NODATA if no data is available at the port.

Requirements

Header nkintr.h
Library OEMMain.lib or OEMMain_StaticKITL.lib
Windows Embedded CE Windows CE 2.12 and later

See Also

Tasks

Implementing the Serial Debug Functions

Reference

Boot Loader Debug Functions
lpReadDebugByteFunc
OEMWriteDebugByte
OEMInitDebugSerial
OEMWriteDebugString
OEMClearDebugCommError