This function restores power to a device.
void XXX_PowerUp( DWORD hDeviceContext );
None.
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-save mode. This function should not call any functions that may cause it to block, and it 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.
Some Windows CE–based platforms provide a subset of the specifications for PC Card power. If you are writing a driver for a PC Card device, consult the platform’s manufacturer to ensure that it can support your PC Card.