Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 27 of file battc.c.
Referenced by CmBattAddBattery(), and CmBattRemoveDevice().
{ PBATTERY_CLASS_DATA BattClass = ClassData; DPRINT("Battery 0x%x is being unloaded\n"); if (BattClass->InterfaceName.Length != 0) { IoSetDeviceInterfaceState(&BattClass->InterfaceName, FALSE); RtlFreeUnicodeString(&BattClass->InterfaceName); } ExFreePoolWithTag(BattClass, BATTERY_CLASS_DATA_TAG); return STATUS_SUCCESS; }