展开 最小化

DxgkDdiQueryVidPnHWCapability routine

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

Syntax


PDXGKDDI_QUERYVIDPNHWCAPABILITY DxgkDdiQueryVidPnHWCapability;

NTSTATUS APIENTRY DxgkDdiQueryVidPnHWCapability(
  _In_     const HANDLE i_hAdapter,
  _Inout_  DXGKARG_QUERYVIDPNHWCAPABILITY *io_pVidPnHWCaps
)
{ ... }

Parameters

i_hAdapter [in]

[in] 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.

io_pVidPnHWCaps [in, out]

[in/out] 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

Version

Available in Windows 7 and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DXGKARG_QUERYVIDPNHWCAPABILITY

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft