lpReadDebugByteFunc (Windows Embedded CE 6.0)

1/5/2010

This function is defined in the kernel and points to the OEMReadDebugByte function by default.

Syntax

int (*lpReadDebugByteFunc)(void);

Parameters

None.

Return Value

Returns the following:

  • The data byte, if available
  • OEM_DEBUG_COM_ERROR, if an error is detected
  • OEM_DEBUG_READ_NODATA, if no data is available at the port

Remarks

If the CESH kernel service is redirected using SetKernelCommDev, the kernel modifies this pointer to point to a function that formats data appropriately for the specified transport.

Requirements

Header nkintr.h
Library coredll.lib
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

Other OAL Functions
lpWriteDebugByteFunc
OEMReadDebugByte

Other Resources

SetKernelCommDev