summaryrefslogtreecommitdiff
path: root/.github/scripts/Build-ChangedSamples.ps1
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2023-01-15 15:37:52 -0800
committerGitHub <[email protected]>2023-01-15 15:37:52 -0800
commit13092c638c30acbe2dec7d4be53d0d0d5bfb7487 (patch)
tree4c421bbb5a5e47fac8390e52ced2c8e924aa76b6 /.github/scripts/Build-ChangedSamples.ps1
parent8ff2c86adcfbe50187d2aeb38a842095b137b7e4 (diff)
parent217e46c9844145bf0bee397a916ddc5bffe26d02 (diff)
Merge pull request #834 - Update WDF samples to use DIRID=13 (Driver Store)
## Why is this change being made? [Driver package isolation](https://learn.microsoft.com/en-us/windows-hardware/drivers/develop/driver-isolation) is a requirement for Windows Drivers that makes driver packages more resilient to external changes, easier to update, and more straightforward to install. One of such requirements is to for driver to [run from the driver store](https://learn.microsoft.com/en-us/windows-hardware/drivers/develop/run-from-driver-store), which means to use `DIRID = 13` in INF file, `DestinationDirs` section and `ServiceBinary` directive. ## What changed? Update generic WDF samples to use DIRID = 13. Specifically, it touches the following sample folders: - general, toaster, usb, hid, input, serial, pofx, spb, wmi Note it does not touch areas that are owned by individual driver classes, e.g., network, storage, file system. This change does mean that the sample **won't work on older OS** (prior to Win10 version 1809) where DIRID 13 is not fully supported. To find the original sample, please look at https://github.com/microsoft/Windows-driver-samples/tree/win11-22h2.
Diffstat (limited to '.github/scripts/Build-ChangedSamples.ps1')
0 files changed, 0 insertions, 0 deletions