What operations shouldn't drivers perform when APCs are disabled?

Hello,

While reading Win internals :

“Because there are certain operations that drivers shouldn’t perform
when special kernel APCs are disabled…”

I wonder what these “certain operations” are?

Regards

> While reading Win internals :

“Because there are certain operations that drivers shouldn’t perform
when special kernel APCs are disabled…”

I wonder what these “certain operations” are?

All ZwXxxFile calls. They rely on IopCompleteRequest APC which will be blocked.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

> I wonder what these “certain operations” are?

Anything that is described in documentation with “IRQL==PASSIVE_LEVEL” constraint falls into this category. IIRC, all ZwXXX calls belong to this category, as well as creation of system threads, registering PsXXX callbacks and many other operations that, apparently, may involve APC delivery to the calling thread…

Anton Bassov