Partager via


NdisUnbindProtocolsFromAdapter (Windows Embedded CE 6.0)

1/6/2010

This function allows an application (or NDIS protocol driver) to request thatall the protocols bound to an adapter unbind.

Syntax

VOID NdisUnbindProtocolsFromAdapter(
  PNDIS_STATUS pStatus,
  PWSTR wszAdapterInstanceName,
  PWSTR wszProtocolName,
);

Parameters

  • pStatus
    [out] On return, contains the status of the operation.
  • wszAdapterInstanceName
    [in] The NULL-terminated name of the miniport driver that should be used to manage the adapter.
  • wszProtocolName
    [in] Multi-string containing protocol name. If NULL, all protocols will unbind from adapter, based on registry setting.

Return Value

Status of operation.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Library Functions
DeviceIoControl
IOCTL_NDIS_REBIND_ADAPTER
IOCTL_NDIS_BIND_ADAPTER
NdisRebindProtocolsToAdapter
NdisBindProtocolsToAdapter