Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IDso

interface IDso
Extends IStandard The per-DSO interface object. When APMF2 loads a DSO (shared library or executable), it gets an instance of this object from the DSO using dlsym(…, APMF_GET_DSO_OBJECT_FUNCTION_NAME), where APMF_GET_DSO_OBJECT_FUNCTION_NAME is defined in apmf/abi/dso.h. Further interaction with the DSO is through the IDso object.

Methods

tryMakeComponent()

IStandard? tryMakeComponent(string name, i32 hash)
Try to create a component by name. If this DSO doesn’t provide the given component, return nullptr.

Parameters

name
string — Required Name of the component to create
hash
i32 — Required FNV-1A-32 hash of the name

Returns

IStandard? The return value is optional and might be absent. Component if we found it; nullptr otherwise

getTypeResolver()

IStandard? getTypeResolver()
Access type information embedded in this DSO.

Returns

IStandard? The return value is optional and might be absent. Type resolver or nullptr if DSO provides no types
Last modified on October 29, 2026