https://learn.microsoft.com/en-us/dotnet/framework/interop/how-to-generate-primary-interop-assemblies-using-tlbimp-exe
How to: Generate Primary Interop Assemblies Using Tlbimp.exe - .NET Framework | Microsoft Learn
Learn how to generate primary interop assemblies using the Type Library Importer (Tlbimp.exe) that's provided by the Windows SDK.