Partager via


NdisGetAdapterBindings (Windows Embedded CE 6.0)

1/6/2010

This function allows an application (or NDIS protocol driver) to return a list of the names of all the protocols bound to the specific adapter.

Syntax

VOID NdisGetAdapterBindings(
  PNDIS_STATUS pStatus,
  PWSTR wszAdapterInstanceName,
  PBYTE pOutBuf,
  DWORD cbOutBufSize,
  PDWORD pcbReturned
);

Parameters

  • pStatus
    [out] On return, contains the status of the operation.
  • wszAdapterInstanceName
    [in] The NULL-terminated name of protocol name, can be NULL - in this case all protocols will bind to adapter, based on registry setting.
  • pOutBuf
    [out] Pointer to a buffer to receive the retrieved list of protocol driver names to which the adapter is bound. The list will be a wide character multi-string.
  • cbOutBufSize
    [in] Size in bytes of the pOutBuffer string.
  • pcbReturned
    [out] Pointer to DWORD in which to store the number of bytes in the returned multi-string.

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