DXGKDDI_CONTROLMODEBEHAVIOR callback function (d3dkmddi.h)

The DxgkDdiControlModeBehavior function requests high-level mode enumeration and settings behaviors.

Syntax

DXGKDDI_CONTROLMODEBEHAVIOR DxgkddiControlmodebehavior;

NTSTATUS DxgkddiControlmodebehavior(
  IN_CONST_HANDLE hAdapter,
  INOUT_PDXGKARG_CONTROLMODEBEHAVIOR pControlModeBehaviorArg
)
{...}

Parameters

hAdapter

[in] Handle to the WDDM display miniport adapter being queried.

pControlModeBehaviorArg

[in/out] Pointer to a DXGKARG_CONTROLMODEBEHAVIOR structure that contains the display mode behaviors that the OS is requesting from the driver as input, and the results of the request as output.

Return value

DxgkDdiCreateContext returns one of the following values:

Return code Description
STATUS_SUCCESS The request has been successfully completed.
STATUS_NO_MEMORY There is insufficient memory to complete this request.
STATUS_GRAPHICS_XXX One of the invalid parameter codes that can be returned by the OS via DXGDDI_VIDPN* interfaces. These codes should occur only during development since they indicate a bug in the driver or OS.

Requirements

   
Target Platform Desktop
Header d3dkmddi.h
IRQL PASSIVE_LEVEL

See also

DXGKARG_CONTROLMODEBEHAVIOR