(Page 14 of 28 in this chapter)
void myPrintBoardInfo(SWIHD hd)
{
SWI_BOARDINFO_ARGS args;
unsigned size;
size = sizeof(SWI_BOARDINFO_ARGS);
swiGetBoardInfo(hd, &args, size);
printf("%s\n", args.description);
printf("Revision %s Date %s\n", args.revision, args.date);
printf("%s\n", args.vendor);
printf("Board type: %d, Serial No. %s\n", args.boardid, args.serialnumber);
}
(Page 14 of 28 in this chapter)