# TPVAPIExtract

This structure defines the parameters used by the `VAPIMWP_FILE_EXTRACT` message to extract subfiles from a container file.

## Syntax

    #include <kvvapi.h>
    typedef struct tag_TPVAPIExtract
    {
        LPSTR     szTargetDirectory;
        LPSTR     szPassWord;
        BOOL      bPreserveDirStructure;
        BOOL      bFailIfExists;
    }
    TPVAPIExtract;

## Members

`szTargetDirectory` | The target directory to which to extract the subfiles.
`szPassWord` | Password required to open a password-protected subfile. NOTE: This member is obsolete.
`bPreserveDirStructure` | Specifies whether to preserve the directory structure.
`bFailIfExists` | Specifies whether to fail if the file already exists.

_FT_HTML5_bannerTitle.htm