safe boot mode detecting under w2k

Hello, All!

How to detect a safe mode boot under w2k from boot driver? As I discovered
there are exist an export variable InitSafeBootMode… In XP ddk I found a
KUSER_SHARED_DATA structure with SafeBootMode member, but in w2k ddk that
member is not declared… I tried to use
IoRegisterBootDriverReinitialization and read the registry’s “Option” key
with no success (at that time this key is not exist)…

What path is valid?

Eugene.