Share via


NdisGetAdapterBindings

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.

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 Values

Status of operation.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.

See Also

DeviceIoControl

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.