X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.Network.Bluetooth%2FTizen.Network.Bluetooth%2FBluetoothStructs.cs;h=754cba18a0d92165bfba3c18d67bdcf45073fb37;hb=d84497776b4ea31f715a349934796fa2f0095eb3;hp=dcd53a265237c05b7029adf82dcd9c340cd231fd;hpb=295a520e593d3d658f33a11f5abdd7f26bd0fa2e;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothStructs.cs b/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothStructs.cs index dcd53a2..754cba1 100644 --- a/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothStructs.cs +++ b/src/Tizen.Network.Bluetooth/Tizen.Network.Bluetooth/BluetoothStructs.cs @@ -135,6 +135,7 @@ namespace Tizen.Network.Bluetooth internal string ManufacturerData; } + [StructLayout(LayoutKind.Sequential)] internal struct BluetoothDeviceSdpStruct { [MarshalAsAttribute(UnmanagedType.LPStr)] @@ -143,6 +144,7 @@ namespace Tizen.Network.Bluetooth internal int ServiceCount; } + [StructLayout(LayoutKind.Sequential)] internal struct BluetoothDeviceConnectionStruct { internal string Address; @@ -150,6 +152,7 @@ namespace Tizen.Network.Bluetooth internal BluetoothDisconnectReason DisconnectReason; } + [StructLayout(LayoutKind.Sequential)] internal struct SocketDataStruct { internal int SocketFd; @@ -157,6 +160,7 @@ namespace Tizen.Network.Bluetooth internal IntPtr Data; } + [StructLayout(LayoutKind.Sequential)] internal struct SocketConnectionStruct { internal int SocketFd;