lpWriteDebugStringFunc (Windows Embedded CE 6.0)

1/5/2010

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

Syntax

void (*lpWriteDebugStringFunc)(
  unsigned short* str
);

Parameters

  • str
    [in] Pointer to the buffer containing the string.

Return Value

None.

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.

For debug message output in the OEM adaptation layer (OAL), call through this function pointer instead of directly calling OEMWriteDebugString. This ensures that debug message output is not lost if the debug message transport is redirected through SetKernelCommDev.

Requirements

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

See Also

Reference

Other OAL Functions
OEMWriteDebugString

Other Resources

SetKernelCommDev