PCI_MSIX_MASKUNMASK_ENTRY callback function (wdm.h)

The MaskTableEntry routine masks an interrupt in the MSI-X hardware interrupt table.

Syntax

PCI_MSIX_MASKUNMASK_ENTRY PciMsixMaskunmaskEntry;

NTSTATUS PciMsixMaskunmaskEntry(
  [in] PVOID Context,
  [in] ULONG TableEntry
)
{...}

Parameters

[in] Context

A pointer to interface-specific context information. The caller passes the value that is passed as the Context member of the PCI_MSIX_TABLE_CONFIG_INTERFACE structure for the interface.

[in] TableEntry

The index of the table entry in the MSI-X hardware interrupt table.

Return value

The MaskTableEntry routine might return one of the following NTSTATUS values:

Return code Description
STATUS_SUCCESS
The operation completed successfully.
STATUS_INVALID_PARAMETER
The TableEntry parameter is invalid.

Remarks

If a table entry is masked, the device does not generate any interrupts that correspond to that table entry.

You can unmask the table entry by calling UnmaskTableEntry.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista with Service Pack 1 (SP1), Windows Server 2008, and later versions of the Windows operating system.
Target Platform Desktop
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
IRQL <= DIRQL

See also

PCI_MSIX_TABLE_CONFIG_INTERFACE

UnmaskTableEntry