ExNotifyCallback

I don’t see anything in the documentation that suggests that there must
be at least one registration for a callback before someone else tries to
notify that callback, but I’m looking at a dump where ExNotifyCallback
has jumped to address 0.

I have assumed that a call to ExNotifyCallback before anyone called
ExRegisterCallback would simply do nothing very quickly. Is that
assumption false?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

Tim Roberts wrote:

I don’t see anything in the documentation that suggests that there
must be at least one registration for a callback before someone else
tries to notify that callback, but I’m looking at a dump where
ExNotifyCallback has jumped to address 0.

I have assumed that a call to ExNotifyCallback before anyone called
ExRegisterCallback would simply do nothing very quickly. Is that
assumption false?

Please ignore this. I fell into the trap of not noticing the difference
between a PCALLBACK_OBJECT and a PCALLBACK_OBJECT*, and because it’s an
incomplete type, the compiler doesn’t catch the mismatch.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.