Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 2.1 KB

ni-lamp-ioctl_lamp_set_intensity_color.md

File metadata and controls

83 lines (63 loc) · 2.1 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NI:lamp.IOCTL_LAMP_SET_INTENSITY_COLOR
IOCTL_LAMP_SET_INTENSITY_COLOR (lamp.h)
The IOCTL_LAMP_SET_INTENSITY_COLOR control code sets the lamp to the specified light intensity.
stream\ioctl_lamp_set_intensity_color.htm
stream
04/23/2018
IOCTL_LAMP_SET_INTENSITY_COLOR IOCTL
IOCTL_LAMP_SET_INTENSITY_COLOR, IOCTL_LAMP_SET_INTENSITY_COLOR control, IOCTL_LAMP_SET_INTENSITY_COLOR control code [Streaming Media Devices], lamp/IOCTL_LAMP_SET_INTENSITY_COLOR, stream.ioctl_lamp_set_intensity_color
lamp.h
Windows
Windows
IOCTL_LAMP_SET_INTENSITY_COLOR
lamp/IOCTL_LAMP_SET_INTENSITY_COLOR
APIRef
kbSyntax
HeaderDef
lamp.h
IOCTL_LAMP_SET_INTENSITY_COLOR

IOCTL_LAMP_SET_INTENSITY_COLOR IOCTL

-description

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)

-ioctlparameters

-ioctl-major-code

-input-buffer

Irp->AssociatedIrp.SystemBuffer points to a LAMP_INTENSITY_COLOR structure.

-input-buffer-length

Length of a LAMP_INTENSITY_COLOR structure.

-output-buffer

None.

-output-buffer-length

None.

-in-out-buffer

-inout-buffer-length

-status-block

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.