> ## 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

接收一个无符号 32 位整数,并将其值放置在无符号 32 位整数的高 24 位中返回。

## 语法

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

### 参数

*value*   \
类型:UINT32

一个无符号 32 位整数。

### 返回值

类型:UINT32

一个无符号 32 位整数,输入值位于其高 24 位中。

## 注解

此函数返回一个无符号 32 位整数,其中包含另一个无符号 32 位整数的值,该值位于高 24 位。

若要将值放置于无符号 32 位整数的高 16 位中,请使用 [ShapeUnsignedToU16](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16)。

若要将 *有符号* 32 位整数的值放置于无符号 32 位整数的高 24 位中,请使用 [ShapeSignedToU24](/reference/audio/shapeeqcompcontext/functions/shapesignedtou24)。

## 要求

**头文件:** shapeeqcompcontext.h

**支持的平台:** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

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


## Related topics

- [ShapeSignedFromU24](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24.md)
- [ShapeSignedToU24](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapesignedtou24.md)
- [ShapeUnsignedToU16](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16.md)
- [ShapeEqCompContext](/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [SHAPE_FILTVOL_CONTEXT](/zh-CN/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md)
