The WM_SPOOLERSTATUS message is sent from Print Manager whenever a job is added to or removed from the Print Manager queue.
A window receives this message through its WindowProc function.
LRESULT CALLBACK WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
The PR_JOBSTATUS flag.
The low-order word specifies the number of jobs remaining in the Print Manager queue.
An application should return zero if it processes this message.
This message is for informational purposes only. This message is advisory and does not have guaranteed delivery semantics. Applications should not assume that they will receive a WM_SPOOLERSTATUS message for every change in spooler status.
The WM_SPOOLERSTATUS message is not supported after Windows XP. To be notified of changes to the print queue status, you can use FindFirstPrinterChangeNotification and FindNextPrinterChangeNotification.
|Minimum supported client
||Windows 2000 Professional [desktop apps only]
|Minimum supported server
||Windows 2000 Server [desktop apps only]