Open zhangwenjian opened 1 year ago
I am using UMDF 2.15, iddCx 1.0, and I can install this driver normally on Windows Server 2016. However, a virtual display was not created. By checking the logs in debugview, it was found that IddCxAdapterInitAsync returned 0x80070002, and the cause has not yet been identified. Are you also studying the compatibility of this driver on Windows Server 2016? Can we communicate together?
I build this driver with _NT_TARGET_VERSION Windows 10.0.14393, UMDF version 2.19 and IddCx version 1.2, it works on my win10 desktop. When I try to install the driver on win 2016 server, the driver is failed to load and error is CM_PROB_FAILED_ADD in system log.
I try to windbg and confirm that DllMain is called with true returned, then blocked with this call stack:
It seems DriverEntry was called, but the breakpoint IddSampleDriver!DriverEntry not triggered. I read the following article of msdn but don't what to do next. https://learn.microsoft.com/en-us/windows-hardware/drivers/wdf/determining-why-the-umdf-driver-fails-to-load-or-the-umdf-device-fails