Direct3D 版本 10 内核句柄
Direct3D 版本 10 内核句柄生命周期通常由用户模式显示驱动程序显式控制。 此类句柄允许用户模式显示驱动程序操作分配。 此类句柄还允许用户模式显示驱动程序与内核执行其他交互 (包括与显示微型端口驱动程序) 交互。
下面显示了资源的内核句柄示例:
// Strongly typed handle to identify a resource object to the driver:
typedef struct D3D10DDI_HKMRESOURCE
{
D3DKMT_HANDLE handle;
} D3D10DDI_HKMRESOURCE;