Commit Graph

393 Commits (97c6db5d9d43efc87e12f3e586d594a5a50c0651)

Author SHA1 Message Date
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 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 56cda5a8f4 Updated testing for WinCon changes 2021-08-25 12:03:45 -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 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 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
dahall 8d47b13def Tested and fixed SafeUNICODE_STRING class 2021-03-23 15:59:06 -06:00
dahall 6c23b00a9c Updated and added tests for SAFEARRAY and PROPVARIANT changes 2021-03-18 15:41:02 -06: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 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 0e22e0f9b4 Added more functions and unit test for WsmSvc 2021-01-11 18:46:28 -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 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 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 aa6085a4a6 Based on Windows error in LookupAccountSid, I've added LookupAccountSid2 based on LsaLookupSid2. 2020-12-08 10:34:12 -07:00
dahall 81ff24990c Fixes to ShellUtil based on testing 2020-12-03 22:22:38 -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 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 c3a6add0a4 Fixed #175 per detail for GetLogicalProcessorInformationEx 2020-11-04 13:05:34 -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 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 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 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 d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06:00
dahall 67e344975f Updated unit tests with changes to TestCaseSources class 2020-08-26 13:49:55 -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 d7f382e5f2 Added initial methods and structures for Magnification.dll 2020-07-28 15:40:32 -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 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
NN bc139f52a7 Add zero copy GetIpNetTable2. 2020-07-12 10:09:39 +03: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 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 5104c4c6e0 Added DirectWrite, DXGI and WIC references to Vanara.PInvoke.Graphics 2020-06-02 21:54:48 -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 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 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