Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Live Template
templateAPI Function Template

Syntax

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

Parameters

Vardef
Nameentry
TypeMod*
Linkedtrue
TypeComponentEntry
StyleParameter

The ComponentEntry that you are registering the interface for.

Vardef
Nameinterface
TypeMod*
Linkedtrue
TypeComponentInterfaceEntry
StyleParameter

 The interface you wish to register

Vardef
NameisPublic
Typebool
StyleParameter

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

 

Returnvalue
Typeint

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

 

See Also

RegisterComponent