예제 #1
0
        public static void Query(bool wait)
        {
            var res = Is64Bit ? NativeMethods64.Everything_QueryW(wait) : NativeMethods32.Everything_QueryW(wait);

            if (!res)
            {
                var err = GetLastError();
                Throw(err);
            }
        }
예제 #2
0
 public static bool Query(bool wait)
 {
     return(Is64Bit ? NativeMethods64.Everything_QueryW(wait) : NativeMethods32.Everything_QueryW(wait));
 }