Closes the current scope. This method will be called automatically when the descructor is executed.
CoInitialize(NULL); IONLYOFFICEDocBuilder* oBuilder = NULL; IONLYOFFICEDocBuilderContext* oContext = NULL; IONLYOFFICEDocBuilderContextScope* oScope = NULL; oBuilder->Initialize(); oBuilder->GetContext(&oContext); oContext->CreateScope(&oScope); &oScope->Close(); oBuilder->Dispose();