Developer

API Reference

ITRIGMLEXTENSION_Init()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
Description
Called by Trigplayer to initialize a Trigml extension that it's just loaded.
The extension should:
1. invoke ITRIGMLEXTENSIONMETADATA_Deserialize() on the provided metadata interface pointer, supplying the metadata byte array generated by running tc --metadata

2. perform any additional initialization
Parameters
  • po
    []:
    A pointer to an ITrigmlExtension object.
  • metadata
    []:
    A pointer to an ITrigmlExtensionMetadata object.
Interface
ITRIGMLEXTENSION
Prototype
   int ITRIGMLEXTENSION_Init(ITrigmlExtension* po, ITrigmlExtensionMetadata* metadata);
Return
   A BREW error code.
Side Effect
This method should deserialize the extension's metadata.
  • Follow