GetOPMInformation function

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

Sends an OPM status request to a protected output object.

Syntax


NTSTATUS WINAPI GetOPMInformation(
  _In_   OPM_PROTECTED_OUTPUT_HANDLE opoOPMProtectedOutput,
  _In_   const DXGKMDT_OPM_GET_INFO_PARAMETERS *pParameters,
  _Out_  DXGKMDT_OPM_REQUESTED_INFORMATION *pRequestedInformation
);

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_GET_INFO_PARAMETERS structure that contains input data for the status request.

pRequestedInformation [out]

A pointer to a DXGKMDT_OPM_REQUESTED_INFORMATION structure that receives the results of the status request.

Return value

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

Remarks

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

The protected output object must be created with OPM semantics. See CreateOPMProtectedOutputs.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

DLL

Gdi32.dll

See also

Output Protection Manager

 

 

Community Additions

ADD
Show:
© 2014 Microsoft