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.