The ddpi_process_set_id operation assigns a new
ID to a given Ddpi_Process object.
Prototype
int ddpi_process_set_id(
Ddpi_Process process,
Ddpi_PRID new_id,
Ddpi_Error* error);
Parameters
- process
- Input. This accepts the Ddpi_Process object.
- new_id
- Input. This accepts the new process ID.
- error
- See The libddpi error parameter.
Return values
- DW_DLV_OK
- Returned upon successful assignment of the process ID.
- DW_DLV_NO_ENTRY
- Never returned.
- DW_DLV_ERROR
- Returned if:
- process is NULL
- Ddpi_Info associated with process is
NULL