by Dan East » Oct 13, 2001 @ 3:20pm
Well, I don't have info on the actual struct that is used to store the info, but it is at:<br>HKEY_CURRENT_USER/ControlPanelOwner/Owner<br><br>After a quick check on my iPaq with a certain top-secret project of mine, I see the owner name starts at the first byte of the struct, and of course is in UNICODE. It looks like it is NULL terminated, because all padding bytes after it are zero, but that may not be true for all devices. The Company Name starts at 0x48, Address at 0x90, Home Phone at 0x204, and email at 0x236.<br><br>For the iPaq, by far the best solution is to get the device serial number. It is the only hardware that I know of (after extensive searching) that has the serial number burnt into the device in a software-accessable manner. Compaq has a small SDK to access that info on their website, or you can use a KernelIoControl call with IOCTL_HAL_GET_DEVICEID.<br><br>Dan East<br>