// dispmprt.h
DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT DxgkddiOpmDestroyProtectedOutput;
NTSTATUS DxgkddiOpmDestroyProtectedOutput(
[in] PVOID MiniportDeviceContext,
[in] HANDLE ProtectedOutputHandle
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DxgkDdiOPMDestroyProtectedOutput function destroys the given protected output object.
MiniportDeviceContext [in]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.
ProtectedOutputHandle [in]The handle to a protected output object. The DxgkDdiOPMCreateProtectedOutput function creates the protected output object and returns the handle to the object.
DxgkDdiOPMDestroyProtectedOutput returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes that are defined in Ntstatus.h.
Note DxgkDdiOPMDestroyProtectedOutput cannot fail if the ProtectedOutputHandle parameter contains a valid protected output handle.
The DirectX graphics kernel subsystem calls DxgkDdiOPMDestroyProtectedOutput when it finishes using the protected output object.
DxgkDdiOPMDestroyProtectedOutput should be made pageable.
DxgkDdiOPMCreateProtectedOutput