DXGKDDI_CONTROLMODEBEHAVIOR - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_CONTROLMODEBEHAVIOR DxgkddiControlmodebehavior;

NTSTATUS DxgkddiControlmodebehavior(
  [in]     IN_CONST_HANDLE hAdapter,
  [in/out] INOUT_PDXGKARG_CONTROLMODEBEHAVIOR pControlModeBehaviorArg
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_controlmodebehavior)

DXGKDDI_CONTROLMODEBEHAVIOR callback function

Description

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

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.

Prototype

//Declaration

DXGKDDI_CONTROLMODEBEHAVIOR DxgkddiControlmodebehavior;

// Definition

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

Remarks

See also

DXGKARG_CONTROLMODEBEHAVIOR