XPackageGetCurrentProcessPackageIdentifier
Returns an installation identity string that identifies the installation for this process.Syntax
Parameters
bufferSize _In_Type: size_t The size of the buffer in the buffer parameter. buffer _Out_writes_(bufferSize)
Type: char* On return, contains an installation identity string that identifies the installation for this process.
Return value
Type: HRESULT HRESULT success or error code.Remarks
TheXPackageGetCurrentProcessPackageIdentifier function returns a package identifier string that is used to query this process’s installation. The string’s length must not be greater than the XPACKAGE_IDENTIFIER_MAX_LENGTH object. For more information about package identifiers, see Manage and license downloadable content (DLC).
Refer to the following code example:
Requirements
Header: XPackage.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
Streaming Installation and Intelligent DeliveryXPackage
