共用方式為


DirectX 圖形核心子系統

This article describes system-supplied, kernel-mode interfaces provided through the DirectX graphics kernel subsystem (Dxgkrnl.sys).

  • The display port driver is a part of Dxgkrnl.sys.
  • 核心模式顯示迷你埠驅動程式 (KMD) 是由圖形硬體廠商實作。

For descriptions of other functions implemented by Dxgkrnl, see articles such as:

VidPN 物件和介面

支援 Path-Independent 旋轉

取得其他監視目標模式

Dxgkrnl Interface

A KMD's DriverEntry function calls the operating system's DxgkInitialize function, which causes Dxgkrnl to be loaded and initialized.

Once loaded, Dxgkrnl.sys provides the KMD with pointers to its functions by passing a DXGKRNL_INTERFACE structure to the KMD's DxgkDdiStartDevice function. Dxgkrnl's function pointers have a DxgkCb prefix.

The DXGKRNL_INTERFACE structure also contains a handle to a particular display adapter. 顯示埠驅動程式會產生此控制代碼。 The KMD passes this handle as an argument each time it calls any of the functions in DXGKRNL_INTERFACE.

顯示埠驅動程式介面

The KMD gets the display port driver's interfaces by calling Dxgkrnl's DxgkCbQueryServices function with a DXGK_SERVICES value that specifies the type of interface that the KMD wants. 顯示埠驅動程式所提供的服務包括 AGP(加速圖形埠)服務、偵錯報表服務、計時作業服務等等。

See also

Windows 顯示驅動程式模型 (WDDM) 架構

初始化 Display Miniport 驅動程式