Jump to content

wpclsQueryDetails

From EDM2
Revision as of 23:12, 24 May 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpclsQueryDetails}} This class method is called to allow the class object to specify the default details view items for its instances. ==Syntax== <PRE> pReturn = _wpclsQueryDetails(somSelf); </PRE> ==Parameters== ;''somSelf'' (M_WPObject *) - input :Pointer to the WPObject class object. ==Returns== ;''pReturn'' (PCLASSDETAILS) - returns :Success indicator. :{| class="wikitable" ! Value !! Description |- | Non-NULL || Pointer to details infor...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This class method is called to allow the class object to specify the default details view items for its instances.

Syntax

pReturn = _wpclsQueryDetails(somSelf);

Parameters

somSelf (M_WPObject *) - input
Pointer to the WPObject class object.

Returns

pReturn (PCLASSDETAILS) - returns
Success indicator.
Value Description
Non-NULL Pointer to details information.
NULL Error occurred.

Example Code

This example shows an override of the method to invoke 'DisplayMethodInfo' in the WPSTUTOR sample program:

SOM_Scope PCLASSDETAILS   SOMLINK wpstutM_wpclsQueryDetails(M_WPSTutorial *somSelf)
{
    /* M_WPSTutorialData *somThis = M_WPSTutorialGetData(somSelf); */
    M_WPSTutorialMethodDebug("M_WPSTutorial","wpstutM_wpclsQueryDetails");

    DisplayMethodInfo(IDS_WPCLSQUERYDETAILS);

    return (parent_wpclsQueryDetails(somSelf));
}

Related Methods