WpSetLockupTimeout: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpSetLockupTimeout}} 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. ==Syntax== wpSetLockupTimeout(somSelf, ulLockupTimeout) ==Parameters== ;''somSelf'' (WPDesktop *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPDesktop. ;''ulLockupTimeout'' (ULONG) - input :Automatic lockup timeout value..." |
(No difference)
|
Latest revision as of 03:37, 25 November 2025
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.
Syntax
wpSetLockupTimeout(somSelf, ulLockupTimeout)
Parameters
- somSelf (WPDesktop *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPDesktop.
- ulLockupTimeout (ULONG) - input
- Automatic lockup timeout value in seconds.
Returns
- rc (none) - returns
- There is no return value for this method.
How to Override
This method is generally not overridden.
Usage
This method can be called at any time in order to set the lockup automatic timeout value for the current desktop.
Remarks
This method is not covered in the provided text.
Example Code
#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);
/* Example code provided in the source: */
WPDesktop *Desktop;
Desktop = _wpclsQueryObjectFromPath("<WP_DESKTOP>");
_wpSetLockupTimeout(Desktop,15);