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

# D3D12XboxEnableMemoryProfiling (XBOX One 系列)

> 啟用記憶體分析。

啟用記憶體分析。

<Note>
  此函式已淘汰，不應在任何新程式碼中使用。
</Note>

## 語法

```cpp theme={null}
HRESULT D3D12XboxEnableMemoryProfiling(  
         UINT64* pIndex,  
         UINT64 Count,  
         UINT64* pBuffer  
)  
```

### 參數

*pIndex*   \
類型：UINT64\*

保留供內部使用。

*Count*   \
類型：UINT64

保留供內部使用。

*pBuffer*   \
類型：UINT64\*

保留供內部使用。

### 傳回值

類型：HRESULT

HRESULT 傳回值。

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [D3D12_MEMORY_POOL](/zh-CN/reference/graphics/d3d12/enums/d3d12_memory_pool_public.md)
- [D3D12EnableExperimentalFeatures](/zh-CN/reference/graphics/d3d12/functions/d3d12enableexperimentalfeatures_public.md)
- [D3D12_COLOR_WRITE_ENABLE](/zh-CN/reference/graphics/d3d12/enums/d3d12_color_write_enable_public.md)
- [D3D12_DRED_ENABLEMENT](/zh-CN/reference/graphics/d3d12/enums/d3d12_dred_enablement_public.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
