Exemple #1
0
 private static extern ErrorCode gp_port_set_info(_Port *port, ref _PortInfo info);
Exemple #2
0
 private static extern ErrorCode gp_port_new(out _Port *port);
Exemple #3
0
 private static extern ErrorCode gp_port_open(_Port *port);
Exemple #4
0
 private static extern char* gp_port_get_error(_Port *port);
Exemple #5
0
 private static extern ErrorCode gp_port_get_info(_Port *port, out _PortInfo info);
Exemple #6
0
 private static extern ErrorCode gp_port_set_timeout(_Port *port, int timeout);
		internal static extern ErrorCode gp_port_close (_Port *port);
		internal static extern ErrorCode gp_port_new (out _Port *port);
		internal static extern ErrorCode gp_port_free (_Port *port);
		internal static extern ErrorCode gp_port_get_pin (_Port *port, Pin pin, Level *level);
		internal static extern char* gp_port_get_error (_Port *port);
		internal static extern ErrorCode gp_port_get_timeout (_Port *port, int *timeout);
		internal static extern ErrorCode gp_port_get_settings (_Port *port, out PortSettings settings);
		internal static extern ErrorCode gp_port_read (_Port *port, [MarshalAs(UnmanagedType.LPTStr)] byte[] data, int size);
Exemple #15
0
 private static extern ErrorCode gp_port_set_pin(_Port *port, Pin pin, Level level);
Exemple #16
0
 private static extern ErrorCode gp_port_close(_Port *port);
Exemple #17
0
 private static extern ErrorCode gp_port_set_settings(_Port *port, PortSettings settings);
Exemple #18
0
 private static extern ErrorCode gp_port_free(_Port *port);
Exemple #19
0
 private static extern ErrorCode gp_port_write(_Port *port, [MarshalAs(UnmanagedType.LPTStr)] byte[] data, int size);
		internal static extern ErrorCode gp_port_open (_Port *port);