Commit Graph

51 Commits (ee9d5b44103f11f49f7d1ea6a24b7810c19807c9)

Author SHA1 Message Date
dahall 5c0dbc913b More work on NdfApi 2022-08-10 14:34:37 -06:00
dahall 51bd754440 Cleaned Win32Error and fixed some docs 2022-07-10 17:29:30 -06:00
dahall dba346c0d0 BREAKING CHANGE: Removed winsock errors from Win32Error (incorrect fit). 2022-07-10 17:21:25 -06:00
dahall 5bf2fce31e Added IErrorProvider as equatable for HRESULT 2022-06-28 15:04:13 -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 5b6db2cfe6 Added Vanara.PInvoke.IMAPI (Image Mastering API) assembly 2021-03-28 16:35:57 -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 51e1dfe133 Added IScsiDsc library 2021-01-19 11:18:23 -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 bde637b8d3 Fixed condition in HRESULT.FormatMessage that fails when MUI file couldn't be found. 2020-09-14 17:15:23 -06:00
dahall 7b44c23bda Added DRT.dll library 2020-08-31 16:55:50 -06:00
dahall abcc1e276d Removed duplicates 2020-08-30 21:14:24 -06:00
dahall 0469e26f83 Initial PeerDist.dll implementation 2020-08-30 21:11:35 -06:00
dahall d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06: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
Jean-Bernard Pellerin 88856b5a94
Update Win32Error.Values.cs typo in identifier (#141)
ERROR_EVT_EVENT_DEFINITION_NOT_OUND to ERROR_EVT_EVENT_DEFINITION_NOT_**F**OUND (value 0x00003AB8)
2020-06-25 14:46:18 -06:00
dahall 99a1f77520 Added Core Audio HRESULT values 2020-05-11 10:25:35 -06:00
dahall 18937a70a6 Added missing HRESULT Facility enum values 2020-05-11 10:24:59 -06:00
NN df99d91f26
Add NO_ERROR constant. (#119) 2020-05-11 06:44:11 -06:00
dahall 0b4032473b Fixed issues when converting from UInt32 and FormatMessage when no message was found. 2020-05-04 12:41:26 -06:00
dahall 9c2cdc2c1c Fixed spacing 2020-05-04 10:55:58 -06:00
dahall d6a7e5f4aa Added IEquatable<int> implementation 2020-05-04 10:55:43 -06:00
dahall 64e007e564 Added IEquatable<int> implementation and FromExcpetion, HRESULT_FROM_NT and HRESULT_FROM_WIN32 methods 2020-05-04 10:55:11 -06:00
dahall d353468dd7 Reorganized and formatted. 2020-05-04 10:21:51 -06:00
dahall eca7516d87 Added Win10 cloud and file errors 2020-05-01 15:25:52 -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
dahall ee9580be2f Added NTStatus.NTSTATUS_FROM_WIN32 function and implicit operator from Win32Error to NTStatus using that function. 2020-04-25 15:39:58 -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 9143f753a2 Exposed NTStatus.ToHRESULT method and explicit conversion operator to HRESULT 2020-03-13 15:42:32 -06:00
David Hall a7af7ccbd4 Completed all unit tests and function changes for all functions in WinInet.dll 2019-09-20 13:04:38 -06:00
David Hall 4322becff6 Added better documentation 2019-09-05 19:59:25 -06:00
David Hall 4012278106 Added support for Pdh functions in pdh.dll. Some unit tests completed. 2019-09-03 16:54:41 -06:00
David Hall 4cae44c14e Added explicit operator to uint 2019-09-02 17:09:39 -06:00
David Hall 86ad257ff6 Added ThrowUnless and static ThrowLastErrorUnless methods 2019-08-27 08:25:12 -06:00
David Hall 5fed9eda66 Updated GetAppContainerNamedObjectPath with better params, docs, unit test and error 2019-07-11 15:13:00 -06:00
David Hall 0d50ee7fc6 Added some missing values 2019-07-10 15:32:17 -06:00
David Hall 1a444b4fbc Added many more errors 2019-06-15 13:50:40 -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 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 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 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 1ee6873cc7 Updated documentation 2018-08-14 11:02:20 -06:00
David Hall b83f78ce2a Added file operation errors 2018-04-03 13:18:36 -06:00