Skip to content

Release Notes - 4.1.2

Choose a tag to compare

@dahall dahall released this 16 Apr 20:19
· 438 commits to master since this release

Additions

  • Added Vanara.PInvoke.Dcomp for DirectComposition
  • Added explicit converter operators to IntPtr for all static XXPointer structs
  • Added IHandle.IsInvalid and adjusted all implementers
  • Added equality support to LUID
  • Added Win32Error.ThrowLastErrorIfNull that handles null class values
  • Updated base handle equality
  • Added new FwpUClnt elements (#525)
  • Added simplified System.Index and System.Range structs for .NET 4.8 and .NET Std 2.0
  • Added Vanara.BitField struct to simplify bit fields in structures and updated bit fields in Shared and Kernel32 as additional tests.

Breaking changes

  • Many changes in User32 to make WindowClass and WindowBase wrappers work. There are some breaking changes with removed and added procedures to both wrappers.
  • Made all IUnknown out parameters nullable to handle output when result is a failure
  • Obsoleted AnySizeStructFieldArray
  • Added Win32.ThrowLastErrorIfInvalidHandle to handle IHandle implementers
  • Removed IDCompositionAnimation from UIAnimation now that Dcomp is done.
  • Removed X86 and X64 Platform specs

Fixes

  • Adjustments to all assemblies after adding code generator for all methods that can retrieve a casted IUnknown pointer
  • Fixes to some autohandle conversions
  • Updated IntPtr references in ActiveDS and DirectoryServices to Pointer structures
  • Fixed readonly declarations on ResourceId
  • Fixed some nullable parameters
  • Fixed bug in SYSTEM_LOGICAL_PROCESSOR_INFORMATION definition (#524)
  • Applying unfunctional and unincluded IUnkMethodGenerator so that build occurs for other commits
  • Added unit test for WinTrust and fixed some errors in WinTrust
  • A number of fixes and extensions added to BCrypt and NCrypt, most notably with any methods using NCryptBufferDesc.
  • Added missing BCrypt and NCrypt algorithm tags
  • Extended OverlappedAsyncBase.EndOverlappedFunction to allow for the wait state to have a timeout. (#528)