Skip to content

Release Notes - 5.0.5

Latest

Choose a tag to compare

@dahall dahall released this 16 May 15:49
· 9 commits to master since this release

Additions

  • Added support for non-null initializers in generated SizeDef methods
  • Added User32.ConvertPrimaryPointerToMouseDrag method
  • Added interface IStructMemoryHandle over SafeMemStruct<TStruct, TMem>Added more code generation attributes to top 10 downloaded projects
  • Added interfaces from AzRoles to PInvoke.Security

Fixes

  • Breaking Change: Simplified ReadFile due to problems with confusing and conflicting method signatures, especially with generated methods.
  • Fixed method decl for EnumLayoutOrTipForSetup in Vanara.PInvoke.TextServicesFramework (#611)
  • Additions of generator attributes for methods with arrays.
  • Changed generator to use plain memory handles to enable broader marshaling that SafeHGlobalStruct
  • Changed InteropExtension.MarshalToPtr to handle null values and return IntPtr.Zero
  • Fixed issue with generated User32.GetClassName (#612)
  • Fixed various issues with generated methods