Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Registers a package deployed to the title scratch drive.
Syntax
HRESULT XtfRegisterPackage(
LPCWSTR address,
LPCWSTR titleScratchRelativePath,
XtfPackageInfo* packageInfo
)
Parameters
address
Type: LPCWSTR
[in] The address of the console.
titleScratchRelativePath
Type: LPCWSTR
[in] The relative path on the title scratch drive of the package to register.
packageInfo
Type: XtfPackageInfo*
[out] Package information object about the package that was registered.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function registers a package deployed to the title scratch drive and provides package information as an XtfPackageInfo object reference. Use the XtfGetPackageFullName, XtfGetCountofAppUserModelIds, and XtfGetAumid functions to get the package full name and Application User Model IDs (AUMIDs) for the registered package from the XtfPackageInfo object. Use XtfClosePackageInfo to free the XtfPackageInfo object when you are done with it.
You can also use XtfUnregisterPackage to unregister a package. For more information about managing applications, see Application Management (xbapp.exe) (NDA topic)Autorisierung erforderlich.
Requirements
Header: xtfapi.h
Library: XtfApi.lib
Supported platforms: Windows (for Xbox console tools)
See also
XTF Transport Errors (NDA topic)Autorisierung erforderlich
Additional Xtf APIs