다음을 통해 공유


DrWatsonGetSize (Windows CE 5.0)

Send Feedback

This function retrieves the size of the Windows CE Error Reporting dump area.

DWORDDrWatsonGetSize(void);

Parameters

None.

Return Values

Returns the size of the Windows CE Error Reporting dump area if successful.

A size of zero means that Windows CE Error Reporting support is not implemented by the OEM.

Remarks

This function calls into KernelIoControl with IOCTL_KLIB_GETWATSONSIZE.

You must initialize the dwNKDrWatsonSize variable to the amount of memory needed for the dump files in OEMInit. Microsoft recommends that a minimum of 128 KB be reserved for dump files. The amount of memory must be a multiple of the PAGE_SIZE of the device.

Note   If dwNKDrWatsonSize is not initialized, there will be no support for Windows CE Error Reporting dump files.

DrWatsonGetSize 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 | OEMInit | DrWatsonFlush | DrWatsonClear | DrWatsonWriteData | DrWatsonReadData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.