Using IPHLPAPI dll from the kernel

Hi,

I have tried to use the API from a kernel driver. I have managed to compile and link but the driver has failed to initialize (yellow bang after enable).
The DLL exists in the windows\system32 directory.
Any suggesstions?

Thanks,
Shai

You can’t; it’s a use mode dll, and the loader will bail when it sees that.

What are you trying to do?

mm

> Any suggesstions?

Impossible, forget this idea.

Use the new Vista’s kernel-mode IP helper APIs instead.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

I tried to use GetIfTable2. Which alternative API I can use in Vista/Win7. I
would like to get a list of all interfaces and their status (link up, etc’)
Thanks,
Shai

On Sat, Oct 31, 2009 at 2:22 AM, Maxim S. Shatskih
wrote:

> > Any suggesstions?
>
> Impossible, forget this idea.
>
> Use the new Vista’s kernel-mode IP helper APIs instead.
>
> –
> Maxim S. Shatskih
> Windows DDK MVP
> xxxxx@storagecraft.com
> http://www.storagecraft.com
>
>
> —
> 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
>

According to the WIN7 WDK documentation you would use the same API,
GetIfTable2.

Bill Wandel


From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]
On Behalf Of Shai Ostshega
Sent: Saturday, October 31, 2009 12:59 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Using IPHLPAPI dll from the kernel

I tried to use GetIfTable2. Which alternative API I can use in Vista/Win7. I
would like to get a list of all interfaces and their status (link up, etc’)
Thanks,
Shai

On Sat, Oct 31, 2009 at 2:22 AM, Maxim S. Shatskih
wrote:

> Any suggesstions?

Impossible, forget this idea.

Use the new Vista’s kernel-mode IP helper APIs instead.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com http:</http:>


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

— 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