GetExternalReferenceDataId

Returns a key id can be used in calls to Get/SetExternalReferenceData to keep application data on GK entities During model lifetime the id is the same for given string and different for different strings Returns 0 on error

Syntax

//
//   Strong typing definition
//
int64_t         GetExternalReferenceDataId(
                        OwlModel                model,
                        const char              * uniqueAppName
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall GetExternalReferenceDataId(
                                                int64_t                 model,
                                                const char              * uniqueAppName
                                            );
    

Property model

Size: 64 bit / 8 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property uniqueAppName

Size: 32 bit / 4 byte (reference)
...