hai subject to determine the best way to test for a feature refer to the documentation for the feature of interest the following list discusses some common techniques for feature detection you can test for the presence of the functions associated with a feature to test for the presence of a function in a system dll call the loadlibrary function to load the dll then call the getprocaddress function to determine whether the function of interest is present in the dll use the pointer returned by getprocaddress to call the function note that even if the function is present it may be a stub that just returns an error code such as error call not implemented you can determine the presence of some features by using the getsystemmetrics function for example you can detect multiple display monitors by calling getsystemmetrics sm cmonitors there are several versions of the redistributable dlls that implement shell and common control features for information about determining which versions are present on the system your application is running on see the topic shell and common controls versions if you must require a particular operating system be sure to use it as a minimum supported version rather than design the test for the one operating system this way your detection code will continue to work on future versions of windows