Share via


DrWatsonFlush (Windows CE 5.0)

Send Feedback

This function flushes the Windows CE Error Reporting dump data to the underlining storage.

BOOLDrWatsonFlush(void);

Parameters

None.

Return Values

Returns a nonzero value if successful. Otherwise, FALSE is returned.

Remarks

This function calls into KernelIoControl with IOCTL_KLIB_FLUSHWATSON.

In cases where OEMs use a slow persistent storage such as NAND flash memory for the Windows CE Error Reporting dump, OEMs normally use a temporary RAM buffer to store the Windows CE Error Reporting dump and write to flash memory only when necessary, such as when the buffer is full.

By calling the DrWatsonFlush function, data is guaranteed to be written to storage.

You can replace the DrWatsonFlush functionality by changing the pointer pfnNKDrWatsonFlush.

DrWatsonFlush 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

pfnNKDrWatsonFlush | KernelIoControl | DrWatsonGetSize | DrWatsonClear | DrWatsonWriteData | DrWatsonReadData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.