wpRestoreString - Syntax

This instance method is called to allow the object to restore an ASCIIZ instance data string.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;   /*  Pointer to the object on which the method is being invoked. */
PSZ           pszClass;  /*  Pointer to the class name. */
ULONG         ulKey;     /*  Class-defined identifier. */
PSZ           pszValue;  /*  Address of the string to be restored. */
PULONG        pcbValue;  /*  Size of string to be restored. */
BOOL          rc;        /*  Success indicator. */

rc = _wpRestoreString(somSelf, pszClass, ulKey,
       pszValue, pcbValue);


[Back: wpRestoreString]
[Next: wpRestoreString Parameter - somSelf]