# 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.

_FT_HTML5_bannerTitle.htm