次の方法で共有


OEMHaltSystem (Compact 2013)

10/16/2014

This function performs tasks the OEM considers necessary before the kernel halts the system.

Syntax

void (*OEMHaltSystem)(void);

Parameters

None.

Return Value

None.

Remarks

The kernel calls this function when an unrecoverable error occurs and the OS cannot continue to run. For example, this function may display an error condition with diagnostic LEDs. If you implement OEMHaltSystem, set the pfnHaltSystem member of OEMGLOBAL to point to this function.

Requirements

Header

Developer Implemented

Library

OEMMain.lib or OEMMain_StaticKITL.lib

See Also

Reference

Optional OAL Functions