Commit Graph

19 Commits (7c032ba708e713ba65ec96e544d9226bc487e97d)

Author SHA1 Message Date
dahall 51bd754440 Cleaned Win32Error and fixed some docs 2022-07-10 17:29:30 -06:00
dahall 093916caae Fixed bug in Win32Error.ThrowLastErrorIf method that would exception if error was success. 2022-03-10 17:44:40 -07:00
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
dahall 62aa360cc3 Added default param to ThrowLastErrorIf method 2021-04-06 12:46:45 -06:00
dahall 4dc0871047 Added generic Win32Error.ThrowLastErrorIf method 2021-04-06 12:44:00 -06:00
dahall aff898c849 Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed. 2021-01-24 18:55:49 -07:00
dahall 6f0255aa56 Changed ThrowLastErrorIfInvalid to a generic method to return the same type as the delegate 2020-12-20 08:27:17 -07:00
dahall e701d99c1b BREAKING CHANGE: Due to performance, changed IMemoryMethods and ISimpleMemoryMethods to contain method signatures instead of properties of method delegates. Then changed all derived memory classes to new interface definition. I believe most of this only affects internal classes so hopefully not a huge effect on your code. 2020-07-20 09:48:32 -06:00
dahall 9c2cdc2c1c Fixed spacing 2020-05-04 10:55:58 -06:00
dahall d353468dd7 Reorganized and formatted. 2020-05-04 10:21:51 -06:00
dahall f209be7395 Changed GetHashValue to return raw value. 2020-04-28 11:00:46 -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
David Hall 4322becff6 Added better documentation 2019-09-05 19:59:25 -06:00
David Hall 86ad257ff6 Added ThrowUnless and static ThrowLastErrorUnless methods 2019-08-27 08:25:12 -06:00
David Hall 2fff530939 Added static FromException method 2019-04-24 08:25:33 -06:00
David Hall dfd7f9a4a2 Derived all error structures from IErrorProvider 2019-03-02 11:09:00 -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 b44f91b5a1 Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd 2017-11-27 10:18:01 -07:00