You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, but that doesn't explain why the change was made. So now it's more consistent with the documentation for some APIs but inconsistent with many other prominent APIs like CreateWindow and friends. I don't really mind which it is since they're equivalent, but arbitrary changes just cause unnecessary ripples. Perhaps just something to keep in mind in future.
The changes aren't arbitrary. This is Win32 metadata and HMODULE is the Win32 variant. HINSTANCE is an artifact of Win16. This change updates the typedef to the modern variant.
Activity
mikebattista commentedon Mar 23, 2023
See #834. This is intentional.
kennykerr commentedon Mar 23, 2023
Thanks, but that doesn't explain why the change was made. So now it's more consistent with the documentation for some APIs but inconsistent with many other prominent APIs like
CreateWindowand friends. I don't really mind which it is since they're equivalent, but arbitrary changes just cause unnecessary ripples. Perhaps just something to keep in mind in future.mikebattista commentedon Mar 23, 2023
The changes aren't arbitrary. This is Win32 metadata and
HMODULEis the Win32 variant.HINSTANCEis an artifact of Win16. This change updates the typedef to the modern variant.