Windows Dev Center

IDXGIDevice::GetGPUThreadPriority method

Gets the GPU thread priority.

Syntax


HRESULT GetGPUThreadPriority(
  [out] INT *pPriority
);

Parameters

pPriority [out]

Type: INT*

A pointer to a variable that receives a value that indicates the current GPU thread priority. The value will be between -7 and 7, inclusive, where 0 represents normal priority.

Return value

Type: HRESULT

Return S_OK if successful; otherwise, returns E_POINTER if the pPriority parameter is NULL.

Remarks

Windows Phone 8: This API is supported.

Requirements

Header

DXGI.h

Library

DXGI.lib

See also

IDXGIDevice
DXGI Interfaces

 

 

Community Additions

ADD
Show:
© 2015 Microsoft