TwclPowerEventsMonitor.Close Method

Stops listening for the power events and releases all resources.

Namespace: wclPowerEvents
public
 function Close: Integer;

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.