当前位置: 动力学知识库 > 问答 > 编程问答 >

c++ - Get GUID of a monitor?

问题描述:

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?

分享给朋友:
您可能感兴趣的文章:
随机阅读: