none
Serial Device Installation problems on SerialReadSymName RRS feed

  • Question

  • I am try to install serial driver to device. According to my log it is failed on SerialReadSymName function.

      In this SerialReadSymName function bellow listed functions are called. 

     1.  RtlInitUnicodeString(&valueName, L"PortName");

            status = WdfRegistryQueryUnicodeString (hKey,
                              &valueName,
                              &requiredLength,
                              &value);


    2.      RtlInitUnicodeString(&valueName, L"Identifier");

            status = WdfRegistryQueryUnicodeString (hKey,
                              &valueName,
                              &requiredLength,
                              &value);

    both functions return status value C0000034(STATUS_OBJECT_NAME_NOT_FOUND).

    What is  the reason of this error.

    Thanks in advance.



    • Edited by HP Hasitha Tuesday, June 25, 2013 11:57 AM add details
    Tuesday, June 25, 2013 10:27 AM

All replies

  • What device class in the inf are you using? portName is the registry key used to determine the com port name to use for the device

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

    Tuesday, June 25, 2013 11:57 AM
  • That should write a portname value to the devnode. Can you look up the node in the registry and look under Device Parameters and see if the value is there?

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

    Wednesday, June 26, 2013 9:23 PM