Could we have tests for that (assuming it's what `CreateTypeLib` does)? Maybe even implement it and share the code with it somehow?
I don't see how that could work with widl. Besides, it seems that using it in wine-staging for 7+ years could qualify as some sort of testing.