Page tree

Versions Compared

Key

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

...

Vardef
NamehComponentPrivate
Linkedtrue
TypeComponentContextHandle
StyleMember

Handle used by a component to associate itself with the host framework. You typically set this to the address of your own ComponentEntry.

Code Block
static ComponentEntry myComponent;
 
extern "C" __declspec(dllexport) int Initialise(HostAPI* pHost, HostModuleHandle hModule, LPCWSTR szRegistryPath)
{
// other initialisation ommitted
 
	myComponent.hComponentPrivate = &myComponent;
	
	return wgapi_RegisterComponent(hModule, &myComponent);
}
Vardef
NameQueryInitInterfaces
LinkedNametrue
Linkedtrue
TypeQueryInitInterfacesFunc
StyleMember

Pointer to the function to query whether the interfaces for the component can be initialised. See Remarks

Vardef
NameInitInterfaces
LinkedNametrue
Linkedtrue
TypeInitInterfacesFunc
StyleMember

Pointer to the function that initialises the component's interfaces. This will not be called by the framework unless QueryInitInterfaces has returned true;

Vardef
NameObtainInterface
LinkedNametrue
Linkedtrue
TypeObtainInterfaceFunc
StyleMember

TODO: What is this?

Vardef
NameNotify
LinkedNametrue
Linkedtrue
TypeNotifyFunc
StyleMember

Pointer to the function that receives notifications from the framework.

Vardef
NameStart
LinkedNametrue
Linkedtrue
TypeStartFunc
StyleMember

Starts the component

Vardef
NameStop
LinkedNametrue
Linkedtrue
TypeStopFunc
StyleMember

Stops the component

Vardef
NameStore
LinkedNametrue
Linkedtrue
TypeStoreFunc
StyleMember

Instructs the component that it needs to store its configuration.

Vardef
NameLoad
LinkedNametrue
Linkedtrue
TypeLoadFunc
StyleMember

Instructs the component that it needs to refresh its configuration.

 

 

Remarks

Anchor
Remarks
Remarks

...