Reputation: 1035
I am developing a program that I do not want to be installed on embedded versions of windows. Is there an API call I can make or some standard way of detecting if the current windows version is embedded/pos?
Upvotes: 1
Views: 1097
Reputation: 4590
Have a look at the Windows Management Instrumentation classes. In particular, you should be able to get what you want from the Win32_OperatingSystem class object and its various member elements. It provides a bit more information than the OSVERSIONINFOEX structure.
Upvotes: 1
Reputation: 2601
Maybe, this helps. You have to use the OSVERSIONINFOEX struct and check the wSuiteMask member...
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833%28v=vs.85%29.aspx
Upvotes: 1