Bewerken

Delen via


DXGKDDI_QUERYVIDPNHWCAPABILITY callback function (d3dkmddi.h)

The DxgkDdiQueryVidPnHWCapability function requests that the display miniport driver report the capabilities of the hardware on a functional VidPn path.

Syntax

DXGKDDI_QUERYVIDPNHWCAPABILITY DxgkddiQueryvidpnhwcapability;

NTSTATUS DxgkddiQueryvidpnhwcapability(
  [in]     IN_CONST_HANDLE i_hAdapter,
  [in/out] INOUT_PDXGKARG_QUERYVIDPNHWCAPABILITY io_pVidPnHWCaps
)
{...}

Parameters

[in] i_hAdapter

A handle to a context block associated with a display adapter. The display miniport driver previously provided this handle to the DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

[in/out] io_pVidPnHWCaps

A pointer to a DXGKARG_QUERYVIDPNHWCAPABILITY structure that describes the hardware capabilities of a functional VidPN.

Return value

DxgkDdiQueryVidPnHwCapability returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

For more information on how to process this function, see Querying VidPN Hardware Capabilities.

DxgkDdiQueryInterface should be made pageable.

Requirements

Requirement Value
Minimum supported client Windows 7
Target Platform Desktop
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_QUERYVIDPNHWCAPABILITY