System.FindHInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindHInstance(Address: Pointer): HINST;

C++

extern DELPHI_PACKAGE NativeUInt __fastcall FindHInstance(void * Address);

Properties

Type Visibility Source Unit Parent
function public
System.pas
System.hpp
System System

Description

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

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.

See Also