DrWatsonWriteData (Windows CE 5.0)

Send Feedback

This function writes data to the Windows CE Error Reporting dump area.

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

Parameters

  • dwOffset
    [in] Offset into the Windows CE Error Reporting dump area to start writing data to.
  • pData
    [in] Data to be written to the Windows CE Error Reporting dump area.
  • cbSize
    [in] Size, in bytes, of the data.

Return Values

Returns the size, in bytes, of the data written to the Windows CE Error Reporting dump.

Remarks

A successful write operation does not guarantee that the data is flushed to the underlining storage. Use the DrWatsonFlush function after writing the data to guarantee that the data is flushed.

This function calls into KernelIoControl with IOCTL_KLIB_WRITEWATSON.

You can replace the DrWatsonWriteData functionality by changing the pointer pfnNKDrWatsonWrite.

DrWatsonWriteData 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

pfnNKDrWatsonWrite | KernelIoControl | DrWatsonGetSize | DrWatsonFlush | DrWatsonClear | DrWatsonReadData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.