XStoreImage

描述图像。

语法

typedef struct XStoreImage {  
    const char* uri;  
    uint32_t height;  
    uint32_t width;  
    const char* caption;  
    const char* imagePurposeTag;  
} XStoreImage  

成员

uri
类型:const char*

图像的 URI。

height
类型:uint32_t

图像的高度。

width
类型:uint32_t

图像的宽度。

caption
类型:const char*

图像的字幕。

imagePurposeTag
类型:const char*

包含一个标签的字符串,该标签指示图像的用途。

备注

Microsoft Store 体验的各个方面使用图像来帮助描述产品,而此结构描述这些图像。 XStoreImageXStoreProduct 结构的成员。 XStoreImageXStoreSku 结构的成员。 XStoreImageXStoreVideo 结构的成员。

要求

头文件:XStore.h(包含在 XGameRuntime.h 中)

支持平台:Windows、Xbox One 系列主机和 Xbox Series 主机

另请参阅

XStore
XStoreProduct
XStoreSku
XStoreVideo