This example shows how to designate files ending in an extension of .GIF as being associated with an instance of a GIFPicture object.

SOM_Scope PSZ   SOMLINK gifpicM_wpclsQueryInstanceFilter(M_GIFPicture *somSelf)
{
    /* M_GIFPictureData *somThis = M_GIFPictureGetData(somSelf); */
    M_GIFPictureMethodDebug("M_GIFPicture","gifpicM_wpclsQueryInstanceFilter");

/*    return (parent_wpclsQueryInstanceFilter(somSelf));   Don't call parent */

      return ( "*.GIF" );
}


[Back] [Next]