ICabNode::GetBool Method

From PDF XChange PDF SDK
Revision as of 05:02, 15 June 2015 by Green (Talk | contribs)

Jump to: navigation, search


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

Syntax

HRESULT GetBool([in]                   LPWSTR         sKey,
                [in, defaultvalue(0)]  VARIANT_BOOL   bDefVal,
                [out, retval]          VARIANT_BOOL*  bVal);

Parameters

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