PFN_IDDCXMONITORGETSRMLISTVERSION callback function (iddcx.h)

PFN_IDDCXMONITORGETSRMLISTVERSION is a pointer to an OS callback function that retrieves the latest System Renewability Message (SRM) list version stored by the GPU.

Syntax

PFN_IDDCXMONITORGETSRMLISTVERSION PfnIddcxmonitorgetsrmlistversion;

NTSTATUS * PfnIddcxmonitorgetsrmlistversion(
  [in]  PIDD_DRIVER_GLOBALS DriverGlobals,
  [in]  IDDCX_MONITOR MonitorObject,
  [in]  const IDARG_IN_GETSRMLISTVERSION *pInArgs,
  [out] IDARG_OUT_GETSRMLISTVERSION *pOutArgs
)
{...}

Parameters

[in] DriverGlobals

Contains system-defined per-driver data.

[in] MonitorObject

The monitor object that the SRM list is associated with.

[in] pInArgs

Input arguments of the function.

[out] pOutArgs

Output arguments of function.

Return value

Returns NTSTATUS with the following error codes:

Return value Description
STATUS_SUCCESS The routine succeeded.
STATUS_GRAPHICS_OPM_NOT_SUPPORTED The GPU driver does not support this new functionality.
STATUS_NO_DATA_DETECTED The GPU does not have a current SRM list.
STATUS_BUFFER_TOO_SMALL The passed in buffer is too small.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 10
Header iddcx.h

See also

IddCxMonitorGetSrmListVersion