PBT_APMRESUMECRITICAL
Operation resuming after critical suspension.
PBT_APMRESUMESUSPEND
Operation resuming after suspension.
PBT_APMSUSPEND
System is suspending operation.
But there are not wParam to detect automatic "standby" when windows put the screen saver. I am speaking about the event triggered when the time you chose for the screen saver is collapsed (Control panel->Display->Screen saver)