...
Code Block | ||
---|---|---|
| ||
static ComponentEntry myComponent;
extern "C" __declspec(dllexport) int Initialise(HostAPI* pHost, HostModuleHandle hModule, LPCWSTR szRegistryPath)
{
// Setup eliminated for brevity
myComponent.hComponentPrivate = &myComponent;
return wgapi_RegisterComponent(hModule, &myComponent);
}
|
...