> ## 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-TW/services/playfab/api-references/events/Networking/client-network-destroyed.md)
- [以伺服器身分離開大廳](/zh-TW/services/playfab/api-references/rest/multiplayer/lobby/leave-lobby-as-server.md)
- [Leave Lobby As Server](/api-reference/lobby/leave-lobby-as-server.md)
- [SetDeleteOnDestroy](/zh-TW/reference/graphics/d3d12/interfaces/id3d12shadercachesession/methods/id3d12shadercachesession_setdeleteondestroy_public.md)
- [PartyNetwork::DestroyEndpoint](/zh-TW/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_destroyendpoint.md)
