Lines Matching refs:ndisuio
467 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_OID_VALUE,
548 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_SET_OID_VALUE,
1647 /* Re-open Packet32/NDISUIO connection */
1939 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_REQUEST_NOTIFICATION,
1946 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_CANCEL_NOTIFICATION,
2009 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_REQUEST_NOTIFICATION,
2044 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_QUERY_BINDING,
2373 memcpy(&multi[len], TEXT("NDISUIO\0"), 9 * sizeof(TCHAR));
2389 wpa_printf(MSG_DEBUG, "NDIS: Requested NDIS rebind of NDISUIO "
2424 * to free NDISUIO for us, so need to disable and unload WZC completely
2425 * for now when using WinCE with NDISUIO. In addition, must request
2426 * NDISUIO protocol to be rebound to the adapter in order to free the
2427 * NDISUIO binding that WZC hold before us.
2672 * l2_packet_ndis.c is sharing the same handle to NDISUIO, so we must be able
2689 #define NDISUIO_DEVICE_NAME TEXT("\\\\.\\\\Ndisuio")
2692 drv->ndisuio = CreateFile(NDISUIO_DEVICE_NAME,
2697 if (drv->ndisuio == INVALID_HANDLE_VALUE) {
2699 "NDISUIO: %d", (int) GetLastError());
2702 driver_ndis_ndisuio_handle = drv->ndisuio;
2705 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_BIND_WAIT, NULL, 0,
2709 CloseHandle(drv->ndisuio);
2710 drv->ndisuio = INVALID_HANDLE_VALUE;
2745 if (!DeviceIoControl(drv->ndisuio, IOCTL_NDISUIO_OPEN_DEVICE,
2752 CloseHandle(drv->ndisuio);
2753 drv->ndisuio = INVALID_HANDLE_VALUE;
2757 wpa_printf(MSG_DEBUG, "NDIS: Opened NDISUIO device successfully");
2778 if (drv->ndisuio != INVALID_HANDLE_VALUE)
2779 CloseHandle(drv->ndisuio);
2812 * interface name is now only the GUI. Both Packet32 and NDISUIO
2969 HANDLE ndisuio;
2971 ndisuio = CreateFile(NDISUIO_DEVICE_NAME,
2976 if (ndisuio == INVALID_HANDLE_VALUE) {
2978 "NDISUIO: %d", (int) GetLastError());
2983 if (!DeviceIoControl(ndisuio, IOCTL_NDISUIO_BIND_WAIT, NULL, 0,
2987 CloseHandle(ndisuio);
2994 CloseHandle(ndisuio);
3001 if (!DeviceIoControl(ndisuio, IOCTL_NDISUIO_QUERY_BINDING,
3048 CloseHandle(ndisuio);