简体   繁体   中英

How to check if Windows is embedded or POS?

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?

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM