# VAPINMWP_OPTIONS_GETOPTIONS_EX

## Description

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.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm