This article only has code sample. If you need explanation, see this article.
This is the code for below WDK 10. If you have newer WDK than 8.1, erase namespace Windows 10.
[snippet slug=windows-10-nvme-passthrough-sample-cpp lang=c_cpp]
This article only has code sample. If you need explanation, see this article.
This is the code for below WDK 10. If you have newer WDK than 8.1, erase namespace Windows 10.
[snippet slug=windows-10-nvme-passthrough-sample-cpp lang=c_cpp]