Exemplo n.º 1
0
 /// <summary>
 /// 获取高亮的路径
 /// </summary>
 /// <param name="nIndex">结果序号</param>
 /// <returns>高亮的路径</returns>
 public static string CF_GetResultHighlightedPath(uint nIndex)
 {
     try
     {
         if (CP_Platform == EPlatform.X86)
         {
             return(Marshal.PtrToStringUni(ModEverything32.Everything_GetResultHighlightedPath(nIndex)));
         }
         else
         {
             return(Marshal.PtrToStringUni(ModEverything64.Everything_GetResultHighlightedPath(nIndex)));
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }