int Hexprint8A(char *s,ulong u);
int Hexprint8W(wchar_t *s,ulong u);
Converts unsigned long number to ASCII (Hexprint8A()) or UNICODE (Hexprint8W()) null-terminated string in hexadecimal uppercase format. If string is shorter than 8 characters, prepends it with zeros to the total length of 8 characters. Equivalent to sprintf(s,"%08X",u) or swprintf(s,L"%08X",u) but faster.
Parameters:
s
(out)
String that receives text. It must be at least 9 characters long
u
(in)
Unsigned long number that will be converted to text
Return values:
Length
of the resulting string, characters (8), not including the terminal null
Example:
|
See also:
HexdumpA(),
HexdumpW(), HexprintA(), HexprintW(),
Hexprint4A(),
Hexprint4W(),
SignedhexA(),
SignedhexW()