NT4 KeQueryActiveProcessors equivalence?

Hi All,
I use the KeQueryActiveProcessors() and CPUID instruction to calculate the
physical
active CPU numbers in system, but on NT4 this API doesn’t exists.
Does anyone know the equivalent API for KeQueryActiveProcessors() on NT4?
Or other ways to get the physical CPU numbers on NT4?
thanks.

AFei

KeNumberProcessors ?

=====================
Mark Roddy
Windows .NET/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of AFei
Sent: Friday, February 04, 2005 1:35 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] NT4 KeQueryActiveProcessors equivalence?

Hi All,
I use the KeQueryActiveProcessors() and CPUID instruction to
calculate the physical active CPU numbers in system, but on
NT4 this API doesn’t exists.
Does anyone know the equivalent API for
KeQueryActiveProcessors() on NT4?
Or other ways to get the physical CPU numbers on NT4?
thanks.

AFei


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as:
xxxxx@hollistech.com To unsubscribe send a blank email to
xxxxx@lists.osr.com

Mark, thanks, problem solved. /AFei

“Mark Roddy” wrote in message news:xxxxx@ntdev…
> KeNumberProcessors ?
>
> =====================
> Mark Roddy
> Windows .NET/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of AFei
> > Sent: Friday, February 04, 2005 1:35 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] NT4 KeQueryActiveProcessors equivalence?
> >
> > Hi All,
> > I use the KeQueryActiveProcessors() and CPUID instruction to
> > calculate the physical active CPU numbers in system, but on
> > NT4 this API doesn’t exists.
> > Does anyone know the equivalent API for
> > KeQueryActiveProcessors() on NT4?
> > Or other ways to get the physical CPU numbers on NT4?
> > thanks.
> >
> > AFei
> >
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> > http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as:
> > xxxxx@hollistech.com To unsubscribe send a blank email to
> > xxxxx@lists.osr.com
> >
>
>
>
>

Mark, thanks, problem solved. /AFei

“Mark Roddy” wrote in message news:xxxxx@ntdev…
> KeNumberProcessors ?
>
> =====================
> Mark Roddy
> Windows .NET/XP/2000 Consulting
> Hollis Technology Solutions 603-321-1032
> www.hollistech.com
>