PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Detecting XPE

 
 
Guruprasad
Guest
Posts: n/a
 
      12th Aug 2003
Hi,

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

TIA,
Guru


 
Reply With Quote
 
 
 
 
Paul Attryde
Guest
Posts: n/a
 
      12th Aug 2003
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

 
Reply With Quote
 
Sean Liming \(eMVP\)
Guest
Posts: n/a
 
      12th Aug 2003
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.



"Guruprasad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Can anyone tell me how I can detect from my application that it is running
> under Windows XPE ?
>
> TIA,
> Guru
>
>



 
Reply With Quote
 
Andy Allred [MS]
Guest
Posts: n/a
 
      13th Aug 2003
Besides the reg key listed by the others, also note that if you prefer
OSVERSIONINFOEX, then the following applies to XPe:

VER_SUITE_EMBEDDEDNT

Though it's not yet listed on MSDN via the link below, it provides some more
info on the structure:
http://msdn.microsoft.com/library/de...infoex_str.asp

Andy

--

This posting is provided "AS IS" with no warranties, and confers no rights.
==========================================================


"Guruprasad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Can anyone tell me how I can detect from my application that it is running
> under Windows XPE ?
>
> TIA,
> Guru
>
>



 
Reply With Quote
 
Guruprasad
Guest
Posts: n/a
 
      13th Aug 2003
Thanks to all of you for your responses.

Guru

"Guruprasad" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> Can anyone tell me how I can detect from my application that it is running
> under Windows XPE ?
>
> TIA,
> Guru
>
>



 
Reply With Quote
 
Simon Wilton
Guest
Posts: n/a
 
      13th Aug 2003
Running on a slightly parallel track, is there an API call to ensure that
our application is running on our XPe build?

Simon

"Andy Allred [MS]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Besides the reg key listed by the others, also note that if you prefer
> OSVERSIONINFOEX, then the following applies to XPe:
>
> VER_SUITE_EMBEDDEDNT
>
> Though it's not yet listed on MSDN via the link below, it provides some

more
> info on the structure:
>

http://msdn.microsoft.com/library/de...infoex_str.asp
>
> Andy
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> ==========================================================
>
>
> "Guruprasad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > Can anyone tell me how I can detect from my application that it is

running
> > under Windows XPE ?
> >
> > TIA,
> > Guru
> >
> >

>
>



 
Reply With Quote
 
Slobodan Brcin
Guest
Posts: n/a
 
      13th Aug 2003
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


 
Reply With Quote
 
Slobodan Brcin
Guest
Posts: n/a
 
      13th Aug 2003
Thanks Andy,

I don't think that I would ever bother to look in the WinNT.h.


"Andy Allred [MS]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Besides the reg key listed by the others, also note that if you prefer
> OSVERSIONINFOEX, then the following applies to XPe:
>
> VER_SUITE_EMBEDDEDNT
>
> Though it's not yet listed on MSDN via the link below, it provides some

more
> info on the structure:
>

http://msdn.microsoft.com/library/de...us/sysinfo/bas
e/osversioninfoex_str.asp
>
> Andy
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no

rights.
> ==========================================================
>
>
> "Guruprasad" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > Can anyone tell me how I can detect from my application that it is

running
> > under Windows XPE ?
> >
> > TIA,
> > Guru
> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting .NET CLR from IE? Asaf Microsoft ASP .NET 3 8th Mar 2008 03:01 PM
Not detecting DVD Rom Rajesh.N Windows XP Hardware 2 9th Jan 2008 07:49 AM
usb not detecting =?Utf-8?B?c29wYW5hbQ==?= Windows XP Hardware 1 12th Jun 2005 08:08 PM
detecting HDD Tom Windows XP Hardware 1 21st Apr 2004 01:59 AM
Detecting .NET Vic Microsoft ASP .NET 4 5th Nov 2003 05:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:49 AM.