Skip to content

Commit

Permalink
Merge branch 'main' into additional-clippy-lints
Browse files Browse the repository at this point in the history
  • Loading branch information
wmmc88 authored Nov 17, 2023
2 parents 14ed689 + de17d01 commit 1c79243
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/sample-kmdf-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
1. [`.\target\x86_64-pc-windows-msvc\debug\package`](.\target\x86_64-pc-windows-msvc\debug\package)
2. [`.\DriverCertificate.cer`](.\DriverCertificate.cer)
3. The version of `devgen.exe` from the WDK Developer Tools that matches the archtecture of your DUT
* Ex. `C:\Program Files\Windows Kits\10\Tools\10.0.22621.0\x64\devgen.exe`
* Ex. `C:\Program Files\Windows Kits\10\Tools\10.0.22621.0\x64\devgen.exe`. Note: This path will vary based off your WDK environment
2. Install the Certificate on the DUT:
1. Double click the certificate
2. Click Install Certificate
3. Select a Store Location __(Either Store Location is Fine)__ -> Next
4. Place all certificates in the following Store -> Browse -> Trusted Root Certification Authorities -> Ok -> Next
5. Finish
5. Repeat 2-4 for Store -> Browse -> Trusted Publishers -> Ok -> Next
6. Finish
3. Install the driver:
* In the package directory, run: `pnputil.exe /add-driver sample_kmdf_driver.inf /install`
4. Create a software device:
* In the directory that `devgen.exe` was copied to, run: `devgen.exe /add /hardwarid "root\SAMPLE_KMDF_HW_ID"`
* In the directory that `devgen.exe` was copied to, run: `devgen.exe /add /hardwareid "root\SAMPLE_KMDF_HW_ID"`

## Test

Expand Down

0 comments on commit 1c79243

Please sign in to comment.