Share via


IOCTL_NDIS_REGISTER_ADAPTER (Windows CE 5.0)

Send Feedback

This CE-specific NDIS DeviceIoControl request allows an application to inform NDIS about the presence of a network adapter. NDIS will then instantiate and initialize the adapter, and bind it to the appropriate NDIS protocol drivers. Prior to calling this DeviceIoControl, all registry entries for the adapter should be created.

IOCTL_NDIS_REGISTER_ADAPTER is exported in Ndis.h as NdisRegisterAdapter.

Parameters

  • lpInBuffer
    Pointer to a wide character, null terminated multi-string that is the name of the adapter to be instantiated.
  • nInBufferSize
    Size in bytes of the lpInBuffer string, including the null terminator.

Remarks

The IOCTL_NDIS_REGISTER_ADAPTER input parameter is multistring. The following table shows the string values.

Value Description
Status [out] On return, contains the status of the operation. Mandatory.
MiniportDriverName [in] The NULL-terminated name, such as NE2000, of the miniport driver that should be used to manage the adapter.
AdapterInstanceName [in] The NULL-terminated name of the adapter instance to create. Optional. If omitted, NDIS will generate a name such as NE2001 or NE20002.

The first parameter is a miniport name such as NE2000. This parameter is

IOCTL_NDIS_REGISTER_ADAPTER is supported only for ISA and PCI devices, not PCMCIA).

Requirements

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

See Also

IOCTL_NDIS_DEREGISTER_ADAPTER | DeviceIoControl

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.