Partager via


NdisBindProtocolsToAdapter (Windows Embedded CE 6.0)

1/6/2010

This function allows an application (or NDIS protocol driver) to request that protocols bind to an adapter.

Syntax

VOID NdisBindProtocolsToAdapter(
  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] The NULL-terminated name of protocol, can be NULL - in this case all protocols will bind to adapter, based on registry setting.

Return Value

Status of operation.

Requirements

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

See Also

Reference

NDIS Library Functions
DeviceIoControl
NdisRebindProtocolsToAdapter
IOCTL_NDIS_REBIND_ADAPTER
IOCTL_NDIS_UNBIND_ADAPTER