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