IoRegisterBootDriverReinitialization()

I’ve found that the callback set via the
IoRegisterBootDriverReinitialization() routine does not get called unless
the driver is actually loaded at boot time (in XPsp2 at least). My driver
is a boot driver, but can also be loaded immediately after installation.

Is there some API that I’m missing that defines what phase of the system
I’m executing in (so I can just directly call my post boot routine if the
system has already booted…)? I suppose I could look for portions of the
name-space that aren’t available at boot time, but that seems a bit ugly.

t.