From 3a56122887ce02802fe75329b9dc6ebb1d624ad7 Mon Sep 17 00:00:00 2001 From: David Hall Date: Wed, 17 Apr 2019 12:51:11 -0600 Subject: [PATCH] Updated documentation --- PInvoke/Shared/FunctionHelper.cs | 4 ++-- PInvoke/Shared/InteropServices/SafeNativeArray.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/PInvoke/Shared/FunctionHelper.cs b/PInvoke/Shared/FunctionHelper.cs index 61d93ffd..a3725525 100644 --- a/PInvoke/Shared/FunctionHelper.cs +++ b/PInvoke/Shared/FunctionHelper.cs @@ -27,7 +27,7 @@ namespace Vanara.PInvoke /// Gets a size and returns an error. /// The type of the size result. This is usually or . - /// On input, the size of the capacity. On output, the number of characters written. + /// On input, the size of the capacity. On output, the number of characters written. /// Resulting error or on success. public delegate Win32Error SizeFunc(ref TSize sz) where TSize : struct, IConvertible; @@ -41,7 +41,7 @@ namespace Vanara.PInvoke /// /// The type of the size result. This is usually or . /// The error provider return type. - /// On input, the size of the capacity. On ouput, the number of characters written. + /// On input, the size of the capacity. On output, the number of characters written. /// The error. /// true if buffer size is good; otherwise false. public static bool ChkGoodBuf(TSize sz, TRet err) where TSize : struct where TRet : IErrorProvider, IConvertible => !sz.Equals(default(TSize)) && (err.ToHRESULT() == (HRESULT)(Win32Error)Win32Error.ERROR_MORE_DATA || err.ToHRESULT() == (HRESULT)(Win32Error)Win32Error.ERROR_INSUFFICIENT_BUFFER); diff --git a/PInvoke/Shared/InteropServices/SafeNativeArray.cs b/PInvoke/Shared/InteropServices/SafeNativeArray.cs index 5370f65a..333a20c8 100644 --- a/PInvoke/Shared/InteropServices/SafeNativeArray.cs +++ b/PInvoke/Shared/InteropServices/SafeNativeArray.cs @@ -49,8 +49,8 @@ namespace Vanara.InteropServices } } - /// Gets or sets the at the specified index. - /// The . + /// Gets or sets the value at the specified index. + /// The value. /// The index. /// /// index or index