Compartilhar via


DrWatsonFlush (Windows Embedded CE 6.0)

1/6/2010

This function flushes the Windows Embedded CE error reporting dump data to the underlining storage.

Syntax

BOOL DrWatsonFlush(void);

Parameters

None.

Return Value

A nonzero value indicates success. FALSE indicates failure.

Remarks

This function calls KernelIoControl with IOCTL_KLIB_FLUSHWATSON. If OEMs use a slow persistent storage such as NAND flash memory for the Windows Embedded CE error reporting dump, they normally use a temporary RAM buffer to store the Windows Embedded 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.

Requirements

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

See Also

Reference

Kernel Functions
DrWatsonGetSize
DrWatsonClear
DrWatsonWriteData
DrWatsonReadData

Concepts

Kernel Mode APIs

Other Resources

pfnNKDrWatsonFlush
KernelIoControl