# VAPINMWP_INIT_OPENDOCDONE

## Description

Reports the status of the document open process. This is a parameter of the `VAPINM_INIT` notification message.

## Syntax

    #include <kvvapi.h>
    VAPINM_INIT = uMsg;
    VAPINMWP_INIT_OPENDOCDONE = wParam;
    int nPercentDone = (int) lParam;

## Arguments

Argument | Description
--- | ---
`nPercentDone` | The percentage done of the document open process.

## Returns

None

## Discussion

- This message is received during and after the processing of the `VAPIMWP_INIT_OPEN_DOCUMENT` message. Multiple messages might be received, with increasing values of percentage done. The document is open when the percentage done is >= 100%.

- A negative value of `nPercentDone` indicates that an error occurred during the processing of the document.

© 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