次の方法で共有


DrWatsonFlush (Compact 2013)

3/28/2014

This function flushes the Windows Embedded Compact 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 Compact error reporting dump, they normally use a temporary RAM buffer to store the Windows Embedded Compact 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.

Requirements

Header

pkfuncs.h

Library

coredll.lib

See Also

Reference

Kernel Functions
KernelIoControl
DrWatsonGetSize
DrWatsonClear
DrWatsonWriteData
DrWatsonReadData