// swenum.h
// CTL_CODE(0x002a, 0x002, METHOD_NEITHER, FILE_READ_ACCESS)
#define IOCTL_SWENUM_GET_BUS_ID 0x002A400B
View the official Windows Driver Kit DDI referenceNo description available.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously