Bewerken

Delen via


DXGK_BRIGHTNESS_GET_3 callback function (dispmprt.h)

Implemented by the client driver to retrieve the currently active brightness level of an integrated display panel, with details on the brightness transition in progress.

Syntax

DXGK_BRIGHTNESS_GET_3 DxgkBrightnessGet3;

NTSTATUS DxgkBrightnessGet3(
  [in]  PVOID Context,
  [in]  ULONG ChildUid,
  [out] PDXGK_BRIGHTNESS_GET_OUT pOut
)
{...}

Parameters

[in] Context

A handle to a context block that is associated with a display adapter.

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

[out] pOut

Pointer to a PDXGK_BRIGHTNESS_GET_OUT structure that contains the output parameters for the get brightness call.

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