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

# 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](https://docs.xbox.com/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16.md).

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

## Requirements

**Header:** shapeeqcompcontext.h

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

## See also

[ShapeEqCompContext](https://docs.xbox.com/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)


## Related topics

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