Syntax

 

int RegisterInterface(
ComponentEntry* entry, 
ComponentInterfaceEntry* interface, 
bool isPublic
);

Parameters

The ComponentEntry that you are registering the interface for.

 The interface you wish to register

Whether or not this interface is to be made public. Non-public interfaces cannot be used by other components.

 


COMPONENT_ERR_SUCCESS means successful registration. Any other result means an error occurred.

 

See Also

RegisterComponent