This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method sets the 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 ulLockupTimeout; /* Automatic lockup timeout value in seconds. */ wpSetLockupTimeout(somSelf, ulLockupTimeout);