DVP_USBSafe(
     LPOPUSUSBSAFEDATA:pUSBSafeData
)
→ BOOL

Arguments

pUSBSafeData

Pointer to an OPUSUSBSAFEDATA structure (described below).

Return value

You should return TRUE from this function to mark yourself as USB safe.

Description

The DVP_USBSafe function marks the plugin as safe for USB export.

This function takes a pointer to an OPUSUSBSAFEDATA structure which gives you a way to specify other files that need to be exported along with your plugin. For example, your plugin may depend on other third-party DLLs - you would specify them here so that when the user exports your plugin to a USB device the required files are also copied.

The OPUSUSBSAFEDATA structure has the following fields: