I have a necessity to use the ZwSetValueKey()
function declared in the Wdm.h
header file available as a part of the Windows Driver Kit (WDK) to access the registry keys created by a kernel mode driver but Visual Studio does not allow the use of the WDK headers as it fails to detect the required header file when included (by referring to the error message stating that Wdm.h
cannot be opened).
Thanks in advance.