Do you have a source for that? KMDF seems to be a C-API.
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/...