Queries whether a component is ready to have its ComponentEntry.InitInterfaces function called to initialise it's interfaces.
Syntax
Code Block | ||
---|---|---|
| ||
bool QueryInitInterfaces(
ComponentEntry* Entry,
bool bLastChance
); |
Parameters
Entry
Type: ComponentEntry *
Pointer to the ComponentEntry that is being asked for it's interface initialisation status.
bLastChance
Type: bool
Indicates whether this is the last chance for the component to respond.
Returnvalue | ||
---|---|---|
| ||
Whether the specified component is ready to have its interfaces initialised via a call to InitInterfaces |
Remarks
QueryInitInterfaces may be called numerous times at various points during initialisation of WinGate modules and components.
Examples
Code Block |
---|
bool QueryInitInterfaces(ComponentEntry* Entry, bool bLastChance)
{
return (bBoundToDataComponent && bBoundToEventsComponent) || bLastChance;
} |
Requirements
See Also
Live Template | ||
---|---|---|
|