KeAcquireInStackQueuedSpinLock and 32-bit Windows

Hi,

I’m a bit confused about KeAcquireInStackQueuedSpinLock and whether or
not it should work on 32-bit Windows. The documents say it’s not
available
(http://msdn.microsoft.com/en-us/library/ff551899(VS.85).aspx), but
a driver that uses it does link and run on 32-bit XP. Is it likely the
documentation is wrong, or should I not depend on it working correctly
on anything other than 64-bit Windows?


Bruce Cran

> Hi,

I’m a bit confused about KeAcquireInStackQueuedSpinLock and whether or
not it should work on 32-bit Windows. The documents say it’s not
available
(http://msdn.microsoft.com/en-us/library/ff551899(VS.85).aspx),
but
a driver that uses it does link and run on 32-bit XP. Is it likely the
documentation is wrong, or should I not depend on it working correctly
on anything other than 64-bit Windows?

I just checked the help on my install of 7600.16385.0 and it says
“Versions: Available in Windows XP and later versions of the Windows
operating system.”.

The link you gave says “Build date: 5/6/2010” and my help says “Built on
June 18, 2009” so your link is clearly newer, but I suspect that maybe
it’s a mistake. There is a “Send comments about this topic to Microsoft”
link down the bottom of the page, I suggest clicking that and asking for
a clarification. If they haven’t made a mistake (eg the old version of
the docs was in fact incorrect) then IMHO it should be annotated with
something like “previous versions of this document said ‘XP and later’
but that was incorrect”.

James

>

> Hi,
>
> I’m a bit confused about KeAcquireInStackQueuedSpinLock and whether
or
> not it should work on 32-bit Windows. The documents say it’s not
> available
> (http://msdn.microsoft.com/en-us/library/ff551899(VS.85).aspx),
but
> a driver that uses it does link and run on 32-bit XP. Is it likely
the
> documentation is wrong, or should I not depend on it working
correctly
> on anything other than 64-bit Windows?
>

I just checked the help on my install of 7600.16385.0 and it says
“Versions: Available in Windows XP and later versions of the Windows
operating system.”.

The link you gave says “Build date: 5/6/2010” and my help says “Built
on
June 18, 2009” so your link is clearly newer, but I suspect that maybe
it’s a mistake. There is a “Send comments about this topic to
Microsoft”
link down the bottom of the page, I suggest clicking that and asking
for
a clarification. If they haven’t made a mistake (eg the old version of
the docs was in fact incorrect) then IMHO it should be annotated with
something like “previous versions of this document said ‘XP and later’
but that was incorrect”.

Additionally, KeAcquireInStackQueuedSpinLockAtDpcLevel retains the
original “Available in Windows XP and later versions of Windows.” on the
web docs.

James

The documentation is wrong. It has been available since Windows XP for
all platforms.

Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

-----Original Message-----
From: Bruce Cran [mailto:xxxxx@cran.org.uk]
Posted At: Thursday, June 10, 2010 7:47 AM
Posted To: ntdev
Conversation: KeAcquireInStackQueuedSpinLock and 32-bit Windows
Subject: KeAcquireInStackQueuedSpinLock and 32-bit Windows

Hi,

I’m a bit confused about KeAcquireInStackQueuedSpinLock and whether or
not it
should work on 32-bit Windows. The documents say it’s not available
(http://msdn.microsoft.com/en-us/library/ff551899(VS.85).aspx),
but a
driver that uses it does link and run on 32-bit XP. Is it likely the
documentation is wrong, or should I not depend on it working correctly
on
anything other than 64-bit Windows?


Bruce Cran

__________ Information from ESET Smart Security, version of virus
signature
database 5186 (20100610) __________

The message was checked by ESET Smart Security.

http://www.eset.com