Skip to content
Start free evaluation

pdcomm_gem_result_formatted_program_query_info

Function

Reads the summary of a query result.

PdcommStatus pdcomm_gem_result_formatted_program_query_info(const PdcommGemResult *result, PdcommGemFormattedProgramQueryInfo *info)

Declared in: #include <pdcomm_gem_formatted_program_queries.h>

Works for the equipment's received S7F25 and for the host's S7F26 result.

Parameters

NameDescription
resultGEM result.
infoCaller storage; set info->struct_size first. Once the size is accepted, the structure is zeroed and then filled.

Returns

#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when info is NULL, info->struct_size is too small, or result is NULL; #PDCOMM_INVALID_STATE when result is not a query result; #PDCOMM_INTERNAL_ERROR when a panic was contained.

Notes

  • Thread safety: result accessors may run concurrently with each other, but not with pdcomm_gem_formatted_program_query_respond() or pdcomm_gem_result_destroy() on the same result.