Skip to main content

XApuGetUtilization

Gets the current utilization values of the hardware server for the specified process type and number of channels.

Syntax

Parameters

processType   _In_
Type: XApuProcessType
Single process or chain of processes that the XAPU performs. channelCount   _In_
Type: uint32_t
Number of channels. utilization   _Outptr_
Type: XApuUtilization*
Utilization parameters returned.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an error code.

Remarks

This function uses the processType parameter to pass to the XApuProcessType enumeration. It uses the channelCount parameter for the specified process type and number of channels. It uses the XApuUtilization enumeration to define the utilization parameters returned. For more information, see XApuUtilization.

Requirements

Header: xapu.h Library: xapu.lib Supported platforms: XBOX Series X|S

See also

XApuProcessType
XApuUtilization
XAPU
Last modified on August 20, 2026