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

# ApuHeapState

> ApuHeapState

# ApuHeapState

APU의 힙 상태입니다.

## Syntax

```cpp theme={null}
typedef struct ApuHeapState {  
    UINT32 bytesFree;  
    UINT32 bytesAllocated;  
    UINT32 bytesLost;  
    UINT32 maximumBlockSizeAvailable;  
    UINT32 allocationCount;  
} ApuHeapState  
```

### Members

*bytesFree*\
Type: UINT32

할당되지 않은 모든 영역의 크기입니다.

*bytesAllocated*\
Type: UINT32

타이틀에서 볼 수 있는 모든 할당된 영역의 크기입니다.

*bytesLost*\
Type: UINT32

정렬 요청과 할당하기에는 너무 작은 파편화된 블록으로 인해 손실된 모든 메모리의 크기입니다.

*maximumBlockSizeAvailable*\
Type: UINT32

사용 가능한 가장 큰 블록입니다. 정렬 요구사항으로 인해 실제로 사용 가능한 공간은 더 작을 수 있습니다.

*allocationCount*\
Type: UINT32

할당된 모든 블록의 개수입니다.

## Remarks

이 구조체는 [ApuHeapGetState](/reference/audio/apu/functions/apuheapgetstate)의 출력입니다.

APU 힙은 [ApuCreateHeap](/reference/audio/apu/functions/apucreateheap)으로 생성됩니다. 힙은 프로세스의 수명 동안 유지됩니다.

## Requirements

**Header:** apu.h

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

## See also

[ApuHeapGetState](/reference/audio/apu/functions/apuheapgetstate)\
[APU](/reference/audio/apu/apu_members)
