This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method returns the current timeout value for automatic lockup.
#define INCL_WINWORKPLACE #include <os2.h> WPDesktop *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG rc; /* Timeout value in minutes. */ rc = _wpQueryLockupTimeout(somSelf);