Method

QmiMessageDpmOpenPortInputset_hardware_data_ports

since: 1.30

Declaration [src]

gboolean
qmi_message_dpm_open_port_input_set_hardware_data_ports (
  QmiMessageDpmOpenPortInput* self,
  GArray* value_hardware_data_ports,
  GError** error
)

Description [src]

Set the ‘Hardware Data Ports’ field in the message.

Available since: 1.30

This method is not directly available to language bindings.

The implementation of this method is provided by qmi_message_dpm_open_port_input_set_hardware_data_ports_gir() in language bindings.

Parameters

value_hardware_data_ports

Type: An array of None

A GArray of QmiMessageDpmOpenPortInputHardwareDataPortsElement elements. A new reference to value_hardware_data_ports will be taken, so the caller must make sure the array was created with the correct GDestroyNotify as clear function for each element in the array.

The data is owned by the caller of the method.
error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gboolean

TRUE if value was successfully set, FALSE otherwise.