This method is called to allow the class object to specify its details to be used for its instances.
#define INCL_WINWORKPLACE #include <os2.h> M_WPObject *somSelf; /* Pointer to the WPObject class object. */ PCLASSFIELDINFO pClassFieldInfo; /* Pointer to details information. */ PULONG pSize; /* Total number of bytes of details data. */ ULONG ulReturn; /* Sum of the number of detail columns for the object. */ ulReturn = _wpclsQueryDetailsInfo(somSelf, pClassFieldInfo, pSize);