// ucmtcpciportcontrollerrequests.h
// CTL_CODE(0x0058, 0x003, METHOD_BUFFERED, FILE_WRITE_ACCESS)
#define IOCTL_UCMTCPCI_PORT_CONTROLLER_SET_CONTROL 0x0058800C
View the official Windows Driver Kit DDI referenceNo description available.
Sets the value of a control register defined as per the Universal Serial Bus Type-C Port Controller Interface Specification.
A pointer to a UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS structure that contains the type of register and the value to set.
The size of the UCMTCPCI_PORT_CONTROLLER_SET_CONTROL_IN_PARAMS structure.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
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.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously