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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for