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

# XMemGetWin32HeapStatistics

> XMemGetWin32HeapStatistics

# XMemGetWin32HeapStatistics

지정된 힙에 대한 통계를 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
BOOL XMemGetWin32HeapStatistics(
    _In_ HANDLE Heap,
    _Out_ PWIN32_HEAP_STATISTICS Statistics
    );
```

<a id="parametersSection" />

### 매개 변수

*Heap*   \_In\_\
형식: HANDLE

통계를 검색할 힙 핸들입니다.

*Statistics*   \_Out\_\
형식: PWIN32\_HEAP\_STATISTICS

통계를 포함할 [WIN32\_HEAP\_STATISTICS](/reference/system/xmem/structs/win32_heap_statistics) 구조체에 대한 포인터입니다.

<a id="retvalSection" />

### 반환 값

형식: BOOL

[WIN32\_HEAP\_STATISTICS](/reference/system/xmem/structs/win32_heap_statistics) 구조체를 채울 수 있으면 `TRUE`를 반환하고, 그렇지 않으면 `FALSE`를 반환합니다.

<a id="remarksSection" />

## 설명

이 함수는 win32 힙의 커밋 크기와 같은 통계를 반환합니다. 반환된 커밋 크기는 win32 힙에서 소비되는 총 메모리의 추정치입니다.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xmem.h

**라이브러리:** xmem.lib

**지원 플랫폼:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## 함께 보기

[Diagnostics and memory tracking](/build/console-features/memory/system-memory-diagnostics)\
[WIN32\_HEAP\_STATISTICS](/reference/system/xmem/structs/win32_heap_statistics)\
[XMem](/reference/system/xmem/xmem_members)


## Related topics

- [WIN32_HEAP_STATISTICS](/ko/reference/system/xmem/structs/win32_heap_statistics.md)
- [XMemGetWin32HeapName](/ko/reference/system/xmem/functions/xmemgetwin32heapname.md)
- [XMemSetWin32HeapName](/ko/reference/system/xmem/functions/xmemsetwin32heapname.md)
- [XMemCreateWin32Heap](/ko/reference/system/xmem/functions/xmemcreatewin32heap.md)
- [XMemSetWin32HeapTrackingHooks](/ko/reference/system/xmem/functions/xmemsetwin32heaptrackinghooks.md)
