wpSetContentsFromPointer - Syntax

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

This instance method sets a WPDataFile object's contents based on a pointer to shared memory.

#define INCL_WINWORKPLACE
#include <os2.h>

WPDataFile     *somSelf;  /*  Pointer to the object on which the method is being invoked. */
PVOID           pData;    /*  Pointer to shared memory. */
BOOL            rc;       /*  Success indicator */

rc = _wpSetContentsFromPointer(somSelf, pData);


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