次の方法で共有


DrWatsonReadData (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

  • dwOffset
    [in] Offset into the Windows Embedded Compact error reporting dump area to start reading data from.
  • pData
    [in] Buffer to receive the Windows Embedded Compact 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 Compact 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

See Also

Reference

Kernel Functions
KernelIoControl
DrWatsonGetSize
DrWatsonFlush
DrWatsonClear
DrWatsonWriteData