Bewerken

Delen via


IOCTL_UCMTCPCI_PORT_CONTROLLER_SET_CONTROL IOCTL (ucmtcpciportcontrollerrequests.h)

Sets the value of a control register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A pointer to a UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS structure that contains the type of register and the value to set.

Input buffer length

The size of the UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS structure.

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

Remarks

The UcmTcpciCx class extension sends this IOCTL request to set values to the control register. Only one register can be set per request. The type and value to set is provided in the supplied structure. After setting the value in the register, client driver must call WdfRequestComplete to complete the request.

Requirements

Requirement Value
Header ucmtcpciportcontrollerrequests.h

See also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously