This function is specific to OS/2 Version 2.1 or higher.
This hook is called when the system locks itself up.
#define INCL_WINHOOKS /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* The application anchor block. */ HWND hwndLockupFrame; /* The frame window of the lockup panel. */ LockupHook(hab, hwndLockupFrame);