Pascal Scripting: CallDLLProc

Inno Setup

Pascal Scripting: CallDLLProc

Prototype:

function CallDLLProc(const DLLHandle: Longint; const ProcName: String; const Param1, Param2: Longint; var Result: Longint): Boolean;

Description:

Calls the specified function in a DLL specified using the DLL handle returned by LoadDLL. Returns True is the procedure was called successfully, False otherwise.
The function must use the standard calling convention, accept two 4 byte integer parameters and return a 4 byte integer result.

Remarks:

This function is deprecated. See the Using DLLs topic.