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

# ShapeSignedToHighU16

> ShapeSignedToHighU16

# ShapeSignedToHighU16

接受帶正負號的 32 位元整數,並在不帶正負號之 32 位元整數的高 16 位元中傳回該值。

## 語法

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

### 參數

*value*   \
類型: INT32

帶正負號的 32 位元整數。

### 傳回值

類型: UINT32

不帶正負號的 32 位元整數,輸入值位於高 16 位元。

## 備註

此函式會將帶正負號的 32 位元整數轉換為不帶正負號的 32 位元整數,原始值位於高 16 位元。

若要將原始值放在*低* 16 位元,請使用 [ShapeSignedToLowU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu16)。

`ShapeSignedToHighU16` 在功能上等同於 [ShapeSignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtou16)。

## 需求

**標頭:** shapeeqcompcontext.h

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

## 另請參閱

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


## Related topics

- [ShapeSignedToLowU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu16.md)
- [ShapeSignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtou16.md)
- [ShapeSignedToHighU8](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu8.md)
- [ShapeUnsignedToU16](/zh-TW/reference/audio/shapeeqcompcontext/functions/shapeunsignedtou16.md)
- [ShapeEqCompContext](/zh-TW/reference/audio/shapeeqcompcontext/shapeeqcompcontext_members.md)
