IOCTL_SRIOV_EVENT_COMPLETE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// pcivirt.h

// CTL_CODE(0x0022, 0x812, METHOD_BUFFERED, FILE_READ_ACCESS)
#define IOCTL_SRIOV_EVENT_COMPLETE 0x00226048
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-pcivirt-ioctl_sriov_event_complete)

IOCTL_SRIOV_EVENT_COMPLETE IOCTL

Major Code

IRP_MJ_DEVICE_CONTROL

Description

The request indicates that the virtualization stack or the SR-IOV device received one of the events listed in SRIOV_PF_EVENT.

Parameters

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A pointer to an SRIOV_PNP_EVENT_COMPLETE structure that contains the NTSTATUS code with which IOCTL_SRIOV_NOTIFICATION request must be completed.

Input buffer length

The size of the SRIOV_PNP_EVENT_COMPLETE structure.

Output buffer

None.

Output buffer length

Zero.

Input/output buffer

None.

Input/output buffer length

Zero.

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

This IOCTL request is sent by the virtualization stack to the PCI Express SR-IOV Physical Function (PF) driver that exposes GUID_DEVINTERFACE_VIRTUALIZABLE_DEVICE.

The virtualization stack sends the IOCTL_SRIOV_EVENT_COMPLETE request when the physical function (PF) driver completes the previously sent IOCTL_SRIOV_NOTIFICATION request. The IOCTL_SRIOV_EVENT_COMPLETE request can be completed synchronously. The stack provides the NTSTATUS code to set for the SRIOV_PNP_EVENT_COMPLETE is the input buffer.