mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
[CMBATT]
- Implement CmBattIoctl svn path=/trunk/; revision=46332
This commit is contained in:
parent
a1d37edf49
commit
2edf3c4c34
1 changed files with 15 additions and 2 deletions
|
@ -351,8 +351,21 @@ NTAPI
|
|||
CmBattIoctl(PDEVICE_OBJECT DeviceObject,
|
||||
PIRP Irp)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return STATUS_NOT_IMPLEMENTED;
|
||||
PCMBATT_DEVICE_EXTENSION DeviceExtension = DeviceObject->DeviceExtension;
|
||||
NTSTATUS Status;
|
||||
|
||||
Status = BatteryClassIoctl(DeviceExtension->ClassData,
|
||||
Irp);
|
||||
|
||||
if (Status == STATUS_NOT_SUPPORTED)
|
||||
{
|
||||
Irp->IoStatus.Status = Status;
|
||||
Irp->IoStatus.Information = 0;
|
||||
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
}
|
||||
|
||||
return Status;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
|
|
Loading…
Reference in a new issue