Then we can start using the pinvoke source generation. https://learn.microsoft.com/en-us/dotnet/standard/native-interop/pinvoke-source-generation