HInstance is the handle provided by Windows operating system
for an applicaiton or library.
Declaration:
var hInstance: Longint;
Remarks HInstance contains the instance handle of the application
or library as provided by the Windows operating system environment.
HInstance is not global, inheritable, or duplicative,
and it cannot be used by another process.