Share via


lpWriteDebugStringFunc

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

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
Windows Embedded CE Windows CE 2.10 and later

See Also

Reference

OEMWriteDebugString

Other Resources

SetKernelCommDev