System.FindResourceHInstance

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FindResourceHInstance(Instance: HINST): HINST;

C++

extern DELPHI_PACKAGE NativeUInt __fastcall FindResourceHInstance(NativeUInt Instance);

Properties

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

Description

Returns the instance handle of the resource module associated with a specified HInstance.

FindResourceHInstance finds and returns the instance handle of the resource module associated with the executable, library, or package identified by the Instance parameter.

FindResourceHInstance returns 0 upon failure.

Note: The Instance parameter must be a valid instance handle.

See Also