> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ShapeUnsignedToU24

> ShapeUnsignedToU24

# ShapeUnsignedToU24

Takes an unsigned 32-bit integer and returns the value in the upper 24 bits of an unsigned 32-bit integer.

## Syntax

```cpp theme={null}
UINT32 ShapeUnsignedToU24(  
         UINT32 value  
)  
```

### Parameters

*value*   \
Type: UINT32

An unsigned 32-bit integer.

### Return value

Type: UINT32

An unsigned 32-bit integer, with the input value in the upper 24 bits.

## Remarks

This function returns the value of an unsigned 32-bit integer in the upper 24 bits of an unsigned 32-bit integer.

To return the value in the upper 16 bits of an unsigned 32-bit integer, use [ShapeUnsignedToU16](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16).

To return the value of a *signed* 32-bit integer in the upper 24 bits of an unsigned 32-bit integer, use [ShapeSignedToU24](/reference/audio/shapeeqcompcontext/functions/shapesignedtou24).

## Requirements

**Header:** shapeeqcompcontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

- [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24.md)
- [ShapeSignedToU24](/reference/audio/shapeeqcompcontext/functions/shapesignedtou24.md)
- [ShapeUnsignedToU16](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16.md)
- [ShapeEqCompContext](/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [ShapeSignedFromU8_16](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16.md)
