This example associates two file types as being associated with the Picture object.

SOM_Scope PSZ   SOMLINK PictureM_wpclsQueryInstanceType(M_Picture *somSelf)
{
    /* M_PictureData *somThis = M_PictureGetData(somSelf); */
    M_PictureMethodDebug("M_Picture","PictureM_wpclsQueryInstanceType");

/*  return (parent_wpclsQueryInstanceType(somSelf));  no call to parent */

    return ( "JPG File,GIF File" );
}


[Back] [Next]