Microsoft Windows CE 3.0  

NdisRegisterAdapter

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This function tells NDIS to create a new device instance.

VOID NdisRegisterAdapter(
OUT PNDIS_STATUS
Status
,
IN PWSTR
MiniportDriverName
,
IN PWSTR
AdapterInstanceName
);

Parameters

Status
[out] On return, contains the status of the operation.
MiniportDriverName
[in] The NULL-terminated name of the miniport driver that should be used to manage the adapter.
AdapterInstanceName
[in] The NULL-terminated name of the adapter instance to create.

Return Values

None.

Remarks

NdisRegisterAdapteris used to dynamically create new device instances. If the specified miniport driver is not loaded then it will be loaded and initialized by this function. The MiniportInitializehandler of the driver will then be invoked as part of the creation of the specified device instance.

Prior to calling this function, registry information for the miniport driver and adapter instance must be configured in HKLM\Comm as for any NDIS driver.

[HKLM\Comm\<MiniportDriverName>]
"Group"="NDIS" "ImagePatch"="<driver>.dll"
[HKLM\Comm\<AdapterInstanceName>\Parms]
"BusNumber"=dword:<busnumber> "BusType"=dword:<bustype>
<other parameters as needed by the miniport driver, such as IRQ,
IOAddr, TcpIP, and so on>

NdisRegisterAdaptershould not be used for a NIC on a PCMCIA bus.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 and later   Ndis.h  


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.