Sprintf

include vmm.inc

VMMCall _Sprintf, <pOutBuf, pFormat, Param1, Param2, ...>
 

Formats a string in a manner analogous to the C procedure. This service uses the C calling convention. Uses EAX, ECX, EDX and Flags.

pOutBuf
Address of a buffer that receives the formatted string. There is no limit checking performed on the buffer; it must be large enough to handle the formatted output.
pFormat
Address of an ASCIIZ format string.
Param1, Param2, ...
Optional parameters. It is an error to pass too few parameters to satisfy the format string. String insertions may not exceed 255 bytes in length.