Wireshark-dev: Re: [Wireshark-dev] Problems in capture_win_ifnames.c

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 23 Nov 2012 00:35:24 -0800
On Nov 22, 2012, at 9:20 AM, Gisle Vanem <gvanem@xxxxxxxxxxxx> wrote:

> Besides the code seems to need a Vista SDK since 'NETIO_STATUS' here
> (Win-XP SP3) is only defined in <netioapi.h>. Which is not included AFAICS.

It is...

...but only if NTDDI_VERSION >= NTDDI_VISTA.

> A small fix:


Checked in (with the checks and #defines moved up a little earlier).