Retrieves icons that represent the state of C3PO record types.




GetIcons( String ObjClass, String *pIconFile, long *plUnOpenIcon, long *plOpenIcon )


The plUnOpenIcon and plOpenIcon parameters are icon index values within the module (.EXE or .DLL) named by the pIconFile parameter. Returning a value of -1 indicates that a default icon should be used. Any other negative index value indicates a resource ID by taking the absolute value of the number. The IconFactory object does not support inheritance. There is no mechanism for two C3PO COM Servers to offer icons for the same record. The C3PO system simply uses the first C3PO it finds.

The icons retrieved are presumed to contain multiple image sizes. The appropriate size is used by GroupWise as needed.