NdisIMCancelInitializeDeviceInstance

Windows CE .NET

This function cancels the immediately preceding call.

NDIS_STATUS NdisIMCancelInitializeDeviceInstance(
  NDIS_HANDLE DriverHandle,
  PNDIS_STRING DeviceInstance
);

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.

See Also

NdisIMInitializeDeviceInstance | NdisIMRegisterLayeredMiniport


 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.

Show: