~~Title: Exported Functions~~ A viewer plugin DLL must export at least three functions to be useful, and may export as many as eleven. Only one function, [[.plugin_identification:dvp_identify|DVP_Identify]], is mandatory. The exported functions are listed here; see the following pages for full descriptions of them. |[[.plugin_initialization:dvp_init|DVP_Init]]|initialize the plugin| |[[.plugin_initialization:dvp_initex|DVP_InitEx]]|alternative initialization function| |[[.plugin_initialization:dvp_uninit|DVP_Uninit]]|uninitialize the plugin| |[[.supporting_usb_export:dvp_usbsafe|DVP_USBSafe]]|marks the plugin as safe for USB export| |[[.plugin_identification:dvp_identify|DVP_Identify]]|identifies the plugin| |[[.file_identification:dvp_identifyfile|DVP_IdentifyFile]]|can the plugin identify/view a disk file?| |[[.file_identification:dvp_identifyfilestream|DVP_IdentifyFileStream]]|identify/view a data stream?| |[[.file_identification:dvp_identifyfilebytes|DVP_IdentifyFileBytes]]|identify/view a file based on the file header?| |[[.loading_bitmap_images_the_bitmap_method:dvp_loadbitmap|DVP_LoadBitmap]]|load a bitmap from a disk file| |[[.loading_bitmap_images_the_bitmap_method:dvp_loadbitmapstream|DVP_LoadBitmapStream]]|load a bitmap from a data stream| |[[.returning_text_data:dvp_loadtext|DVP_LoadText]]|load text from a file which Opus will display| |[[.custom_image_viewers_the_window_method:dvp_createviewer|DVP_CreateViewer]]|create custom file viewer window| |[[.properties_configuration_and_about_functions:dvp_showproperties|DVP_ShowProperties]]|display custom properties dialog for a disk file| |[[.properties_configuration_and_about_functions:dvp_showpropertiesstream|DVP_ShowPropertiesStream]]|display custom properties dialog for a data stream| |[[.non_image_file_information:dvp_getfileinfofile|DVP_GetFileInfoFile]]|get information about a file| |[[.non_image_file_information:dvp_getfileinfofilestream|DVP_GetFileInfoFileStream]]|get information about a data stream| |[[.properties_configuration_and_about_functions:dvp_configure|DVP_Configure]]|display configuration dialog for the plugin| |[[.properties_configuration_and_about_functions:dvp_about|DVP_About]]|display About dialog for the plugin| Most functions are supported in both multi-byte and Unicode versions, using the **A** and **W** nomenclature used in the Win32 API. The viewer plugin header file defines a version of the function without the **A** or **W** suffix as the appropriate real function name based on whether or not the **UNICODE** symbol has been defined.