SetOPMSigningKeyAndSequenceNumbers function

Important

This function is used by Output Protection Manager (OPM) to access functionality in the display driver. Applications should not call this function.

 

Sets the signing key and two sequence numbers on a protected output object.

Syntax

NTSTATUS WINAPI SetOPMSigningKeyAndSequenceNumbers(
  _In_        OPM_PROTECTED_OUTPUT_HANDLE      opoOPMProtectedOutput,
  _Out_ const DXGKMDT_OPM_ENCRYPTED_PARAMETERS *pParameters
);

Parameters

opoOPMProtectedOutput [in]

A handle to the protected output object. This handle is obtained by calling CreateOPMProtectedOutputs.

pParameters [out]

A pointer to a DXGKMDT_OPM_ENCRYPTED_PARAMETERS structure that contains a 256-byte array. For more information about how to initialize this array, see DxgkDdiOPMSetSigningKeyAndSequenceNumbers.

Return value

If the method succeeds, it returns STATUS_SUCCESS. Otherwise, it returns an NTSTATUS error code.

Remarks

Applications should call IOPMVideoOutput::FinishInitialization instead of calling this function.

This function has no associated import library. To call this function, you must use the LoadLibrary and GetProcAddress functions to dynamically link to Gdi32.dll.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Gdi32.dll

See also

OPM Functions

Output Protection Manager