예제 #1
0
        public object CallMethod(object[] parameters, out Tuple <string, object>[] tuplesForNotification)
        {
            var fileHooked = Win32Interop.CreateFile(
                (string)parameters[0],
                (uint)parameters[1],
                (uint)parameters[2],
                (IntPtr)parameters[3],
                (uint)parameters[4],
                (uint)parameters[5],
                (IntPtr)parameters[6]);

            tuplesForNotification = new[]
            {
                new Tuple <string, object>("FileName", (string)parameters[0])
            };
            return(fileHooked);
        }