get_ports


Description:

[ Version ( since = "1.0" ) ]
public bool get_ports (out ModemPortInfo[] ports)

Gets the list of ports in the modem.

Parameters:

this

A Modem.

ports

Return location for the array of ModemPortInfo values. The returned array should be freed with array_free when no longer needed.

n_ports

Return location for the number of values in ports.

Returns:

true if ports and ports.length are set, false otherwise.




2022 vala-language.org