Commit Graph

1993 Commits (4fa2755085ed75ea12f6e497951f8250a3b644c4)

Author SHA1 Message Date
dahall 4fa2755085 Added IArrayStruct<T> interface to identify two-field structures where the first field is an UInt32 and the second is a pointer to an array of structures along with supporting marshaler and extension method. 2020-12-14 15:57:23 -07:00
dahall fa3f5df41b Explictly typed base class of FolderBrowserDialog to avoid compiler errors 2020-12-08 12:34:45 -07:00
dahall 1608010064 Added ShellItemImages and associated tests to pull images for a shell item from a variety of different interfaces. For some items, the image appears upside down without an DIB indication. 2020-12-08 10:43:07 -07:00
dahall 308b49b8e2 Enhanced HBITMAP.ToBitmap method 2020-12-08 10:42:00 -07:00
dahall 3755e1a195 Added ShellItem.Verbs to get a list of active verbs 2020-12-08 10:41:34 -07:00
dahall aa6085a4a6 Based on Windows error in LookupAccountSid, I've added LookupAccountSid2 based on LsaLookupSid2. 2020-12-08 10:34:12 -07:00
dahall cdc372b3df Updated Windows.Shell project to support forms 2020-12-07 20:26:58 -07:00
dahall f15d25e957 Removed unused code 2020-12-07 20:26:06 -07:00
dahall 5789fff072 Fixed declaration of IEnumAssocHandlers.Next 2020-12-07 19:57:52 -07:00
dahall b36a8e72ce Added access to handlers for ShellAssociation #181 2020-12-07 19:50:48 -07:00
dahall f66e5083cd Added GDI extension methods for HBITMAP - IsBottomUpDIB, IsDIB and simplified ToBitmap 2020-12-07 18:54:45 -07:00
dahall 7ec4f19367 Added SafeHBITMAP.ToBitmap method 2020-12-07 18:53:02 -07:00
dahall 53187c0c0f Fixed bug in GetObject overloads 2020-12-07 18:51:34 -07:00
dahall fd1d4de1c7 Added BITMAPINFO.FromHBITMAP method and default static values for BITMAPINFO and DIBSECTION 2020-12-07 18:50:45 -07:00
dahall 87273d6edb Optimized code for HICON.ToHBITMAP extension method 2020-12-07 18:49:03 -07:00
dahall 4477d18332 Added check for empty icon file in LoadImageFromExtractImage 2020-12-07 18:48:15 -07:00
dahall 4a5b14ded3 Added `LookupAccountSidLocal` per #184 comment. Removed BestFitMapping from methods as it was used incorrectly. Added some parameter attributes. 2020-12-07 18:47:14 -07:00
dahall b0bd100bf2 Removed exception on index == 0 from IndirectResource ctor 2020-12-03 22:23:12 -07:00
dahall 81ff24990c Fixes to ShellUtil based on testing 2020-12-03 22:22:38 -07:00
dahall 3aa3f9223d **BREAKING CHANGES:** FIxed structures that could not load due to marshal attribute bugs 2020-12-03 20:34:05 -07:00
dahall a46337952b Added `ShellItem.ContextMenu` and `Images` properties, enhanced `GetHandler` method to check for correct interfaces, changed `InvokeVerb` to use `ShellContextMenu` 2020-12-03 19:37:38 -07:00
dahall 01fe84acd1 Moved function bodies of some ShellImageList to Shell32.ShellUtil 2020-12-03 19:33:06 -07:00
dahall 35644659e0 More work on ShellContextMenu.Invoke 2020-12-03 19:32:03 -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 af7996b401 Added ShellDataObject constructor taking a list of ShellItems which adds them via CFSTR_SHELLIDLIST 2020-12-03 19:28:41 -07:00
dahall 1f0183dcc9 To `Shell32.ShellUtil`, added SHIL to pixel conversions and wrapper methods to handle getting images and icons from shell items and folders. 2020-12-03 19:27:39 -07:00
dahall 5f70c3f434 Added BindToHandler overloads accepting BHID enum values 2020-12-03 19:26:07 -07:00
dahall ab63ec5d26 Added CorrespondingTypeAttributes to all BHID enum values 2020-12-03 19:25:25 -07:00
dahall 47cbd0be0b Added conversion methods from HICON to HBITMAP and BitmapSource. 2020-12-03 19:24:45 -07:00
dahall c904517bf7 Added conversion methods from HBITMAP to Bitmap and BitmapSource 2020-12-03 19:23:44 -07:00
dahall c3a63c8c1b Added further functionality to ShellContextMenu (#178) 2020-11-29 10:20:28 -07:00
David Hall bffb95b78d Merge branch 'master' of https://github.com/dahall/Vanara 2020-11-28 19:10:30 -07:00
David Hall bc168420c0 Enhanced ShellContextMenu further to support non-WinForms platforms better. 2020-11-28 19:10:19 -07:00
David Hall 915b508eb2 Added tests for IConetextMenu functions 2020-11-28 18:30:26 -07:00
David Hall 9f0a31fdf8 Changed all IContextMenu variants to have PreserveSig model for implementation 2020-11-28 18:29:59 -07:00
Sergey Veselkov 2dbe412881
Added missing ASSOCSTR values (#180) 2020-11-28 07:44:30 -07:00
David Hall 545321357b Updated param attributes for GetCommandString 2020-11-27 10:33:17 -07:00
David Hall b51948f29b Added ResourceId.IsIntResource property 2020-11-27 10:32:29 -07:00
David Hall eea310d41f Added tests for `IContextMenu` 2020-11-23 15:02:43 -07:00
David Hall 5e06935c0d Derived `ShellContextMenu` from `IDisposable` so that it correctly disposes the underlying `IContextMenu` instance. #178 2020-11-23 15:02:13 -07:00
David Hall 169d579c2e Added MADCAP functions to Vanara.PInvoke.Dhcp 2020-11-23 10:50:09 -07:00
David Hall 3fa180f8e6 Updated project versions to 3.3.1 2020-11-23 10:49:07 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall 4c18661740 Updated project files for 3.3.0 release 2020-11-20 12:38:46 -07:00
dahall 290c053d28 Added DHCP client APIs 2020-11-19 15:00:30 -07:00
dahall 439d77f58d Added HEVENT handle 2020-11-19 14:48:23 -07:00
dahall 5dd910e41c Added time_t class with conversion support to/from DateTime 2020-11-19 14:47:13 -07:00
dahall 131d4db65a With addition of .NET 5, updated minor release. Now v3.3.0. 2020-11-15 13:20:40 -07:00
dahall 2ce79599db Upgraded System.IO.FileSystem.AccessControl package ref to 5.0.0 and enabled for .NET 5 2020-11-14 13:38:02 -07:00
dahall 0d09b1b707 Added NoWarn element with common warnings that can be ignored for this solution 2020-11-14 13:37:16 -07:00