If you are getting a compile error trying to use SHGetUIMetrics() after installing the “Developer Resources for Windows Mobile 2003 Second Edition”, just delete aygshell.h from the Developer Resources.  (You will revert to using the one from the original 2003 SDK.)  This will give you a version of SHGetUIMetrics() that will work on all devices:  2003 Second Edition, 2003, and 2002.

 

[Author: Jason Fuller]