<feed xmlns='http://www.w3.org/2005/Atom'>
<title>windows-driver-samples.git/.github/scripts, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/windows-driver-samples.git/atom/.github/scripts?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/windows-driver-samples.git/atom/.github/scripts?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/'/>
<updated>2026-06-23T18:05:03Z</updated>
<entry>
<title>Drop hardcoded version defaults and the un-discoverable label map</title>
<updated>2026-06-23T18:05:03Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-23T18:05:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=8745e5b82f0a0183e779dcdcc8164ad926fdcf8c'/>
<id>urn:sha1:8745e5b82f0a0183e779dcdcc8164ad926fdcf8c</id>
<content type='text'>
- Remove the hand-maintained _NT_TARGET_VERSION -&gt; friendly-name map (latest/24H2/...)
  from Join-CsvReports.ps1, along with its "Release" column in the HTML and step-summary
  tables; those labels cannot be auto-discovered.
- Stop hardcoding a version in the helper defaults: Import-SampleExclusions' -NtTargetVersion
  now defaults to empty (treated as the latest, so no NT-scoped row applies), and
  Build-SingleSample's -NtTargetVersionCode has no hardcoded code (the resolved value is
  always passed in). Blank MaxNtTargetVersion now uses [int]::MaxValue so 'latest'/empty
  matches the newest version's exclusion set.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Auto-discover _NT_TARGET_VERSION; remove the TargetVersion axis</title>
<updated>2026-06-23T17:38:40Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-23T17:38:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=ceceab78412feefd2f343a0e3bc07f1262665b62'/>
<id>urn:sha1:ceceab78412feefd2f343a0e3bc07f1262665b62</id>
<content type='text'>
- Remove the -TargetVersion parameter and all its plumbing from Build-Samples.ps1 (restoring
  the original hard-coded -p:TargetVersion=Windows10), and drop the TargetVersions column from
  exclusions.csv and Import-SampleExclusions. Only _NT_TARGET_VERSION remains exposed.
- Add Get-NtTargetVersions.ps1, which auto-discovers the valid _NT_TARGET_VERSION values (and
  their NTDDI codes) by parsing the active WDK's DriverGeneral.xml rule. Build-Samples.ps1 uses
  it to validate -NtTargetVersion, default to the latest, and map to the msbuild code, so a new
  WDK version needs no script change (accepts '10.0.&lt;build&gt;' or the short '&lt;build&gt;' tag).
- CI: ci.yml and ci-pr.yml gain a 'discover' job that emits the newest-N versions as JSON; the
  build matrix consumes it via fromJSON, so there is no hand-maintained version list anywhere.
  Build-ChangedSamples.ps1 treats Get-NtTargetVersions.ps1 as a full-build trigger.
- Docs updated accordingly.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Add NT-version-scoped exclusions and a parallel multi-version CI matrix</title>
<updated>2026-06-23T00:31:47Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-06-23T00:31:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=be91bbd2dc4478a57a4007fc32fe320da79f85e1'/>
<id>urn:sha1:be91bbd2dc4478a57a4007fc32fe320da79f85e1</id>
<content type='text'>
Exclusions:
- Add MinNtTargetVersion/MaxNtTargetVersion columns to exclusions.csv so a row can apply
  only within an _NT_TARGET_VERSION build-number range (parsed from -NtTargetVersion, e.g.
  22000 from 10.0.22000). Import-SampleExclusions filters this range at load time alongside
  the existing build-number range; blank = unbounded.
- Exclude the samples that fail only when linking against older library sets, with the
  reason taken from the build logs: audio.sysvad (&lt;=22000, KSJACK_DESCRIPTION3);
  network.netadaptercx.netvadapter and network.wlan.wificx (&lt;=22621, NDIS/DDI version);
  powerlimit.plclient/plpolicy (&lt;=22621, POWER_LIMIT_ATTRIBUTES); storage classpnp/storahci
  (&lt;=22621, STOR_ADDRESS_TYPE_NVME, Debug-only) and storage.msdsm (Debug|x64). usb.usbview is
  intentionally NOT excluded: it fails on every version for a known host reason (missing
  .NET 4.7.2/4.8.1 targeting packs).

CI:
- ci.yml and ci-pr.yml: add _NT_TARGET_VERSION as a manual matrix axis (4 newest versions,
  latest-first) so each version x configuration x platform runs on its own parallel runner.
- Build-Samples.ps1 and Join-CsvReports.ps1 now write an easy-to-scan Markdown summary to
  GITHUB_STEP_SUMMARY: each build job shows counts and a failures table with the first error;
  the report job shows per-version totals and a consolidated failures list, plus the
  colour-coded sample x version HTML/CSV overview.

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Merge Build-Sample.ps1 into Build-Samples.ps1 as internal function</title>
<updated>2026-03-30T22:32:35Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:32:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=bc6b2708d9d762dde716a2af7c8fa08534c1afcc'/>
<id>urn:sha1:bc6b2708d9d762dde716a2af7c8fa08534c1afcc</id>
<content type='text'>
- Inline Build-Sample.ps1 logic as Build-SingleSample function in Build-Samples.ps1
- Pass function definition into parallel runspaces via $using: pattern
- Replace exit codes with return values for in-process execution
- Delete Build-Sample.ps1 (no longer needed as a separate script)
- Update Build-ChangedSamples.ps1 trigger file list
</content>
</entry>
<entry>
<title>Remove Build-AllSamples.ps1 and Build-SampleSet.ps1 in favor of Build-Samples.ps1</title>
<updated>2026-03-30T22:26:00Z</updated>
<author>
<name>5an7y</name>
<email>jose.santiago7@hotmail.com</email>
</author>
<published>2026-03-30T22:26:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d92950792737971182298c34d7efa445fbb23728'/>
<id>urn:sha1:d92950792737971182298c34d7efa445fbb23728</id>
<content type='text'>
- Delete Build-AllSamples.ps1 and Build-SampleSet.ps1 (replaced by Build-Samples.ps1)
- Update ci.yml workflow to call Build-Samples.ps1
- Update Build-ChangedSamples.ps1 to call Build-Samples.ps1
- Rewrite Building-Locally.md Step 6 with new script usage and output format
- Update Step 7 NuGet notes to reference Build-Samples.ps1
</content>
</entry>
<entry>
<title>Deprecate WDK VSIX Install (#1219)</title>
<updated>2024-09-24T02:43:48Z</updated>
<author>
<name>Matt</name>
<email>138825652+middlemose@users.noreply.github.com</email>
</author>
<published>2024-09-24T02:43:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=5c4ceaef72f0af992966a7d2ac7ac7d897f091d3'/>
<id>urn:sha1:5c4ceaef72f0af992966a7d2ac7ac7d897f091d3</id>
<content type='text'>
* Deprecate WDK vsix install

* Fix WDK extension version print

* Remove unecessary splitting on version

* Minor build info refactor

* Fix indentation of output info

* Enough messing with volume size output

* Cleanup comment for vsix version

* More cleanup and doc update

* Remove deprecation statement and install vsix script.

* Fixes and updates to building locally documentation.

* Dont code scan on license or .md files.

* Code scanning ignore changes to .md when pull request is made</content>
</entry>
<entry>
<title>Upgrade nuget SDK and WDK packages to 26100.1591 (#1217)</title>
<updated>2024-09-19T03:30:02Z</updated>
<author>
<name>JakobL-MSFT</name>
<email>110699333+JakobL-MSFT@users.noreply.github.com</email>
</author>
<published>2024-09-19T03:30:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=66f7736077b6fb6573418885390076e24a4daef6'/>
<id>urn:sha1:66f7736077b6fb6573418885390076e24a4daef6</id>
<content type='text'>
* Upgrade NuGet to 10.0.26100.1591</content>
</entry>
<entry>
<title>RI develop to main (#1189)</title>
<updated>2024-06-28T16:56:29Z</updated>
<author>
<name>JakobL-MSFT</name>
<email>110699333+JakobL-MSFT@users.noreply.github.com</email>
</author>
<published>2024-06-28T16:56:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=263b19b4347fcda2e236c14a9daf41e7d518625d'/>
<id>urn:sha1:263b19b4347fcda2e236c14a9daf41e7d518625d</id>
<content type='text'>
* Memory leakage in message

"sizeof(SCANNER_MESSAGE) * threadCount * requestCount" bytes long memory is allocated but only "sizeof(SCANNER_MESSAGE) * threadCount" bytes long of it is freed.

* Handles malloc function fail case

* Refactors comment line

* Solves the miscalculation of the message index

* simbatt: Fix broken registry read-back

The GetSimBattStateFromRegistry function is currently using default settings if GetSimBattStateFromRegistry succeeds, whereas settings from registry are only applied if GetSimBattStateFromRegistry fails. This does not make sense to me.

Therefore proposing to remove the `!` negation from `if (!NT_SUCCESS(Status)) {` on the line after `Status = GetSimBattStateFromRegistry(Device, RegState);` so that default settings are loaded when registry read-back fails.

* Issue of freeing memory without waiting completion of threads accessing it is fixed

* Fixes information leakage warning

Fixes the issue of possible information leakage from uninitialized padding bytes

* Avoids possible multiplication overflow warning

* Avoids possible multiplication overflow warning

* CI Pipelines build with WDK Nuget Packages (#1179)

Integrate nuget into the workflow pipelines

* FI from main to develop (#1188)

Fix text and minor issues in Winget configuration files

Co-authored-by: Adonais Romero Gonzalez &lt;adonais.neoadonis@gmail.com&gt;

* Improve version info, vsix installation, and update building locally readme

* Fix printing vsix version

* Refactored vsix install and cleaned up build sampleset

---------

Co-authored-by: İsa Yurdagül &lt;38290414+isayrdgl@users.noreply.github.com&gt;
Co-authored-by: Fredrik Orderud &lt;fredrik.orderud@ge.com&gt;
Co-authored-by: Christian Allred &lt;13487734+cgallred@users.noreply.github.com&gt;
Co-authored-by: tristanb-ntdev &lt;60945150+tristanb-ntdev@users.noreply.github.com&gt;
Co-authored-by: Matt &lt;138825652+middlemose@users.noreply.github.com&gt;
Co-authored-by: Adonais Romero Gonzalez &lt;adonais.neoadonis@gmail.com&gt;</content>
</entry>
<entry>
<title>Partial Manual Merge of develop to main specifically to add support for fine grained exclusions (#1076)</title>
<updated>2024-01-15T21:06:49Z</updated>
<author>
<name>JakobL-MSFT</name>
<email>110699333+JakobL-MSFT@users.noreply.github.com</email>
</author>
<published>2024-01-15T21:06:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d3e7ba7e0625b0235a51206f558b4b5574992916'/>
<id>urn:sha1:d3e7ba7e0625b0235a51206f558b4b5574992916</id>
<content type='text'>
user/jakob/partial_manual_merge_develop_to_main_fine_grained_exclusion</content>
</entry>
<entry>
<title>Add configuration filter to exclusion list (#1001)</title>
<updated>2023-06-29T21:41:47Z</updated>
<author>
<name>Adonais Romero González</name>
<email>adonais.neoadonis@gmail.com</email>
</author>
<published>2023-06-29T21:41:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/windows-driver-samples.git/commit/?id=d9acf794c92ba2fb0525f6c794ef394709035ac3'/>
<id>urn:sha1:d9acf794c92ba2fb0525f6c794ef394709035ac3</id>
<content type='text'>
</content>
</entry>
</feed>
