Commit Graph

84 Commits (2c10bf7415234d7ae5c4cfb897697b2634260acb)

Author SHA1 Message Date
dahall c6296838d9 Fixed ShellFileOperations throws an exception during the process of moving lnk files (#156) 2020-08-15 09:06:11 -06:00
dahall 7a686bddae Added ShellFolder.IShellFolder property to expose underlying COM interface. 2020-08-06 12:54:38 -06:00
dahall 7fa717ed28 Added ShellItem.InvokeVerb method and test 2020-07-17 15:31:12 -06:00
dahall ebbac20ca6 Added support for ShellItemPropertyStore to be created with a PROPERTYKEY filter or an ICreateObject 2020-07-16 08:38:45 -06:00
dahall 770862c69c Added ShellFolder.BindToObject and BindToStorage methods 2020-07-01 15:04:16 -06:00
dahall c6eaafaf0a Added more BHID mappings for ShellItem.GetHandler calls. 2020-06-20 15:36:29 -06:00
dahall a9162da80f Fixed XML docs, cleaned code, added parameter attributes and missing CoClass values for IShellFolder, added Vanara.Windows.Shell.RecycleBin class and tests 2020-06-20 12:10:20 -06:00
dahall 4c241ed618 Fixed bug resolving .lnk files in ShellLink 2020-06-04 08:45:23 -06:00
dahall 491c26e0d6 BREAKING CHANGE: Changed default behavior of ShellItem.Properties so that it is read-only. It was failing for all shell items that didn't have their own properties. To get previous behavior, simply set "shellItem.Properties.ReadOnly = false" before setting properties. 2020-06-01 10:43:51 -06:00
dahall b375436c38 BREAKING CHANGE: Changed PROPERTYKEY.GetCononicalName to GetCanonicalName (fixed misspelling) 2020-04-06 08:52:57 -06:00
dahall 82f474e741 Add and corrected XML documentation. 2020-03-01 18:59:39 -07:00
dahall 8f9e7aa117 BREAKING CHANGES: Allow for ShellLink to function even if not persisted, added Equals functions, add DataFlags and Title property, changed Description to use just a string, removed FullPath property (duplicative and confusing), added Title to ToString, made SaveAs method public. 2020-02-22 16:08:17 -07:00
dahall c892a083f6 Allow for ShellItem to function even if it doesn't have a IShellItem reference 2020-02-22 16:04:41 -07:00
dahall aff96b0adf Fixed bug in defintion of IEnumIDList.Next and all dependent methods. (#97) 2020-01-04 15:44:00 -07:00
David Hall 19bbc90234 Corrected bug in ShellItem.Open that would incorrectly try to open .url files as IShellLink. Now opens them as IShellItem. (#82) 2019-12-30 14:21:15 -07:00
David Hall 4ced0d98da Fixed ShellItem.GetImage so it doesn't fail when it cannot make the returning bitmap transparent. (#85) 2019-12-30 11:23:18 -07:00
David Hall b875577809 Fix for #81 2019-12-29 22:37:43 -07:00
David Hall 7c5f05b381 Added documentation 2019-11-23 19:00:15 -07:00
David Hall 2c94f7cdde Updated constructor with strong type param 2019-11-20 12:56:03 -07:00
David Hall 8302691c8e First pass at adding support for Windows Search 2019-10-23 13:42:37 -06:00
David Hall 4097090539 Fixed ShellItem.FileInfo and PropertyDescriptions so they don't throw exceptions on non-file system types. 2019-10-23 13:37:16 -06:00
David Hall 3a09d5230a Added parented constructor for ShellItemArray 2019-10-23 13:14:46 -06:00
David Hall 0223ac1721 Fixed ViewInExplorer for folder items 2019-10-23 13:14:23 -06:00
David Hall f10199e737 Changed EnumerateChildren to remove default params 2019-10-23 13:12:52 -06:00
David Hall 3045ff2aaa Fixed condition where IEnumIDList is not implemented (#68) 2019-10-21 07:23:25 -06:00
David Hall 830177d435 Minor file access changes to support .NET Core 3 2019-10-03 11:15:05 -06:00
David Hall 804c4a946d Fixed compiler warnings 2019-09-18 15:33:26 -06:00
David Hall 6b8e0ccf58 Combined PInvoke.User32 and PInvoke.User32.Gdi and updated all dependencies.
Added .NET Standard 2.0 and .NET Core 2.0 and 2.1 support to all projects except Windows.Forms and Windows.Shell
2019-08-27 16:03:21 -06:00
David Hall 7ce7b96209 * Derived SafeCoTaskMemString from base class SafeMemString derived from SafeMemHandle<T>.
* BREAKING CHANGE: Removed CharCapacity and made Capacity show char allocation. Size (from parent) shows byte capacity. Mimics StringBuilder.
2019-06-25 17:10:57 -06:00
David Hall 36c5b82f91 Updated and fixed file functions in Kernel32. Changed WIN32_FIND_DATA back to a structure and corrected IShellLinkW reference. Added EnumFilesEx and EnumVolumes to simplify related functions. Fixed search handles so they dispose without error. Changed GetFullPathName, GetLongPathName and GetShortPathName to exclusively use the Unicode instance to avoid filename length restrictions. 2019-06-16 15:07:59 -06:00
David Hall 3eccb98a50 Added CreateBindCtx method in ShellUtil and migrated existing code to use it 2019-05-08 18:58:46 -06:00
David Hall f35daedf85 Added GetHandler that takes a IBindCtx param. Added GetStream method to get a ComStream of the item's content. 2019-05-08 09:28:37 -06:00
David Hall 99ee4ef78f Reorganized and cleaned 2019-02-08 12:26:08 -07:00
David Hall 22972ba828 Reorganized into folders 2019-02-02 13:35:21 -07:00