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

# ShapeSignedToU16

> ShapeSignedToU16

# ShapeSignedToU16

Takes a signed 32-bit integer and returns the value in the upper 16 bits of an unsigned 32-bit integer.

## Syntax

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

### Parameters

*value*   \
Type: INT32

A signed 32-bit integer.

### Return value

Type: UINT32

An unsigned 32-bit integer, with the input value in the upper 16 bits.

## Remarks

This function changes a signed 32-bit integer into an unsigned 32-bit integer, with the original value in the upper 16 bits.

To place the original value in the *lower* 16 bits, use [ShapeSignedToLowU16](/reference/audio/shapeeqcompcontext/functions/shapesignedtolowu16).

`ShapeSignedToU16` is functionally equivalent to [ShapeSignedToHighU16](/reference/audio/shapeeqcompcontext/functions/shapesignedtohighu16).

## Requirements

**Header:** shapeeqcompcontext.h

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

## See also

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