BluetopiaError IBluetopiaApi.SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID, ref Structs.SPP_SDP_Service_Record SDPServiceRecord, byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle) { return(NativeMethods.SPP_Register_SDP_Record(BluetoothStackID, SerialPortID, ref SDPServiceRecord, ServiceNameUtf8, out SDPServiceRecordHandle)); }
BluetopiaError IBluetopiaApi.SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID, ref Structs.SPP_SDP_Service_Record SDPServiceRecord, byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle) { #if true SDPServiceRecordHandle = 0; return(BluetopiaError.UNSUPPORTED_PLATFORM_ERROR); #else NativeMethods.My2_SPP_Register_SDP_Record(BluetoothStackID, SerialPortID, ref SDPServiceRecord, ServiceNameUtf8, out SDPServiceRecordHandle); return(BluetopiaError.OK); #endif }
internal static extern BluetopiaError My2_SPP_Register_SDP_Record(uint BluetoothStackID, uint SerialPortID, ref Structs.SPP_SDP_Service_Record SDPServiceRecord, byte[] ServiceNameUtf8, out uint SDPServiceRecordHandle);