Support for Named VCs
NDIS allows WMI clients to query and set information on a per-virtual connection (VC) basis for connection-oriented miniport adapters. WMI clients can also enumerate VCs. Before a WMI client can query or set information that is associated with a particular VC, a stand-alone call manager or connection-oriented client must name the VC by calling the NdisCoAssignInstanceName function.
After a stand-alone call manager or connection-oriented client initiates the setup of a VC by calling the NdisCoCreateVC function, the stand-alone call manager or connection-oriented client can name the VC with NdisCoAssignInstanceName. NDIS assigns the VC an instance name and registers the instance name with WMI. WMI clients can then enumerate the VC and query or set OIDs that are relative to the VC.
A miniport call manager (MCM) cannot use NdisCoAssignInstanceName to name its VCs. Instead, an MCM should create a custom GUID and OID for the VC and register the GUID-to-OID mapping with NDIS. For more information about registering custom OIDs, see Customized OIDs and Status Indications.