# VAPIMWP_FILE_CANUNZIP

If a container file is open and there are subfiles selected in the file, this parameter determines whether the subfile or files can be extracted. This is a parameter of the `VAPIM_FILE` message.

## Syntax

    #include <kvvapi.h>
    SendMessage(hWndVAPI, VAPIM_FILE, VAPIMWP_FILE_CANUNZIP,
               (LPARAM) (BOOL*) lpbCanUnZip );

## Arguments

Argument | Description
--- | ---
`hWndVAPI` | The handle of the VAPI window.
`lpbCanUnZip` | A pointer to a flag that returns `TRUE` or `FALSE` depending on whether you can extract the subfiles.

## Returns

`SendMessage()` returns `TRUE` if the call succeeds, in which case `lpbCanUnZip` returns `TRUE` or `FALSE`.

`SendMessage()` returns `FALSE` if the call fails (for example, if there are invalid arguments or if no document is open), in which case `lpbCanUnZip` is undefined.

## Discussion

Use this message to control the state of an Extract menu item or toolbar button.

_FT_HTML5_bannerTitle.htm