NDIS Adapter Binding Management APIs (Windows Embedded CE 6.0)
1/6/2010
The operating system supports a set of new NDIS-library APIs that manage the binding and registration of adapters. The following table shows a list of the new functions that can be used to manage adapter binding.
Function | Description |
---|---|
Allows a client driver for a USB or other bus to inform NDIS that a new network adapter has become available. The client driver must ensure that the registry settings for the miniport and adapter have been set up correctly prior to calling this function. |
|
Deletes an adapter instance that previously was registered with NDIS. |
|
Allows an adapter to request that it be unbound from the protocol drivers to which it currently is bound and then rebound to protocols, as if it were newly registered with NDIS. If wszProtocolName is NULL, then the named adapter will be unbound from the protocols to which it is bound currently and then rebound to protocols, as if it were a newly registered adapter. If wszProtocolName is not NULL, then the adapter will be unbound only from the named protocol and then rebound to it. |
The following code example shows how NdisRegisterAdapter requires the registry keys to be set.
[HKEY_LOCAL_MACHINE\Comm\MiniportName]
Group="NDIS"
ImagePath="Xxx.dll"
[HKEY_LOCAL_MACHINE\Comm\AdapterInstanceName\Parms]
BusType=XXX
BusNumber=XXX
other parameters that are specific to the driver, such as, I/O address
See Also
Reference
NdisRegisterAdapter
NdisDeregisterAdapter
NdisMRebindProtocolsToAdapter