Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Uninstalls the app with the specified package moniker.
Syntax
public:
HRESULT Uninstall(
LPCWSTR pszPackageMoniker
)
Parameters
pszPackageMoniker
Type: LPCWSTR
A pointer to the package moniker of the app to uninstall.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This method uninstalls the app with the specified package name. This method is similar to the xbapp uninstall command from the Application Management (xbapp.exe) tool, included as part of the Xbox Tools Framework (XTF). For more information about the xbapp uninstall command, see Application Management (xbapp.exe) (NDA topic)Autorisation obligatoire.
For more information about game life cycle states, see Xbox Game Life Cycle (NDA topic)Autorisation obligatoire.
Requirements
Header: xtfapplication.h
Library: xtfapplication.lib
Supported platforms: Windows (for Xbox console tools)