Compartilhar via


IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK função de retorno de chamada (wdm.h)

Permite que o chamador desregistre um IOMMU_INTERFACE_STATE_CHANGE_CALLBACKregistrado.

Sintaxe

IOMMU_UNREGISTER_INTERFACE_STATE_CHANGE_CALLBACK IommuUnregisterInterfaceStateChangeCallback;

NTSTATUS IommuUnregisterInterfaceStateChangeCallback(
  PIOMMU_INTERFACE_STATE_CHANGE_CALLBACK StateChangeCallback,
  PIOMMU_DMA_DEVICE DmaDevice
)
{...}

Parâmetros

StateChangeCallback

[em] O IOMMU_INTERFACE_STATE_CHANGE_CALLBACK não registrado.

DmaDevice

[em] Um ponteiro para um token opaco que representa o IOMMU_DMA_DEVICE associado ao retorno de chamada fornecido.

Valor de retorno

STATUS_SUCCESS se a operação for bem-sucedida.

Os valores de retorno de erro possíveis incluem os seguintes códigos de status.

Código de retorno Descrição
STATUS_UNSUCCESSFUL O IOMMU_INTERFACE_STATE_CHANGE_CALLBACK fornecido não é um retorno de chamada registrado.

Para obter mais informações, consulte valores NTSTATUS.

Observações

Antes de descartar um DMA_IOMMU_INTERFACE_EX ou IOMMU_DMA_DEVICE, o proprietário é responsável por cancelar o registro de todos os seus retornos de chamada registrados.

Somente um retorno de chamada pode ser registrado por IOMMU_DMA_DEVICE.

Requisitos

Requisito Valor
servidor com suporte mínimo Windows Server 2022
cabeçalho wdm.h (inclua Wdm.h)

Consulte também

IOMMU_INTERFACE_STATE_CHANGE_CALLBACK

IOMMU_REGISTER_INTERFACE_STATE_CHANGE_CALLBACK

DMA_IOMMU_INTERFACE_V2

DMA_IOMMU_INTERFACE_EX