XtfRemoveTitleOSFromCacheByVersion
Removes the Game OS matching the specified FourPartVersion from the cache on the console.
Syntax
HRESULT XtfRemoveTitleOSFromCacheByVersion(
PCWSTR address,
FourPartVersion version
)
Parameters
address
Type: PCWSTR
[in] The address of the console.
version
Type: FourPartVersion
[in] The four-part version number of the Game OS to remove.
Return value
Type: HRESULT
Returns S_OK
if successful; otherwise, returns an HRESULT error code.
Remarks
Use this function to manage provisioned Game OS files by removing the Game OS matching the specified FourPartVersion
from the cache on the console. You can use the XtfGetCachedTitleOSVersions function to get the FourPartVersion
of each Game OS cached on the console, or the XtfGetTitleOSFourPartVersion function to get the FourPartVersion
of the Game OS for the currently running title. If you attempt to remove a Game OS flagged as a fallback OS, an error occurs.
If you don't have a FourPartVersion for the Game OS you want to remove, use the XtfRemoveTitleOSFromCache function instead to remove a Game OS by specifying a different identifier, such as the full path and file name of the GameOs.vxd file for the Game OS to be removed.
You can also add a Game OS to the cache on the console by calling the XtfCacheTitleOS function. For more information about managing provisioned Game OS files, see Application Management (xbapp.exe) (NDA topic)Autorisation obligatoire and Provision (xbprovision.exe) (NDA topic)Autorisation obligatoire.
Requirements
Header: xtfapi.h
Library: XtfApi.lib
Supported platforms: Windows (for Xbox console tools)
See also
Run from PC Deployment (NDA topic)Autorisation obligatoire
XTF Transport Errors (NDA topic)Autorisation obligatoire
Additional Xtf APIs