# VAPINMWP_OPTIONS_GETOPTIONS_EX

Asks for the options for the current document. This is a parameter of the `VAPINM_OPTIONS` notification message.

## Syntax

    #include <kvvapi.h>
    VAPINM_OPTIONS = uMsg;
    VAPINMWP_OPTIONS_GETOPTIONS_EX = wParam;
    ALL_OPTIONS_EX* lpAllOptions = (ALL_OPTIONS_EX*) lParam;

## Arguments

Argument | Description
--- | ---
`lpAllOptions` | A pointer to an ALL_OPTIONS_EX structure to get the document options.

## Returns

Returns `TRUE` if the `lpAllOptions` structure was processed and initialized; otherwise it returns `FALSE`.

## Discussion

This message is received during the document open process. VAPI initializes the Viewer before the Viewer opens the document. Therefore, this message is received before the `VAPIMWP_INIT_OPEN_DOCUMENT` or `VAPIMWP_INIT_OPENDOCWAIT` message returns.

_FT_HTML5_bannerTitle.htm