internal BluetoothSerialPort(string portPrefix, int portIndex) { pep = new PORTEMUPortParams(); pep.uiportflags = RFCOMM_PORT_FLAGS.REMOTE_DCB; this.portPrefix = portPrefix; this.portIndex = portIndex; }
private static extern IntPtr RegisterDevice( string lpszType, int dwIndex, string lpszLib, ref PORTEMUPortParams dwInfo);