rawfilewizard

git clone https://git.clttr.info/rawfilewizard.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

NativeMethods.cs (653B)


      1 using System.Runtime.InteropServices;
      2 
      3 namespace SilkypixFileMover
      4 {
      5     internal static class NativeMethods
      6     {
      7         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Portability", "CA1901:PInvokeDeclarationsShouldBePortable", MessageId = "return")]
      8         [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Portability", "CA1901:PInvokeDeclarationsShouldBePortable", MessageId = "0")]
      9         [DllImport("shell32.dll", EntryPoint = "ShellExecute", CharSet = CharSet.Unicode)]
     10         internal static extern long ShellExecute(int hwnd, string cmd, string file, string param1, string param2, int swmode);
     11     }
     12 }