Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 3  
10 Aug 18 10:43
Nathan Kidd
xxxxxx@spicycrypto.ca
Join Date: 12 Oct 2017
Posts To This List: 11
Re: Set up a virtual monitor problem

On 06/08/18 10:38 PM, xxxxx@qq.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. -Nathan
  Message 2 of 3  
10 Aug 18 12:57
Mark Roddy
xxxxxx@gmail.com
Join Date: 25 Feb 2000
Posts To This List: 4104
Re: Set up a virtual monitor problem

I had the opposite experience with the CCD API, it was a breath of fresh air compared to the obsolete XPDM user mode multi monitor api. Much easier to use and much more reliable results. YMMV. Mark Roddy On Fri, Aug 10, 2018 at 10:43 AM xxxxx@spicycrypto.ca < xxxxx@lists.osr.com> wrote: > On 06/08/18 10:38 PM, xxxxx@qq.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? ? > <...excess quoted lines suppressed...> --
  Message 3 of 3  
10 Aug 18 16:26
Nathan Kidd
xxxxxx@spicycrypto.ca
Join Date: 12 Oct 2017
Posts To This List: 11
Re: Set up a virtual monitor problem

On 10/08/18 12:57 PM, xxxxx@gmail.com wrote: > I had the opposite experience with the CCD API, it was a breath of fresh > air compared to the obsolete XPDM user mode multi monitor api. Much > easier to use and much more reliable results. YMMV. (To be clear, I didn't mean to imply "don't use CCD". Also in my experience, SetDisplayConfig() is the only way to do things that ChangeDisplaySettingsEx() simply won't/can't. However, if you have trouble with the API, hooking explorer is a method of finding canonical API usage on your system. -Nathan)
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 18:45.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license