pdcomm_gem_result_enhanced_command_object
Function
Copies the OBJSPEC item of a received S2F49 request.
PdcommStatus pdcomm_gem_result_enhanced_command_object(const PdcommGemResult *result, PdcommSecsItem **out_object)Parameters
| Name | Description |
|---|---|
result | Request result with outcome #PDCOMM_GEM_ENHANCED_COMMAND_RECEIVED. |
out_object | Receives a new item; NULL after every failure. |
Returns
#PDCOMM_OK on success; #PDCOMM_INVALID_ARGUMENT when result or out_object is NULL; #PDCOMM_INVALID_STATE when result is not an enhanced command request (Host replies are rejected); #PDCOMM_LIMIT_EXCEEDED, #PDCOMM_ALLOCATION_FAILED, or #PDCOMM_INTERNAL_ERROR.
Notes
- Ownership: release
*out_objectwith pdcomm_secs_destroy().