function GetProductString(Buffer: PChar; Length: Cardinal): boolean; cdecl; external 'API.dll';
Bei einer C-
DLL ist im Regelfall "cdecl" die Aufrufkonvention.

Ausnahme ist hierbei Folgendes:
Code:
VOID
WINAPI keyProc(INT pressedKeys);
procedure keyProc(pressedKeys: Integer); stdcall;
"
WINAPI" ist bei C/C++ als "stdcall" definiert.