Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dahall/Vanara
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed Mar 1, 2021
2 parents fb5f447 + 63f7a1d commit a361530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PInvoke/Kernel32/WinBase.File.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3177,7 +3177,7 @@ public static unsafe extern bool ReadDirectoryChangesExW(HFILE hDirectory, IntPt
/// <returns>List of strings returned by <paramref name="first"/> and <paramref name="next"/> methods.</returns>
private static IEnumerable<string> EnumFindMethods<THandle>(FindFirstDelegate<THandle> first, FindNextDelegate<THandle> next, uint strSz = MAX_PATH + 1, uint done = Win32Error.ERROR_HANDLE_EOF) where THandle : SafeHandle
{
var sb = new StringBuilder((int)strSz, (int)strSz);
var sb = new StringBuilder((int)strSz);
THandle h;
while ((h = first(sb, ref strSz)).IsInvalid)
{
Expand Down Expand Up @@ -5153,4 +5153,4 @@ private SafeVolumeMountPointHandle() : base()
protected override bool InternalReleaseHandle() => FindVolumeMountPointClose(handle);
}
}
}
}

0 comments on commit a361530

Please sign in to comment.