pdcomm_gem_formatted_program_selection_snapshot_info
Function
Reads the summary stored in a selection snapshot.
PdcommStatus pdcomm_gem_formatted_program_selection_snapshot_info(const PdcommGemFormattedProgramSelectionSnapshot *snapshot, PdcommGemFormattedProgramSelectionInfo *info)Parameters
| Name | Description |
|---|---|
snapshot | Live snapshot. |
info | Caller storage with struct_size, version, and all reserved bytes set. On success every field is written. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when snapshot or info is NULL, or the info header is invalid; #PDCOMM_INTERNAL_ERROR when a panic was contained.
Notes
- Thread safety: snapshot getters may run concurrently with each other; destruction must not overlap them.