about HalGetInterruptVector's parameter

Hi all,

Even though I know HalGetInterruptVector is a obsolete function, I still
want to know how to use this function.

ULONG
HalGetInterruptVector(
IN INTERFACE_TYPE InterfaceType,
IN ULONG BusNumber,
IN ULONG BusInterruptLevel,
IN ULONG BusInterruptVector,
OUT PKIRQL Irql,
OUT PKAFFINITY Affinity
);

I’m confused about the BusInterruptLevel and BusInterruptVector. In my
opinion, I think BusInterruptVector is irq number(the pin number of 8259a).
It that right? And what about BusInterruptVector?
HalGetInterruptVector will return a number, which is IDT item number? Please
correct it if I make a mistake.

Fan Zhang

by convention they are both the same values, but you seriously do not
want to be using this function.

Mark Roddy

On Fri, Nov 26, 2010 at 11:27 AM, Marvin(Fan) Zhang wrote:
> Hi all,
>
> Even though I know HalGetInterruptVector is a obsolete function, I still
> want to know how to use this function.
>
> ULONG
> ? HalGetInterruptVector(
> ??? IN INTERFACE_TYPE? InterfaceType,
> ??? IN ULONG? BusNumber,
> ??? IN ULONG? BusInterruptLevel,
> ??? IN ULONG? BusInterruptVector,
> ??? OUT PKIRQL? Irql,
> ??? OUT PKAFFINITY? Affinity
> ??? );
>
> I’m confused about the BusInterruptLevel and BusInterruptVector. In my
> opinion, I think BusInterruptVector is irq number(the pin number of 8259a).
> It that right?? And what about BusInterruptVector?
> HalGetInterruptVector will return a number, which is IDT item number? Please
> correct it if I make a mistake.
>
> Fan Zhang
> — 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