This function cancels the immediately preceding call.
NDIS_STATUS NdisIMCancelInitializeDeviceInstance( NDIS_HANDLE DriverHandle, PNDIS_STRING DeviceInstance );
[in] Specifies the handle returned by NdisIMRegisterLayeredMiniport.
[in] Points to a buffered, caller-initialized counted string, in the system-default character set, naming the registry key in which the driver stores information about its virtual NIC and, possibly, binding-specific information.
The following table shows the return values for NdisIMCancelInitializeDeviceInstance.
|NDIS_STATUS_SUCCESS||Returned if the preceding call was canceled.|
|NDIS_STATUS_FAILURE||Returned if the function was unable to stop the intermediate driver from initializing its virtual NIC.|
An intermediate driver calls the NdisIMInitializeDeviceInstance function to set up its virtual NIC for I/O operations on an underlying NIC driver to which the intermediate driver is bound.
OS Versions: Windows CE .NET 4.0 and later.
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.