> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetShapeXmaPacketMetadata

> SetShapeXmaPacketMetadata

# SetShapeXmaPacketMetadata

保留供内部使用。

## Syntax

```cpp theme={null}
HRESULT SetShapeXmaPacketMetadata(  
         SHAPE_XMA_CONTEXT* context,  
         UINT32 metadata  
)  
```

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/zh-CN/reference/audio/shapexmacontext/structs/shape_xma_context.md)\*

保留供内部使用。

*metadata*   \
Type: UINT32

保留供内部使用。

### Return value

Type: HRESULT

保留供内部使用。

## Requirements

**头文件:** shapexmacontext.h

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

## See also

[ShapeXmaContext](https://docs.xbox.com/zh-CN/reference/audio/shapexmacontext/shapexmacontext_members.md)


## Related topics

- [ShapeXmaContext](https://docs.xbox.com/zh-CN/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaPacketMetadata](https://docs.xbox.com/zh-CN/reference/audio/shapexmacontext/functions/getshapexmapacketmetadata.md)
- [GetXmaPacketMetadata](https://docs.xbox.com/zh-CN/reference/audio/xma2defs/functions/getxmapacketmetadata.md)
- [ACP_COMMAND_UPDATE_XMA_CONTEXT](https://docs.xbox.com/zh-CN/reference/audio/acphal/structs/acp_command_update_xma_context.md)
- [GetXmaPacketFrameCount](https://docs.xbox.com/zh-CN/reference/audio/xma2defs/functions/getxmapacketframecount.md)
