Limited time promo

GetAction2

English

This help topic applies only to novaPDF. If you don't have it yet, you must download it first.

Download now Buy licenses
Apr 08, 2022
novaPDF 11.x
We strive to keep our help as accurate as possible. If you notice any inconsistencies or outdated info please let us know.
The GetAction2 method retrieves the action id and action type for the specified index in the action list
HRESULT GetAction2(
    [in] LONG p_nIndex,
    [out, string] BSTR* p_pwsActionId,
    [out] LONG* p_pnType
);

Parameters:

p_nIndex
    [in] action index

p_pwsActionId
    [out] action id

p_pnType
    [out] action type

Return values:

S_OK on success or COM error code
NV_NOT_INITIALIZED - Initialize was not called
NV_UNKNOWN_PROFILE - no profile loaded
NV_INVALID_OPTION - wrong index