function CallDLLProc(const DLLHandle: HMODULE; const ProcName: String; const Param1, Param2: NativeInt; var Result: NativeInt): Boolean;
Calls the specified function in a DLL specified using the DLL handle returned by LoadDLL. Returns True if the procedure was called successfully, False otherwise.
The function must use the standard calling convention, accept two NativeInt parameters and return a NativeInt result.
This function is deprecated. See the Using DLLs topic.