xxx_PowerUp

The xxx_PowerUp function restores power to a device.

Syntax

void xxx_PowerUp( DWORD hDeviceContext );

Parameters

hDeviceContext
Specifies a handle that identifies the device context. The xxx_Init call returns this identifier.

Return Value

None.

Remarks

The operating system invokes this function to restore power to a device. The operating system might call this function as it is leaving its power saving mode. This function should not call any functions that may cause it to block and should return as quickly as possible. This function should set a global variable to indicate that power was restored and perform any necessary processing later.

Note Some Windows CE platforms provide a subset of the specifications for PC Card power. If you are writing a driver for a PC Card device, consult with the platform's manufacturer to ensure that it can support your PC Card.