The WM_SPOOLERSTATUS message is sent from Windows Print Manager whenever a job is added to or removed from the Print Manager queue.
WM_SPOOLERSTATUS
fwJobStatus = wParam; // job-status flag
cJobsLeft = LOWORD(lParam); // number of jobs remaining
Parameters
fwJobStatus
Value of wParam. Specifies the PR_JOBSTATUS flag.
cJobsLeft
Value of the low-order word of lParam. Specifies the number of jobs remaining in the Print Manager queue.
Return Values
An application should return zero if it processes this message.
Remarks
This message is for informational purposes only.