*PFN_IDDCXMONITORGETSRMLISTVERSION callback function

Implemented by the client driver to retrieve the latest SRM list version stored by the GPU.

Syntax

*PFN_IDDCXMONITORGETSRMLISTVERSION *PfnIddcxmonitorgetsrmlistversion;

NTSTATUS *PfnIddcxmonitorgetsrmlistversion(
  PIDD_DRIVER_GLOBALS DriverGlobals,
  IDDCX_MONITOR MonitorObject,
  IDARG_IN_GETSRMLISTVERSION *pInArgs,
  IDARG_OUT_GETSRMLISTVERSION *pOutArgs
)
{...}

Parameters

DriverGlobals

Contains system-defined per-driver data.

MonitorObject

The monitor object that the SRM list is associated with.

pInArgs

pOutArgs

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

Register your implementation of this callback function by setting the appropriate member of IDARG_IN_GETSRMLISTVERSION and then calling IddCxMonitorGetSrmListVersion.

Requirements

   
Header iddcx.h