Home | History | Annotate | Download | only in win

Lines Matching defs:device

23     DISPLAY_DEVICE device;
24 device.cb = sizeof(device);
25 enum_result = EnumDisplayDevices(NULL, device_index, &device, 0);
32 if (!(device.StateFlags & DISPLAY_DEVICE_ACTIVE))
48 DISPLAY_DEVICE device;
49 device.cb = sizeof(device);
50 BOOL enum_result = EnumDisplayDevices(NULL, screen, &device, 0);
52 *device_key = device.DeviceKey;
65 DISPLAY_DEVICE device;
66 device.cb = sizeof(device);
67 BOOL result = EnumDisplayDevices(NULL, screen, &device, 0);
71 // Verifies the device index still maps to the same display device, to make
72 // sure we are capturing the same device when devices are added or removed.
74 // key for the device and is unique for each monitor, while DeviceID is not.
75 if (device_key != device.DeviceKey)
82 device.DeviceName, ENUM_CURRENT_SETTINGS, &device_mode, 0);