Didn't he just ask WHICH API to be used?
Originally Posted by xMeltdowNx
I think this reads some information about the processor etc. with which you can generate your [unique] hardware ID.
// Copy the hardware information to the SYSTEM_INFO structure.
// Display the contents of the SYSTEM_INFO structure.
printf("Hardware information: \n");
printf(" OEM ID: %u\n", siSysInfo.dwOemId);
printf(" Number of processors: %u\n",
printf(" Page size: %u\n", siSysInfo.dwPageSize);
printf(" Processor type: %u\n", siSysInfo.dwProcessorType);
printf(" Minimum application address: %lx\n",
printf(" Maximum application address: %lx\n",
printf(" Active processor mask: %u\n",
So the API would be GetSystemInfo.
Btw I found this after 30 seconds of googling -_-