Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
58260dd
Potentially uninitialized variable in bindview
Apr 23, 2026
d52da24
Potentially uninitialized variable in ndisbind.c
Apr 27, 2026
b6f3ead
Merge pull request #1374 from andremueiot/user/andremueiot/uninitiali…
5an7y-Microsoft May 7, 2026
be3310a
Merge pull request #1373 from andremueiot/user/andremueiot/uninitiali…
5an7y-Microsoft May 7, 2026
368e3e5
Move WinGet configs to _wdk_utils and update to SDK/WDK 28000
5an7y May 8, 2026
57ed9a2
Merge pull request #1381 from microsoft/user/jvalesmena/wdk2604-winget
5an7y-Microsoft May 8, 2026
4e1c208
Split winget DSC config into per-VS-edition files
5an7y May 8, 2026
d7ba74a
Merge pull request #1382 from microsoft/user/jvalesmena/wdk2604-winget
5an7y-Microsoft May 8, 2026
566fe95
netvmini/rssv2: fix mixed-width comparison in processor lookup loop
May 14, 2026
c4289d3
ndis: Harden QoS bytes calculation in netvmini control path
May 20, 2026
9a8b5af
Change runner to windows-2025-vs2026 for analysis job
5an7y-Microsoft May 21, 2026
08de007
Merge branch 'main' into user/andremueiot/comparison_wider_type
5an7y-Microsoft May 21, 2026
972ecc3
Merge branch 'main' into user/andremueiot/multiplication_converted_to…
5an7y-Microsoft May 21, 2026
fbc8658
Merge pull request #1383 from andremueiot/user/andremueiot/comparison…
5an7y-Microsoft May 21, 2026
c7ad9e8
Merge pull request #1386 from andremueiot/user/andremueiot/multiplica…
5an7y-Microsoft May 21, 2026
3fd877b
Removed trailing spaces under config and modem
May 21, 2026
e70dbdf
ndis: Removed trailing spaces
May 22, 2026
8a4fdd4
Merge pull request #1389 from andremueiot/user/andremueiot/trailing_s…
5an7y-Microsoft May 26, 2026
90c9d7a
Merge pull request #1388 from andremueiot/user/andremueiot/trailing_s…
5an7y-Microsoft May 26, 2026
ed0471c
Fixed typos
May 26, 2026
e1dcf60
Fixed comments
May 26, 2026
25b9db2
Fixed copyright comment
May 26, 2026
5abeda9
Fixed file name in top comment
May 26, 2026
7556214
Fixed more typos
May 26, 2026
e7f58ba
Fixed indentation
May 26, 2026
d385c50
devcon: In MSG_FAILURE, show the cmd name (#1350)
rwmjones Jun 1, 2026
923b789
Add entry for simplemediasource suppression
5an7y-Microsoft Jun 1, 2026
f2cf705
Fix typo in exclusions.csv for simplemediasource
5an7y-Microsoft Jun 1, 2026
13a9908
Merge pull request #1390 from andremueiot/user/andremueiot/typos2
5an7y-Microsoft Jun 3, 2026
7406226
Fix to use CPP20 for compiler
gerritsMSFT Jun 9, 2026
7bb4625
Remove general\simplemediasource from exclusions.csv
5an7y Jun 9, 2026
c877bfd
Reset to correct toolset
gerritsMSFT Jun 10, 2026
e99ae83
Merge pull request #1392 from microsoft/GerritsMSFTSimpleMediaPlayerC…
5an7y-Microsoft Jun 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Code-Scanning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
analyze:
name: Analysis
runs-on: windows-latest
runs-on: windows-2025-vs2026
permissions:
actions: read
contents: read
Expand Down
27 changes: 27 additions & 0 deletions _wdk_utils/winget/configs/wdk-desktop.vsconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"version": "1.0",
"components": [
"Component.Microsoft.Windows.DriverKit",
"Microsoft.Component.MSBuild",
"Microsoft.VisualStudio.Component.CoreEditor",
"Microsoft.VisualStudio.Component.DiagnosticTools",
"Microsoft.VisualStudio.Component.Roslyn.Compiler",
"Microsoft.VisualStudio.Component.TextTemplating",
"Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.ATL.Spectre",
"Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre",
"Microsoft.VisualStudio.Component.VC.CoreIde",
"Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre",
"Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
"Microsoft.VisualStudio.Workload.CoreEditor",
"Microsoft.VisualStudio.Workload.NativeDesktop"
],
"extensions": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage
directives:
description: Install Visual Studio 2022 Community
description: Install Visual Studio Community
allowPrerelease: true
settings:
id: Microsoft.VisualStudio.2022.Community
id: Microsoft.VisualStudio.Community
source: winget
useLatest: true
- resource: Microsoft.VisualStudio.DSC/VSComponents
Expand All @@ -18,49 +18,48 @@ properties:
description: Install required VS workloads and components
settings:
productId: Microsoft.VisualStudio.Product.Community
channelId: VisualStudio.17.Release
channelId: VisualStudio.18.Release
includeRecommended: false
components:
- Microsoft.VisualStudio.Component.VC.CoreBuildTools
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
- Microsoft.VisualStudio.Component.Windows10SDK
- Microsoft.VisualStudio.Component.VC.ATL
- Microsoft.VisualStudio.Component.VC.ATL.ARM64
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
- Component.Microsoft.Windows.DriverKit
- Microsoft.Component.MSBuild
- Microsoft.VisualStudio.Component.CoreEditor
- Microsoft.VisualStudio.Component.DiagnosticTools
- Microsoft.VisualStudio.Component.Roslyn.Compiler
- Microsoft.VisualStudio.Component.TextTemplating
- Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.ATLMFC
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
- Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
- Microsoft.VisualStudio.Component.VC.ASAN
- Microsoft.VisualStudio.Component.NuGet.BuildTools
- Microsoft.VisualStudio.Component.VC.MFC.ARM64
- Microsoft.VisualStudio.Component.VC.CoreIde
- Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
- Microsoft.VisualStudio.Workload.CoreEditor
- Microsoft.VisualStudio.Workload.NativeDesktop
- Component.Microsoft.Windows.DriverKit
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: sdkPackage
directives:
description: Install Windows SDK version 26100
description: Install Windows SDK version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsSDK.10.0.26100
id: Microsoft.WindowsSDK.10.0.28000
source: winget
useLatest: true
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: wdkPackage
dependsOn:
- sdkPackage
directives:
description: Install Windows Driver Kit version 26100
description: Install Windows Driver Kit version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsWDK.10.0.26100
id: Microsoft.WindowsWDK.10.0.28000
source: winget
useLatest: true
configurationVersion: 0.2.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ properties:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage
directives:
description: Install Visual Studio 2022 Community
description: Install Visual Studio Enterprise
allowPrerelease: true
settings:
id: Microsoft.VisualStudio.2022.Community
id: Microsoft.VisualStudio.Enterprise
source: winget
useLatest: true
- resource: Microsoft.VisualStudio.DSC/VSComponents
Expand All @@ -17,30 +17,49 @@ properties:
directives:
description: Install required VS workloads and components
settings:
productId: Microsoft.VisualStudio.Product.Community
channelId: VisualStudio.17.Release
productId: Microsoft.VisualStudio.Product.Enterprise
channelId: VisualStudio.18.Release
includeRecommended: false
components:
- Microsoft.VisualStudio.Component.VC.CoreBuildTools
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
- Microsoft.VisualStudio.Component.Windows10SDK
- Microsoft.VisualStudio.Component.VC.ATL
- Microsoft.VisualStudio.Component.VC.ATL.ARM64
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
- Component.Microsoft.Windows.DriverKit
- Microsoft.Component.MSBuild
- Microsoft.VisualStudio.Component.CoreEditor
- Microsoft.VisualStudio.Component.DiagnosticTools
- Microsoft.VisualStudio.Component.Roslyn.Compiler
- Microsoft.VisualStudio.Component.TextTemplating
- Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.ATLMFC
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
- Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
- Microsoft.VisualStudio.Component.VC.ASAN
- Microsoft.VisualStudio.Component.NuGet.BuildTools
- Microsoft.VisualStudio.Component.VC.MFC.ARM64
- Microsoft.VisualStudio.Component.VC.CoreIde
- Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
- Microsoft.VisualStudio.Workload.CoreEditor
- Microsoft.VisualStudio.Workload.NativeDesktop
- Component.Microsoft.Windows.DriverKit
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: sdkPackage
directives:
description: Install Windows SDK version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsSDK.10.0.28000
source: winget
useLatest: true
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: wdkPackage
dependsOn:
- sdkPackage
directives:
description: Install Windows Driver Kit version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsWDK.10.0.28000
source: winget
useLatest: true
configurationVersion: 0.2.1
65 changes: 65 additions & 0 deletions _wdk_utils/winget/configs/wdk-vsprofessional.dsc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
resources:
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: vsPackage
directives:
description: Install Visual Studio Professional
allowPrerelease: true
settings:
id: Microsoft.VisualStudio.Professional
source: winget
useLatest: true
- resource: Microsoft.VisualStudio.DSC/VSComponents
id: vsComponents
dependsOn:
- vsPackage
directives:
description: Install required VS workloads and components
settings:
productId: Microsoft.VisualStudio.Product.Professional
channelId: VisualStudio.18.Release
includeRecommended: false
components:
- Component.Microsoft.Windows.DriverKit
- Microsoft.Component.MSBuild
- Microsoft.VisualStudio.Component.CoreEditor
- Microsoft.VisualStudio.Component.DiagnosticTools
- Microsoft.VisualStudio.Component.Roslyn.Compiler
- Microsoft.VisualStudio.Component.TextTemplating
- Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.ATL.Spectre
- Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
- Microsoft.VisualStudio.Component.VC.CoreIde
- Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Redist.14.Latest
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
- Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
- Microsoft.VisualStudio.Component.VC.Tools.ARM64
- Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
- Microsoft.VisualStudio.Component.VC.Tools.x86.x64
- Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
- Microsoft.VisualStudio.Workload.CoreEditor
- Microsoft.VisualStudio.Workload.NativeDesktop
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: sdkPackage
directives:
description: Install Windows SDK version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsSDK.10.0.28000
source: winget
useLatest: true
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: wdkPackage
dependsOn:
- sdkPackage
directives:
description: Install Windows Driver Kit version 28000
allowPrerelease: true
settings:
id: Microsoft.WindowsWDK.10.0.28000
source: winget
useLatest: true
configurationVersion: 0.2.1
1 change: 0 additions & 1 deletion exclusions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ general\pcidrv,*,26100,,"failure introduced in VS17.14, suppressed until fix"
serial\serial,*,26100,,"failure introduced in VS17.14, suppressed until fix"
network\wlan\wdi,*,26100,,"failure introduced in VS17.14, suppressed until fix"
tools\kasan\samples\kasandemo-wdm,*|x64,26100,,"failure introduced in VS17.14, suppressed until fix"

9 changes: 4 additions & 5 deletions general/SimpleMediaSource/MediaSource/MediaSource.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{43AD9BF7-E765-48FE-9826-71A8F2CB12DD}</ProjectGuid>
<RootNamespace>MediaSource</RootNamespace>
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
<ProjectName>SimpleMediaSource</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Expand Down Expand Up @@ -99,7 +98,7 @@
<EnablePREfast>false</EnablePREfast>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PrecompiledHeader>Create</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>..\..\..\wil\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand All @@ -119,7 +118,7 @@
<EnablePREfast>false</EnablePREfast>
<ExceptionHandling>Sync</ExceptionHandling>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PrecompiledHeader>Create</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>..\..\..\wil\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand All @@ -141,7 +140,7 @@
<EnablePREfast>false</EnablePREfast>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<ExceptionHandling>Sync</ExceptionHandling>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PrecompiledHeader>Create</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>..\..\..\wil\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand All @@ -165,7 +164,7 @@
<EnablePREfast>false</EnablePREfast>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<ExceptionHandling>Sync</ExceptionHandling>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PrecompiledHeader>Create</PrecompiledHeader>
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
<AdditionalIncludeDirectories>..\..\..\wil\include;$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
6 changes: 3 additions & 3 deletions general/SimpleMediaSource/MediaSource/SimpleMediaSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ namespace winrt::WindowsSample::implementation
RETURN_IF_FAILED(m_streamList[i]->Initialize(this, i, MFSampleAllocatorUsage_UsesProvidedAllocator));

RETURN_IF_FAILED(m_streamList[i]->GetStreamDescriptor(&streamDescriptorList[i]));
}
}

RETURN_IF_FAILED(MFCreatePresentationDescriptor(m_streamList.size(), streamDescriptorList.get(), &m_spPresentationDescriptor));
RETURN_IF_FAILED(MFCreatePresentationDescriptor(static_cast<DWORD>(m_streamList.size()), streamDescriptorList.get(), &m_spPresentationDescriptor));

m_sourceState = SourceState::Stopped;
m_sourceState = SourceState::Stopped;

return S_OK;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x64">
Expand Down Expand Up @@ -59,7 +59,6 @@
<Configuration>Debug</Configuration>
<Platform Condition="'$(Platform)' == ''">x64</Platform>
<RootNamespace>SimpleMediaSourceDriver</RootNamespace>
<WindowsTargetPlatformVersion>$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
</PropertyGroup>
<PropertyGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PlatformToolset>WindowsUserModeDriver10.0</PlatformToolset>
Expand Down Expand Up @@ -128,6 +127,7 @@
<WppEnabled>true</WppEnabled>
<WppRecorderEnabled>true</WppRecorderEnabled>
<WppScanConfigurationData Condition="'%(ClCompile.ScanConfigurationData)' == ''">trace.h</WppScanConfigurationData>
<LanguageStandard>stdcpp20</LanguageStandard>
</ClCompile>
<Link>
<AdditionalDependencies>%(AdditionalDependencies);OneCoreUAP.lib</AdditionalDependencies>
Expand Down
Loading
Loading