XtfClosePackageInfo

Frees a package information object.

Syntax

void XtfClosePackageInfo(
         XtfPackageInfo packageInfo
)  

Parameters

packageInfo
Type: XtfPackageInfo

[in] A pointer to the information object for a package.

Return value

None.

Remarks

Use this function to release the pointer to the information object for a registered package, returned by either the XtfRegisterPackage or XtfRegisterNetworkSharePackage function. The information object is used by the XtfGetAumid, XtfGetcountofAppUserModelIds, and the XtfGetPackageFullName functions to retrieve information for a package. For more information about packages, see Packaging.

Note

You must call this function to release the pointer to an information object for a package. Otherwise, the information object is orphaned and the resources associated with it aren't freed, causing a memory leak.

Requirements

Header: xtfapi.h

Library: XtfApi.lib

Supported platforms: Windows (for Xbox console tools)

See also

XTF Transport Errors (NDA topic)Authorization required
Additional Xtf APIs