PFN_IDDCXADAPTERSETRENDERADAPTER callback function (iddcx.h)

PFN_IDDCXADAPTERSETRENDERADAPTER is a pointer to an OS callback function that sets the preferred render adapter on which to render the swapchains for the specified adapter.

Syntax

PFN_IDDCXADAPTERSETRENDERADAPTER PfnIddcxadaptersetrenderadapter;

VOID * PfnIddcxadaptersetrenderadapter(
  PIDD_DRIVER_GLOBALS DriverGlobals,
  IDDCX_ADAPTER AdapterObject,
  const IDARG_IN_ADAPTERSETRENDERADAPTER *pInArgs
)
{...}

Parameters

DriverGlobals

[in] Pointer to an IDD_DRIVER_GLOBALS structure containing system-defined per-driver data.

AdapterObject

[in] The adapter object of the adapter for which the rendering adapter preference is being set.

pInArgs

[in] Input arguments.

Return value

None.

Remarks

An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead call IddCxAdapterSetRenderAdapter.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header iddcx.h

See also

IddCxAdapterSetRenderAdapter