> ## 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" />

## 备注

启用性能剖析模式后，可为你的游戏提供额外的内存，可在开发过程中用于从游戏引擎工具到未优化的游戏资产等任何用途。有关性能剖析模式的详细信息，请参阅[性能剖析模式](/build/console-features/debugging-diagnostics/profiling-mode)。

此函数指示是否已在性能剖析模式下为你的游戏配置了工具内存并可供使用。有关在开发期间配置和访问额外内存的详细信息，请参阅[为你的游戏和开发套件配置内存](/build/console-features/memory/system-memory-tooling)。

<a id="requirementsSection" />

## 要求

**头文件：** xmem.h

**库：** xmem.lib

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

<a id="seealsoSection" />

## 另请参阅

[内存](/build/console-features/memory/system-memory-overview)<br />[XMem](/reference/system/xmem/xmem_members)


## Related topics

- [XMemCreateWin32Heap](/zh-CN/reference/system/xmem/functions/xmemcreatewin32heap.md)
- [XMemGetWorkingSetStatistics](/zh-CN/reference/system/xmem/functions/xmemgetworkingsetstatistics.md)
- [XSystemRuntimeInfo](/zh-CN/reference/system/xsystem/structs/xsystemruntimeinfo.md)
- [XApuUtilization](/zh-CN/reference/audio/xapu/structs/xapuutilization.md)
- [XAppCaptureTakeScreenshotResult](/zh-CN/reference/system/xappcapture/structs/xappcapturetakescreenshotresult.md)
