XtfGetCachedTitleOSVersionsCallback

Callback invoked for each Game OS found by XtfGetCachedTitleOSVersions.

Syntax

HRESULT XtfGetCachedTitleOSVersionsCallback(
         FourPartVersion version,
         UINT32 flags,
         PVOID context
)  

Parameters

version
Type: FourPartVersion

[in] The four-part version number of the cached Game OS.

flags
Type: UINT32

[in] A bitwise-OR combination of flags that provide additional information about the cached Game OS. This parameter supports the following flags:

Flag Value Description
XTF_CACHED_TITLE_OS_IS_FALLBACK 0x0001 Indicates that this Game OS is the fallback OS, which cannot be deleted or replaced.

context
Type: PVOID

[in, optional] A pointer to a context object, passed from XtfGetCachedTitleOSVersions.

Return value

None.

Remarks

This callback is invoked by XtfGetCachedTitleOSVersions for each provisioned Game OS cached on the console. You can use the FourPartVersion specified in version to invoke the XtfRemoveTitleOSFromCacheByVersion or XtfStartTitleOSByVersion functions. For more information about managing provisioned Game OS files, see Application Management (xbapp.exe) (NDA topic)Authorization required and Provision (xbprovision.exe) (NDA topic)Authorization required.

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