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

# ShapeSignedToU24

> ShapeSignedToU24

# ShapeSignedToU24

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

## 语法

```cpp theme={null}
UINT32 ShapeSignedToU24(  
         INT32 value  
)  
```

### 参数

*value*   \
类型:INT32

一个有符号 32 位整数。

### 返回值

类型:UINT32

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

## 要求

**头文件:** shapeeqcompcontext.h

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

## 注解

此函数将有符号 32 位整数转换为无符号 32 位整数,原始值位于高 24 位中。

若要将无符号 24 位整数转换为有符号 32 位整数,请使用 [ShapeSignedFromU24](/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24)。

若要将无符号 32 位整数转换为无符号 24 位整数,请使用 [ShapeUnsignedToU24](/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou24)。

## 另请参阅

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


## Related topics

- [ShapeSignedFromU24](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapesignedfromu24.md)
- [ShapeUnsignedToU24](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou24.md)
- [ShapeEqCompContext](/zh-CN/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
- [ShapeSignedFromU16_8](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapesignedfromu16_8.md)
- [ShapeSignedFromU8_16](/zh-CN/reference/audio/shapeeqcompcontext/functions/shapesignedfromu8_16.md)
