

As an additional data point, I’ve also verified this by patching a current Windows 11 wintrust.dll (v10.0.26100.7705 - 531KB) using the same script that was originally tested against the provided wintrust.dll (v10.0.19041.630 - 374KB).
In this case, the patch applied cleanly, the expected byte changes were made, and behaviour was consistent.
This confirms that using a wintrust.dll from a legitimate Windows installation generally works in practice even when versions differ, while the provided DLL remains the known and tested baseline.
This issue is already addressed in its own dedicated section within the GenP Setup, Troubleshooting, and Best Practices Guide.
It has also been discussed in GenP Stoat and in a post within the Announcements channel.
Additionally, the issue has been thoroughly discussed right above your own post in GenP Stoat. Had you scrolled back a bit, you would have found the relevant details before posting.
For more detailed information, refer to the guide section.