Commit Graph

648 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
dahall 6cb7659d5a Added a number of fixes and new methods to VirtualDisk. 2022-04-09 18:40:26 -06:00
dahall c86ddbf315 Updated VHD test file location 2022-04-09 18:33:36 -06:00
dahall 490972199f Taskbar tests 2022-03-14 09:25:59 -06:00
dahall 9e57ba3a14 Fixed bug with VirtDisk.GetStorageDependencyInformation and implemented VirtualDisk.GetStorageDependencyInformation() and VirtualDisk.DangerousGetHandle() 2022-03-11 18:07:36 -07:00
dahall fe1b9c24e7 Fixed multiple problems with SystemParametersInfo and SPI values (#283). Overload methods now are tested against all SPI values. 2022-03-10 17:47:48 -07:00
dahall 57b6ed1f41 Added Vanara.Windows.Shell.Taskbar class to get/set information regarding the system taskbar. 2022-03-04 20:10:17 -07:00
NN 95328a6fd0
Lower System.ValueTuple version dependency. (#280) 2022-02-28 11:54:43 -07:00
NN 83f899a665
Correct alignment for WTSINFO and WTSINFOEX. (#279)
Thanks for your replies. I'm convinced. I'll merge. Thanks for your input and contributions.
2022-02-25 11:13:16 -07:00
dahall a94476f5d1 Added WinHTTP assembly 2022-02-22 19:41:15 -07:00
dahall 57c2216e4c Added Antimalware assembly (AMSI) with supporting unit test and wrapper class in Vanara.SystemServices, AntimalwareScan. 2022-02-10 11:16:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall edde531d3b Added Usp10 (Uniscribe) assembly. 2022-02-05 15:42:54 -07:00
dahall 1ae596bd92 Added Vanara.PInvoke.Ime32 assembly 2022-01-31 20:53:20 -07:00
dahall ad56116e87 Lots of work to make using IDataObject and the clipboard more stable and usable. Added Get/Set extension methods for IDataObject. Added attributes to clipboard formats to help reading. Added formatters to process clipboard types. Fixed bugs in ShellDataObject and NativeClipboard. 2022-01-22 15:35:37 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -07:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 2eddeabf2c More updates and unit tests for VSS (still not ready) 2021-12-27 09:20:57 -07:00
dahall 99ba5422b9 Updated tests and corrected found errors in Vanara.BITS 2021-12-11 09:05:58 -07:00
dahall 69a790f48c Fixed issue #253 2021-11-11 17:48:43 -07:00
dahall 22ec8ba85c Finished fixing AuthzReportSecurityEventFromParams. BREAKING CHANGE: removed SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION as all functionality was possible by marshaling AUTHZ_SOURCE_SCHEMA_REGISTRATION correctly. 2021-11-09 16:13:04 -07:00
dahall 03bd938b7c Work on fixing and enabling Audit log writes using AuthzReportSecurityEvent and AuthzReportSecurityEventFromParams. The prior is now fully working. (#251) 2021-11-09 13:16:27 -07:00
dahall 626650318c Cannot resolve exceptions when calling IEnhancedStorageSilo.GetActions and GetPortableDevice 2021-10-21 13:29:35 -06:00
dahall ad55249b81 More fixes and extension methods for WPD 2021-10-21 13:27:10 -06:00
dahall 6b70dd283e Added test and fixed init 2021-10-19 20:12:03 -06:00
dahall 655b9db40e Added test projects for EhStor and WPD assemblies 2021-10-19 18:28:57 -06:00
dahall 7667a26c16 Updated NuGet dependencies 2021-10-19 07:52:18 -06:00
dahall d648651be9 Added LocalGroup and UserAccount classes to Vanara.SystemServices to retrieve local group and user account information from a server's SAM. Added access through Computer class. 2021-10-13 20:08:14 -06:00
dahall b8793f4af1 Tests for FhSVcCtl now working 2021-09-30 12:36:55 -06:00
dahall 2251e5d7b1 Added methods and interfaces for File History -- tests still failing 2021-09-30 12:14:05 -06:00
dahall c70f8bc29b Added Wireless Ad Hoc interfaces to WlanApi assembly. 2021-09-29 17:52:16 -06:00
dahall f28c7c3d8b Fixed bug in `SafeProcThreadAttributeList.Create` (#249) 2021-09-20 09:32:34 -06:00
dahall 29b299eafa Reverted NativeClipboard's listener window to derive from NativeWindow 2021-08-29 15:08:08 -06:00
dahall 7b1304136a Fixed bug in NativeClipboard change event 2021-08-26 17:28:15 -06:00
dahall d52b0d5b18 Updated NuGet package dependencies 2021-08-26 09:05:27 -06:00
dahall 56cda5a8f4 Updated testing for WinCon changes 2021-08-25 12:03:45 -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 dff054c2fa Fixed bug in ShellLink unit test 2021-08-14 14:58:04 -06:00
dahall 528156e51e Added TempFile docs and new ctor with extension 2021-08-14 14:57:41 -06:00
dahall 346e082d4b Tested #242 and suggested workaround. 2021-08-13 17:26:53 -06:00
dahall 345701e654 Added assembly for CimFs library 2021-08-05 16:00:36 -06:00
dahall df344844bf Updated and ran tests for CldApi after changes for #241 2021-08-04 13:20:49 -06:00
dahall 310abdae6f More work on WinBio lib. Still buggy. 2021-07-21 17:16:20 -06:00
dahall b57ebd928e Updated test project for ExplorerBrowser 2021-07-21 17:15:43 -06:00
dahall 39e8c12643 Added WinBio functions and corrected structures -- only partially tested 2021-06-25 16:33:04 -06:00
dahall 2c1c56a78b More updates from mmeapi.h and timeapi.h 2021-06-18 18:57:52 -06:00
dahall 58411f09fd Fixed more problems with FCI functions and delegates 2021-06-03 19:52:45 -06:00
dahall 4bfb89c728 Fixed params for FDI delegates 2021-06-03 10:51:28 -06:00
dahall fcbe78dfde More additions of IC* functions from vfw.h 2021-06-02 20:25:31 -06:00
dahall 84539aae26 More Cabinet updates 2021-06-02 19:36:07 -06:00
dahall 8ff2f9595b More updates and fixes to virtual disk assemblies 2021-06-01 11:53:58 -06:00
dahall ecdd314dff FIxes and improvements to PInvoke.VirtDisk (some breaking changes) and Vanara.VirtualDisk (chaged Enabled to ResilientChangeTrackingEnabled to avoid confusion). 2021-05-31 21:45:26 -06:00
dahall 50c6b13781 BREAKING CHANGES: Worked over functions related to BITMAPINFO adding attributes, creating overloads and changing 'ref' params to 'in' params where immutable. Needed because these functions often could fail due to poor processing of the structure. 2021-05-29 08:09:03 -06:00
dahall 27c00f8281 Final update on CfgMgr32 functions 2021-05-05 20:34:12 -06:00
dahall 919fb84f9e Added unit tests for CfgMgr32 2021-05-02 21:54:00 -06:00
dahall 2ea499979c Fixed #226 by correcting layout and marshaling for WlanSetFilterList and DOT11_SSID 2021-04-26 18:03:45 -06:00
Thorsten Jung 7ff638a16b
Fix bug in ExplorerBrowser to avoid releasing a PIDL whose owner is the shell itself (#224) 2021-04-20 11:39:58 -06:00
dahall 8d47b13def Tested and fixed SafeUNICODE_STRING class 2021-03-23 15:59:06 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 035b30f146 Fixed bug in ReadOnlyPropertyStore.TryGetValue (#219) 2021-03-22 10:39:35 -06:00
dahall 6c23b00a9c Updated and added tests for SAFEARRAY and PROPVARIANT changes 2021-03-18 15:41:02 -06:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall abcfd5a862 Documentation fixes 2021-03-07 11:15:18 -07:00
dahall d7eeb1ca06 Usability updates to CldApi functions. 2021-02-24 14:25:56 -07:00
dahall 21c4311935 Added/updated tests for Kernel32 2021-02-18 14:27:08 -07:00
dahall 87664c5f97 Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory. 2021-02-18 14:22:59 -07:00
NN f45861e1e1
Add ContextSwitcher and other IIDs. Fix IContextCallback. (#211)
Co-authored-by: Konstantin Sharon <NN---@users.noreply.github.com>
2021-02-09 07:46:25 -07:00
dahall c703c450f9 Updated tests 2021-02-08 15:33:48 -07:00
dahall b063def5da Updated shell object tests 2021-02-04 14:24:14 -07:00
dahall d1e856c448 Added MiniDumpWriteDump overload and fixed test (thanks @NN) 2021-02-03 14:49:31 -07:00
dahall 978f339457 Changed DbgHelp to have Version dependency and moved all types to correct files based on header name 2021-02-03 13:57:49 -07:00
dahall c6ef5c216b Added Vanara.PInvoke.Version project will all functions 2021-02-03 13:56:25 -07:00
dahall 9464dbd4fa Added `MiniDumpWriteDump` and supporting structs #204 2021-02-03 08:41:28 -07: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 a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -07:00
dahall 2be07af49a Fixes to NtQueryInformationProcess to compensate for bitness issues between processes. #123 2021-01-25 17:04:16 -07:00
dahall 2b1c557f26 Updated NtDll unit tests 2021-01-25 12:26:10 -07:00
dahall 5c0a965d4b Update NUnit NuGet package version for unit tests 2021-01-25 12:11:23 -07:00
dahall 94d6e8b218 Converted message window from Control to BasicMessageWindow in ShellContextMenu 2021-01-24 19:02:12 -07:00
dahall 31f9a112e5 Added ability to ShellAssociations from ShellItem and improved readability of exception handlers for ERROR_* conditions 2021-01-24 19:01:13 -07:00
dahall 0a1609d06a More improvements to TestHelper.GetStringVal 2021-01-24 18:59:36 -07:00
dahall cae1050464 Fixed access violation exception in ShellContextMenu when building a MenuItemInfo for separators (#195) 2021-01-21 09:51:54 -07:00
dahall 072493b89b Fixed unit test bug 2021-01-19 11:17:30 -07:00
dahall cefcd01e3c Added Vanara.Diagnostics.DeviceManager and supporting classes to manage devices and device classes on local or remote machines. 2021-01-14 20:30:47 -07:00
dahall 2a0256d858 More work on TestHelper.GetStringVal 2021-01-14 20:24:02 -07:00
dahall a15b408561 More improvement to test GetStringVal helper 2021-01-14 11:16:01 -07:00
dahall 0e22e0f9b4 Added more functions and unit test for WsmSvc 2021-01-11 18:46:28 -07:00
dahall 5cd53d5c7b Extended IntPtr.Write(object value...) method to handle almost all cases of object types (arrays, lists, etc.) 2021-01-11 11:22:39 -07:00
dahall f1466856af Modified test helper's value writing methods 2021-01-11 11:18:14 -07:00
dahall 8c203d399d Msi and SetupAPI check-in, buildable 2021-01-02 18:42:02 -07:00
dahall f617fffc81 Fixed syntax errors in ComDlg32Tests 2021-01-01 15:35:49 -07:00
dahall 0d1dfd40af Fixed bug in ComDlg32 tests 2020-12-31 20:46:46 -07:00
dahall 1ef28a890a POTENTIALLY BREAKING CHANGE: Revamped SendMessage overloads to reduce accidential use of wrong overload. Most uses still work except passing a class in as lParam. 2020-12-31 20:13:35 -07:00
dahall feba58dafb Added new SendMessage overload for WM_GETTEXT use case (#191). 2020-12-31 10:50:54 -07:00
dahall 16ce539b33 Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies 2020-12-30 20:48:39 -07:00
dahall 9067493f09 Completed work on ComDlg32 2020-12-25 20:41:41 -07:00
dahall d119c5adbd Updated project information 2020-12-24 11:00:18 -07:00
dahall b0415fd93a Fixed XML comment warnings 2020-12-24 10:58:51 -07:00
dahall 66eb09cade Added ComDlg32 and OleDlg assemblies 2020-12-24 09:17:50 -07:00
dahall 79ceb6112e More work on WTSApi32 2020-12-23 12:14:55 -07:00
dahall aa02808735 Finished work on PowerManager event additions for all power events. (#190) 2020-12-22 10:00:34 -07:00
dahall 2593220415 Temp stage push on PowerManager to work out bugs 2020-12-20 09:16:36 -07:00
dahall 5c0f92d07c More work on BasicMessageWindow 2020-12-20 09:16:10 -07:00
dahall 6aa6d3fd70 More work and tests for BasicMessageWindow 2020-12-20 08:29:09 -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 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 81ff24990c Fixes to ShellUtil based on testing 2020-12-03 22:22:38 -07:00
dahall c3a63c8c1b Added further functionality to ShellContextMenu (#178) 2020-11-29 10:20:28 -07:00
David Hall 915b508eb2 Added tests for IConetextMenu functions 2020-11-28 18:30:26 -07:00
David Hall eea310d41f Added tests for `IContextMenu` 2020-11-23 15:02:43 -07:00
dahall 290c053d28 Added DHCP client APIs 2020-11-19 15:00:30 -07:00
dahall 23c5886ee5 Fixed Shell32 tests for API changes 2020-11-13 11:16:08 -07:00
dahall d1116ce1c4 Fix multiple build warnings 2020-11-13 09:54:44 -07:00
dahall 721f6d14e6 Removed all Framework entries from unit test project files and into root Directory.Build.props 2020-11-12 22:38:00 -07:00
dahall 5806d373d3 Finally a working solution for #176. 2020-11-11 19:58:58 -07:00
dahall 3c20988f29 Changed params to GetLogicalProcessorInformationEx overload to return RefEnumerator 2020-11-10 21:38:59 -07:00
dahall 1c0e428592 Changed GetLogicalProcessorInformationEx helper method to return a SafeNativeLinkedList rather than an array so that the memory of linked, nested child arrays is not disposed before use. (#176) 2020-11-10 09:42:48 -07:00
dahall 56931b57b7 More work on ShellDataTable 2020-11-05 07:28:08 -07:00
dahall c3a6add0a4 Fixed #175 per detail for GetLogicalProcessorInformationEx 2020-11-04 13:05:34 -07:00
dahall ba890fd03d Added Vanara.Windows.Shell.ShellDataTable which is a DataTable that defines its columns and row from items in a shell folder. Designed for streamlined async reading of a shell folder's items and their properties. 2020-11-04 10:47:30 -07:00
dahall 6e19a4be23 Updated tests based on Shell32 syntax changes 2020-11-02 07:51:09 -07:00
dahall bf1e030ec6 Fixed a number of bugs with IUri and IUriBuilder 2020-10-22 20:13:58 -06:00
dahall de1840d48a Updated tests to fit changes to libs 2020-10-22 14:34:26 -06:00
dahall 857e7c4703 Changed all methods that returned `SafeCoTaskMemString` to `string`. After much reading and testing I determined this was redundant with marshaling code in .NET. 2020-10-21 18:44:25 -06:00
dahall 8686a6723d Updated project and build files for 3.2.18. Converted all project files to new SDK format. 2020-10-21 08:27:54 -06:00
dahall d9db18bad4 Updated unit test for ShellItem and ShellView 2020-10-20 17:48:05 -06:00
dahall dc1fce2803 Non-functional test forms for ShellView 2020-10-20 17:47:28 -06:00
dahall 1d39cd0f05 BREAKING CHANGES: Fixed all the profile functions for ease of use and proper function.
Added Vanara.Configuration.InitializationFile wrapper class for all PrivateProfile functions.
2020-10-18 15:34:03 -06:00
dahall 1fb8a2dc8a Test for IPropertySetStorage 2020-10-12 21:37:15 -06:00
dahall 7f2c2a6df3 Added `Vanara.Collections.History` class 2020-09-22 13:57:52 -06:00
dahall 59b14eac79 Changed project version to 3.2.18 2020-09-20 12:34:44 -06:00
dahall 87b3da3ca0 Some improvements to ExplorerBrowser, but still not working 100% 2020-09-19 21:33:13 -06:00
dahall 87ce74835c Fixed unit tests for BITS Cabinet and ShlwApi pinvoke libs 2020-09-19 16:25:49 -06:00
dahall 37e78ae321 Fixed code causing warnings during Debug build 2020-09-19 08:47:48 -06:00
dahall 6f0789ce03 Initial implementation of FirewallApi.dll. Yes, it is in VB instaead of C#. Ony VB support parameterized properties and the underlying COM objects have these. Plus, it was a fun experiment. 2020-09-18 21:28:36 -06:00
dahall e94d44d48a Added LsaOpenPolicy test for remote machine (#169) 2020-09-14 10:27:58 -06:00
dahall 3068a87465 Added TestCaseSources.GetValueOrDefault method 2020-09-14 10:27:10 -06:00
dahall 9552024fbb Added Vanara.Network.InternetProxyOptions to manage proxy settings for an internet session or for the system. 2020-09-03 19:29:20 -06:00
dahall 1aff52f78e Added known folder collected code 2020-09-03 10:52:19 -06:00
dahall 3085b7d412 Added new property keys for Recycle Bin (#162) 2020-08-31 10:43:21 -06:00
NN 80bfe2ce20
Call to closeMethod in GenericSafeHandle. (#161) 2020-08-27 10:25:14 -06:00
dahall d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06:00
dahall 61b35a58c6 Reversed changes used for testing 2020-08-26 15:25:39 -06:00
dahall 67e344975f Updated unit tests with changes to TestCaseSources class 2020-08-26 13:49:55 -06:00
dahall c6cd401ae3 Added more tests for the Computer class 2020-08-24 15:11:07 -06:00
dahall 42b8e5b414 Added NetworkDeviceConnections to Computer class to manage connection to remote shares and printers. Same functionality as command line 'net use'. 2020-08-23 12:58:34 -06:00
dahall 8d40364e2c Added Lookup property to pull from TestCaseSources.txt 2020-08-23 12:43:20 -06:00