Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This function cancels the immediately preceding call.
Syntax
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 Value
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
| Header | ndis.h |
| Library | ndis.lib |
| Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
NDIS Library Functions
NdisIMInitializeDeviceInstance
NdisIMRegisterLayeredMiniport