Returns the global object for the current context.
Name | Type | Description |
result | I_DOCBUILDER_VALUE** | The returned global object. |
CoInitialize(NULL); IONLYOFFICEDocBuilder* oBuilder = NULL; IONLYOFFICEDocBuilderContext* oContext = NULL; IONLYOFFICEDocBuilderValue* oGlobal = NULL; oBuilder->Initialize(); oBuilder->GetContext(&oContext); oContext->GetGlobal(&oGlobal); oBuilder->Dispose();