Jump to content

wpSetFolder

From EDM2

This method is specific to Version 4, or higher, of the OS/2 operating system.

This instance method sets this object to reside in the specified folder.

Syntax

_wpSetFolder(somSelf, container)

Parameters

somSelf (WPObject *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPObject.
container (WPObject *) - input
Folder that the object is to reside in.

Returns

rc (BOOL) - returns
Success indicator.
  • TRUE Successful completion.
  • FALSE Error occurred.

How to Override

This method is generally not overridden.

Usage

This method is generally only called by the system.

Remarks

This method is not covered in the provided text.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */
WPObject *container; /* Folder that the object is to reside in. */
BOOL rc; /* Success indicator */

rc = _wpSetFolder(somSelf, container);

Related Methods