Possible Duplicate:
How can I tell if a user is using a laptop
I'm trying to find out if the application is running on a laptop or on a desktop, any ideas on how to achieve this?
Note: I'm interested only in API's written in Delphi and/or C++.
EDIT: my target platform is Windows XP+, even Windows 7 only is OK.