HalGetInterruptVector failed in X64

Hi,All

I used HalGetInterruptVector in my program.
It can be compiled in WDK X86 Environment.
But in WDK X64 Environment,it shows:
error C3861: ‘HalGetInterruptVector’: identifier not found.

Why this happened?

Thanks.

Best Regards
Zhou

This is a very old and obsolete interface, why are you going there?

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@yahoo.com.cn” wrote in message
news:xxxxx@ntdev:

> Hi,All
>
> I used HalGetInterruptVector in my program.
> It can be compiled in WDK X86 Environment.
> But in WDK X64 Environment,it shows:
> error C3861: ‘HalGetInterruptVector’: identifier not found.
>
> Why this happened?
>
> Thanks.
>
> Best Regards
> Zhou

The very first sentence in the documentation for HalGetInterruptVector is
that it is obsolete and only present to support existing drivers. Key
here is that it means “existing binaries” which means 32-bit drivers. It
obviously is not supported in x64, and doesn’t eed to be, because no
32-bit binary driver can run on a 64-bit system. Note that the correct
mechanisms are pointed out.
joe

Hi,All

I used HalGetInterruptVector in my program.
It can be compiled in WDK X86 Environment.
But in WDK X64 Environment,it shows:
error C3861: ‘HalGetInterruptVector’: identifier not found.

Why this happened?

Thanks.

Best Regards
Zhou


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

This interface is not supported on 64-bit Windows.
Are you trying to port some ancient NT4-style driver to 64-bit platform?
It is impossible - you have to re-write it.

Best regards,
Alex Krol

From: xxxxx@lists.osr.com [mailto:bounce-507454-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com.cn
Hi,All

I used HalGetInterruptVector in my program.
It can be compiled in WDK X86 Environment.
But in WDK X64 Environment,it shows:
error C3861: ‘HalGetInterruptVector’: identifier not found.

Why this happened?

Thanks.

Best Regards
Zhou

Thanks All