haskell / win32

Haskell support for the Win32 API
http://hackage.haskell.org/package/Win32
Other
97 stars 63 forks source link

Use `HMODULE`, not `HINSTANCE`, in type signatures for `loadLibrary{,Ex}` #213

Closed RyanGlScott closed 2 years ago

RyanGlScott commented 2 years ago

The type signatures for loadLibrary and loadLibraryEx now refer to HMODULE instead of HINSTANCE for consistency with the official Win32 API documentation. Note that HMODULE and HINSTANCE are both type synonyms for the same thing, so this only changes the presentation of these functions' type signatures, not their behavior.

Fixes #211.

Types of changes

Checklist:

Mistuke commented 2 years ago

Thanks for the patch!