I work with the CommonOpenFileDialog class from the Windows® API Code Pack for Microsoft® .NET Framework that implements the IFileOpenDialog interface.
More info about Windows API CodePack here: http://archive.msdn.microsoft.com/WindowsAPICodePack
Problem: The below method returns the First selected folder if (multiple folders) or (mutltiple folders and files) were selected in the "Open File Dialog" dialog window.
IFileOpenDialog.GetSelectedItems([MarshalAs(UnmanagedType.Interface)] out IShellItemArray ppsai)
How to return All selected elements (folders and files) in the IFileOpenDialog window as a list of IShellItem, no matter what I selected there?