ICabNode::GetInt Method

From PDF XChange PDF SDK
Jump to: navigation, search


Returns the subnode value as a integer value (performing acceptable type conversion if necessary).

Syntax

HRESULT GetInt([in]                   LPWSTR  sKey,
               [in, defaultvalue(0)]  INT     nDefVal,
               [out, retval]          INT*    nVal);

Parameters

sKey
[in] Value of LPWSTR.
Identifies a subnode. See CAB subnode identification syntax.
nDefVal
[in, defaultvalue(0)] Value of INT.
A value to be returned in case of error (subnode does not exist, has incompatible type etc.).
nVal
[out, retval] Pointer to INT.
The address of a variable that receives a referenced subnode value.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

ICabNode