P
Peter B
Is there an easy and generic way of getting the make of a device? I.e. Dell,
Compaq/HP, Intermec etc...
Compaq/HP, Intermec etc...
Darren Beckley said:You can P/Invoke SystemParametersInfo() with parameter SPI_GETOEMINFO to
retrieve a string defined by each OEM to identify their device. As there is
no particular format for this string, you will have to try this function on
each type of device that you wish to check for and make a note of the
strings that get returned.
For an example in C++, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k/html/ppc_hpocket.asp.
Hope that helps,
Darren
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.