https://bugs.winehq.org/show_bug.cgi?id=56914
--- Comment #4 from Mohamad Al-Jaf mowinebugs@mail.com --- In this case, I was already familiar with the header and its housing DLL because I was looking to implement it for Adobe Premiere Pro. Testing it out with this small program is much faster though, so that helped speed up the process, thanks for that.
I thought about writing a tool to generate the boilerplate code, but I never got around to it. Though, just searching and replacing is fast enough for me. Also, for me, the most daunting part are the headers. They often have multiple dependencies, which can get quite tedious. Automating this part would save most of the time.
MR: https://gitlab.winehq.org/wine/wine/-/merge_requests/5992