Wireshark-dev: Re: [Wireshark-dev] Npcap 0.04 call for test
From: Yang Luo <hsluoyb@xxxxxxxxx>
Date: Mon, 24 Aug 2015 18:30:59 +0800
Hi Pascal,

On Mon, Aug 24, 2015 at 5:46 PM, Pascal Quantin <pascal.quantin@xxxxxxxxx> wrote:


I personally think data returned by OID_GEN_MEDIA_IN_USE should be identical with the one returned by OID_GEN_MEDIA_SUPPORTED for our loopback condition based on MSDN explanation, and it's "media" instead of "medium", so I think the display string should be modified to "Media in use" instead of "Medium in use".

Media is the plural form of medium. "media supported" could list several medium, while only one can be in use at a given time. So the current wording seems OK to me.
Note that I updated the list of enum (so as to support loopback value) in https://code.wireshark.org/review/#/c/10225/


I knew that media is the plural form of medium:). And I rechecked the MSDN about OID_GEN_MEDIA_IN_USE  (see: https://msdn.microsoft.com/en-us/library/windows/hardware/ff569607(v=vs.85).aspx), it said "As a query, the OID_GEN_MEDIA_IN_USE OID specifies a complete list of the media types that the NIC currently uses.". So I think that in Microsoft' point of view, "multiple" media can be in use at a given time (this looks weird for me too). But in practice, I didn't see "multiple" media are ever returned on the OID_GEN_MEDIA_IN_USE or OID_GEN_MEDIA_SUPPORTED request.

Cheers,
Yang