Detecting XPE

  • Thread starter Thread starter Guruprasad
  • Start date Start date
G

Guruprasad

Hi,

Can anyone tell me how I can detect from my application that it is running
under Windows XPE ?

TIA,
Guru
 
Guruprasad spoke thusly on 8/12/2003 14:47:
Hi,

Can anyone tell me how I can detect from my application that it is running
under Windows XPE ?

TIA,
Guru

Compare the values for XPe & XPPro at
HKLM\System\CurrentControlSet\Control\ProductOptions\ProductSuite

HTH,
Paul
 
MS may have a better answer, but I would have the application look for the
following in the registry:


Key: HKLM\System\ControlSet001\Control\ProductOption\Product Suite
Value: Embedded NT

- or -

Key: HKLM\System\ControlSet001\Control\Windows
Embedded\RunTimeID\RuntTimeSKUCode
Value: XPeCli

Regards,

Sean Liming
www.a7eng.com
Author: Windows NT Embedded Step-By-Step and XP Embedded Advanced.
 
Running on a slightly parallel track, is there an API call to ensure that
our application is running on our XPe build?

Simon
 
Hi Simon,
Running on a slightly parallel track, is there an API call to ensure that
our application is running on our XPe build?

Nop, you are on the right track :)
And you have posted question on Andy's answer on this subject.
Follow the link Andy gave.

Function is GetVersionEx.
in wSuiteMask you will have VER_SUITE_SINGLEUSERTS | VER_SUITE_EMBEDDEDNT
or in hex 0x0140




Slobodan
 
Back
Top