Storport - no SRB_FUNCTION_POWER

I’m writing a Storport driver, and I’m trying to do some operations on shutdown. However I never receive SRB_FUNCTION_POWER. Is there any configuration flag or something else that I’m missing? Thank you.

When you receive SRB_FUNCTION_POWER, it’s too late to do any I/O.
Use SRB_FUNCTION_SHUTDOWN.