Bewerken

Delen via


DXGKDDI_READVIRTUALFUNCTIONCONFIGBLOCK callback function (dispmprt.h)

This routine supplies the non-privileged virtual machine (VM) with configuration data supplied by the Physical Function driver in the privileged VM. This is used by the virtual functions (VF) in order to read predefined configuration blocks from the PF. This function is only required if the guest VF driver expects it.

Syntax

DXGKDDI_READVIRTUALFUNCTIONCONFIGBLOCK DxgkddiReadvirtualfunctionconfigblock;

NTSTATUS DxgkddiReadvirtualfunctionconfigblock(
  [in]      HANDLE Context,
  [in, out] DXGKARG_READVIRTUALFUNCTIONCONFIGBLOCK *pArgs
)
{...}

Parameters

[in] Context

The miniport context that is returned by the driver in the DXGKDDI_SRIOV_INTERFACE structure.

[in, out] pArgs

A pointer to the DXGKARG_READVIRTUALFUNCTIONCONFIGBLOCK structure.

Return value

Return STATUS_SUCCESS if the operation succeeds.

Requirements

Requirement Value
Header dispmprt.h