This instance method is called to allow the object to query its program details.
#define INCL_WINWORKPLACE
#include <os2.h>
WPProgramFile *somSelf; /* Pointer to the object on which the method is being invoked. */
PPROGDETAILS pProgDetails; /* Pointer to the program details. */
PULONG pSize; /* Size of the pProgDetails buffer. */
BOOL rc; /* Success indicator. */
rc = _wpQueryProgDetails(somSelf, pProgDetails,
pSize);