D3DKMT_GETALLOCATIONPRIORITY 结构 (d3dkmthk.h)

用于获取分配优先级。

语法

typedef struct _D3DKMT_GETALLOCATIONPRIORITY {
  [in]  D3DKMT_HANDLE       hDevice;
  [in]  D3DKMT_HANDLE       hResource;
  [in]  const D3DKMT_HANDLE *phAllocationList;
  [in]  UINT                AllocationCount;
  [out] UINT                *pPriorities;
} D3DKMT_GETALLOCATIONPRIORITY;

成员

[in] hDevice

设备的句柄。

[in] hResource

此进程中此资源的句柄。

[in] phAllocationList

指向要获取的优先级的数组分配的指针。

[in] AllocationCount

phAllocationList 中的分配数。

[out] pPriorities

数组中每个分配的优先级。

要求

要求
Header d3dkmthk.h