NdisIMCancelInitializeDeviceInstance (Windows CE 5.0)

Send Feedback

This function cancels the immediately preceding call.

NDIS_STATUS NdisIMCancelInitializeDeviceInstance(NDIS_HANDLEDriverHandle,PNDIS_STRINGDeviceInstance);

Parameters

  • DriverHandle
    [in] Specifies the handle returned by NdisIMRegisterLayeredMiniport.
  • DeviceInstance
    [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.

Return Values

The following table shows the return values for NdisIMCancelInitializeDeviceInstance.

Value Description
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.

Remarks

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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

NdisIMInitializeDeviceInstance | NdisIMRegisterLayeredMiniport

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.