RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.FindHInstance Function

Returns the instance handle of the module that contains a specified address.

Pascal
function FindHInstance(Address: Pointer): LongWord;
C++
LongWord FindHInstance(void * Address);

System

Use FindHInstance to obtain the HInstance of the module that "owns", or contains, the address specified by the Address parameter. If no HInstance is found for that address, FindHInstance returns 0. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!