Home | History | Annotate | Download | only in drivers

Lines Matching defs:ndisuio

468 	if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_OID_VALUE,
549 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_SET_OID_VALUE,
1635 /* Re-open Packet32/NDISUIO connection */
1927 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_REQUEST_NOTIFICATION,
1934 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_CANCEL_NOTIFICATION,
1997 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_REQUEST_NOTIFICATION,
2032 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_BINDING,
2361 memcpy(&multi[len], TEXT("NDISUIO\0"), 9 * sizeof(TCHAR));
2377 wpa_printf(MSG_DEBUG, "NDIS: Requested NDIS rebind of NDISUIO "
2412 * to free NDISUIO for us, so need to disable and unload WZC completely
2413 * for now when using WinCE with NDISUIO. In addition, must request
2414 * NDISUIO protocol to be rebound to the adapter in order to free the
2415 * NDISUIO binding that WZC hold before us.
2660 * l2_packet_ndis.c is sharing the same handle to NDISUIO, so we must be able
2677 #define NDISUIO_DEVICE_NAME TEXT("\\\\.\\\\Ndisuio")
2680 drv->ndisuio = CreateFile(NDISUIO_DEVICE_NAME,
2685 if (drv->ndisuio == INVALID_HANDLE_VALUE) {
2687 "NDISUIO: %d", (int) GetLastError());
2690 driver_ndis_ndisuio_handle = drv->ndisuio;
2693 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_BIND_WAIT, NULL, 0,
2697 CloseHandle(drv->ndisuio);
2698 drv->ndisuio = INVALID_HANDLE_VALUE;
2733 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_OPEN_DEVICE,
2740 CloseHandle(drv->ndisuio);
2741 drv->ndisuio = INVALID_HANDLE_VALUE;
2745 wpa_printf(MSG_DEBUG, "NDIS: Opened NDISUIO device successfully");
2766 if (drv->ndisuio != INVALID_HANDLE_VALUE)
2767 CloseHandle(drv->ndisuio);
2800 * interface name is now only the GUI. Both Packet32 and NDISUIO
2957 HANDLE ndisuio;
2959 ndisuio = CreateFile(NDISUIO_DEVICE_NAME,
2964 if (ndisuio == INVALID_HANDLE_VALUE) {
2966 "NDISUIO: %d", (int) GetLastError());
2971 if (!DeviceIoControl(ndisuio, IOCTL_NDISUIO_BIND_WAIT, NULL, 0,
2975 CloseHandle(ndisuio);
2982 CloseHandle(ndisuio);
2989 if (!DeviceIoControl(ndisuio, IOCTL_NDISUIO_QUERY_BINDING,
3036 CloseHandle(ndisuio);