none
ComDBOpen is failing in a VirtualSerial UMDF. RRS feed

  • Question

  • Hi ,

    We are trying to assign a COM port number to the UMDF VirtualSerial driver, through the inf. We are able to read that Port number from the registry, but to claim that number from the COMdb , the ComDBOpen itself getting failed.

    Though, we can open the Client app on that port, but the friendly name shows some other COM number.

    Regards,

    Anupam

    Thursday, August 8, 2013 12:13 PM

Answers

  • correct. the UMDF driver doesn't have the sufficient privileges to open the COM DB. the driver shouldn't be doing this type of work.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, August 8, 2013 8:28 PM

All replies

  • ComDBOpen is returning ERROR_ACCESS_DENIED, when called from inside my driver.

    Thursday, August 8, 2013 12:49 PM
  • correct. the UMDF driver doesn't have the sufficient privileges to open the COM DB. the driver shouldn't be doing this type of work.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, August 8, 2013 8:28 PM