PC Review Forums Newsgroups Windows XP Windows XP Embedded Finding whoose XPe

Reply

Finding whoose XPe

 
Thread Tools Rate Thread
Old 26-08-2003, 10:56 AM   #1
Simon Wilton
Guest
 
Posts: n/a
Default Finding whoose XPe


This follows on from a thread a week or so back that dealt with an
application ascertaining if it was running on XPe - as opposed to any other
flavour of Windows.

What I would like to do (paranoia probably) is to have my applicacations
check that they are running on a copy of XPe that I built.

TIA

Simon




  Reply With Quote
Old 26-08-2003, 03:05 PM   #2
Brad Combs
Guest
 
Posts: n/a
Default Re: Finding whoose XPe

Simon,

Could you have it pilfer through the weruntime.ini looking for your master
product key? I can't remember if weruntime.ini is altered during FBA, but
this may work. Your not being paranoid though, if there's a way to do it
people will find it HTH,

Brad

"Simon Wilton" <simon.wilton@ability-it.com> wrote in message
news:edyFKk7aDHA.2308@TK2MSFTNGP12.phx.gbl...
> This follows on from a thread a week or so back that dealt with an
> application ascertaining if it was running on XPe - as opposed to any

other
> flavour of Windows.
>
> What I would like to do (paranoia probably) is to have my applicacations
> check that they are running on a copy of XPe that I built.
>
> TIA
>
> Simon
>
>
>
>



  Reply With Quote
Old 26-08-2003, 05:12 PM   #3
Eric Johnson
Guest
 
Posts: n/a
Default Is it XPe?

Try this sample code...


OSVERSIONINFOEX osi;

BOOL bOS;

size_t sSize;
WORD suiteMask;
WORD wEmbedded = 0x40;
BOOL bIsEmbedded;

sSize = sizeof( osi );
memset( &osi, 0, sSize );
osi.dwOSVersionInfoSize = sSize;

bOS = GetVersionEx( (OSVERSIONINFO *)&osi );
suiteMask = osi.wSuiteMask;
bIsEmbedded = ( ((suiteMask & wEmbedded) ==
wEmbedded) ? TRUE : FALSE);




HTH,

ej

  Reply With Quote
Old 27-08-2003, 09:32 AM   #4
Nikolai Vorontsov
Guest
 
Posts: n/a
Default Re: Is it XPe?

Hi, Simon!

> This says its XPe or not. What I wanted to get at is is it MY xpe build.
>

Search registry for the PID. I remember it was in 2 places. Then check
in your app the PID.

HTH, Nick

--
Nikolai Vorontsov
Quadrox NV

  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off