Commit Graph

3316 Commits (4620e983be2fa6acf877d47aecebcfa817ce7bbc)

Author SHA1 Message Date
David Hall 4620e983be Undid changes to params of INamespaceWalkCB and INamespaceWalkCB2 2024-06-17 13:40:53 -04:00
David Hall 45f4493f7a Added MsgParam attribute to all Property Sheet messages and notifications. 2024-06-17 13:07:46 -04:00
David Hall 585cebb26a Added TreeView_ message macros. HTREEITEM constants, and (BREAKING CHANGE) changed TVGETITEMPARTRECTINFO to a struct and removed hidden memory allocation. Also cleaned and modernized code for TreeView. 2024-06-17 12:23:43 -04:00
David Hall 76429f9798 Added implicit conversion from IntPtr to BOOL 2024-06-17 12:19:19 -04:00
David Hall df4da4cc09 Added missing constants and macros from Prsht.h 2024-06-15 20:47:06 -04:00
David Hall c9a739227a Fixed parameters in INamespaceWalkCB (Shell32) to use PIDL rather than IntPtr 2024-06-15 15:46:21 -04:00
David Hall f95000a6e6 Added a number of missing IShellLibrary macros. 2024-06-15 15:42:28 -04:00
David Hall 92c1f53cb6 Made Vanara.Extensions.InteropExtensions.QueryInterface an extension method for `object`. 2024-06-15 15:42:02 -04:00
David Hall 7e05dd64bf BREAKING CHANGES: Guid.KnownFolderId() and Environment.SpecialFolder.KnownFolderId were changed to return null when value is not found rather than throwing an exception. 2024-06-14 14:55:36 -04:00
David Hall 099576f5e6 Fixed introduced bug in Shell32.IKnownFolderManager 2024-06-11 23:23:06 -04:00
David Hall c24b9394e3 Breaking change: Simplified Shell32.KNOWNFOLDER_DEFINITION to use strings instead of StrPtrUni field types. After testing, it appears that .NET does release the memory during the conversion process to System.String. 2024-06-11 16:27:38 -04:00
David Hall ce28b45d48 WIP on ShellItemSource 2024-06-09 16:07:36 -06:00
David Hall ac0a1ac301 Added Windows.Shell.ShellIconExtractor as a threaded way to get all icons for a folder or list of items. 2024-06-09 13:09:27 -06:00
David Hall fc4233f0d1 Added ShellUtil. GetSize, GetWidth, and LoadImageFromImageFactory overloads 2024-06-09 13:08:23 -06:00
David Hall a607495db4 Added IEmptyVolumeCache and supporting code 2024-06-09 13:07:21 -06:00
David Hall d0ddaded46 Changed from path to PIDL as base for PropertyStore lookup (faster) 2024-06-06 17:02:43 -06:00
David Hall a8178d1119 More work on PropertyStore to remove blocking of file. Caused consolidation of ReadOnlyPropertyStore into PropertyStore. Locking seems to be fixed. 2024-06-06 16:00:59 -06:00
David Hall cc5cac6f31 Updated project information 2024-06-06 12:27:28 -06:00
David Hall 05c6710389 Refactored for new C# language optimizations 2024-06-06 11:19:40 -06:00
David Hall dcdfe3f215 Added warning exclusion 2024-06-06 11:17:50 -06:00
David Hall fea9ff85c4 Exposed ReadOnlyPropertyStore and PropertyStore as public non-abstract classes with constructors to get properties directly for a file system item. Adjusted properties and methods from ShellItemPropertyStore to lower-level classes. 2024-06-06 11:17:18 -06:00
David Hall eff69a6fe8 Fixed bug affecting HRESULT.ToString in StaticFieldHasValue.TryGetFieldName 2024-06-06 11:11:51 -06:00
David Hall c201274dba Changed IPropertyStore.SetValue extension so value is coerced to correct type before setting. 2024-06-06 11:09:33 -06:00
David Hall 33924ea0ff Added PROPERTYKEY.ctor(string) and CoerceToCanonicalValue 2024-06-06 11:08:38 -06:00
David Hall 26f0235bb7 Added SHGetImageList overload 2024-06-05 12:59:53 -06:00
David Hall 0df5f11545 Changed VssApi back to net6 2024-06-03 20:19:15 -06:00
David Hall 396ec6c34d Changed VssApi to net7.0 since 8.0 didn't work. 2024-06-01 10:04:47 -06:00
David Hall 9db873525f Changed VssApi to net8.0 to avoid build errors 2024-06-01 09:01:06 -06:00
David Hall 905cc84aa0 Removed unused packages from VssApi 2024-05-29 11:16:50 -06:00
David Hall b11185f9a8 Minor code optimizations for DnsApi 2024-05-29 10:55:19 -06:00
David Hall 2c8b89fdbf Added unit test for SearchApi, but couldn't get it to work per #447. Any help?? 2024-05-28 20:16:27 -06:00
David Hall a6b7eaa606 Fixed bug in ShellContextMenu.InvokeCommand where it wouldn't run if QueryContextMenu had not been called (#468). Thanks to @shuxb711 for the workaround. 2024-05-28 13:32:35 -06:00
David Hall b2ab7769f9 Added advanced ctor for CMINVOKECOMMANDINFOEX 2024-05-28 13:31:27 -06:00
David Hall f652be90ab Corrected problem with test code for DoSvc (#465). 2024-05-28 13:02:05 -06:00
David Hall 7837934295 Fixed IDODownload.SetProperty extension to handle null values and fixed documentation. 2024-05-28 13:01:35 -06:00
David Hall fe637c0ec3 WIP on WUApi parts -- NOT COMPLETE 2024-05-25 21:36:44 -06:00
David Hall 4b398b3f73 Fixed #467 where IErrorHandler types threw error on ToString method after 4.0.1. 2024-05-25 21:36:16 -06:00
David Hall 949f6bb8d2 Added HANDLEConverter class and added to common handles 2024-05-25 19:02:24 -06:00
David Hall adeddd0218 Add Pack stmt to Shell32.SHQUERYRBINFO to make compatible with 32 or 64-bit. 2024-05-25 19:01:37 -06:00
David Hall 856cd22e26 Updated NuGet packages and fixed project logic for inclusion of various NuGet packages 2024-05-25 19:00:19 -06:00
David Hall 8568b342aa Fixed versioning to 4.0.2 and updated project docs 2024-05-10 15:05:05 -06:00
David Hall aa30dad57b Added Vanara.PInvoke.WUApi assembly and test for Windows Update API 2024-05-09 19:23:48 -06:00
David Hall a546ad4fb2 Added Vanara.PInvoke.WslApi project for Windows Subsystem for Linux 2024-05-07 21:14:26 -06:00
David Hall 3ab524802e Added some missing WinHttp constants 2024-05-07 20:15:10 -06:00
David Hall d2fd26fbcf Added dwHostLocalPort property to all related structures in IpHlpApi that use dwLocalPort in network byte order. 2024-05-07 13:13:49 -06:00
David Hall ffd6799910 Completed all interfaces for OleDb 2024-05-07 12:18:21 -06:00
David Hall 01114f73b0 Fixed IsValidAcl recursion bug (#463) using PR from @rul3rst4 2024-05-06 07:16:33 -06:00
David Hall 7919216bbe Added nullability to SafeHANDLE operators (#459) 2024-05-05 17:42:08 -06:00
David Hall c7913b9d5a Fixed wrong structure for CRYPT_PROVIDER_DATA (#461) 2024-05-05 17:28:52 -06:00
David Hall 6ad9ce3d74 Updated version to 4.0.2 2024-05-05 17:27:16 -06:00