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

# XtfGetCountofAppUserModelIds

> XtfGetCountofAppUserModelIds

# XtfGetCountofAppUserModelIds

패키지 정보 개체에서 AUMID(Application User Model ID)의 개수를 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XtfGetCountofAppUserModelIds(
         XtfPackageInfo packageInfo,
         UINT32 *countOfAUMIDs
)  
```

<a id="parametersSection" />

### 매개 변수

*packageInfo*\
형식: XtfPackageInfo

\[in] 패키지의 정보 개체에 대한 포인터입니다.

*countOfAUMIDs*\
형식: UINT32 \*

\[out] 패키지 내 AUMID의 개수입니다.

<a id="retvalSection" />

### 반환값

형식: HRESULT

성공하면 `S_OK`를 반환합니다. 그렇지 않으면 오류 코드를 반환합니다.

<a id="remarksSection" />

## 설명

[XtfGetAumid](/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m) 함수를 호출하여 해당 패키지의 특정 인덱스에 있는 AUMID를 가져오기 전에, 이 함수를 사용하여 등록된 패키지의 정보 개체에서 사용 가능한 AUMID의 개수를 가져오세요. 패키지 정보 개체에 대한 포인터는 [XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m) 또는 [XtfRegisterNetworkSharePackage](/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m) 함수를 호출하여 패키지를 등록하면 반환됩니다.

또한 [XtfGetPackageFullName](/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m) 함수를 사용하여 등록된 패키지의 전체 이름을 검색할 수도 있습니다. 패키지에 대한 자세한 내용은 [Packaging](/build/core-features/common/packaging/gc-packaging-toc)을 참조하세요.

## 요구 사항

**헤더:** xtfapi.h

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

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="seealsoSection" />

## 참고 항목

[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)\
[XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m)\
[XtfRegisterNetworkSharePackage](/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m)\
[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfRegisterNetworkSharePackage](/ko/reference/tools/xtf/xtfapi/functions/xtfregisternetworksharepackage-xtfapi-xbox-windows-m.md)
- [XtfGetPackageFullName](/ko/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackageOnDrive](/ko/reference/tools/xtf/xtfapi/functions/xtfregisterpackageondrive-xtfapi-xbox-windows-m.md)
- [XtfRegisterPackage](/ko/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [XtfGetAumid](/ko/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m.md)
