OK, there is one exception in WinApi, wsprintf.DGDanforth wrote: Some procedures do and others don't use [ccall]
-Doug
It uses ccall because it is defined to use ccall in the corresponding C header file.
This is also documented in msdn.
This function is pretty useless, by the way, because it lacks the vararg parameter. A vararg
cannot be expressed in CP. In C a vararg is a variable number of arguments.
This function also has severe security issues.
It would be a candidate for removal, I think.
- Josef