IPowerEventListener

Overview

Related Modules:

Core

Description:

Defines the power management functions provided by the HDF for the driver.

To use the power management mechanism provided by the HDF, implement operations of IPowerEventListener and invoke {@linkHdfDeviceRegisterPowerListener} to register the operations with the HDF.

Since:

1.0

Summary

Data Fields

Variable Name

Description

Resume )(struct HdfDeviceObject deviceObject)

void( 

Suspend )(struct HdfDeviceObject deviceObject)

void( 

Details

Field Documentation

Resume

  1. void(* IPowerEventListener::Resume) (struct [HdfDeviceObject]($api-api-SmartVision-Devices-HdfDeviceObject.md) *deviceObject)

Description:

Wakes up the driver device. The driver developer implements the operation.

Suspend

  1. void(* IPowerEventListener::Suspend) (struct [HdfDeviceObject]($api-api-SmartVision-Devices-HdfDeviceObject.md) *deviceObject)

Description:

Hibernates the driver device. The driver developer implements the operation.