// dispmprt.h
DXGKDDI_OPM_GET_SRM_LIST_VERSION DxgkddiOpmGetSrmListVersion;
NTSTATUS DxgkddiOpmGetSrmListVersion(
PVOID MiniportDeviceContext,
PULONG SrmListVersionSize,
PVOID SrmListVersionBuffer
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiOPMGetSrmListVersion function retrieves the version number of the output protection manager (OPM) system renewability message (SRM) list currently being used.
MiniportDeviceContextHandle 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.
SrmListVersionSizeThe size, in bytes, of the buffer that SrmListVersionBuffer points to.
SrmListVersionBufferPointer to a buffer containing the SRM list version.
DxgkDdiOPMGetSrmListVersion returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.