Live Template | ||
---|---|---|
|
Syntax
Code Block |
---|
int RegisterInterface(
ComponentEntry* entry,
ComponentInterfaceEntry* interface,
bool isPublic
); |
Parameters
Vardef | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The ComponentEntry that you are registering the interface for. |
Vardef | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The interface you wish to register |
Vardef | ||||||
---|---|---|---|---|---|---|
| ||||||
Whether or not this interface is to be made public. Non-public interfaces cannot be used by other components. |
Returnvalue | ||
---|---|---|
| ||
COMPONENT_ERR_SUCCESS means successful registration. Any other result means an error occurred. |
See Also