Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use Class Sample in .inx file #21

Closed
wants to merge 1 commit into from
Closed

Conversation

pc386
Copy link

@pc386 pc386 commented Jun 21, 2024

Fixes this error when running cargo make in EWDK: Windows 11, version 24H2 EWDK (released May 22, 2024) with Visual Studio Buildtools 17.8.6, 26100

Validating echo_2.inf
ERROR(1284) in C:\Users\xxx\Documents\develop\Windows-rust-driver-samples\target\debug\echo_2.inf, line 10: Class "Sample" is reserved for use by Microsoft.
ERROR(1285) in C:\Users\xxx\Documents\develop\Windows-rust-driver-samples\target\debug\echo_2.inf, line 28: Cannot specify [ClassInstall32] section for Microsoft-defined class.
INF is NOT VALID

@wmmc88
Copy link
Collaborator

wmmc88 commented Jun 21, 2024

This is a known bug with 24H2 not handling /samples infverifier setting. It is addressed by microsoft/windows-drivers-rs#143 in WDR + accompanying samples pr in #18 (pending new crate release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants