Kdmf driver example on windows 8.1

0

The host and target computers are win 8.1

I have build a project Kmdf hello world like that https://docs.microsoft.com/en-us/windows-hardware/drivers/gettingstarted/writing-a-very-small-kmdf--driver I have a problem at Driver Preparation

$KitRoot$\Testing\Runtimes\TAEF\te.exe "%SystemDrive%\DriverTest\Run\DriverTestTasks_downlevel.dll" /select:"@Name='DriverTestTasks::_DriverPreparation'" /p:"InfFile=KMDFHelloWorld.inf" /p:"ImportDriver=1" /p:"RemoveDriver=1" /p:"CertificateFile=KMDFHelloWorld.cer" /p:"PackageGuid=x64" /p:"HardwareId=Root\KmdfHelloWorld" /rebootStateFile:%SystemDrive%\DriverTest\Run\DriverTestReboot.xml /enableWttLogging /wttDeviceString:$LogFile:file="%SystemDrive%\DriverTest\Run\Driver_Preparation_00031.wtl",writemode=append,encoding=unicode,nofscache=true,EnableLvl="WexStartTest|WexEndTest|WexXml|WexProperty|WexCreateContext|WexCloseContext|*" /runas:Elevated
[15:44:36:662]: Result Summary: Total=1, Passed=0, Failed=1, Blocked=0, Warned=0, Skipped=0
[15:44:36:670]: ERROR: Task "Driver Preparation" failed to complete successfully. Look at the logs in the driver test group explorer for more details on the failure.

in the log:

`enter code here`Error 
    File="" 
    Line="-1" 
    ErrCode="0x0" 
    ErrType="" 
    ErrorText="Error 0x00000000" 
    UserText="[HRESULT 0x800706BE] Failed to invoke test operation: 'DriverTestTasks::_DriverPreparation'.
 (Test Host Process could not be reached. It has terminated with an exit code of 0xC0000409.) (The message to invoke a test operation was not properly handled by the host process.)" CA="1720209" LA="1724743" 

I using TCP channel to debug.

kmdf
asked on Stack Overflow Oct 12, 2017 by ter

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0