NativeMethods.idl
 1  import "ProcessResult.idl";
 2  
 3  namespace PowerToys
 4  {
 5      namespace FileLocksmithLib
 6      {
 7          namespace Interop
 8          {
 9              [default_interface] static runtimeclass NativeMethods {
10                  static PowerToys.FileLocksmithLib.Interop.ProcessResult[] FindProcessesRecursive(String[] paths);
11                  static String PidToFullPath(UInt32 pid);
12                  static String[] ReadPathsFromFile();
13                  static Boolean StartAsElevated(String[] paths);
14                  static Boolean SetDebugPrivilege();
15                  static Boolean IsProcessElevated();
16              }
17          }
18      }
19  }