__cdecl is the abbreviation of C Declaration, which means the default function calling method of C language: all parameters are stacked from right to left, and these parameters are cleared by the caller, which is called manual stack clearing. The called function will not require the caller to pass many parameters, but the caller will pass too many or too few parameters, even completely different parameters, which will not cause compile-time errors.
The parameter order of C language function is from right to left, while Pascal language is just the opposite, from left to right.
If satisfied, welcome to adopt, thank you.
If you have any questions, please ask.