[Tizen.Multimedia.Remoting] Changing parameter order in 'StateChangedCallback'.
[platform/core/csapi/tizenfx.git] / src / Tizen.Multimedia.Remoting / Interop / Interop.ScreenMirroring.cs
old mode 100644 (file)
new mode 100755 (executable)
index 5c0a035..ef4b026
 
 using System;
 using System.Runtime.InteropServices;
-using Tizen.Multimedia;
+using Tizen.Multimedia.Remoting;
 
 internal static partial class Interop
 {
     internal static partial class ScreenMirroring
     {
         [UnmanagedFunctionPointer(CallingConvention.Cdecl)]
-        internal delegate void StateChangedCallback(IntPtr userData,
-            ScreenMirroringState state, ScreenMirroringErrorCode error);
+        internal delegate void StateChangedCallback(ScreenMirroringErrorCode error,
+            ScreenMirroringState state, IntPtr userData);
 
         [DllImport(Libraries.ScreenMirroring, EntryPoint = "scmirroring_sink_create")]
         internal static extern ScreenMirroringErrorCode Create(out IntPtr handle);