PFN_IDDCXSETREALTIMEGPUPRIORITY - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// iddcx.h

PFN_IDDCXSETREALTIMEGPUPRIORITY PfnIddcxsetrealtimegpupriority;

HRESULT * PfnIddcxsetrealtimegpupriority(
  [in] PIDD_DRIVER_GLOBALS DriverGlobals,
  [in] IDDCX_SWAPCHAIN SwapChainObject,
  [in] const IDARG_IN_SETREALTIMEGPUPRIORITY *pIn
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-iddcx-pfn_iddcxsetrealtimegpupriority)

Description

PFN_IDDCXSETREALTIMEGPUPRIORITY is a pointer to an OS callback function through which to raise the GPU priority of a DirectX device to realtime.

Parameters

DriverGlobals [in]

Pointer to an IDD_DRIVER_GLOBALS structure containing system-defined per-driver data.

SwapChainObject [in]

An IDDCX_SWAPCHAIN object that represents the swapchain the provided DXGI device will process.

pIn [in]

Pointer to a IDARG_IN_SETREALTIMEGPUPRIORITY structure with additional input arguments about the DXGI device.

Return value

If the routine succeeds it return S_OK. Otherwise, it returns an appropriate NTSTATUS error code such as the following.

Error code Meaning
E_INVALIDARG An invalid swapchain object was provided.
E_NOTIMPL The GPU priority boost is not supported. See Remarks.

Remarks

An indirect display driver (IDD) should not use this pointer to directly call the function that it points to. IDDs should instead call IddCxSetRealtimeGPUPriority.

Setting realtime priority is not supported on WDDM 1.x devices; IddCxSetRealtimeGPUPriority will return E_NOTIMPL for such devices.

See also

IddCxSetRealtimeGPUPriority