Bewerken

Delen via


DXGK_BRIGHTNESS_SET_BACKLIGHT_OPTIMIZATION_3 callback function (dispmprt.h)

Implemented by the client driver to set the level of optimization used to control the brightness of a panel.

Syntax

DXGK_BRIGHTNESS_SET_BACKLIGHT_OPTIMIZATION_3 DxgkBrightnessSetBacklightOptimization3;

NTSTATUS DxgkBrightnessSetBacklightOptimization3(
  [in] PVOID Context,
  [in] ULONG ChildUid,
  [in] DXGK_BACKLIGHT_OPTIMIZATION_LEVEL OptimizationLevel
)
{...}

Parameters

[in] Context

Context pointer provided when querying the interface.

[in] ChildUid

An integer that uniquely identifies the child device. The display miniport driver's DxgkDdiQueryChildRelations function previously provided this identifier to the display port driver.

[in] OptimizationLevel

A value of type DXGK_BACKLIGHT_OPTIMIZATION_LEVEL that indicates the optimization level of brightness control.

Return value

Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS Values error code defined in ntstatus.h.

Requirements

Requirement Value
Header dispmprt.h