How to use HAL api to get device specific information
HAL api is very useful in getting hardware related information. We can get values like manufacturer (say,nokia) uid ,Machine UID ,Display x and y dimension in pixels-screen resolution or in twips , mouse speed , battery status, device specific hardware version number , device specific model number, backlight on the device using HAL api.
Attribute types and values used by HAL::Get() are defined in HALData.
Library to link : hal.lib
//Display x and y dimension in pixels-screen resolution