DXGKDDI_OPM_GET_SRM_LIST_VERSION callback function (dispmprt.h)
The DxgkDdiOPMGetSrmListVersion function retrieves the version number of the output protection manager (OPM) system renewability message (SRM) list currently being used.
Syntax
DXGKDDI_OPM_GET_SRM_LIST_VERSION DxgkddiOpmGetSrmListVersion;
NTSTATUS DxgkddiOpmGetSrmListVersion(
PVOID MiniportDeviceContext,
PULONG SrmListVersionSize,
PVOID SrmListVersionBuffer
)
{...}
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.
SrmListVersionSize
The size, in bytes, of the buffer that SrmListVersionBuffer points to.
SrmListVersionBuffer
Pointer to a buffer containing the SRM list version.
Return value
DxgkDdiOPMGetSrmListVersion 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 |