From c91a9fae67715496af7a9ade63f678fffcefa23a Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 14 Jan 2019 14:44:10 -0700 Subject: [PATCH] Made Show() HWND parameters optional --- PInvoke/Shell32/ShObjIdl.IFileDialog.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PInvoke/Shell32/ShObjIdl.IFileDialog.cs b/PInvoke/Shell32/ShObjIdl.IFileDialog.cs index 70725220..f467ad5a 100644 --- a/PInvoke/Shell32/ShObjIdl.IFileDialog.cs +++ b/PInvoke/Shell32/ShObjIdl.IFileDialog.cs @@ -238,7 +238,7 @@ namespace Vanara.PInvoke /// HRESULT_FROM_WIN32(ERROR_CANCELLED) = The user closed the window by canceling the operation. /// [PreserveSig] - new HRESULT Show(HWND parent); + new HRESULT Show([Optional] HWND parent); /// Sets the file types that the dialog can open or save. /// The number of elements in the array specified by rgFilterSpec. @@ -379,7 +379,7 @@ namespace Vanara.PInvoke /// HRESULT_FROM_WIN32(ERROR_CANCELLED) = The user closed the window by canceling the operation. /// [PreserveSig] - new HRESULT Show(HWND parent); + new HRESULT Show([Optional] HWND parent); /// Sets the file types that the dialog can open or save. /// The number of elements in the array specified by rgFilterSpec. @@ -814,7 +814,7 @@ namespace Vanara.PInvoke /// HRESULT_FROM_WIN32(ERROR_CANCELLED) = The user closed the window by canceling the operation. /// [PreserveSig] - new HRESULT Show(HWND parent); + new HRESULT Show([Optional] HWND parent); /// Sets the file types that the dialog can open or save. /// The number of elements in the array specified by rgFilterSpec. @@ -1171,7 +1171,7 @@ namespace Vanara.PInvoke /// HRESULT_FROM_WIN32(ERROR_CANCELLED) = The user closed the window by canceling the operation. /// [PreserveSig] - new HRESULT Show(HWND parent); + new HRESULT Show([Optional] HWND parent); /// Sets the file types that the dialog can open or save. /// The number of elements in the array specified by rgFilterSpec. @@ -1343,7 +1343,7 @@ namespace Vanara.PInvoke /// HRESULT_FROM_WIN32(ERROR_CANCELLED) = The user closed the window by cancelling the operation. /// [PreserveSig] - HRESULT Show(HWND parent); + HRESULT Show([Optional] HWND parent); } /// Used generically to filter elements.