> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameSaveBlobInfoCallback

> XGameSaveBlobInfoCallback

# XGameSaveBlobInfoCallback

用于检索 [XGameSaveEnumerateBlobInfo](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo) 或 [XGameSaveEnumerateBlobInfoByName](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname) 结果的回调函数。

## Syntax

```cpp theme={null}
bool XGameSaveBlobInfoCallback(  
         const XGameSaveBlobInfo* info,  
         void* context  
)  
```

### Parameters

*info*   \_In\_\
类型：[XGameSaveBlobInfo\*](/reference/system/xgamesave/structs/xgamesaveblobinfo)

枚举的 XGameSaveBlobInfo。

*context*   \_In\_opt\_\
类型：void\*

包含该函数相关信息的可选对象。通常使用此参数传递调用对象。

### Return value

类型：bool

返回 false 以停止枚举。

## Remarks

此回调函数传递给 [XGameSaveEnumerateBlobInfo](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo) 或 [XGameSaveEnumerateBlobInfoByName](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname)。虽然调用这些函数是为了枚举 Blob 信息，但此回调函数才是实际处理已枚举 Blob 的地方。使用此函数为活动玩家存储 Blob 信息，或使用检索到的信息执行某些工作。

## Requirements

**头文件：** XGameSave.h

**库：** xgameruntime.lib

**受支持的平台：** Windows、XBOX One 系列主机和 XBOX Series 主机

## See also

[XGameSave](/reference/system/xgamesave/xgamesave_members)\
[XGameSaveEnumerateBlobInfo](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo)\
[XGameSaveEnumerateBlobInfoByName](/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname)\
[调试游戏保存](/build/core-features/common/game-save/game-saves-debugging)


## Related topics

- [XGameSaveBlobInfo](/zh-CN/reference/system/xgamesave/structs/xgamesaveblobinfo.md)
- [XGameSaveEnumerateBlobInfo](/zh-CN/reference/system/xgamesave/functions/xgamesaveenumerateblobinfo.md)
- [BlobInfo](/zh-CN/reference/system/Wrappers/structs/blobinfo.md)
- [XGameSaveEnumerateBlobInfoByName](/zh-CN/reference/system/xgamesave/functions/xgamesaveenumerateblobinfobyname.md)
- [XGameSave](/zh-CN/reference/system/xgamesave/xgamesave_members.md)
