Commit Graph

1571 Commits (fb9010516546a056c203b8a936502e2d234dd925)

Author SHA1 Message Date
dahall fb90105165 Added SafeGuidPtr for instances where GUID is optional. 2020-05-20 12:25:55 -06:00
dahall b309678901 Fixed sizing to include enums 2020-05-20 12:25:19 -06:00
dahall cb9b5a7c62 Added IPropertyBag2 and supporting elements 2020-05-17 17:02:43 -06:00
dahall ab586bd279 Updated tests to check on #120 2020-05-17 09:46:40 -06:00
dahall 67e89b5472 Fixed incorrect parameters for file mapping functions and added HSECTION and SafeHSECTION handles. 2020-05-16 15:15:33 -06:00
dahall 3ec625b5dc Changed SafeMibXX AsReadOnlySpan to AsSpan and returned Span<T> 2020-05-16 13:57:21 -06:00
dahall f67c02dc14 Added SafeAllocatedMemoryHandle.AsReadOnlySpan extension method and changed Span methods to use IntPtr extensions. 2020-05-16 08:56:21 -06:00
dahall a75f2dd17d Fixed Vanara.Collection references 2020-05-15 18:58:39 -06:00
dahall 589d47c3b6 Added classes to enumerate on pointer elements (NativeMemoryEnumerator and UntypedNativeMemoryEnumerator). Changed IntPtr.ToIEnum methods to use new classes and added IntPtrGetEnumerator extension methods. 2020-05-15 16:37:15 -06:00
dahall 385fceeaf6 Added SafeMibEntryBase<T>.TableAsSpan property and SafeMibTableHandle.AsReadOnlySpan method (for supported platforms) 2020-05-15 11:41:22 -06:00
dahall 5c726943b3 Added IntPtr.AsSpan and IntPtr.AsReadOnlySpan extension methods 2020-05-15 11:40:11 -06:00
dahall 30aabcaaed Added Equals(TStruct) method to SafeMemStruct to prevent boxing when comparing. (Thanks @NN) 2020-05-15 06:46:55 -06:00
dahall a4347bc595 Changed project versions to 3.2.8 2020-05-14 20:48:55 -06:00
dahall bcafee296b Changed extension of CoreAudio project file to prevent build 2020-05-14 20:48:35 -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 ab42b87b0c Moved SafeAllocatedMemoryHandle.Dump back under DEBUG only build. Added AsSpan and AsBytes methods to SafeAllocatedMemoryHandle for frameworks supporting Span<T>. Added SafeMemoryHandleExt.AsRef<T> method for getting a Span of a structure from the memory. 2020-05-14 17:53:35 -06:00
dahall d1f19d705b Added System.Memory NuGet package reference for supported frameworks 2020-05-14 17:51:09 -06:00
dahall 29fae55e15 Added System reference from .props and new ALLOWSPAN definition for framework versions that support Span<T>. 2020-05-14 17:49:16 -06:00
dahall 43707b48c7 Moved System reference to .targets as TargetFramework can change with each project. 2020-05-14 17:48:09 -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 db2ab70ff1 Fixed bugs in DeviceNotifyCallbackRoutine and PowerSettingRegisterNotification declarations (#122) 2020-05-14 10:09:47 -06:00
dahall e2eea570c2 Added PowerBroadcastType enum and POWERBROADCAST_SETTING struct for WM_POWERBROADCAST messages 2020-05-14 10:08:45 -06:00
dahall 7761b13f13 Fixed documentaiton bug 2020-05-14 10:07:36 -06:00
dahall e2d3411a86 Initial (untested) push of Core Audio API 2020-05-11 10:26:34 -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
dahall efcd560dbd Added DnsGetCacheDataTable w/ unit test (#121) 2020-05-11 10:24:10 -06:00
NN df99d91f26
Add NO_ERROR constant. (#119) 2020-05-11 06:44:11 -06:00
dahall 095dc0ef88 Oops. Updated project files for 3.2.7 release. 2020-05-04 14:47:44 -06:00
dahall 857ca0ad2e Added info on CldApi and ProjectedFSLib 2020-05-04 14:43:59 -06:00
dahall 88ad038496 Updated unit tests for errors based on underlying type changes. 2020-05-04 12:41:48 -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 d90581309f Added PrjUpdateFileIfNeeded overload 2020-05-04 11:25:22 -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 1efa3a860a Completed work on CldApi with unit tests 2020-05-01 15:26:16 -06:00
dahall eca7516d87 Added Win10 cloud and file errors 2020-05-01 15:25:52 -06:00
dahall ce4043a30c Added get properties for all parameter fields for CF_CALLBACK_PARAMETERS 2020-04-30 11:22:24 -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 854ab9536d Fixed issue with duplicates by only grabbing first value's field. 2020-04-28 11:01:15 -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 1a68d72ebd Changed CF_CALLBACK to simplify second param 2020-04-26 14:10:14 -06:00
dahall 1ac76ca085 Fixed parameter of CfConnectSyncRoot 2020-04-25 17:06:02 -06:00
dahall 990e99982e Added IExplorerCommand and supporting interfaces and constants 2020-04-25 16:20:09 -06:00