ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

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).