> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XMemGetTitleHeap

> XMemGetTitleHeap

# XMemGetTitleHeap

タイトル ヒープへのポインターを返します。

## Syntax

```cpp theme={null}
PVOID XMemGetTitleHeap(  
)  
```

### Parameters

なし。

### Return value

型: PVOID

成功した場合はタイトル ヒープへのポインター。それ以外の場合、ヒープ メモリが割り当てられていない場合は `NULL`。

## Remarks

この関数は、`HeapAlloc` を呼び出してタイトル パーティションから以前に割り当てたタイトル ヒープへのポインターを返します。タイトルがタイトル ヒープからメモリを割り当てていない場合、この関数は `NULL` を返します。タイトル パーティションとタイトル ヒープ メモリの詳細については、[Memory](https://docs.xbox.com/ja-jp/build/console-features/memory/system-memory-overview.md) を参照してください。

## Requirements

**ヘッダー:** xmem.h

**ライブラリ:** xmem.lib

**サポートされているプラットフォーム:** XBOX One ファミリー本体および XBOX Series 本体

## See also

[Diagnostics and memory tracking](https://docs.xbox.com/ja-jp/build/console-features/memory/system-memory-diagnostics.md)\
[XMem](https://docs.xbox.com/ja-jp/reference/system/xmem/xmem_members.md)


## Related topics

- [XMemGetWin32HeapName](https://docs.xbox.com/ja-jp/reference/system/xmem/functions/xmemgetwin32heapname.md)
- [XMemGetWin32HeapStatistics](https://docs.xbox.com/ja-jp/reference/system/xmem/functions/xmemgetwin32heapstatistics.md)
- [XMemCreateWin32Heap](https://docs.xbox.com/ja-jp/reference/system/xmem/functions/xmemcreatewin32heap.md)
- [XMemSetWin32HeapName](https://docs.xbox.com/ja-jp/reference/system/xmem/functions/xmemsetwin32heapname.md)
- [WIN32_HEAP_STATISTICS](https://docs.xbox.com/ja-jp/reference/system/xmem/structs/win32_heap_statistics.md)
