SerialPortPropPageProvider Tab for UMDF Driver not showing up

Alexander Seidl 26 Reputation points
2021-02-18T08:27:35.583+00:00

I have written a virtual serial driver in UMDF.
Now I am trying to add the standard port settings tab to the device manager dialog by adding HKR,,EnumPropPages32,,"msports.dll,SerialPortPropPageProvider"
to my inf file in the AddReg section.
However, the tab does not show up.

What am I missing?

Thanks in advance
Alex

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,625 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Doron Holan 1,801 Reputation points
    2021-02-25T02:15:07.57+00:00

    The expand further...the PortSubClass value is needed since the class installer tries to dynamically add the property page at runtime. Since the ports class contains both serial and parallel ports, the PortSubClass value tells the class installer what type of port it is (1 being a serial port). The EnumPropPages32 value that you used in the INF explicitly adds the property page (the PortSubClass check is essentially skipped). Technically you should always include the PortSubClass value in the INF, even if you are also explicitly adding the EnumPropPages32 value, as there are other edge conditions in the OS that read this value and make decisions based on the result.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.