pdcomm_gem_result_formatted_program_verification_request_info
Function
Reads the summary of a verification request result.
PdcommStatus pdcomm_gem_result_formatted_program_verification_request_info(const PdcommGemResult *result, PdcommGemFormattedProgramVerificationRequestInfo *info)Works for the equipment's received S7F31 and for the host's S7F32 result.
Parameters
| Name | Description |
|---|---|
result | GEM result. |
info | Caller 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 verification request result (for example a #PDCOMM_GEM_FAILED or #PDCOMM_GEM_INVALID_RESPONSE 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_verification_request_respond() or pdcomm_gem_result_destroy() on the same result.