On 06/08/18 10:38 PM, email@example.com wrote:
> I used the driver to virtualize a monitor, I can set the extension/independent display desktop and resolution at the screen resolution.
I'm curious, what driver is this?
> I want to use the code to set the extended properties and resolution of this virtual monitor. Who has the relevant code examples to help me? ?
CCD API has been suggested. I'll add that, at least in my experience,
the API is not too pleasant to use; it will easily give you
INVALID_PARAMETER and no idea why. I resorted to using Detours and
CreateRemoteThread() to inject a hook into Explorer.exe so I could log
how the system Display Resolution dialog box used the API.