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

# XMemIsToolsMemAvailable

> XMemIsToolsMemAvailable

# XMemIsToolsMemAvailable

表示工具記憶體是否可用。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
BOOL XMemIsToolsMemAvailable(  
)  
```

<a id="parametersSection" />

### 參數

無。

<a id="retvalSection" />

### 傳回值

類型：BOOL

如果在分析模式中可使用工具記憶體，則傳回 `TRUE`；否則傳回 `FALSE`。

<a id="remarksSection" />

## 備註

啟用分析模式時，會為您的遊戲提供額外的記憶體，可在開發期間用於從遊戲引擎工具到未最佳化遊戲資產等任何用途。如需分析模式的詳細資訊，請參閱[分析模式](/zh-TW/build/console-features/debugging-diagnostics/profiling-mode)。

此函式表示是否已在分析模式中為您的遊戲設定工具記憶體且可供使用。如需在開發期間設定和存取額外記憶體的詳細資訊，請參閱[為您的遊戲和開發套件設定記憶體](/zh-TW/build/console-features/memory/system-memory-tooling)。

<a id="requirementsSection" />

## 需求

**標頭：** xmem.h

**程式庫：** xmem.lib

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[記憶體](/zh-TW/build/console-features/memory/system-memory-overview)<br />[XMem](/zh-TW/reference/system/xmem/xmem_members)


## Related topics

- [XMemIsToolsMemAvailable](/reference/system/xmem/functions/xmemistoolsmemavailable.md)
- [XMemCreateWin32Heap](/reference/system/xmem/functions/xmemcreatewin32heap.md)
- [Profile-guided optimization in Visual Studio](/tools/tools-console/pgo/pgo_full.md)
- [Performance page](/tools/tools-console/wdp/windows-device-portal-on-xbox-performance.md)
- [xbWatson](/tools/tools-console/xbWatson/xbwatson.md)
