Documentation fixes

pull/217/head
dahall 2021-03-07 11:15:18 -07:00
parent 29a2dfbb3b
commit abcfd5a862
2 changed files with 1 additions and 2 deletions

View File

@ -87,7 +87,6 @@ namespace Vanara.PInvoke
public static bool Equals(this IKernelHandle h1, IKernelHandle h2) => CompareObjectHandles(h1.DangerousGetHandle(), h2?.DangerousGetHandle() ?? IntPtr.Zero);
/// <summary>Duplicates an object handle.</summary>
/// <typeparam name="TAccess">The type of the access value (enum or uint).</typeparam>
/// <param name="hSourceHandle">
/// The handle to be duplicated. This is an open object handle that is valid in the context of the source process. For a list of
/// objects whose handles can be duplicated, see the following Remarks section.

View File

@ -570,7 +570,7 @@ namespace Vanara.PInvoke.Tests
handler.Invoke(this, args);
if (args.OperationType != 0 && args.OpParam.HasValue)
{
var opInfo = args.MakeOpInfo(args.OperationType, args.SyncStatus);
var opInfo = args.MakeOpInfo(args.OperationType);
var opParam = args.OpParam.Value;
CfExecute(opInfo, ref opParam).ThrowIfFailed();
}