How can I get the hard disk serial number under Windows 98. I am using C++. I have seen code that uses _inp and _outp . It works well under DOS but not Windows 98.
I have tried several _inp and _outp enabling dlls and liberaries to over the ring 3 limitation but they do not work always wrong values coming from the ports.
Your answer has to get the physical serial number of the HD. Not the volume serial number that you can get by GetVolumeInformation().
If you can also tell me how I can get a checksum of the ROM biod it would be great but I will award the points even if you just tell me the anwer for the first question.