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

Pchahar/pc load letter6 #1116

Open
wants to merge 230 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
55f5458
[network\wlan\wdi] Move Project to be Windows Driver Compliance ready…
youyanggit Jul 12, 2022
5f773dd
Merge branch 'main' into develop
NeoAdonis Jul 15, 2022
c09d991
[network\ndis\ndisprot] Virtual Miniport: Fix UINT8 comparison with U…
tmolenh Jul 18, 2022
f03befe
Merge branch 'main' into develop
NeoAdonis Jul 28, 2022
becc483
Include/Needs inbox services (#765)
emilyhobby Aug 8, 2022
5108e27
[biometrics] Use includes/needs for wudfbiousbsample (#767)
MaliParag Aug 11, 2022
78a4097
Include/Needs inbox services for hidusbfx2, vhidmini, umdf_filter_umd…
emilyhobby Aug 31, 2022
b6812b8
Merge branch 'main' into develop
NeoAdonis Sep 26, 2022
796a745
Merge branch 'main' into develop
NeoAdonis Sep 26, 2022
62b5e8f
[general/filehistory] Remove sample; APIs have been deprecated
NeoAdonis Sep 26, 2022
509c49d
[smartcrd\pscr] Get pscr sample building properly (#788)
jasonknichel Oct 5, 2022
fe08ec9
Add PnpLockdown=1 to a bunch of sample INFs (#789)
jasonknichel Oct 5, 2022
803a5e4
Add PnpLockdown=1 to more sample INFs (#790)
jasonknichel Oct 6, 2022
d475c9b
[usb/usbview] fix infinite loop (#792)
bjrxyz Oct 10, 2022
f20a013
Fix some infverif 1203 (missing section) and 1324 (no PnpLockdown=1) …
jasonknichel Oct 14, 2022
96e23c8
Merge branch 'main' into develop
NeoAdonis Nov 3, 2022
82537c2
Add mobile broadband mbbcx client driver sample code (#797)
taj0207 Nov 9, 2022
e25d94b
Hopefully fix develop branch error in these header files
Nov 28, 2022
e7fc00e
Merge pull request #807 from jasonknichel/user/jknichel/HopefullyFixD…
jasonknichel Nov 28, 2022
3dd49a6
Merge branch 'main' into develop
NeoAdonis Nov 28, 2022
0178728
Fix driver isolation violations 1322 and 1323 for netvmini (60, 620, …
kahashimoto-ms Dec 2, 2022
076552e
Netvmin680 fix (#805)
kahashimoto-ms Dec 3, 2022
73d9bad
Clean up some infverif warnings and errors in print samples (#814)
jasonknichel Dec 13, 2022
ed2dc1c
Remove IA64 support from Print samples (#815)
jasonknichel Dec 16, 2022
7092f6d
Remove IA64 support from more samples (#816)
jasonknichel Jan 3, 2023
568ddda
Update ProdScan and WiaDriver samples (#824)
alexke-dev Jan 7, 2023
8cfa11c
Update BthEchoSampleCli and BthEchoSampleSrv to be single architectur…
dnl-q Jan 13, 2023
b35c9d1
Update TestMcro sample to target a single architecture and support be…
alexke-dev Jan 18, 2023
710cb20
Create Test.txt
Cymoki Jan 25, 2023
520c370
Merge pull request #841 from microsoft/Cymoki-patch-3
Cymoki Jan 25, 2023
54a98a7
Updates to make Sysvad and SimpleAudioSample Windows Drivers Complian…
judzmura Feb 2, 2023
1771921
mspassthroughext Driver compatibility violations (#846)
kahashimoto-ms Feb 3, 2023
c0174c7
Merge branch 'main' into develop-2302-merge
NeoAdonis Feb 3, 2023
55f0ae5
Merge branch 'main' into develop-2302-merge
NeoAdonis Feb 3, 2023
767074e
Merge pull request #855 from microsoft/develop-2302-merge
NeoAdonis Feb 7, 2023
9ab70a3
Clean up a few misc things after merge of main into develop (#859)
jasonknichel Feb 7, 2023
208b227
Enable CodeQL to work thru reasonable workarounds. (#857)
JakobL-MSFT Feb 7, 2023
ced42ff
Change the locking scheme in DMFT to unlock in setoutputstreamstate (…
jiteshkris Feb 7, 2023
fe1031f
Update NFC sample driver for Windows Driver Compliance (#851)
tenglu83 Feb 8, 2023
4618ec0
Typo "accpeted"→"accepted" (#838)
hyoshioka0128 Feb 8, 2023
d4b1a00
fix the characters that are not unicode to build without problem (#784)
naruto0426 Feb 8, 2023
387bec9
Remove un-used macro NULL_FILTER_FILTER_NAME (#641)
vxcute Feb 8, 2023
c48bf7d
Fix typo in comment (#557)
rodwiddowson Feb 8, 2023
8b16c8b
Update filter.h (#544)
nanometre380 Feb 8, 2023
f0282ae
Update README.md (#530)
Shiselster Feb 8, 2023
1e3a456
Update Camera Public Samples to use target platform of 'Windows Drive…
gerritsMSFT Feb 9, 2023
f7a4f93
FI from main to develop. No functional change. (#865)
JakobL-MSFT Feb 9, 2023
ff0af97
Fix biometric sample to only install on OS versions it can support (#…
jasonknichel Feb 13, 2023
13b5889
Update VhidminiUm.inf to only target OS versions it works on (#868)
jasonknichel Feb 13, 2023
d3a40cb
Fix logging when there are errors (#881)
NeoAdonis Feb 14, 2023
500494c
Enable the CodeQL workflow to pull submodules similar to the regular …
JakobL-MSFT Feb 14, 2023
2a55729
Update DCHU sample INFs to restrict themselves to only OS versions th…
jasonknichel Feb 15, 2023
7a69a1a
Fix InfVerif 1235 errors in some sample INFs (#885)
jasonknichel Feb 15, 2023
3e34aa0
Rename build instructions file to avoid conflicts with root README + …
NeoAdonis Feb 17, 2023
f6ca50b
Merge branch 'main' into develop
NeoAdonis Feb 17, 2023
708d8c4
Fix file encoding and driverver format
zlockard Feb 22, 2023
db52e5a
Merge pull request #900 from microsoft/simdevice_encoding
zlockard Feb 22, 2023
c3c8199
[usb/UcmUcsiAcpiSample] Missing PAGED_CODE() macros
wm1 Feb 28, 2023
94211c3
serenum sample: Use ExAllocatePool2 instead of ExAllocatePoolWithTag
matwilli Mar 1, 2023
c68ea4b
[serial/serenum] Use ExAllocatePool2 instead of ExAllocatePoolWithTag
wm1 Mar 1, 2023
800278d
Archiving storage/sfloppy sample (#903)
katiezb Mar 1, 2023
e4fec23
Archiving storage\class\cdrom sample (#904)
katiezb Mar 1, 2023
24caf7a
Remove BasicDriverOk from samples (#908)
jasonknichel Mar 3, 2023
a24dcb8
Fix up some of the malformed DriverVer directives (#909)
jasonknichel Mar 4, 2023
f88606b
Merge pull request #905 from microsoft/u/wm1/UcmUcsiAcpi-no-paged-code
NateD-MSFT Mar 7, 2023
e802b80
Opt many samples in for Universal validation (#910)
michbern-ms Mar 7, 2023
7d5c202
Adding the AudioCodec ACX sample driver to Github. (#882)
judzmura Mar 7, 2023
91e07c4
[general\echo\umdf2] Add TargetOSVersion to INF file (#911)
wm1 Mar 7, 2023
670397e
Remove UMDF v1 samples - nfp (#912)
wm1 Mar 8, 2023
be97ab4
[usb/usbview] Fix wrong-type-format-argument (#915)
wm1 Mar 8, 2023
7d7f938
Updates to Sysvad and SimpleAudioSample. (#917)
judzmura Mar 9, 2023
1f3fcf1
INFs using DIRID 13 should target only build 16299 or later - audio u…
jasonknichel Mar 10, 2023
728ec46
INFs using DIRID 13 should target only build 16299 or later - toaster…
jasonknichel Mar 13, 2023
cfc659b
INFs using DIRID 13 should target only build 16299 or later - USB upd…
jasonknichel Mar 13, 2023
9a288c4
Fix TargetOSVersion for INFs with UMDF drivers. Fix comments in toast…
jasonknichel Mar 13, 2023
3dc2444
INFs using DIRID 13 should target only build 16299 or later - HID and…
jasonknichel Mar 13, 2023
5f8fffc
INFs using DIRID 13 should target only build 16299 or later - network…
jasonknichel Mar 13, 2023
336cb2f
INFs using DIRID 13 should target only build 16299 or later - misc ge…
jasonknichel Mar 13, 2023
198e6dc
INFs using DIRID 13 should target only build 16299 or later - remaini…
jasonknichel Mar 14, 2023
10d84c5
Fix error logging
hsebs Mar 14, 2023
a73c1cd
Fix file encoding of osrfx2_DCHU_base.inx (#933)
jasonknichel Mar 14, 2023
0ad4165
Use WudfRd.inf instead of AddService
wm1 Mar 14, 2023
d657c7b
Merge branch 't/merge-base/main-2023-02-16' into develop
wm1 Mar 14, 2023
5ccdeee
[general/toaster/toastpkg] update INF; remove toastcd (#936)
wm1 Mar 17, 2023
0250f5d
[usb/usbview] Enumerate HostController with multiple DeviceInterfaces…
wm1 Mar 21, 2023
688890a
Add PnpLockdown=1 to file system filter samples (#937)
jasonknichel Mar 21, 2023
5c3b6ca
Merge branch 'main' into develop
NeoAdonis Mar 21, 2023
ff01880
Merge branch 'main' into develop
NeoAdonis Mar 21, 2023
afa69cd
Fix driver violations for energy team owned drivers (#880)
mvillalpando06 Mar 24, 2023
f8738ae
Netvmini arch fix (#940)
kahashimoto-ms Mar 24, 2023
1904b79
Mspassthroughext arch fix (#942)
kahashimoto-ms Mar 24, 2023
55787da
User/kahashimoto ms/msforwardext inf violation (#941)
kahashimoto-ms Mar 27, 2023
3035684
Ndisprot60 inf violations (#943)
kahashimoto-ms Mar 27, 2023
730161a
User/kahashimoto ms/ndislwf dirid 13 fix (#945)
kahashimoto-ms Mar 27, 2023
901112d
Ndisprot630 inf violations (#944)
kahashimoto-ms Mar 27, 2023
16d01e3
Fix up malformed DriverVer directives (#948)
jasonknichel Mar 31, 2023
1adffc4
Add PnpLockdown=1 to remaining samples (#949)
jasonknichel Mar 31, 2023
4ef6624
Remove references to XP in INFs (#950)
jasonknichel Mar 31, 2023
706716a
Fix file encoding of various OSR FX2 DCHU samples (#951)
jasonknichel Mar 31, 2023
f5419dc
Address violations in osrfx2_DCHU_extension.inx (#952)
jasonknichel Apr 4, 2023
204beeb
Update filesystem filter INF file encoding to be UTF-16 LE (#953)
jasonknichel Apr 4, 2023
db0f176
Update all network sample INFs to use UTF-16 LE file encoding (#957)
jasonknichel Apr 5, 2023
6643bc0
Update file encoding to UTF-16 LE for printer sample INFs (#958)
jasonknichel Apr 5, 2023
2013b48
Update file encoding to be UTF-16 LE for misc INFs (#959)
jasonknichel Apr 5, 2023
06e5461
Update osrfx2_DCHU_base.inx to Include/Needs wudfrd.inf (#960)
jasonknichel Apr 6, 2023
5603733
Update bthecho sample projects to use a driver target platform of 'Wi…
jasonknichel Apr 7, 2023
03dbb61
Update some filesys projects' DriverTargetPlatform to be 'Windows Dri…
jasonknichel Apr 7, 2023
9f509fd
Update toaster projects' DriverTargetPlatform to be 'Windows Driver' …
jasonknichel Apr 7, 2023
3f5fc4b
Update some biometric projects' DriverTargetPlatform to be 'Windows D…
jasonknichel Apr 7, 2023
14a15b1
Update HID projects' DriverTargetPlatform to be 'Windows Driver' (#965)
jasonknichel Apr 7, 2023
f3711c5
[avstream/avscamera] Update Device.cpp (#956)
gerritsMSFT Apr 7, 2023
e553f42
[avstream/avscamera] Update Capture.cpp (#955)
gerritsMSFT Apr 7, 2023
5440e4c
[avstream/avscamera] Update hwsim.cpp (#954)
gerritsMSFT Apr 7, 2023
feab60e
Update input projects' DriverTargetPlatform to be 'Windows Drivers' (…
jasonknichel Apr 8, 2023
fe08b65
Update pofx projects' DriverTargetPlatform to be 'Windows Driver' (#967)
jasonknichel Apr 8, 2023
19bdef5
Update USB projects' DriverTargetPlatform to be 'Windows Driver' (#968)
jasonknichel Apr 10, 2023
189640f
Update various general projects to use DriverTargetPlatform of 'Windo…
jasonknichel Apr 10, 2023
b1db23b
Merge branch 'main' into develop
NeoAdonis Apr 10, 2023
b440de9
Update various network projects to use DriverTargetPlatform of 'Windo…
jasonknichel Apr 10, 2023
45990c4
Inf Updates to Audio Samples (#970)
judzmura Apr 10, 2023
8526a74
Update misc projects to use a DriverTargetPlatform of 'Windows Driver…
jasonknichel Apr 11, 2023
9d83452
Ndisprot inf violations (#974)
kahashimoto-ms Apr 13, 2023
24f196d
[general/simplemediasource] Fix architecture in solution (#977)
NeoAdonis Apr 18, 2023
10a103a
Ndis mux inf violations (#973)
kahashimoto-ms Apr 21, 2023
c25e09d
[network/trans/stmedit] Fix architecture in solution (#976)
NeoAdonis May 1, 2023
75f9286
Merge branch 'main' into develop
NeoAdonis May 1, 2023
95037b3
Cleanup the ARM and X86, (#982)
youyanggit May 3, 2023
c1a5bd8
[audio/Acx] Remove ARM and x86 platforms from AudioCodec sample drive…
judzmura Jun 1, 2023
d2c8810
[network/wlan/WDI] Rename configurations (#988)
NeoAdonis Jun 1, 2023
d7e054c
Merge branch 'main' into develop
NeoAdonis Jun 1, 2023
5ece081
[general/DCHU] Fix toolset, target version and signing errors (#994)
NeoAdonis Jun 13, 2023
22f8539
Merge branch 'main' into develop
NeoAdonis Jun 15, 2023
cf80b4b
Merge branch 'main' into develop
NeoAdonis Jun 30, 2023
f7a5f2d
Install the driver to driver store (DIRID 13), replace legacy pattern…
cheoljinms Jul 10, 2023
d314c54
Windows Driver (#1005)
cheoljinms Jul 11, 2023
7132972
Update some sample drivers to Include/Needs wudfrd.inf instead of Add…
jasonknichel Jul 24, 2023
b45ffd6
Update file system filter samples to use isolated state locations
zlockard Aug 1, 2023
6ea518d
Update simsensor driver on temperature check (#1012)
AlbertGuan9527 Aug 1, 2023
cbbd53e
Remove Print Driver Samples (#1017)
alexke-dev Aug 10, 2023
c0e5e47
Removed unused string tokens related to MediaCategories (#1018)
jasonknichel Aug 11, 2023
08f6239
Merge branch 'main' into develop
NeoAdonis Aug 11, 2023
8086409
Remove print samples from exclusion list
NeoAdonis Aug 11, 2023
db7372d
Added pnputil equivalents to devcon help text output (#1019)
emilyhobby Aug 18, 2023
4fe6dd3
Remove legacy sample - Radio Switch using USB-FX2 board
NeoAdonis Aug 21, 2023
a24deb3
Merge branch 'main' into develop
NeoAdonis Aug 22, 2023
d35df21
[avstream/sampledevicemft] Fix format change error for YUY2 (#984)
jiteshkris Aug 25, 2023
7d4ba15
Merge branch 'main' into develop
NeoAdonis Aug 25, 2023
391f406
Remove user-mode app from driver package to fix build issues
Sep 26, 2023
0ea260d
Update to correct build number
Sep 27, 2023
acea844
Update CODEOWNERS
NeoAdonis Sep 27, 2023
dc1fca9
Merge branch 'main' into develop
NeoAdonis Sep 27, 2023
c39cb20
[storage/filters] Remove deprecated sample
NeoAdonis Sep 27, 2023
f6b43cc
Prototype new paradigm
Sep 27, 2023
c3e1a7f
Clean up paradigm
Sep 28, 2023
d5e0277
Switch to final registry key loading paradigm
Sep 30, 2023
7d62dd8
Remove unused variable
Oct 2, 2023
06b3305
Merge pull request #1013 from microsoft/fsfilters_version_updates
zlockard Oct 4, 2023
e5b5939
Remove wudfrd and WDF coinstaller from sample (#1039)
zlockard Oct 5, 2023
650bc18
Remove .exe from the INF file (#1040)
zlockard Oct 9, 2023
34ff9aa
Add new owners
NeoAdonis Oct 11, 2023
d21ba37
Merge branch 'main' into develop
NeoAdonis Oct 11, 2023
a98d1ed
Add new owners
NeoAdonis Oct 23, 2023
691127a
[avstream] replacing mft0 with dmft (#1033)
jiteshkris Oct 24, 2023
e6504a0
[simbatt] Add missing PAGED_CODE() macro (#1010)
mvillalpando06 Oct 27, 2023
8f1b07f
Merge branch 'main' into develop
NeoAdonis Oct 30, 2023
853fbfd
Biousb coinstaller remove (#1044)
zlockard Oct 30, 2023
3b54219
Merge branch 'main' into develop
NeoAdonis Oct 30, 2023
3ad25d9
INF changes to support latest WDK (#1046)
zlockard Oct 31, 2023
f07f43c
Add new flag and exclusion for new InfVerif changes (#1049)
NeoAdonis Nov 7, 2023
61b6bdc
47451678: Windows-driver-samples /Building-Locally.md: Remove ping (`…
JakobL-MSFT Nov 13, 2023
570a65f
Minor adjustments to build instructions (#1021)
NeoAdonis Nov 13, 2023
393129d
Add more InfVerif exceptions & clear exclusions (#1052)
NeoAdonis Nov 13, 2023
6e1f57d
Merge branch 'main' into develop
NeoAdonis Nov 13, 2023
18add85
Update code owners
NeoAdonis Nov 13, 2023
796e36a
Add Kernel Core as code owners
NeoAdonis Nov 16, 2023
00d6f86
Updates to DevCon RC file and input reading (#1048)
emilyhobby Nov 21, 2023
143f6fd
This change will ensure failures from build script will be sorted for…
JakobL-MSFT Nov 24, 2023
bef73f3
Update CODEOWNERS
NeoAdonis Dec 1, 2023
c871513
Add exclusion for driver due to missing header in WDK update
NeoAdonis Dec 1, 2023
f3af78b
Delete video/pixlib directory
zhuman Dec 2, 2023
256ee24
Merge pull request #1058 from microsoft/user/zhuman/delete-pixlib
zhuman Dec 2, 2023
87b964d
Revert "Delete video/pixlib directory"
zhuman Dec 3, 2023
06f8f12
Move pixlib to an "archive" folder
zhuman Dec 4, 2023
920221c
Merge pull request #1059 from microsoft/revert-1058-user/zhuman/delet…
zhuman Dec 5, 2023
8b9348e
For all solutions in .\tools folder: Add ARM64 support. Remove any as…
JakobL-MSFT Jan 15, 2024
1e9dd4a
Bug 45018002: WDK: Samples - Sample not build by PR workflow if exclu…
JakobL-MSFT Jan 15, 2024
734e40b
Merge main to develop (#1075)
JakobL-MSFT Jan 15, 2024
1d80332
Add support for fine grained exclusions (#1074)
JakobL-MSFT Jan 15, 2024
83f1ab8
Merge branch 'main' into develop
JakobL-MSFT Jan 15, 2024
867f48a
merge conflict resolution
JakobL-MSFT Jan 15, 2024
d8cfee8
Update exclusions.csv - fix comment
JakobL-MSFT Jan 15, 2024
f7fc914
Fix build errors for osrfx2_dchu_extension loose/tight solutions (#1069)
andylsn Jan 15, 2024
6ac1123
For Build-AllSamples.ps1: For EWDK: Log full build lab string. (#1079)
JakobL-MSFT Jan 21, 2024
e09a8f3
Add infverif suppression of 1402 (#1080)
JakobL-MSFT Jan 21, 2024
39d4cac
A trivial bug in Build-AllSamples.ps1 for the case when there are 0 s…
JakobL-MSFT Jan 21, 2024
3a6ee84
Add infverif suppression of 1402 (add missing comment)
JakobL-MSFT Jan 22, 2024
1f80548
Merge from main branch
JakobL-MSFT Jan 23, 2024
868a761
Merge from main branch
JakobL-MSFT Jan 23, 2024
ae267d0
Update projects so that no warning/error is logged for AddSoftware Ty…
andylsn Jan 24, 2024
d8a8746
Replace deprecated ExAllocatePool* APIs with ExAllocatePool2.
daspr-Microsoft Jan 24, 2024
3d32dff
Merge pull request #932 from hsebs/patch-2
cgallred Jan 25, 2024
3d2a9de
Update exclusions (#1090)
JakobL-MSFT Jan 27, 2024
c395462
Remove WinHEC 2017 samples
NeoAdonis Jan 29, 2024
375796a
Remove WinHEC 2017 from exclusion list
NeoAdonis Jan 29, 2024
c657bc7
Merge branch 'main' into develop
NeoAdonis Jan 29, 2024
24f280d
Fixes for sample build errors and updates to the execution script to …
zlockard Jan 31, 2024
cae4064
This PR simply deletes a redundant sln file (#1095)
JakobL-MSFT Feb 1, 2024
fcca69b
Add Prm sample (#1094)
yinghany Feb 1, 2024
4757e83
Fix PRM sample driver INF targetOsVersion (#1096)
yinghany Feb 1, 2024
220545e
Updating the Windows Filtering Platform Samples to compile correctly …
houha2 Feb 5, 2024
09b3b7c
exclusion.csv: Update network.trans.wfpsampler to now be supported wi…
JakobL-MSFT Feb 5, 2024
cdd758d
Update codeql code scanning to add microsoft/windows-drivers queries …
jacob-ronstadt Feb 5, 2024
81a3070
Initial Support for WDK NuGet Experiment. Take 2. (#1099)
JakobL-MSFT Feb 6, 2024
b12e3a3
Add new teams as owners; fix some entries.
NeoAdonis Feb 6, 2024
07936d8
replace deprecated exallocatepool* APIs with their modern replacement…
Spruill-1 Feb 6, 2024
1ad137b
Initial Support for WDK NuGet Experiment. Take 3 (#1102)
JakobL-MSFT Feb 7, 2024
aff3866
Simplify MSBuild Flags (#1093)
JakobL-MSFT Feb 7, 2024
b2476b6
Add signing policy for prm sample (#1103)
JakobL-MSFT Feb 7, 2024
d7005d7
Do not build solutions in the .\packages folder
Feb 7, 2024
dae7c2a
Add arch variable to simsensor and simtc infs (#1092)
mvillalpando06 Feb 8, 2024
4699c97
update the project settings for the IDD sample
daspr-Microsoft Feb 12, 2024
680f276
Part 2: WfpSampler now compiles on both EWDKs (#1108)
houha2 Feb 13, 2024
973f866
Merge pull request #1107 from microsoft/user/daspr/CorrectIDDSample
Spruill-1 Feb 13, 2024
be187a1
Add ownership info for TrEE
NeoAdonis Feb 13, 2024
a24402f
Remove exclusion of video.indirectdisplay
JakobL-MSFT Feb 14, 2024
ae395fa
WDK NuGet: Add support for network/trans/WFPSampler and wmi/wmisamp (…
JakobL-MSFT Feb 14, 2024
c73af47
Delete biometrics sample (#1111)
JakobL-MSFT Feb 14, 2024
e34c074
Re-add exclusion of video.indirectdisplay. This time for EWDK.
JakobL-MSFT Feb 15, 2024
9a4b1a6
Upgrade nuget to 26061 (#1115)
JakobL-MSFT Feb 15, 2024
4b16f65
Add explicit flag for arm64 for ehsc and remove incremental link
Feb 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
72 changes: 72 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,75 @@

# Root files
/* @microsoft/driver-samples-maintainers

# Audio
/audio/ @microsoft/windowsaudio

# Bluetooth
/bluetooth/ @microsoft/bluetooth

# Camera Platform
/avstream/ @microsoft/cameraplatdev
/general/SimpleMediaSource/ @microsoft/cameraplatdev

# Cellular Core
/network/wwan/ @microsoft/cellcore
/nfc/ @microsoft/cellcore

# Connection Awareness
/gnss/ @microsoft/connection-awareness
/network/radio/ @microsoft/connection-awareness

# Core Networking
/network/wsk/ @microsoft/corenetworking

# Consumer Storage
/sd/ @microsoft/consumer-storage
/smartcrd/ @microsoft/consumer-storage

# Device Enumeration and Interconnect
/gpio/ @microsoft/device-enumeration-and-interconnect
/pofx/PEP/ @microsoft/device-enumeration-and-interconnect
/prm/ @microsoft/device-enumeration-and-interconnect
/wmi/wmiacpi/ @microsoft/device-enumeration-and-interconnect

# Display Kernel
/video/ @microsoft/display-kernel-devs

# Driver Development Supplemental Tools
/tools/ @microsoft/windows-driver-developers-supplemental-tools-admins

# Energy Efficiency
/pofx/WDF/ @microsoft/ee-devs
/simbatt/ @microsoft/ee-devs
/thermal/ @microsoft/ee-devs

# Event Tracing for Windows
/general/perfcounters/ @microsoft/etw
/general/tracing/ @microsoft/etw

# File Systems
/filesys/cdfs/ @microsoft/filesystems
/filesys/fastfat/ @microsoft/filesystems

# Filter Manager
/filesys/miniFilter/ @microsoft/filter-manager

# Kernel Core
/general/registry/ @microsoft/kernel-core

# Network Security
/network/trans/ @microsoft/netsec

# Platform Integrity
/security/ @microsoft/platform-integrity
/TrEE/ @microsoft/platform-integrity

# Sensors Platform
/sensors/ @microsoft/sensors-platform

# Storage
/storage/ @microsoft/storage-core

# Windows Internet of Things
/pos/ @microsoft/winiotdev
9 changes: 6 additions & 3 deletions .github/workflows/Code-Scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
submodules: 'recursive'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

packs: microsoft/windows-drivers
- name: Add MSBuild to PATH
uses: microsoft/[email protected]

Expand All @@ -54,6 +54,9 @@ jobs:
WDS_WipeOutputs: ${{ true }}

- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"



5 changes: 4 additions & 1 deletion Build-AllSamples.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ $sampleSet = @{}
foreach ($file in $solutionFiles) {
$dir = (Get-Item $file).DirectoryName
$dir_norm = $dir.Replace($root, '').Trim('\').Replace('\', '.').ToLower()
if ($dir_norm -match ($Samples)) {
if ($dir_norm -match ("^packages.")) {
Write-Verbose "`u{1F50E} Found and ignored non-sample [$dir_norm] at $dir"
}
elseif ($dir_norm -match ($Samples)) {
Write-Verbose "`u{1F50E} Found and filtered in sample [$dir_norm] at $dir"
$sampleSet[$dir_norm] = $dir
}
Expand Down
15 changes: 5 additions & 10 deletions Build-Sample.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ Configuration name that will be used to build the solution. Common available val
.PARAMETER Platform
Platform to build the solution for (e.g. "x64", "arm64").

.PARAMETER InfVerif_AdditionalOptions
Additional options for infverif (e.g. "/samples").

.PARAMETER LogFilesDirectoy
Path to a directory where the log files will be written to. If not provided, outputs will be logged to the current working directory.

Expand All @@ -43,6 +46,7 @@ param(
[string]$SampleName,
[string]$Configuration = "Debug",
[string]$Platform = "x64",
[string]$InfVerif_AdditionalOptions = "/samples",
$LogFilesDirectory = (Get-Location)
)

Expand Down Expand Up @@ -138,16 +142,7 @@ $warnLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.wrn"
$OutLogFilePath = "$LogFilesDirectory\$SampleName.$Configuration.$Platform.out"

Write-Verbose "Building Sample: $SampleName; Configuration: $Configuration; Platform: $Platform {"

# Exclude certain InfVerif exceptions to allow samples to build and detect other errors.
# error 1205: Section [xxx] referenced from DelFiles and CopyFiles directive - network\trans
# error 1144: Device software with SoftwareType 1 may not execute on all product types - general\dchu\osrfx2_dchu_extension_tight
# error 1233: Missing directive CatalogFile required for digital signature - storage\class\disk
# error 2083: Section [xxx] not referenced or used - network\trans, storage\msdsm
# error 2084: Service binary 'xxx' should reference a CopyFiles destination file - network\trans, wpd\wpdservicesampledriver
# errors 1324, 1420, 1421, 1402 will be excluded in main branch only until the fixes are merged.
# error 2086 will be excluded until the WDK used in GitHub is updated.
msbuild $solutionFile -clp:Verbosity=m -t:clean,build -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="/samples /msft /sw1144 /sw1199 /sw1205 /sw1233 /sw1324 /sw1420 /sw1421 /sw2083 /sw2084 /sw2086 /sw1402" -p:SignToolWS=/fdws -p:DriverCFlagAddOn=/wd4996 -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath
msbuild $solutionFile -clp:Verbosity=m -t:rebuild -property:Configuration=$Configuration -property:Platform=$Platform -p:TargetVersion=Windows10 -p:InfVerif_AdditionalOptions="$InfVerif_AdditionalOptions" -warnaserror -flp1:errorsonly`;logfile=$errorLogFilePath -flp2:WarningsOnly`;logfile=$warnLogFilePath -noLogo > $OutLogFilePath
if ($env:WDS_WipeOutputs -ne $null)
{
Write-Verbose ("WipeOutputs: "+$Directory+" "+(((Get-Volume ($DriveLetter=(Get-Item ".").PSDrive.Name)).SizeRemaining/1GB)))
Expand Down
69 changes: 48 additions & 21 deletions Build-SampleSet.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,32 @@ finally {
}

#
# Determine build environment: 'WDK', 'EWDK', or 'GitHub'. Only used to determine build number.
# Determine build environment: 'GitHub', 'NuGet', 'EWDK', or 'WDK'. Only used to determine build number.
# Determine build number (used for exclusions based on build number). Five digits. Say, '22621'.
#
$build_environment=""
$build_number=0
#
# WDK NuGet will require presence of a folder 'packages'
#
#
# Hack: In GitHub we do not have an environment variable where we can see WDK build number, so we have it hard coded.
#
if (-not $env:GITHUB_REPOSITORY -eq '') {
$build_environment="GitHub"
$build_number=22621
}
#
# Hack: If user has hydrated nuget packages, then use those. That will be indicated by presence of a folder named .\packages.
#
elseif(Test-Path(".\packages")) {
$build_environment=("NuGet")
$build_number=26061
}
#
# EWDK sets environment variable BuildLab. For example 'ni_release_svc_prod1.22621.2428'.
#
if($env:BuildLab -match '(?<branch>[^.]*).(?<build>[^.]*).(?<qfe>[^.]*)') {
elseif($env:BuildLab -match '(?<branch>[^.]*).(?<build>[^.]*).(?<qfe>[^.]*)') {
$build_environment=("EWDK."+$Matches.branch+"."+$Matches.build+"."+$Matches.qfe)
$build_number=$Matches.build
}
Expand All @@ -64,13 +81,6 @@ elseif ($env:UCRTVersion -match '10.0.(?<build>.*).0') {
$build_environment="WDK"
$build_number=$Matches.build
}
#
# Hack: In GitHub we do not have an environment variable where we can see WDK build number, so we have it hard coded.
#
elseif (-not $env:GITHUB_REPOSITORY -eq '') {
$build_environment="GitHub"
$build_number=22621
}
else {

# Dump all environment variables so as to help debug error:
Expand All @@ -82,6 +92,21 @@ else {
exit 1
}

#
# InfVerif_AdditionalOptions
#
# Samples must build cleanly and even without warnings.
#
# An exception is for infverif where specific warnings are acceptable. Those
# specific warnings indicates issues intentially present in the samples, that
# anyone that clones the samples must fix as part of productizing a driver.
#
# In 22621 those warnings are: /sw1284 /sw1285 /sw1293 /sw2083 /sw2086
#
# After 22621 those warnings are put under a common flag: /samples
#
$InfVerif_AdditionalOptions=($build_number -le 22621 ? "/sw1284 /sw1285 /sw1293 /sw2083 /sw2086" : "/samples")

#
# Determine exclusions.
#
Expand Down Expand Up @@ -127,17 +152,18 @@ $jresult = @{

$SolutionsTotal = $sampleSet.Count * $Configurations.Count * $Platforms.Count

Write-Output ("Build Environment: " + $build_environment)
Write-Output ("Build Number: " + $build_number)
Write-Output ("Samples: " + $sampleSet.Count)
Write-Output ("Configurations: " + $Configurations.Count + " (" + $Configurations + ")")
Write-Output ("Platforms: " + $Platforms.Count + " (" + $Platforms + ")")
Write-Output "Combinations: $SolutionsTotal"
Write-Output "LogicalProcessors: $LogicalProcessors"
Write-Output "ThrottleFactor: $ThrottleFactor"
Write-Output "ThrottleLimit: $ThrottleLimit"
Write-Output "WDS_WipeOutputs: $env:WDS_WipeOutputs"
Write-Output ("Disk Remaining (GB): " + (((Get-Volume ($DriveLetter = (Get-Item ".").PSDrive.Name)).SizeRemaining / 1GB)))
Write-Output ("Build Environment: " + $build_environment)
Write-Output ("Build Number: " + $build_number)
Write-Output ("Samples: " + $sampleSet.Count)
Write-Output ("Configurations: " + $Configurations.Count + " (" + $Configurations + ")")
Write-Output ("Platforms: " + $Platforms.Count + " (" + $Platforms + ")")
Write-Output "InfVerif_AdditionalOptions: $InfVerif_AdditionalOptions"
Write-Output "Combinations: $SolutionsTotal"
Write-Output "LogicalProcessors: $LogicalProcessors"
Write-Output "ThrottleFactor: $ThrottleFactor"
Write-Output "ThrottleLimit: $ThrottleLimit"
Write-Output "WDS_WipeOutputs: $env:WDS_WipeOutputs"
Write-Output ("Disk Remaining (GB): " + (((Get-Volume ($DriveLetter = (Get-Item ".").PSDrive.Name)).SizeRemaining / 1GB)))
Write-Output ""
Write-Output "T: Combinations"
Write-Output "B: Built"
Expand All @@ -161,6 +187,7 @@ $SampleSet.GetEnumerator() | ForEach-Object -ThrottleLimit $ThrottleLimit -Paral
$exclusionReasons = $using:exclusionReasons
$Configurations = $using:Configurations
$Platforms = $using:Platforms
$InfVerif_AdditionalOptions = $using:InfVerif_AdditionalOptions
$Verbose = $using:Verbose

$sampleName = $_.Key
Expand All @@ -185,7 +212,7 @@ $SampleSet.GetEnumerator() | ForEach-Object -ThrottleLimit $ThrottleLimit -Paral
$thisresult = "Excluded"
}
else {
.\Build-Sample -Directory $directory -SampleName $sampleName -LogFilesDirectory $LogFilesDirectory -Configuration $configuration -Platform $platform -Verbose:$Verbose
.\Build-Sample -Directory $directory -SampleName $sampleName -LogFilesDirectory $LogFilesDirectory -Configuration $configuration -Platform $platform -InfVerif_AdditionalOptions $InfVerif_AdditionalOptions -Verbose:$Verbose
if ($LASTEXITCODE -eq 0) {
$thissucceeded += 1
$thisresult = "Succeeded"
Expand Down
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<Import Project="packages\Microsoft.Windows.WDK.x64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.WDK.x64.props" Condition="Exists('packages\Microsoft.Windows.WDK.x64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.WDK.x64.props') and '$(Platform)' == 'x64'"/>
<Import Project="packages\Microsoft.Windows.WDK.arm64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.WDK.arm64.props" Condition="Exists('packages\Microsoft.Windows.WDK.arm64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.WDK.arm64.props') and '$(Platform)' == 'ARM64'"/>
<Import Project="packages\Microsoft.Windows.SDK.CPP.x64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.x64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.x64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.x64.props') and '$(Platform)' == 'x64'"/>
<Import Project="packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.arm64.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.arm64.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.arm64.props') and '$(Platform)' == 'ARM64'"/>
<Import Project="packages\Microsoft.Windows.SDK.CPP.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.props" Condition="Exists('packages\Microsoft.Windows.SDK.CPP.10.0.26061.1-preview.ge-release\build\native\Microsoft.Windows.SDK.cpp.props')"/>
</Project>
Binary file modified TrEE/Miniport/TrEEMiniportSample.inf
Binary file not shown.
12 changes: 6 additions & 6 deletions TrEE/Miniport/TrEEMiniportSample.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,47 +38,47 @@
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Arm'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Arm'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
Expand Down
Binary file modified TrEE/OSService/TrEEOSServiceSample.inf
Binary file not shown.
12 changes: 6 additions & 6 deletions TrEE/OSService/TrEEOSServiceSample.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,47 +38,47 @@
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Arm'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Arm'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>False</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<TargetVersion>Windows10</TargetVersion>
<UseDebugLibraries>True</UseDebugLibraries>
<DriverTargetPlatform>Desktop</DriverTargetPlatform>
<DriverTargetPlatform>Universal</DriverTargetPlatform>
<DriverType>KMDF</DriverType>
<PlatformToolset>WindowsKernelModeDriver10.0</PlatformToolset>
<ConfigurationType>Driver</ConfigurationType>
Expand Down
Binary file not shown.
Loading
Loading