API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ICONTENTPREVIEWFACTORY0_CREATE()

Brew Release
Brew MP 1.0.2
See Also
None
Description
Creates the appropriate IContentPreview0 instance for the given type of content and attempts to load a preview from it.
Prototype
  •    int IContentPreviewFactory0_Create(IContentPreviewFactory0 *pif,
                                          const char *pszURI,
                                          IContentPreview0 **ppiPreview);
    
Return
  • SUCCESS : if the preview has been loaded.
    Another appropriate error code if operation was not successful.
Side Effect
  • After finding which implementation of IContentPreview0 is needed, the factory will create an instance of that class and call IContentPreview0_Load() with the given parameters to initiate the loading process.
Comments
None