Holds the adapter LUID (or UUID). Note: The adapter LUID is actually just 8 bytes, but on Linux the LUID is not supported, so we use this to store the 16-byte UUID instead.
| 75 | /// Note: The adapter LUID is actually just 8 bytes, but on Linux the LUID is |
| 76 | /// not supported, so we use this to store the 16-byte UUID instead. |
| 77 | struct AdapterLUID |
| 78 | { |
| 79 | std::array<uint8_t, 16> luid; |
| 80 | |
| 81 | AdapterLUID() { luid.fill(0); } |
| 82 | bool isValid() const { return *this != AdapterLUID(); } |
| 83 | bool operator==(const AdapterLUID& other) const { return luid == other.luid; } |
| 84 | bool operator!=(const AdapterLUID& other) const { return luid != other.luid; } |
| 85 | bool operator<(const AdapterLUID& other) const { return luid < other.luid; } |
| 86 | }; |
| 87 | |
| 88 | struct AdapterInfo |
| 89 | { |