FpsApi: PowerEvent

PowerEvent

Occurs when the power state or the power level is changed.

 Event PowerEvent(
	  ByVal PowerState As Long,
	  ByVal PowerLevel As Long )

Parameters

PowerState
The state of the power system of the device. Check the FPS_POWER_STATE enumeration for more information.
PowerLevel
The level of the power.

Languages

[Visual Basic] Event PowerEvent(ByVal PowerState As Long, ByVal PowerLevel As Long)

[Delphi] procedure PowerEvent(Sender: TObject; PowerState: Integer; PowerLevel: Integer);

[C++] void PowerEvent(long PowerState, long PowerLevel);

Remarks

[Delphi] The Sender parameter indicates which component received the event and therefore called the handler.

See Also

Class FpsApi Overview FpsApi Properties FpsApi Methods NistFingerQuality PowerLevel