reference:plugins:viewer_plugins:file_identification

There are two stages in the process of file identification. The first stage is exclusively handled internally by Opus, using the information provided by each plugin in the call to DVP_Identify. Directory Opus uses these parameters to "weed out" files that a plugin can not handle. Files that pass this preliminary identification stage are then submitted to the plugin's file identification functions for the second stage of the identification process.

Three exported functions are involved in the identification of files; which function is called depends upon the flags that were specified by the DVP_Identify function.