ID3DX10ThreadPump::GetQueueStatus 方法

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

语法

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

参数

pIoQueue [in]

类型: UINT*

I/O 队列中的项数。

pProcessQueue [in]

类型: UINT*

进程队列中的项数。

pDeviceQueue [in]

类型: UINT*

设备队列中的项数。

返回值

类型: HRESULT

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

要求

要求
标头
D3DX10.h

D3DX10.lib

另请参阅

ID3DX10ThreadPump

D3DX 接口