ICabNode::GetDouble Method

From Tracker Software PDF SDK
Revision as of 05:00, 15 June 2015 by Green (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Returns the subnode value as a double precision floating point value (performing acceptable type conversion if necessary).

Syntax

HRESULT GetDouble([in]                     LPWSTR   sKey,
                  [in, defaultvalue(0.0)]  double   nDefVal,
                  [out, retval]            double*  nVal);

Parameters

sKey
[in] Value of LPWSTR.
Identifies a subnode. See CAB subnode identification syntax.
nDefVal
[in, defaultvalue(0.0)] Value of double.
A value to be returned in case of error (subnode does not exist, has incompatible type etc.).
nVal
[out, retval] Pointer to double.
The address of a double 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