fix: guard sdk_26100.h for newer Windows SDKs
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
#include <Windows.h>
|
||||
|
||||
// Only define these if the SDK doesn't already have them (SDK < 10.0.26100.0).
|
||||
#ifndef NTDDI_WIN11_GE
|
||||
|
||||
enum {
|
||||
DISPLAYCONFIG_DEVICE_INFO_SET_RESERVED1 = 14,
|
||||
DISPLAYCONFIG_DEVICE_INFO_GET_ADVANCED_COLOR_INFO_2 = 15,
|
||||
@@ -52,4 +55,6 @@ typedef struct _DISPLAYCONFIG_SET_HDR_STATE {
|
||||
};
|
||||
} DISPLAYCONFIG_SET_HDR_STATE;
|
||||
|
||||
#endif // NTDDI_WIN11_GE
|
||||
|
||||
#endif // SDK_26100_H_
|
||||
|
||||
Reference in New Issue
Block a user