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

# DestroyOwnedObject

> 销毁生命周期跟踪的对象。

销毁生命周期跟踪的对象。

## 语法

```cpp theme={null}
HRESULT DestroyOwnedObject(
    ID3D12DeviceChild  pObject
)
```

### 参数

*pObject \[in]*\
类型：ID3D12DeviceChild \*

指向表示生命周期跟踪对象的 **ID3D12DeviceChild** 接口的指针。

### 返回值

类型：HRESULT

## 备注

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅


## Related topics

- [client_network_destroyed](/zh-CN/services/playfab/api-references/events/Networking/client-network-destroyed.md)
- [SetDeleteOnDestroy](/zh-CN/reference/graphics/d3d12/interfaces/id3d12shadercachesession/methods/id3d12shadercachesession_setdeleteondestroy_public.md)
- [PartyNetwork::DestroyEndpoint](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_destroyendpoint.md)
- [PFMultiplayerDestroyMatchmakingTicket](/zh-CN/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmatchmaking/functions/pfmultiplayerdestroymatchmakingticket.md)
- [PartyManager::DestroyLocalUser](/zh-CN/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_destroylocaluser.md)
