> ## 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 位元整數的高 24 位元中,傳回不帶正負號之 32 位元整數的值。

若要在不帶正負號之 32 位元整數的高 16 位元中傳回該值,請使用 [ShapeUnsignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16)。

若要在不帶正負號之 32 位元整數的高 24 位元中傳回*帶正負號* 32 位元整數的值,請使用 [ShapeSignedToU24](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtou24)。

## 需求

**標頭:** shapeeqcompcontext.h

**支援的平台:** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members)


## Related topics

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