Is InterlockedExchange64 exported available on vista 6000 RTM?

If InterlockedExchange64 avialable on Vista RTM, which is the library that
exports this call?
I dont see this symbol exported when I try to find exported symbols from
libraries in Vista RTM WDK
located under 6000\lib\wlh\i386 though I see InterlockedCompareExchange64.

http://msdn2.microsoft.com/en-us/library/ms683593.aspx
talks about availability of the call on Vista.

I think it’s defined as intrinsic function on x86, so it’s not actually
exported by any binary, its code is generated automatically by the compiler.

Have a nice day
GV

----- Original Message -----
From: “Praveen Kumar Amritaluru”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, March 21, 2007 1:25 PM
Subject: [ntdev] Is InterlockedExchange64 exported available on vista 6000
RTM?

> If InterlockedExchange64 avialable on Vista RTM, which is the library that
> exports this call?
> I dont see this symbol exported when I try to find exported symbols from
> libraries in Vista RTM WDK
> located under 6000\lib\wlh\i386 though I see InterlockedCompareExchange64.
>
> http://msdn2.microsoft.com/en-us/library/ms683593.aspx
> talks about availability of the call on Vista.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Praveen Kumar Amritaluru wrote:

If InterlockedExchange64 avialable on Vista RTM, which is the library that
exports this call?
I dont see this symbol exported when I try to find exported symbols from
libraries in Vista RTM WDK
located under 6000\lib\wlh\i386 though I see InterlockedCompareExchange64.

It’s a compiler intrinsic. The code will be generated inline (usually
one instruction), and won’t result in a function call.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Ah… I missed that part though its mentioned in the doc.
So what could be wrong ? I am including ntddk.h.
Why does my compiler crib that definition is not found?
Even if cut&paste the declartion from WDK, it hrows up a linker error.

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> Praveen Kumar Amritaluru wrote:
>> If InterlockedExchange64 avialable on Vista RTM, which is the library
>> that
>> exports this call?
>> I dont see this symbol exported when I try to find exported symbols from
>> libraries in Vista RTM WDK
>> located under 6000\lib\wlh\i386 though I see
>> InterlockedCompareExchange64.
>
> It’s a compiler intrinsic. The code will be generated inline (usually
> one instruction), and won’t result in a function call.
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>

You are using the normal command line build environment, right?

Have a nice day
GV

----- Original Message -----
From: “Praveen Kumar Amritaluru”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, March 21, 2007 3:32 PM
Subject: Re:[ntdev] Is InterlockedExchange64 exported available on vista
6000 RTM?

> Ah… I missed that part though its mentioned in the doc.
> So what could be wrong ? I am including ntddk.h.
> Why does my compiler crib that definition is not found?
> Even if cut&paste the declartion from WDK, it hrows up a linker error.
>
> “Tim Roberts” wrote in message news:xxxxx@ntdev…
>> Praveen Kumar Amritaluru wrote:
>>> If InterlockedExchange64 avialable on Vista RTM, which is the library
>>> that
>>> exports this call?
>>> I dont see this symbol exported when I try to find exported symbols from
>>> libraries in Vista RTM WDK
>>> located under 6000\lib\wlh\i386 though I see
>>> InterlockedCompareExchange64.
>>
>> It’s a compiler intrinsic. The code will be generated inline (usually
>> one instruction), and won’t result in a function call.
>>
>> –
>> Tim Roberts, xxxxx@probo.com
>> Providenza & Boekelheide, Inc.
>>
>>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer

Praveen Kumar Amritaluru wrote:

Ah… I missed that part though its mentioned in the doc.
So what could be wrong ? I am including ntddk.h.
Why does my compiler crib that definition is not found?
Even if cut&paste the declartion from WDK, it hrows up a linker error.

Which build environment are you using? Are you linking with a
third-party library?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

I am not linking with a third-party libary.
I am building from command line.

Other Interlocked calls from within my code works. Its only with this new
InterlockedExchange64 call that I am facing problem.

“Tim Roberts” wrote in message news:xxxxx@ntdev…
> Praveen Kumar Amritaluru wrote:
>> Ah… I missed that part though its mentioned in the doc.
>> So what could be wrong ? I am including ntddk.h.
>> Why does my compiler crib that definition is not found?
>> Even if cut&paste the declartion from WDK, it hrows up a linker error.
>>
>
> Which build environment are you using? Are you linking with a
> third-party library?
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>