Called by the host framework to initialise your engine component.
Syntax
Parameters
pHost
Type:
HostAPI *
Pointer to the HostAPI object that represents the host framework. You can copy the object pointed to by pHost if you need to communicate with the HostAPI directly at a later stage.
hModule
Type:
HostModuleHandle
Opaque handle that represents your module. Pass this parameter to RegisterComponent.
szRegistryPath
Type:
LPCWSTR
The registry key under HKLM where the module's package information is located. This is the same registry key that holds the manifest file path.