microsoft/Windows-driver-samples
View on GitHub ↗ ★ 7,910 C
This repo contains driver samples prepared for use with Microsoft Visual Studio and the Windows Driver Kit (WDK). It contains both Universal Windows Driver and desktop-only driver samples.
11 mentions on Hacker News by 10 people: 0 stories, 11 comments · first 2015-03-19 · latest 2025-10-08
20082026
-
Linux: lsusb -tv Windows: There's an example in the WDK here: https://github.com/Microsoft/Windows-driver-samples/tree/mai...
comment by razakel · 2025-10-08 · in A macOS terminal command that tells you if your USB-C cable is bad -
…has been open sourced here: https://github.com/microsoft/terminal And the FAT filesystem driver: https://github.com/microsoft/Windows-driver-samples/tree/mai... And also PowerShell: https://github.com/PowerShell/PowerShell And most of…
comment by skissane · 2024-08-24 · in Microsoft formally deprecates the Windows Control Panel -
…https://learn.microsoft.com/en-us/windows-hardware/drivers/o... https://github.com/microsoft/Windows-driver-samples
comment by rolph · 2023-08-30 · in When people ask for security holes as features: Privileged execution -
…(Not all MS code is like that --- they have plenty of other example code that uses goto, e.g.: https://github.com/microsoft/Windows-driver-samples/blob/mai... ) The existing API was even extensible, since it used a structure with a size…
comment by userbinator · 2023-02-26 · in GOTOphobia considered harmful in C -
…Microsoft used to include HAL extension samples in the Windows 10 driver samples – https://github.com/microsoft/Windows-driver-samples/tree/5b8... – but removed them as part of the Anniversary update –…
comment by skissane · 2022-06-08 · in Welcome to the M1 Windows project -
…maybe a little bit C++) Also, Windows drivers are usually much more convoluted than Linux drivers https://github.com/microsoft/Windows-driver-samples
comment by raverbashing · 2021-07-20 · in A GPIO Driver in Rust -
https://github.com/microsoft/Windows-driver-samples/tree/mas...
comment by pbalau · 2021-01-24 · in Deskreen – Turn any device with a web browser to a second computer screen -
…to the Win32 version presented in the talk and not nearly as gnarly as the Linux equivalent: https://github.com/microsoft/Windows-driver-samples/blob/mas... https://docs.microsoft.com/en-us/windows-hardware/drivers/dd... That said I'm just…
comment by magicalhippo · 2020-01-18 · in What Unix Cost Us [video] -
…times in C#, C and C++, and I saw it many more times in other people’s code. Microsoft DDK sample: https://github.com/Microsoft/Windows-driver-samples/blob/mas... Microsoft MediaFoundation sample: https://github.com/Microsoft/Windows-classi…
comment by Const-me · 2019-04-25 · in Why OO Sucks by Joe Armstrong (2000) -
…guarded with "extern "C"". Microsoft do have some sample drivers that are written in C++, e.g. https://github.com/Microsoft/Windows-driver-samples/tree/mas... [0]: https://github.com/Microsoft/Windows-Driver-Frameworks/tree/...
comment by poizan42 · 2016-04-13 · in Windows Kernel-Mode Drivers Written in Rust -
…than, say, 3 years old) [1]: http://www.amazon.com/Developing-Drivers-Foundation-Develope... [2]: https://github.com/Microsoft/Windows-driver-samples [3]: http://www.codeproject.com/Articles/9504/Driver-Development-...
comment by galaktor · 2015-03-19 · in The Windows Driver Frameworks are on GitHub