Commit Graph

21 Commits (3f0e9f0798de9e884930e75b54dcf79ead7f5b80)

Author SHA1 Message Date
dahall ff109a347d Updated all constructors where possible to exclude name. 2021-08-15 19:18:36 -06:00
dahall a30b7c3b84 Streamlined disposals of ShellItem and ReadOnlyPropertyStore to address #242 and minimize impact of garbage collection when IPropertyStore is used. 2021-08-14 14:59:24 -06:00
dahall 346e082d4b Tested #242 and suggested workaround. 2021-08-13 17:26:53 -06:00
dahall b80de57949 Added ShellItemPropertyStore.Dispose overload to null out use of ShellItem. May help with #242. 2021-08-13 15:52:03 -06:00
dahall 035b30f146 Fixed bug in ReadOnlyPropertyStore.TryGetValue (#219) 2021-03-22 10:39:35 -06:00
dahall 967389e246 Removed all calls to `Marshal.ReleaseComObject` where there exists a possibility that the interface could have been referenced by another object and changed to nulling the holding variable. See discussion thread #188. 2021-02-01 16:08:43 -07:00
dahall b04ddce701 Added `PropertyDescriptionList.GetValuesForShellItem` method to retrieve list of properties from a shell item. Useful for tooltips and like items retrieved from `ShellAssociation`. 2020-12-03 19:30:26 -07:00
dahall f05c0198fc Added PropertyDescriptor.TryCreate method and CanGroupBy and IsViewable properties 2020-10-26 18:25:10 -06:00
dahall c4fe7fc598 Fixed error in ReadOnlyPropertyStore.TryGetValue that only would return true (#163) 2020-08-31 08:59:36 -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 24031bc4d1 BREAKING CHANGE: Changed ShellItemPropertyStore.Descriptions to get a dictionary of PropertyDescription items rather than the PropertyDescriptionList that was already available from ShellItem. Added improved execption when IPropertyStore instance cannot be created due to a shell item with no r/w support. 2020-06-01 10:41:25 -06:00
dahall 26ee1ba93d Derived PropertyStore from ReadOnlyPropertyStore 2020-06-01 10:38:37 -06:00
dahall f57a7321b2 Added MemoryPropertyStore with stream r/w support representing a property store that lives separate from a ShellItem 2020-06-01 10:37:52 -06:00
dahall ddd6935037 Added ReadOnlyPropertyStore as the base object wrapping IPropertyStore. 2020-06-01 10:37:00 -06:00
dahall 82f474e741 Add and corrected XML documentation. 2020-03-01 18:59:39 -07:00
dahall fd802f7961 Cleaned up memory use and COM object releases. 2020-02-22 16:09:36 -07:00
David Hall 7f6c787af1 BREAKING CHANGE: moved interfaces and VARIANT from oaidl.h into Vanara.PInvoke.OleAut32 from Ole32 as they are actually hosted there. This required some changes to supproting code. 2019-11-06 22:13:59 -07:00
David Hall 19d8a8d396 Fixed XML comments 2019-06-25 17:28:19 -06:00
David Hall 1097a9422a POTENTIALLY BREAKING CHANGES: I had to make PropertyStore work without holding onto the IPropertyStore interface so as to prevent a lock condition on the ShellItem (#49). So I had to change some of the protected methods to support the change. 2019-05-08 19:01:44 -06:00
David Hall 1e6c187c68 Optimized 2019-05-08 14:59:52 -06:00
David Hall 9c06983c3d Reorganized into folder 2019-02-02 13:39:56 -07:00