Developer

API Reference

IGallery_GetSchemaVersion()

Brew Release
Brew MP 1.0.2
Description
Get the schema version supported by the Gallery class.
Parameters
  • pif
    [in]:
    Pointer to IGallery interface
  • pnSchemaVersion
    [out]:
    Schema version
Interface
Prototype
   int IGallery_CancelSync(IGallery *pif, int *pnSchemaVersion);
Return
int: Error code
Comment
The IGallery interface itself does not define a schema, but it places requirements on schema versioning. The schema must defined by each class implementing IGallery. Classes implenmenting IGallery are allowed to add columns to their schema and increase the schema version, but are not allowed to remove columns. This allows users of the class to guarantee forward compatibility with newer schema versions.
  • Follow