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

# PFMemGetFunctions

> 呼び出し元がメモリ割り当てのルーティングを独自のメモリ マネージャーに制御できるようにする、メモリ フック関数を取得します。このメソッドを使用すると、アプリケーションは既定のメモリ割り当てルーチンを取得できます。

呼び出し元がメモリ割り当てのルーティングを独自のメモリ マネージャーに制御できるようにする、メモリ フック関数を取得します。このメソッドを使用すると、アプリケーションは既定のメモリ割り当てルーチンを取得できます。これは、すべてのメモリ割り当てを監視するために PFMemSetFunctions() と組み合わせて使用できます。

## 構文

```cpp theme={null}
HRESULT PFMemGetFunctions(  
    PFMemoryHooks* hooks  
)  
```

### パラメーター

**`hooks`**   [PFMemoryHooks\*](/services/playfab/api-references/c/pfplatform/structs/pfmemoryhooks)<br />*output*

現在のメモリ フックを設定する構造体。カスタム フックが以前に設定されていない場合は、既定値が返されます。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻りコード。

## 要件

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

## 関連項目

[PFPlatform のメンバー](/services/playfab/api-references/c/pfplatform/pfplatform_members)


## Related topics

- [サービス C API の概要 - PFPlatform.h](/ja-jp/services/playfab/api-references/c/pfplatform/pfplatform_members.md)
- [HCMemGetFunctions](/ja-jp/reference/live/httpclient/httpclient/functions/hcmemgetfunctions.md)
- [XblMemGetFunctions](/ja-jp/reference/live/xsapi-c/xbox_live_global_c/functions/xblmemgetfunctions.md)
- [XMemGetTitleHeap](/ja-jp/reference/system/xmem/functions/xmemgettitleheap.md)
- [XMemGetWin32HeapName](/ja-jp/reference/system/xmem/functions/xmemgetwin32heapname.md)
