Each viewer plugin can supply an initialization function that Opus calls after the DLL has been loaded. This lets you perform initialization in the plugin that may not be safe to perform in DllMain (eg loading other DLLs.)

The initialization functions are DVP_Init and DVP_InitEx. If a plugin exports both, Opus will call DVP_InitEx in preference to DVP_Init. Older versions of Directory Opus only supported DVP_Init.