ConfigureOPMProtectedOutput function

Important

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

 

Configures a protected output object.

Syntax

NTSTATUS WINAPI ConfigureOPMProtectedOutput(
  _In_       OPM_PROTECTED_OUTPUT_HANDLE      opoOPMProtectedOutput,
  _In_ const DXGKMDT_OPM_CONFIGURE_PARAMETERS *pParameters,
  _In_       ULONG                            ulAdditionalParametersSize,
  _In_ const BYTE                             *pbAdditionalParameters
);

Parameters

opoOPMProtectedOutput [in]

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

pParameters [in]

A pointer to a DXGKMDT_OPM_CONFIGURE_PARAMETERS structure that contains the configuration command.

ulAdditionalParametersSize [in]

The size of the pbAdditionalParameters buffer, in bytes.

pbAdditionalParameters [in]

A pointer to a buffer that contains additional information for the command.

Return value

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

Remarks

Applications should call IOPMVideoOutput::Configure 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