Stdcall

Back to Reserved words.

The modifier stdcall:

Example:

 function subTest : string; [stdcall];
 begin
   subTest := 'abc';
 end;

Example 2:

 ...
 function funcTest(strTestData : Pchar) : LongWord; stdcall; external 'testLibrary.dylib';
 ...