hmod
Know your HMODULE!
This library provides a straightforward way to retrieve the HMODULE (or HINSTANCE) identifying the module that contains the currently executing code. It reliably determines the module handle, whether linked into a DLL, an EXE, or an intermediate rlib.
Usage
Display the main module's load address:
Load a cursor from the module's resources section:
use ;
let cursor = unsafe ;