DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT callback function (dispmprt.h)
The DxgkDdiOPMDestroyProtectedOutput function destroys the given protected output object.
Syntax
DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT DxgkddiOpmDestroyProtectedOutput;
NTSTATUS DxgkddiOpmDestroyProtectedOutput(
[in] PVOID MiniportDeviceContext,
[in] HANDLE ProtectedOutputHandle
)
{...}
Parameters
[in] MiniportDeviceContext
A 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.
[in] ProtectedOutputHandle
The handle to a protected output object. The DxgkDdiOPMCreateProtectedOutput function creates the protected output object and returns the handle to the object.
Return value
DxgkDdiOPMDestroyProtectedOutput returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.
Remarks
The DirectX graphics kernel subsystem calls DxgkDdiOPMDestroyProtectedOutput when it finishes using the protected output object.
DxgkDdiOPMDestroyProtectedOutput should be made pageable.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dispmprt.h (include Dispmprt.h) |
IRQL | PASSIVE_LEVEL (see Remarks section) |