UMDF reflector requirement: Do we need to separate the INF file for Windows 10 and Windows 11?

Sam Tsai 6 Reputation points
2023-06-16T02:09:29.87+00:00

Hi

For the reflector requirement for Windows 11.
https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/adding-the-reflector
The example (echoum.inf) in the github doesn't pass the INF verification process using the command "infverif.exe /h" with version 10.0.25387.1.
Do we need to separate the INF file into 2 files for Windows 10 and Windows 11?

Thanks.

Windows for business | Windows Client for IT Pros | User experience | Other
{count} vote

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,776 Reputation points
    2023-06-16T08:38:24.39+00:00

    Hello Sam,

    Thank you for your question and for reaching out with your question today.

    The UMDF reflector requirement mentioned in the Microsoft documentation is applicable to both Windows 10 and Windows 11. You do not need to separate the INF file for different versions of Windows.

    The example INF file provided in the GitHub repository may not pass the INF verification process with version 10.0.25387.1 because it might not be updated to include the latest requirements or it may have been intended for a specific older version of Windows 10.

    When creating the INF file for the reflector driver, make sure to include the appropriate platform-specific sections in the INF file. These sections specify the platform requirements and settings for each Windows version. You can use the same INF file and include conditional sections to handle different platform versions.

    For example, you can use the "[Manufacturer]" and "[Manufacturer.NTamd64]" sections in the INF file to differentiate between Windows 10 and Windows 11. Inside these sections, you can specify platform-specific settings, such as driver installation sections and requirements.

    By using conditional sections and platform-specific settings, you can create a single INF file that can be used for both Windows 10 and Windows 11. This eliminates the need to separate the INF file into two different files.

    Ensure that the INF file is structured correctly and passes the INF verification process for the targeted Windows versions. Make sure to test the driver on both Windows 10 and Windows 11 to ensure compatibility and proper functioning.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    If the reply was helpful, please don’t forget to upvote or accept as answer.

    Best regards.


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.