Skip to content
Start free evaluation

pdcomm_gem_formatted_program_dry_run_issue_info

Function

Reads one issue of a dry-run report.

PdcommStatus pdcomm_gem_formatted_program_dry_run_issue_info(const PdcommGemFormattedProgramDryRunReportHandle *report, size_t index, PdcommGemFormattedProgramDryRunIssueInfo *info)

Declared in: #include <pdcomm_gem_formatted_program_dry_runs.h>

Issues are ordered as they were found: catalog identity and size checks, then program commands, then catalog commands.

Parameters

NameDescription
reportLive report handle.
indexZero-based issue index, less than PdcommGemFormattedProgramDryRunInfo::issue_count.
infoCaller storage; see ::PdcommGemFormattedProgramDryRunIssueInfo for the fields to initialize.

Returns

#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when info is NULL, its struct_size is too small, its version is wrong, its reserved field is nonzero, or report is NULL; #PDCOMM_OUT_OF_RANGE when index is too large. info is unchanged on failure.