Re:Windows Kernel-Mode Drivers Written in Rust
by tobias3 on Wednesday April 13, 2016 @03:08PM
(#11491227)
Do you have a source for that? KMDF seems to be a C-API.
[ Parent
| on HN ]
Re:Windows Kernel-Mode Drivers Written in Rust
by poizan42 on Wednesday April 13, 2016 @03:47PM
(#11491568)
I meant it's written in C++[0]. The interface is exported through standard C functions, but the header files also have the declarations 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/...
Re:Windows Kernel-Mode Drivers Written in Rust
by drv on Wednesday April 13, 2016 @03:36PM
(#11491468)
It has a C API, but everything under the hood is C++. The source is actually public now: https://github.com/Microsoft/Windows-Driver-Frameworks