This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method sets the default drop operation of objects that are dropped on the Desktop. The default is set on the Desktop page of the Desktop's Settings notebook.
#define INCL_WINWORKPLACE #include <os2.h> WPDesktop *somSelf; /* Pointer to the object on which the method is being invoked. */ ULONG ulDefaultDropOp; BOOL rc; /* Success indicator */ rc = _wpSetDefaultDropOp(somSelf, ulDefaultDropOp);