DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT回呼函式 (dispmprt.h)
DxgkDdiOPMDestroyProtectedOutput 函式會終結指定的受保護輸出物件。
語法
DXGKDDI_OPM_DESTROY_PROTECTED_OUTPUT DxgkddiOpmDestroyProtectedOutput;
NTSTATUS DxgkddiOpmDestroyProtectedOutput(
[in] PVOID MiniportDeviceContext,
[in] HANDLE ProtectedOutputHandle
)
{...}
參數
[in] MiniportDeviceContext
與顯示配接器相關聯的內容區塊句柄。 先前,顯示迷你埠驅動程式的 DxgkDdiAddDevice 函式會提供此句柄給 DirectX 圖形核心子系統。
[in] ProtectedOutputHandle
受保護輸出物件的句柄。 DxgkDdiOPMCreateProtectedOutput 函式會建立受保護的輸出物件,並將句柄傳回給 物件。
傳回值
DxgkDdiOPMDestroyProtectedOutput 如果成功,則會傳回STATUS_SUCCESS。 否則,它會傳回 Ntstatus.h中定義的其中一個錯誤碼。
:如果 ProtectedOutputHandle 參數包含有效的受保護輸出句柄,DxgkDdiOPMDestroyProtectedOutput 將無法失敗。
言論
DirectX 圖形核心子系統會在使用受保護的輸出物件完成時,呼叫 DxgkDdiOPMDestroyProtectedOutput。
DxgkDdiOPMDestroyProtectedOutput 應設為可分頁。
要求
要求 | 價值 |
---|---|
目標平臺 | 桌面 |
標頭 | dispmprt.h (包括 Dispmprt.h) |
IRQL | PASSIVE_LEVEL (請參閱一節) |