As a query, use the OID_GEN_UNKNOWN_PROTOS OID to determine the unknown-protocol packet count of a network interface (ifInUnknownProtos from RFC 2863).
- Windows Vista and later
Only NDIS network interface providers, and therefore not miniport drivers or filter drivers, must support this OID as an OID request.
The unknown-protocol statistics counter specifies the number of packets that were received through the interface that were discarded because the associated protocol was unknown or unsupported.
If the interface provider returns NDIS_STATUS_SUCCESS, the result of the query is a ULONG64 value that specifies the number of packets.