次の方法で共有


NdisGetAdapterNames (Windows Embedded CE 6.0)

1/6/2010

This function allows an application (or NDIS protocol driver) to retrieve the names of the adapters currently instantiated by NDIS.

Syntax

VOID NdisGetAdapterNames(
  PNDIS_STATUS Status,
  PBYTE pOutBuf,
  DWORD cbOutBufSize,
  PDWORD pcbReturned
);

Parameters

  • Status
    [out] On return, contains the status of the operation.
  • pOutBuf
    [out] Pointer to a buffer to receive the retrieved list of adapter names. 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