Share via


DrWatsonReadData (Windows Embedded CE 6.0)

1/6/2010

This function reads data from the Windows Embedded CE error reporting dump area.

Syntax

DWORD DrWatsonReadData(
  DWORD dwOffset,
  LPVOID pData,
  DWORD cbSize
);

Parameters

  • dwOffset
    [in] Offset into the Windows Embedded CE error reporting dump area to start reading data from.
  • pData
    [in] Buffer to receive the Windows Embedded CE error reporting dump.
  • cbSize
    [in] Size, in bytes, of the buffer.

Return Value

The size, in bytes, of the data read from the Windows Embedded CE error reporting dump area.

Remarks

This function calls KernelIoControl with IOCTL_KLIB_READWATSON.

You can replace the DrWatsonReadData functionality by changing the pointer pfnNKDrWatsonRead.

Requirements

Header pkfuncs.h
Library coredll.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

Kernel Functions
DrWatsonGetSize
DrWatsonFlush
DrWatsonClear
DrWatsonWriteData

Concepts

Kernel Mode APIs

Other Resources

pfnNKDrWatsonRead
KernelIoControl