Hacker GitHub

← All repos

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

Mentions per year 11 mentions · busiest year 2021 (2)
20082026
  1. Linux: lsusb -tv Windows: There's an example in the WDK here: https://github.com/Microsoft/Windows-driver-samples/tree/mai...
  2. …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…
  3. …https://learn.microsoft.com/en-us/windows-hardware/drivers/o... https://github.com/microsoft/Windows-driver-samples
  4. …(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
  5. …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
  6. …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
  7. https://github.com/microsoft/Windows-driver-samples/tree/mas...
  8. …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]
  9. …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)
  10. …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/...
  11. …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-...