function 函数名(参数..): 返回值; stdcall; external dll文件;例如function dtywzxUI(nCode:Integer; lParam:Integer; lpcszBuffer:PChar): Integer; stdcall; external 'dtywzxUI.dll';
declare时要考虑C function的标准,后续要加stdcall;