Lines Matching defs:EventSet
411 STATUSEVENTSET EventSet;
421 ulSize = sizeof(EventSet);
422 EventSet.ulSize = ulSize;
430 EventSet.ulCaps = DEV_SEM_ADD;
431 EventSet.ulSemDeviceAdd = hDeviceAdded;
440 EventSet.ulCaps |= DEV_SEM_REMOVE;
441 EventSet.ulSemDeviceRemove = hDeviceRemoved;
470 &EventSet,ulSize, &ulSize);
487 DEVEVENTSET EventSet;
509 ulSize = sizeof(EventSet);
510 EventSet.ulSize = ulSize;
511 EventSet.ulCaps = DEV_SEM_ADD | DEV_SEM_REMOVE |
514 EventSet.ulSemDeviceAdd = hDeviceAdded;
515 EventSet.ulSemDeviceRemove = hDeviceRemoved;
516 EventSet.usVendorID = usVendor;
517 EventSet.usProductID = usProduct;
518 EventSet.usBCDDevice = usBCDVersion;
519 EventSet.usStatus = 0;
548 &EventSet,ulSize, &ulSize);
554 rc= EventSet.usStatus;
565 DEVEVENTSET EventSet;
596 EventSet.ulSize = ulSize;
597 EventSet.ulCaps = DEV_SEM_ADD | DEV_SEM_REMOVE;
598 EventSet.ulSemDeviceAdd = g_Notifications[Index].hDeviceAdded;
599 EventSet.ulSemDeviceRemove = g_Notifications[Index].hDeviceRemoved;
604 EventSet.ulSize = ulSize;
605 EventSet.ulCaps = DEV_SEM_ADD | DEV_SEM_REMOVE |
608 EventSet.ulSemDeviceAdd = g_Notifications[Index].hDeviceAdded;
609 EventSet.ulSemDeviceRemove = g_Notifications[Index].hDeviceRemoved;
610 EventSet.usVendorID = g_Notifications[Index].usVendor;
611 EventSet.usProductID = g_Notifications[Index].usProduct;
612 EventSet.usBCDDevice = g_Notifications[Index].usBCDDevice;
613 EventSet.usStatus = 0;
623 &EventSet,ulSize, &ulSize);
637 rc= EventSet.usStatus;