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

# XPackageEnumerationScope

> XPackageEnumerationScope

# XPackageEnumerationScope

Indicates the scope of packages to be returned when installation packages are being enumerated.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
enum class XPackageEnumerationScope  : uint32_t  
{  
    ThisOnly,  
    ThisAndRelated,  
    ThisPublisher  
}  
```

<a id="constantsSection" />

## Constants

| Constant       | Description                                                                                                                                                                                                                     |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ThisOnly       | Scope is limited to just apps or content associated with the calling process.                                                                                                                                                   |
| ThisAndRelated | Scope includes apps or content associated with the calling process and also includes apps or content that are associated with any package the calling process has added to its RelatedProducts section of its game config file. |
| ThisPublisher  | Scope includes apps having the same publisher as the calling process or content related to apps that have the same publisher as the current process.                                                                            |

<a id="remarksSection" />

## Remarks

The constants in this enumeration are used by packages, apps, and content associated with the calling process. These constants are specified in the *RelatedProducts* section of the **Game config** file. For information about the packaging technology used with XBOX One titles, see [Overview of Packaging](/build/core-features/common/packaging/overviews/packaging). For information about the steps to create an XVC package, see [Getting started packaging titles for XBOX consoles](/build/core-features/common/packaging/overviews/packaging-getting-started-for-console).

<a id="requirementsSection" />

## Requirements

**Header:** XPackage.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[How to create and use Downloadable Content Packages (DLC) for PC and XBOX One](/build/core-features/common/packaging/packaging-downloadable-content-dlc)\
[XPackage](/reference/system/xpackage/xpackage_members)\
[Franchise Game Hubs](https://learn.microsoft.com/gaming/gdk/docs/store/franchise-game-hubs)


## Related topics

- [XPackage](/reference/system/xpackage/xpackage_members.md)
- [XPackageEnumeratePackages](/reference/system/xpackage/functions/xpackageenumeratepackages.md)
- [XPackageEnumerationCallback](/reference/system/xpackage/functions/xpackageenumerationcallback.md)
- [XPackageFeatureEnumerationCallback](/reference/system/xpackage/functions/xpackagefeatureenumerationcallback.md)
- [XGameUiTextEntryInputScope](/reference/system/xgameui/enums/xgameuitextentryinputscope.md)
