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

# XMemMakeTag

> XMemMakeTag

# XMemMakeTag

4자 코드를 기반으로 24비트 태그를 만듭니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
ULONGLONG XMemMakeTag(  
         UINT32 Tag  
)  
```

<a id="parametersSection" />

### 매개 변수

*Tag*   \_In\_\
형식: UINT32

24비트 태그를 만드는 데 사용되는 4자 코드입니다. 이 코드는 소문자 및 대문자(a-z 및 A-Z), 숫자(0-9), 달러 기호(\$)를 지원합니다. 잘못된 문자 입력은 별표(\*)로 다시 읽힙니다.

<a id="retvalSection" />

### 반환 값

형식: ULONGLONG

64비트 ULONGLONG의 상위 24비트에 배치되는 24비트 태그 코드입니다.

<a id="remarksSection" />

## 설명

이 함수는 비트별 OR 조합을 사용하여 [XMemAllocatePhysicalPages](/reference/system/xmem/functions/xmemallocatephysicalpages) 및 [XMemVirtualAlloc](/reference/system/xmem/functions/xmemvirtualalloc) 함수의 `XMemFlags` 매개 변수에 선택적 4자 태그를 통합하는 데 사용할 수 있는 도우미 함수입니다. 선택적 4자 태그는 이러한 함수로 식별된 페이지 범위에 적용됩니다. [XMemVirtualQuery](/reference/system/xmem/functions/xmemvirtualquery)에서 반환된 [XMEM\_BASIC\_INFORMATION](/reference/system/xmem/structs/xmem_basic_information) 구조체의 `XMemFlags` 멤버의 일부로 해당 태그를 검색할 수 있습니다. 메모리 관리자 작업에 대한 자세한 내용은 [Microsoft GDK 게임 OS 메모리 관리자 작업](/build/console-features/memory/system-memory-working)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xmem.h

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

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

<a id="seealsoSection" />

## 함께 보기

[메모리](/build/console-features/memory/system-memory-overview)\
[XMem](/reference/system/xmem/xmem_members)


## Related topics

- [XMemSetOption](/ko/reference/system/xmem/functions/xmemsetoption.md)
- [XMemVirtualQuery](/ko/reference/system/xmem/functions/xmemvirtualquery.md)
- [XblMultiplayerSessionTag](/ko/reference/live/xsapi-c/multiplayer_c/structs/xblmultiplayersessiontag.md)
- [PFGroupsListGroupMembersRequest](/ko/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistgroupmembersrequest.md)
- [PFGroupsListMembershipRequest](/ko/services/playfab/api-references/c/pfgroupstypes/structs/pfgroupslistmembershiprequest.md)
