ID3DX11ThreadPump::GetQueueStatus 方法

注意

D3DX (D3DX 9、D3DX 10 和 D3DX 11) 实用工具库已弃用Windows 8,不支持 Windows 应用商店应用。

获取线程泵内三个队列中每个队列中的项数。

语法

HRESULT GetQueueStatus(
  [in] UINT *pIoQueue,
  [in] UINT *pProcessQueue,
  [in] UINT *pDeviceQueue
);

参数

pIoQueue [in]

类型: UINT*

I/O 队列中的项数。

pProcessQueue [in]

类型: UINT*

进程队列中的项数。

pDeviceQueue [in]

类型: UINT*

设备队列中的项数。

返回值

类型: HRESULT

返回值是 Direct3D 11 返回代码中列出的值之一。

要求

要求
标头
D3DX11core.h

D3DX11.lib

另请参阅

ID3DX11ThreadPump

D3DX 接口