// lamp.h
// CTL_CODE(0x0022, 0x007, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_LAMP_SET_INTENSITY_COLOR 0x0022001C
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_LAMP_SET_INTENSITY_COLOR control code sets the lamp to the specified light intensity.
#define IOCTL_LAMP_SET_INTENSITY_COLOR \
CTL_CODE(IOCTL_LAMP_BASE, 0x0007, METHOD_BUFFERED, FILE_ANY_ACCESS)
Irp->AssociatedIrp.SystemBuffer points to a LAMP_INTENSITY_COLOR structure.
Length of a LAMP_INTENSITY_COLOR structure.
None.
None.
The driver sets Irp->IoStatus.Status to STATUS_SUCCESS or the appropriate error status.
If the device has been acquired by a camera driver, the lamp driver should return a STATUS_RESOURCE_IN_USE error via Irp->IoStatus.Status.