Well it seems that I get the “????????” string as a device name for the NDIS_WAN_LINE_UP
But the NDIS_WAN_LINE_UP allows me to easily associate the ip address to the NDIS WAN adapters but how can I do witht the others adapters ?
If I use the TDI notification, I have to make the association between the interface guid received in the TDI notification and the adapter in NDIS.
If I use the RequestCompleteHandler :
The OID_GEN_NETWORK_LAYER_ADDRESSES is not supported by all adapters.
The OID_PNP_ADD_WAKE_UP_PATTERN seems to be used when the OID_GEN_NETWORK_LAYER_ADDRESSES is not supported and notify for new ip address on an adapter but the OID_PNP_REMOVE_WAKE_UP_PATTERN don’t notify the removal of alternate adress IP, only the main one. As we can have several ip address for the same adapter.
So, is there a way to associate the interfaces saw in TDI to the adapters in NDIS, or is there a way to obtain the ip address of the adapters directly in NDIS ?
any answer ? 🙂