DHPDEV value, how to get it than DrvEnablePDEV() in ddi.dll RRS feed

  • Question

  • Is there any other API one can call to get DHPDEV value than calling DrvEnablePDEV() in ddi.dll. I need the DHPDEV value to call DrvEscape() later.



    • Edited by PCT52 Wednesday, November 9, 2011 10:08 PM
    Wednesday, November 9, 2011 10:07 PM

All replies

  • Applications do not call DrvEscape directly, they call ExtEscape instead: GWES will possibly (*) call the display driver DrvEscape with the correct parameters.

    (*) Some escape codes (like DRVESC_GETSCREENROTATION, DRVESC_SETSCREENROTATION) won't be processed if you pass them to ExtEscape. You must use other API's like, for example, ChangeDisplaySettingsEx

    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom Check my blog:
    Monday, November 14, 2011 8:59 AM
  • I have to access this DrvEscape from another kernel driver, like mouse, especially at times of mouse attach/detach, to display or make cursor invisible at mouhid.dll level. I am not trying to access this through .net ExtEscape method class.

    I have the WinCE BSP, so both mouse & display drivers sources are exposed to me.



    Monday, November 14, 2011 5:26 PM
  • You don't have to do that.   You could add a thread to the display driver to handle events or messages from your mouse driver.
    Bruce Eitman (eMVP)
    Senior Engineer
    Bruce.Eitman AT Eurotech DOT com
    My BLOG

    Eurotech Inc.
    Monday, November 14, 2011 5:39 PM