This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method returns a pointer to shared memory containing the contents of the WPDataFile object.
#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 if successful, or NULL if unsuccessful. */ pData = _wpQueryPointerFromContents(somSelf);