Miscellany
public text v1 · immutableINT func (VOID FAR *pvSrc, UINT numBytes)
{
char msg[256];
int i;
for (i = 0; i < (int) numBytes; i++) {
_snprintf(msg, sizeof(msg), "%02x", pvSrc[i]);
OutputDebugString(msg);
}
}INT func (VOID FAR *pvSrc, UINT numBytes)
{
char msg[256];
int i;
for (i = 0; i < (int) numBytes; i++) {
_snprintf(msg, sizeof(msg), "%02x", pvSrc[i]);
OutputDebugString(msg);
}
}