コンパイルできないこのドライバーがあります。ネットでエラーを検索しましたが、解決策が見つかりませんでした。何かご意見は?
#include <wdm.h>
VOID Unload(IN PDRIVER_OBJECT pDriverObject)
{
DbgPrint("Received signal to unload the driver");
return;
}
NTSTATUS DriverEntry(IN PDRIVER_OBJECT pDriverObject, IN PUNICODE_STRING regPath)
{
DbgPrint("Driver has been loaded");
(*pDriverObject).DriverUnload = Unload;
return(STATUS_SUCCESS);
}
以下のエラー:
1>------ Build started: Project: KMDF Test, Configuration: Win7 Debug Win32 ------
1> Stamping Win7Debug\KMDFTest.inf [Version] section with DriverVer=12/04/2012,10.12.25.726
1> cl wpp
1>wpp : error : (WppCreateFile)Cannot open file trace.h, error 2
2>------ Build started: Project: KMDF Test Package, Configuration: Win7 Debug Win32 ------
2>C:\Program Files\Windows Kits\8.0\build\WindowsDriver8.0.common.targets(1347,5): error MSB3030: Could not copy the file "C:\Users\Administrator\documents\visual studio 2012\Projects\KMDF Test\Win7Debug\KMDFTest.sys" because it was not found.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========