Compartilhar via


DrWatsonReadData (Windows CE 5.0)

Send Feedback

This function reads data from the Windows CE Error Reporting dump area.

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

Parameters

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

Return Values

Returns the size, in bytes, of the data read from the Windows CE Error Reporting dump area.

Remarks

This function calls into KernelIoControl with IOCTL_KLIB_READWATSON.

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

DrWatsonReadData is a trusted API. Only trusted applications can access this function. For more information, see Trusted APIs.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Pkfuncs.h.
Link Library: Coredll.lib.

See Also

pfnNKDrWatsonRead | KernelIoControl | DrWatsonGetSize | DrWatsonFlush | DrWatsonClear | DrWatsonWriteData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.