IDXGIDevice::GetGPUThreadPriority Method

Gets the GPU thread priority.

Syntax

public:
HRESULT GetGPUThreadPriority(
         INT *pPriority
)  

Parameters

pPriority
Type: INT *

[out] 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.

Requirements

Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).

Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).

See also

IDXGIDevice

IDXGIDevice Members