Allows a device driver to register itself with the Session Manager.
DosSMRegisterDD
RegisterData (PREGISTERDATA) - input
Length (USHORT)
Bit
418
The Session Manger calls the registered device driver during a session switch, based on the specific form of notifications required.
The notification IOCTL passed to the device driver has the following format:
Size
The device driver passes a bit map that informs the session manager when the device driver needs to be called. The possible phases are:
Before a session save After a session save (before a restore)
After a session restore
After a session termination.
The device drivers must issue this API only during their initialization phase. After the session manager has been initialized, it rejects all further calls to this API, returning ERROR_SMG_INVALID_CALL.