XStoreCanAcquireLicenseResult

Gets the result of a call to XStoreCanAcquireLicenseForPackageAsync or XStoreCanAcquireLicenseForStoreIdAsync.

Syntax

typedef struct XStoreCanAcquireLicenseResult {  
    char licensableSku[SKU_ID_SIZE];  
    XStoreCanLicenseStatus status;  
} XStoreCanAcquireLicenseResult  

Members

licensableSku
Type: char[SKU_ID_SIZE]

The SKU the user would be able to license. Returns "DISC" if licensed from disc.

status
Type: XStoreCanLicenseStatus

Indicates if a user would be able to license a package.

Remarks

While this struct contains the results of XStoreCanAcquireLicenseForPackageAsync or XStoreCanAcquireLicenseForStoreIdAsync the struct is actually populated in their results functions which are XStoreCanAcquireLicenseForPackageResult and XStoreCanAcquireLicenseForStoreIdResult respectively. XStoreCanAcquireLicenseResult is retrieved from XStoreCanAcquireLicenseForPackageResult. XStoreCanAcquireLicenseResult is retrieved from XStoreCanAcquireLicenseForStoreIdResult.

Requirements

Header: XStore.h (included in XGameRuntime.h)

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XStore
XStoreCanAcquireLicenseForStoreIdAsync
XStoreCanAcquireLicenseForPackageAsync
XStoreCanAcquireLicenseForPackageResult
XStoreCanAcquireLicenseForStoreIdResult