// charging.h
// CTL_CODE(0x0029, 0x140, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_INTERNAL_CONFIGURE_CHARGER_PROPERTY 0x0029C500
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_INTERNAL_CONFIGURE_CHARGER_PROPERTY control code is sent from a configurable charger to a device that handles configurable chargers. It configures charger properties.
IRP_MJ_INTERNAL_DEVICE_CONTROL
Irp->AssociatedIrp.SystemBuffer must contain a structure that starts with a CONFIGURABLE_CHARGER_PROPERTY_HEADER structure.
Parameters.DeviceIoControl.InputBufferLength in the I/O stack location of the IRP indicates the size, in bytes, of the buffer.
None.
None.
Irp->IoStatus.Status is set to STATUS_SUCCESS or the appropriate error status.
CONFIGURABLE_CHARGER_PROPERTY_HEADER