Skip to content
Start free evaluation

pdcomm_gem_formatted_program_execution_action_model_copy

Function

Copies the program MDLN (model name) of a Start action.

PdcommStatus pdcomm_gem_formatted_program_execution_action_model_copy(const PdcommGemFormattedProgramExecutionActionHandle *action, char *output, size_t capacity, size_t *required)

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

Parameters

NameDescription
actionLive action handle.
outputDestination for the ASCII bytes. May be NULL only when capacity is 0.
capacitySize of output in bytes.
requiredReceives the text length. Must not be NULL.

Returns

#PDCOMM_OK on success; #PDCOMM_BUFFER_TOO_SMALL when capacity is smaller than *required (output untouched); #PDCOMM_INVALID_ARGUMENT when action or required is NULL, or output is NULL with a nonzero capacity; #PDCOMM_INVALID_STATE when action is not a Start action.