Example #1
0
 public static void ThrowIfFailed(this NTStatus status, string path = null)
 {
     if (status.Failed())
     {
         throw status.GetException(path);
     }
 }