The display driver fails to start correctly in the Win7 64-bit environment.

Sam Lee 0 Reputation points
2024-11-11T08:18:17.3066667+00:00

Hi Sir,

While developing the Win7 32-bit/64-bit display driver, the same source code works fine in the 32-bit environment, but in the 64-bit environment, the driver fails to function correctly.

Using WinDbg, I found that win32k.sys stops after executing DrvGetModes twice and doesn’t proceed to the next initialization step, which should normally be DrvEnableDriver followed by DrvEnablePDEV.

I've confirmed that the data and flow in DrvGetModes are exactly the same as in the 32-bit environment.

I'm currently stuck and unsure of what else to check—any help would be appreciated.

Thanks for yours kindly reply.

Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
137 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.