none
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.

    P

     



    • 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 www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    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.

    P

     

    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 http://geekswithblogs.net/bruceeitman

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