-/* Open underlying adapter(s) we are bound to */
-
- /* FIXME: Get binding information from registry */
-
- /* Put your own NDIS adapter device name here */
-#ifdef _USE_NE2000
- /* ReactOS */
- NdisInitUnicodeString(&DeviceName, L"\\Device\\ne2000");
-
- /* NT4 style */
- //NdisInitUnicodeString(&DeviceName, L"\\Device\\El90x1");
-
- /* NT5 style */
- //NdisInitUnicodeString(&DeviceName, L"\\Device\\{56388B49-67BB-4419-A3F4-28DF190B9149}");
-
- NdisStatus = LANRegisterAdapter(&DeviceName, &Adapter);
-
- /* Skip network adapter if it does not exist */
- if (!NT_SUCCESS(NdisStatus)) {
- TI_DbgPrint(MIN_TRACE, ("Failed to intialize adapter. Status (0x%X).\n", Status));
- TiWriteErrorLog(
- DriverObject,
- EVENT_TRANSPORT_ADAPTER_NOT_FOUND,
- TI_ERROR_DRIVERENTRY,
- NdisStatus,
- NULL,
- 0,
- NULL);
- TiUnload(DriverObject);
- return STATUS_DEVICE_DOES_NOT_EXIST;
- }
-#endif