PointerToolkit.TerraFX.Interop.Windows

Pointer casting helpers for the TerraFX.Interop.Windows package

Stars
2
Committers
2

Bot releases are visible (Hide)

PointerToolkit.TerraFX.Interop.Windows - v10.0.22621.6 Latest Release

Published by rickbrew 5 months ago

Updated for TerraFX.Interop.Windows v10.0.22621.6 (can't link to it, it's not on the releases page yet)

This release adds the P wrapper structs. Check out the README.md for more info. This solves an enormous performance problem I was having with my build, whereby PaintDotNet.Windows.Framework.dll was taking 40 seconds to build on a Ryzen 9 7950X CPU. The issue was that there were ~6500 __cast() methods that the compiler was constantly scanning through. Switching to the new P structs has reduced my compile times to 2 seconds.

I highly recommend checking out the new P wrapper structs! The syntax isn't as elegant as __cast(), as you need to use the specific type with each use (e.g. ID2D1SolidColorBrush* can only cast to `PID2D1SolidColorBrush), but you still get the big win of type-safe pointer casting.

PointerToolkit.TerraFX.Interop.Windows - v10.0.22621.5

Published by rickbrew 10 months ago

PointerToolkit.TerraFX.Interop.Windows - v10.0.22621

Published by rickbrew almost 2 years ago

This is the first stable release.

PointerToolkit.TerraFX.Interop.Windows - v10.0.22621-preview2

Published by rickbrew almost 2 years ago

Updated for TerraFX.Interop.Windows v10.0.22621.

PointerToolkit.TerraFX.Interop.Windows - v10.0.20348-preview1

Published by rickbrew over 2 years ago

Initial release of package. Versioning will match that of the corresponding TerraFX.Interop.Windows package that is used for code generation.