This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method returns the current values for the lockup background.
#define INCL_WINWORKPLACE #include <os2.h> WPDesktop *somSelf; /* Pointer to the object on which the method is being invoked. */ PSZ *ppszImageFileName; /* Pointer to the name of the background image file (or NULL if none is defined). */ ULONG *pulImageMode; /* Pointer to one of the following image modes: */ ULONG *pulScaleFactor; /* Pointer to the scaling factor if the image mode is SCALED_IMAGE. */ ULONG *pulBackgroundType; /* Pointer to one of the following background types: */ LONG *plBackgroundColor; /* Pointer to the background color as an encoded RGB value. */ wpQueryLockupBackground(somSelf, ppszImageFileName, pulImageMode, pulScaleFactor, pulBackgroundType, plBackgroundColor);