Commit Graph

565 Commits (e97896fda6a5ff8e1c3b8c04029f076d6a7426a7)

Author SHA1 Message Date
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
dahall b06faf0596 Added another NtQueryProcessInformation test 2020-05-26 06:42:19 -06:00
dahall ecb5ca90de Added NtQueryInformationProcess (#123) and supporting constants and structures along with unit test. 2020-05-20 12:27:58 -06:00
dahall ab586bd279 Updated tests to check on #120 2020-05-17 09:46:40 -06:00
dahall a4347bc595 Changed project versions to 3.2.8 2020-05-14 20:48:55 -06:00
dahall 4216d271d9 Added new SafeMemStruct class that wraps a structure into memory with Span support. Added assoc. unit test. 2020-05-14 17:56:28 -06:00
dahall 2004134da4 Removed CoreAudio project and unit tests. Decided to sack this work as there are other, more complete implementations already on GitHub and NuGet. 2020-05-14 10:17:33 -06:00
dahall fcac2fc38b Added test class harness for testing COM and classes that span all tests 2020-05-14 10:13:48 -06:00
dahall 6ac3605005 Updated tests for #122 2020-05-14 10:12:53 -06:00
dahall efcd560dbd Added DnsGetCacheDataTable w/ unit test (#121) 2020-05-11 10:24:10 -06:00
dahall 88ad038496 Updated unit tests for errors based on underlying type changes. 2020-05-04 12:41:48 -06:00
dahall 1efa3a860a Completed work on CldApi with unit tests 2020-05-01 15:26:16 -06:00
dahall ae07d38044 Removed XML comments build for unit tests using Directory.Build.targets 2020-04-30 09:34:37 -06:00
dahall ed51271853 Committed work in progress on cldapi.dll 2020-04-30 09:34:04 -06:00
dahall a124fb4531 MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone. 2020-04-27 21:25:47 -06:00
dahall 90078984c2 Updated build type 2020-04-22 20:57:29 -06:00
dahall 03f79ef1d2 Added CldApi.dll functions, constants and structures along with basic unit test. 2020-04-22 19:36:24 -06:00
dahall a0179c7678 Updated project versions to 3.2.7 2020-04-22 10:01:43 -06:00
dahall 7615b0ebd7 Corrected for breaking changes in Ws2_32 2020-04-21 08:04:08 -06:00
dahall 3d7d44f1ec Fixed TypeLoadException by 'DSREG_JOIN_INFO' (#117) 2020-04-17 19:50:59 -06:00
dahall 875507407f Corrected spelling of SOCKET_ADDRESS.lpSockaddr 2020-04-17 18:05:06 -06:00
dahall e9cf62fca3 Changed all Int32 return values to Win32Error values. Added WSASocket overload for optional param. Added SafeWSA class to call and cleanup WSA init. Added conversion operators to SOCKADDR_STORAGE. 2020-04-17 14:35:58 -06:00
dahall 590ca01d38 BREAKING CHANGES: Changed NLM_SOCKADDR to a class and changed all parameters that were IntPtr to that class where called. Changed functions of all **Events interfaces to return HRESULT and removed invalid CoClass attributes. Updated dependent tests and wrappers. 2020-04-16 19:39:41 -06:00
dahall c89c9f317d Updated versions to 3.2.6 2020-04-15 13:03:53 -06:00
dahall 70b1163881 Fixed multiple bugs in DnsApi mostly stemming from trying to use structures in callback delegates. 2020-04-15 06:57:58 -06:00
dahall 8ab0e57f17 Fixed unit test projects after intro of Directory.Build.Props 2020-04-13 14:24:28 -06:00
dahall 8bfbd8348e Updated project versions to 3.2.5 2020-04-13 07:14:09 -06:00
dahall aabf8e7ca5 Added Vanara.PInvoke.DnsApi and supporting unit test supporting dnsapi.dll. 2020-04-11 16:17:06 -06:00
dahall 838663f2ee Added System.dll reference 2020-04-11 16:11:02 -06:00
dahall c0ff453a20 Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files. 2020-04-03 14:51:10 -06:00
dahall e3ec48600f Updated and extended tests for WCM and WLAN APIs. 2020-04-03 10:04:35 -06:00
dahall 02c4896b98 Fixed build warnings for missing XML docs and obsolete marshal directives 2020-04-02 19:14:40 -06:00
dahall 9fdb1ea000 Update project versions to 3.2.4 2020-04-01 18:48:29 -06:00
dahall 1c217e668e Updated project files to 3.2.3 2020-03-31 18:51:44 -06:00
dahall d1a938dffe Added PInvoke libs for wlanapi.dll and wcmapi.dll. 2020-03-31 16:04:41 -06:00
dahall 0f0d699cb2 Added GetNamedSecurityInfo test 2020-03-27 17:07:17 -06:00
dahall 2cf271b8c0 Updated methods to use string overload of CertFindCertificateInStore 2020-03-27 17:04:18 -06:00
dahall f48cc975fe Added multiple winsock tests 2020-03-24 16:14:59 -06:00
dahall 34550984da Added remainder of winsock2.h functions and some tests 2020-03-23 13:34:30 -06:00
dahall 476960ecbf Updated project versions to 3.2.2. 2020-03-17 19:48:07 -06:00
dahall 24dc30de5a Updated project files with v3.2.1 information. 2020-03-09 10:23:37 -06:00
dahall 4c4d8cad8d Updated tests with new Crypt32 function definitions 2020-03-09 10:18:53 -06:00