delphi 语言调用C++的DLL, 怎么接收参数是引用?

delphi 调用C++的Dll,函数参数的引用,delphi 调用的时候该怎么接收啊?
图片说明
就像这样,delphi该怎么用啊

delphi里面参数如果是引用类型在参数前面加var就行了。
function RecognizeForm(var nCellCount:Integer;var nTemplateType:Integer):Integer;register;external 'dllname.dll';

register对应PASCAL EXPORT,因为你这里没有说明这个是什么类型。