Skip to main content

IAcpHal::GetNumMessages

Returns the number of messages in the message queue.

Syntax

Parameters

This method has no parameters.

Return value

Type: UINT32 The number of messages in the queue.

Remarks

The value returned is the number of messages in the queue at a precise point in time. This value will likely be accurate only for a brief period. The caller is guaranteed that the number of messages in the queue will never be less than the value returned, although it could certainly be greater. To obtain a message from the queue, use the PopMessage method.

Requirements

Header: acphal.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

PopMessage
AcpHal
Last modified on August 20, 2026