I want to save certain settings of my program to the registry based on the monitor being used. To do this, I need to obtain a unique identifier for the monitor to ensure unintentional duplicates never occur (instead of using //./DISPLAY1 or the device string).
Is there a way to obtain the GUID of the primary monitor on Windows, using either Win32 or DXGI?