Commit Graph

606 Commits (bbb2becc0bbb9657f0066bb94baecaad5ce15bd4)

Author SHA1 Message Date
dahall a517d536a3 Reworked all structures in IpHlpApi assembly to ensure size compatibility. (#296) 2022-05-04 15:35:49 -06:00
dahall 92e7ca7365 Fixed #297 - Incorrect value for `Ws2_32.IN6_ADDR.Loopback` 2022-05-04 11:22:32 -06:00
dahall fb607a799e Fixed #296 - invalid `MIB_UDP6ROW_OWNER_PID.dwOwningPid` value when calling `GetExtendedUdpTable` 2022-05-04 10:59:33 -06:00
dahall 0edde0e5a2 Fixed bug #294 -- problem with SYMBOL_INFO and SymEnumSymbols not showing Name field correctly. Had to change PSYM_ENUMERATESYMBOLS_CALLBACK (breaking change). Added new SymEnumSymbolsEx overload to do the hard work. 2022-05-03 19:31:09 -06:00
dahall 3bba0bf3da Added Vanara.PInvoke.SensorsApi 2022-04-16 10:37:56 -06:00
dahall 8785074b81 Added struct size test for Vanara.Shared. 2022-04-14 08:34:27 -06:00
dahall 58a5eb7afb Updated TestHelper with Linq based structure size methods 2022-04-14 08:34:02 -06:00
dahall c24dbf8659 VirtualDisk: Added support for mounting specific path or drive when attaching, added properties for mount information, CreateAsync, AttachAsync, VHD set, snapshot and mirror methods. 2022-04-11 15:46:20 -06:00
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