Skip to content

Release Notes - 4.1.4

Choose a tag to compare

@dahall dahall released this 07 Jun 15:07
· 382 commits to master since this release

Breaking Changes

  • Changed ID2D1RenderTarget.EndDraw to return HRESULT and added more overloaded extension methods.Fixed mult op, added ctor and Skew to D2D_MATRIX_3X2_F
  • Breaking change: Fixed missing enum params in scrollbar functions
  • Breaking change: Changed type of CLAIM_SECURITY_ATTRIBUTE_V1.Name from string to StrPtrUni to work more easily with unmanaged memory which is required by the rest of the structure.Moved memory references from SafeMemoryHandleExt to parent SafeAllocatedMemoryHandle for broader use.Fixed bug in PSID_IDENTIFIER_AUTHORITY.ctor(IntPtr)

Fixes

  • Minor attribute updates to IClassFactory.CreateInstance
  • Fixed argument for StringHelper.Write so that it doesn't break existing code.
  • Implemented suggest fix for WindowBase.Create event #534
  • Fixed bugs in SizeT conversions
  • Fixed bug in ResourceId.id setter not handling 0.
  • Fixed bug in ImageListExtension.ToImageList
  • Updates to ShellContextMenu and bug fix #536
  • Change ShellItem.InvokeVerb to use ShellExecuteEx instead of IContextMenu.InvokeCommand for better compatibilityMore work on ShellContextMenu
  • Fixed CLAIM_SECURITY_ATTRIBUTE_V1 test to work with new change
  • Adjusted PSID.ToString(string) to get common name with fewer privileges
  • Fixed param type in NCrypt.NCryptSignHash
  • Fixed misspelling in WpdParameterAttributeForm value
  • Fixed problem with ID2D1RenderTarget.GetSize and GetPixelSize methods throwing memroy errors with return types.

Additions

  • Added support for .NETStandard 2.1 and fixed bug #532
  • Added first release of complex generic marshaler for structures
  • Added ICreateSafeMemoryHandle to allow for interface creation of a safe memory handle and implemented in Core, Kernel32, and Cryptography assemblies.
  • Added StringHelper methods to handle encoded strings
  • Added IntPtr.ToStringEnum extension method handling encoded strings
  • Added StringHelper.Write method with encoder
  • Added AdvApi32 RegRenameKey method #535
  • Added Encoding variants to IntPtr.Convert extensions
  • Updated memory handles to use factory and handle disposable subrefrences
  • Added extension IntPtr.ToStringEnum with encoding
  • Added IntPtr.GetNulledArrayLength and fixed IntPtr.ToStringEnum for concattenated stringsCommits on May 21, 2025
  • Added size constants to CMINVOKECOMMANDINFOEX
  • Added SDDL string constants
  • Updated AdvApi32 structures in WinNT with new *Pointer values
  • Added lots of missing constants to PortableDeviceApi
  • Made IPortableDeviceServiceManager.GetDeviceServices param nullable
  • Added support for accelerators with MessagePump and VisualWindow
  • Added more D2d1 helpers
  • Enhanced D3DCOLORVALUE with more conversions and constructors
  • Added D2D_MATRIX_3X2_F.Rotation
  • Added DirectX error values from winerror.h