Commit Graph

275 Commits (81292aca1de7e254540602c9db6c130b09597683)

Author SHA1 Message Date
David Hall e8f1611fb8 Added Schannel and SspiCli references 2019-05-09 15:57:00 -06:00
David Hall 8d211da1de Fixed bugs on Insert and array set methods 2019-05-09 15:56:31 -06:00
David Hall f5ad3f0755 Extracted SafeNativeArrayBase from SafeNativeArray that allows for a different memory manager to be used and enhances/fixes the ability to insert a header before the array. 2019-05-08 09:30:06 -06:00
David Hall 56f517d6e9 Updated project information for 2.3.8 2019-04-30 08:00:06 -06:00
David Hall 58f0175592 Converted ACCESS_MASK from an enum to a struct so that it can be used universally to signify an access mask. 2019-04-29 11:29:50 -06:00
David Hall 0cc1d914d0 Updated project files for 2.3.7 release 2019-04-24 08:48:29 -06:00
David Hall 25502eb898 Work to harden and extend functionality of CallMethodWithTypedBuf 2019-04-24 08:28:58 -06:00
David Hall 348fc7b7f7 Added class to handle linked list of native structures in memory 2019-04-24 08:28:18 -06:00
David Hall 0383068abe Added documentation and protected constructor to allocate just raw memory 2019-04-24 08:27:31 -06:00
David Hall 8770bc4bae Updated documentation, added mem-zeroing on array set 2019-04-24 08:26:50 -06:00
David Hall 2fff530939 Added static FromException method 2019-04-24 08:25:33 -06:00
David Hall dbdcdd2107 Added default size getter and shortened version to CallMethodWithTypedBuf 2019-04-18 20:38:45 -06:00
David Hall 26f843a69c Updated project data 2019-04-17 12:51:25 -06:00
David Hall 3a56122887 Updated documentation 2019-04-17 12:51:11 -06:00
David Hall 5597d959c2 Updated documentation 2019-04-17 12:25:05 -06:00
David Hall c92d5228ef Major repairs of WinCon functions and structures. Some breaking changes, but only to fix problems. 2019-04-17 11:43:19 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall f0ce103165 Updated project file information 2019-04-09 15:20:49 -06:00
David Hall 73792290f6 Broke down and finally used an unsafe struct for this. 2019-04-08 19:44:08 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3d60a65f8d Added full support for cabinet.dll 2019-03-12 08:02:51 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 518903ac95 Added CM_RESOURCE_LIST and supporting structures and enums 2019-03-07 10:25:33 -07:00
David Hall 1b42ce1df2 Added CorrespondingType attributes and GetValue extension method for REG_VALUE_TYPE 2019-03-07 09:28:20 -07:00
David Hall 708d2fc39d Removed IErrorProvider constraint 2019-03-07 09:27:35 -07:00
David Hall dfd7f9a4a2 Derived all error structures from IErrorProvider 2019-03-02 11:09:00 -07:00
David Hall 8c7636aff5 Added PowrProf.dll and all functions 2019-03-01 12:34:56 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall eba27e984c Prepped projects for release 2019-02-22 16:11:12 -07:00
David Hall 93a4982951 Changed type of INVALID_FILE_HANDLE to HFILE instead of IntPtr 2019-02-20 15:29:42 -07:00
David Hall 20ad66606d Added code to handle singleton binding of device handles. Risk is if system reuses handle during process execution. 2019-02-20 15:29:06 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall b5774816ad Attempt to fix #41 2019-02-20 11:02:06 -07:00
David Hall f3d5187ef5 Added some winsock2 functions 2019-02-20 10:50:17 -07:00
David Hall bef4a869ba Added SafeHANDLE to HANDLE implicit operator and adjusted SafeHANDLE == operator to address `default` values (#40). 2019-02-19 14:16:44 -07:00
David Hall 6e8a3adabc Added support for testing platform validity against PInvoke.MinClient attribute. 2019-02-16 17:41:14 -07:00
David Hall 05887bfac4 Updated project files for release 2019-02-11 19:38:05 -07:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall b51aef42d2 Introduced structure based HANDLE for better compatibility 2019-02-04 10:56:15 -07:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall 8f1e78e0f3 Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. 2019-01-21 08:42:39 -08:00
David Hall 120217f963 Didn't need one of the explicit operators afterall 2019-01-17 22:56:04 -08:00
David Hall 7b67a1265d Added explicit conversions from bool and Win32Error 2019-01-17 20:52:41 -08:00
David Hall fd06ac5e0a Moved REG_VALUE_TYPE enum from AdvApi32 to Shared 2019-01-16 08:07:46 -07:00
David Hall 0f1acd2276 Moved registry hive values to HKEY 2019-01-16 08:06:31 -07:00
David Hall 3da3c81694 Added INVALID_HANDLE_VALUE to HFILE 2019-01-15 12:17:37 -07:00
David Hall 8fa7d0aafa Changed project versions to 2.1.3 2019-01-14 14:46:49 -07:00
David Hall 1e16ceed27 Updated copyright and PackageTags formatting in project files 2019-01-07 15:00:20 -07:00
David Hall b35d873906 Changed project versions to 2.1.2 2019-01-02 20:30:36 -07:00
David Hall 4356d92c71 Changed project versions to 2.1.1. 2018-12-17 11:45:32 -07:00
David Hall eb902e4595 Fixed build errors and warnings due to XML comments and obsolete license reference in project files. 2018-12-15 13:44:33 -07:00
David Hall 94b8fe0ffe Improved project file references 2018-12-15 09:01:43 -07:00
David Hall 53df4ac64a Modified projects to support .NET Core 2.0 and 2.1 2018-12-14 15:10:31 -07:00
David Hall 8d0813cd51 Changed netstandard20 to netstandard2.0 in all project files to comply with updated MS preferences 2018-12-14 13:07:18 -07:00
David Hall c6451bf9b3 Updated version to 2.1.0 to indicated addition of Theraot.Core as a dependency. 2018-12-11 11:34:44 -07:00
David Hall 33b358033d Updated project information to version 2.0.1 and signed all assemblies. 2018-12-07 13:53:39 -07:00
David Hall 5503912e5c More work on NCrypt and added TokenBinding 2018-12-04 10:12:24 -07:00
David Hall 0a7b5f82bf Added NCrypt to PInvoke.Cryptography 2018-12-03 18:07:06 -07:00
David Hall 7cd2e23aca Added BCrypt.dll library 2018-12-02 12:19:31 -07:00
David Hall fed13f093c Updated project files for 2.0.1 2018-11-30 14:34:07 -07:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall d434ec4527 Updated project files for 2.0 release 2018-11-28 08:53:23 -07:00
David Hall 9112d0b634 Fixed bug with Equals method 2018-11-28 07:46:19 -07:00
David Hall de61f90621 Fixed problems with TypeConverter 2018-11-27 12:05:17 -07:00
David Hall c5467dfb7e Another 2.0 major commit. All tests working. 2018-11-19 21:18:50 -07:00
David Hall 627c6d2314 2.0 Checkin - Buildable 2018-10-26 12:24:07 -06:00
David Hall bfd2730324 Changed project builds to use latest C# minor version 2018-09-27 09:46:40 -05:00
David Hall 07b35daee3 Updated projects to version 2.0.0 2018-09-21 23:28:01 -06:00
David Hall 138accc380 MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters. 2018-09-21 22:35:34 -06:00
David Hall 46d20def8b Updated project files with updated stats 2018-09-19 06:54:43 -06:00
David Hall dcfb8cfc4f Added GetHashCode, ToString and implemented IEquatable<T>, IComparable<T>, and IConvertible for SizeT 2018-09-10 15:51:11 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall 5301e3420f Added POINTS structure (Point with short coordinates) 2018-08-24 10:51:09 -06:00
David Hall 0f476165ca Updated all versions to 1.0.19 2018-08-18 21:37:35 -06:00
David Hall 411b857d01 Revert "Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties.""
This reverts commit a454d5055d.
2018-08-18 19:38:27 -06:00
David Hall a454d5055d Revert "BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties."
This reverts commit 733e30b868.
2018-08-18 19:33:40 -06:00
David Hall 733e30b868 BREAKING CHANGE: Removed ResourceId and ResourceIdUni as they pose a major risk for memory leaks. Updated dependent structures PROPSHEETPAGE and TASKDIALOGCONFIG with IntPtr and supporting properties. 2018-08-18 19:33:00 -06:00
David Hall 1ee6873cc7 Updated documentation 2018-08-14 11:02:20 -06:00
David Hall f844f6a8f2 Updated projects for 1.0.18 release 2018-08-10 11:54:21 -06:00
David Hall efd86528a1 Completed work on MPR.dll 2018-07-26 22:32:03 -06:00
David Hall 6c77595ea2 Updated correlation reports and project files after fixing analysis tool 2018-07-07 21:35:28 -06:00
David Hall a69e19ebc6 Updated project files and information to 1.0.16 2018-07-02 16:22:56 -06:00
David Hall fe7e89fba8 Moved COLORREF from Gdi32 to Shared 2018-06-28 18:01:46 -06:00
David Hall c85b8d8fc4 Version 1.0.15 project file updates 2018-06-27 13:25:04 -06:00
David Hall 4fc0dee906 Moved LOGFONT from Gdi32 to reduce references 2018-06-27 13:04:59 -06:00
David Hall 0b182d72a6 Added PInvoke info 2018-06-16 19:46:47 -06:00
David Hall d4d804e7a3 Updated project files for 1.0.14 2018-06-08 12:00:08 -06:00
David Hall a406749d98 Updated for build 1.0.13 2018-06-06 12:05:52 -06:00
David Hall 8df9eba7bb Updated project files with new versions and comments 2018-05-30 12:32:03 -06:00
David Hall 7bd7cae7d8 Added kernelbase refernce 2018-05-29 17:46:52 -06:00
David Hall adf84f144e Added SizeT structure to mimic SIZE_T and updated library strings 2018-05-13 21:39:36 -06:00
David Hall 2cfce3c7d3 Updated versions to 1.0.12 and corresponding release notes 2018-04-05 14:54:36 -06:00
David Hall 09dd4c1e70 Update report files and release notes 2018-04-04 09:27:40 -06:00
David Hall 0d8b96fe9b Corrected XML documentation errors 2018-04-03 18:35:18 -06:00
David Hall 6551700381 Updated versions to 1.0.11 and corresponding release notes 2018-04-03 17:58:52 -06:00
David Hall b83f78ce2a Added file operation errors 2018-04-03 13:18:36 -06:00
David Hall 84b7a3bada Updated to version 1.0.10 2018-03-26 19:19:38 -06:00
David Hall 30554d4c67 Updated builds and reports with updated constucts 2018-03-26 16:56:47 -06:00
David Hall cd9e856f77 Changed version to 1.0.9 2018-03-26 15:06:12 -06:00
David Hall dbf2e68121 Updated projects to version 1.0.8 2018-02-07 09:44:01 -07:00
David Hall 1ddaa1cf77 Added Crypt32.dll reference 2018-01-29 07:51:39 -07:00
David Hall c5885b4c17 Updated projects for 1.0.7 build. 2018-01-27 15:07:38 -07:00
David Hall b21434bd53 Fixed error handling bug in AssociateAttribute.GetGuidFromEnum 2018-01-20 18:01:53 -07:00
David Hall 50d7fb69d8 Added MSG struct 2018-01-20 18:01:01 -07:00
David Hall e6910dc9a9 Fixed bug with CoTaskMemStringMarshaler being used for return values and is never called. Added marshaler to places where appropriate. 2018-01-15 09:41:05 -07:00
David Hall e617c912a3 Added GetCustomAttributes extension method and converted existing uses. 2018-01-12 11:41:42 -07:00
David Hall aee3e99e87 Added AssociateAttribute to tie a Guid to an element 2018-01-11 08:58:26 -07:00
David Hall 9f2d1c1c60 Added SafeElementArray class to Core to handle BLOB types 2018-01-06 16:37:05 -07:00
David Hall 9b7e3ef765 Rolled project versions to 1.0.6 2017-12-29 13:54:58 -07:00
David Hall b9a8ac50d0 Added stub project for IpHlpApi.dll 2017-12-24 10:34:16 -07:00
David Hall ea0dd3fd16 Changed project version to 1.0.5 2017-12-14 21:26:21 -07:00
David Hall 57375676b5 Removed unneeded references from project dependencies 2017-12-14 11:37:56 -07:00
David Hall a30f82d282 Lots of assembly refactoring: split PInvoke.User32 so GDI functions are in separate assembly, moved system classes from Vanara.UI to Vanara.System, split off shell classes to Vanara.Windows.Shell 2017-12-12 18:41:40 -07:00
David Hall c531d22515 Updated projects to 1.0.4, added release notes, and updated correlation reports. 2017-12-10 18:45:07 -07:00
David Hall 9c39eec5f9 * Changed projects to v1.0.3
* Fixed DllImport attributes to match native methods
* Added Crypt32 and Mpr projects
2017-12-06 08:54:01 -07:00
David Hall 7fd5dbb3b6 Updated images in readme and NuGet packages. 2017-11-29 11:11:01 -07:00
David Hall 6b45f2ab1d Changed all project files to build XML-doc on release and changed from .NET 4.61 to 4.5 to avoid use problems with all versions between them. 2017-11-28 17:12:19 -07:00
David Hall 8a3f943b11 Added tests around IEnumFromIndexer and fixed a bug related to the indexer property not being zero based 2017-11-28 09:52:34 -07:00
David Hall d33fa43e7b Minor cleaning and reorganizing 2017-11-28 09:00:10 -07:00
David Hall 951dc44dd8 Changed base of IEnumFromIndexer to IReadOnlyCollection since you mostly get it for free. 2017-11-28 08:52:03 -07:00
David Hall 35aa651977 Changed project files to version 1.0.2 and to have NuGet packages only build on Release 2017-11-27 20:30:54 -07:00
David Hall b208f82df4 Updated projects and dependencies to allow for .NET Standard builds for all non-UI projects. 2017-11-27 16:50:18 -07:00
David Hall b44f91b5a1 Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd 2017-11-27 10:18:01 -07:00