Commit Graph

606 Commits (d1d0ff51ca959a1e0f60c34382260d8d353b5f6a)

Author SHA1 Message Date
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
dahall 70ce687307 Genericized test 2020-08-20 13:41:07 -06:00
dahall 8d875a0010 Completed initial work on DbgHelp library that also includes ImageHlp.dll functions 2020-08-19 20:55:22 -06:00
dahall 78ce3ad034 Buildable update checkin of DbgHelp code 2020-08-16 16:01:35 -06:00
dahall ad40568425 More work on dbghelp 2020-08-15 11:34:13 -06:00
dahall 4a14a25d1c New DbgHelp lib addition - check-in 2020-08-07 12:37:42 -06:00
dahall 5edb3ab930 Lots of fixes for ShellNamespaceTreeControl (#153). Still not perfect (keyboard movement could be improved), but much better. 2020-08-06 17:16:40 -06:00
dahall d7f382e5f2 Added initial methods and structures for Magnification.dll 2020-07-28 15:40:32 -06:00
dahall cb07e92ec0 Updated project versions to 3.2.14 2020-07-28 12:45:30 -06:00
dahall 4ef43cf843 Added Vanara.Windows.Shell.NativeClipboard to expose native clipboard functions that are not routed through COM and DataObject. 2020-07-26 13:54:57 -06:00
dahall 0a89860cb6 Added move item test with events 2020-07-26 13:50:40 -06:00
dahall 091352956e Fixed (#152) bug in base class SafeMemoryHandleExt that caused ToString(int...) to fail if memory size was not specifically set (like in parameter assignment). 2020-07-20 10:44:01 -06:00
dahall 7fa717ed28 Added ShellItem.InvokeVerb method and test 2020-07-17 15:31:12 -06:00
dahall c727cfa055 Completed work on BindContext which wraps IBindCtx 2020-07-16 07:22:01 -06:00
dahall afd0a4321f Added ShellFileOperationDialog with tests a property ShellFileOperations.CustomProgressDialog to receive an instance of that dialog. 2020-07-15 19:00:30 -06:00
dahall 1f6fc5ba39 Updated version to 3.2.13 2020-07-15 13:17:52 -06:00
dahall e073e09526 Fixed enumeration failures with EnumServiceStatus, EnumServiceStatusEx and EnumDependentServices (#145) 2020-07-13 08:39:38 -06:00
dahall d124115570 Changed compiler option on IEnumNextworkXX interfaces and array parameter on Next methods along with unit test. 2020-07-12 14:10:58 -06:00
dahall b153e67354 Optimized parameter enumerations and fixed bug in UpdateProgress event (#146) 2020-07-12 10:20:57 -06:00
David Hall 26f61b9189
Merge pull request #142 from NN---/getiptable_raw
Add zero copy GetIpNetTable2.
2020-07-12 08:30:02 -06:00
NN bc139f52a7 Add zero copy GetIpNetTable2. 2020-07-12 10:09:39 +03:00
dahall 2348a4f3e7 Fixed test ToIEnumTest that had failing condition 2020-07-11 16:27:16 -06:00
dahall c515f96e21 Update version to 3.2.12 2020-07-01 15:03:26 -06:00
dahall 79c906186c Fixed problems with DNS struct alignment and added XML docs with tests 2020-06-27 18:42:50 -06:00
NN bb12636c7f
Fix DNS_QUERY_OPTIONS. Make tests always work correctly. (#140) 2020-06-25 13:55:17 -06:00
NN be237732c1
Add DnsApi tests. (#138)
* DNS_QUERY_OPTIONS are uint.

* Add DnsApi tests.
2020-06-24 14:44:39 -06:00
dahall ca577d062f Fixed and tested #135, #136 and #137 2020-06-23 15:38:22 -06:00
dahall a3bfd8c7cd Added code and tests to refresh icon on Recycle Bin after changes. 2020-06-20 15:36:57 -06:00
dahall a9162da80f Fixed XML docs, cleaned code, added parameter attributes and missing CoClass values for IShellFolder, added Vanara.Windows.Shell.RecycleBin class and tests 2020-06-20 12:10:20 -06:00
dahall c31890cf6a Added string methods to ShellFileOperations and some tests for Recycle Bin. 2020-06-15 09:22:37 -06:00
dahall fdcd7e93a1 Updated NuGet packages 2020-06-11 11:52:26 -06:00
dahall e886ea1b7a Fixed minor build errors and warnings 2020-06-11 10:27:59 -06:00
dahall 729345e24a Added all remaining shobjidl_core.h interfaces to Shell32 and SearchApi 2020-06-10 20:37:25 -06:00
dahall acdb6f845b Added testing for Shell and simple console app 2020-06-06 19:21:28 -06:00
dahall 5772de8a1e Updated project versions to 3.2.10 2020-06-04 08:49:35 -06:00
dahall 5104c4c6e0 Added DirectWrite, DXGI and WIC references to Vanara.PInvoke.Graphics 2020-06-02 21:54:48 -06:00
dahall 491c26e0d6 BREAKING CHANGE: Changed default behavior of ShellItem.Properties so that it is read-only. It was failing for all shell items that didn't have their own properties. To get previous behavior, simply set "shellItem.Properties.ReadOnly = false" before setting properties. 2020-06-01 10:43:51 -06:00
dahall e27d78772d Fixed multiple problems with TrackBarEx in designer and runtime. 2020-05-28 19:35:39 -06:00
dahall e69b8c843c Refactored 2020-05-28 18:56:20 -06:00
dahall c223796807 Updated project versions to 3.2.9 2020-05-28 13:14:50 -06:00
dahall fe7c5d2763 BREAKING CHANGE: FIxed UNICODE_STRING so it would work across process boundries (thanks @Enigmatrix) and tested. Now #123 is implemented. 2020-05-27 22:32:53 -06:00
dahall 84271bbf3a Added testing of ShellItemChangeWatcher 2020-05-27 22:12:51 -06:00
dahall a76f009ad9 Added test to enum Recycle Bin contents 2020-05-27 22:12:11 -06:00