Note:
Registration is not maintained across reboots.
Any new registration is in addition to existing registration(s) for the spooler handle passed in (if any handle was passed).
To remove registration, use SplUnRegister.
For each spooler alert handle, only the last hwndNotify passed in with the alert handle will be posted with alert messages.
That is, if you register window handle X and receive alert handle 1, then register for more alerts using window handle Y and alert handle 1, window handle Y will get alerts for alert handle 1, but window handle X will not get any alert messages.
Registration for alerts from a client on a print server requires that the user logged onto the client have authority to open a named pipe on the server. This access is normally granted to those users who have access to the print queue on a server.