Page tree
Skip to end of metadata
Go to start of metadata

An interface table that provides core host API functions for registering components and interfaces. 

Structure

 

Members

dwSize
Type: unsigned long
The size of the HostAPI structure in bytes. Provided by the framework; do not touch
dwAPIVersion
Type: unsigned long

The version of the API that the host is using

Function pointer to the RegisterComponent function

Function pointer to the RegisterInterface function

 

Remarks

During initialisation of your component (via Initialise or InitialiseGUI) the host framework passes you a pointer to a HostAPI for you to use to access host functions. You should bind to the host by calling WG_BIND_HOST with the passed in HostAPI pointer as a parameter.

 

Examples

See WG_BIND_HOST for an example of binding to the host API

See Also

WG_BIND_HOST