DXGKDDI_OPM_SET_SRM_LIST callback function (dispmprt.h)

The DxgkDdiOPMSetSrmList function sets the output protection manager (OPM) system renewability message (SRM) list.

Syntax

DXGKDDI_OPM_SET_SRM_LIST DxgkddiOpmSetSrmList;

NTSTATUS DxgkddiOpmSetSrmList(
  PVOID MiniportDeviceContext,
  ULONG SrmListSize,
  PVOID SrmListBuffer
)
{...}

Parameters

MiniportDeviceContext

Handle to a context block associated with a display adapter. Previously, the display miniport driver's DxgkDdiAddDevice function provided this handle to the DirectX graphics kernel subsystem.

SrmListSize

The size, in bytes, of the buffer that SrmListBuffer points to.

SrmListBuffer

Pointer to a buffer containing the updated SRM list.

Return value

DxgkDdiOPMSetSrmList returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.

Requirements

Requirement Value
Header dispmprt.h

See also

DXGK_OPM_INTERFACE_3

DxgkDdiOPMGetSrmListVersion