/// <summary> /// 获取搜索字符串 /// </summary> /// <returns>搜索字符串</returns> public static string CF_GetSearch() { try { if (CP_Platform == EPlatform.X86) { return(Marshal.PtrToStringUni(ModEverything32.Everything_GetSearchW())); } else { return(Marshal.PtrToStringUni(ModEverything64.Everything_GetSearchW())); } } catch (Exception ex) { throw ex; } }