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

# XMemGetWin32HeapStatistics

> XMemGetWin32HeapStatistics

# XMemGetWin32HeapStatistics

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

## 구문

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

### 매개 변수

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

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

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

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

### 반환 값

형식: BOOL

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

## 설명

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

## 요구 사항

**헤더:** xmem.h

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

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

## 함께 보기

[Diagnostics and memory tracking](https://docs.xbox.com/ko/build/console-features/memory/system-memory-diagnostics.md)\
[WIN32\_HEAP\_STATISTICS](https://docs.xbox.com/ko/reference/system/xmem/structs/win32_heap_statistics.md)\
[XMem](https://docs.xbox.com/ko/reference/system/xmem/xmem_members.md)


## Related topics

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