Page tree

Versions Compared

Key

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

Called when the framework wants you to initialise your component's interfaces.

Syntax

Code Block
languagecpp
int InitInterfaces(
ComponentEntry* Entry
);

Parameters

Vardef
NameEntry
TypeMod*
Linkedtrue
TypeComponentEntry
StyleParameter

Pointer to the ComponentEntry that is being initialised.

Returns

Returnvalue
Typeint

0 = Initialisation successful

non-zero = error value

Remarks

The framework only calls your InitInterfaces function if your QueryInitInterfaces returned true.

Requirements

See Also

QueryInitInterfacesFunc

Live Template
templateAPI Function