ICabNode::GetInt Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Returns the subnode value as a integer value (performing acceptable [[PXV:ICabNode:TypeConversions|type conversion]] if necessary).
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetInt([in]                  LPWSTR  Key,
+
<pre class="brush:cpp;gutter:false">HRESULT GetInt([in]                  LPWSTR  sKey,
               [in, defaultvalue(0)]  INT    DefVal,
+
               [in, defaultvalue(0)]  INT    nDefVal,
               [out, retval]          INT*    Val);</pre>
+
               [out, retval]          INT*    nVal);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Key
+
;sKey
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
;DefVal
+
:Identifies a subnode. See [[PXV:CAB:SubnodeIdentification|CAB subnode identification syntax]].
 +
;nDefVal
 
:[in, defaultvalue(0)]  Value of INT.
 
:[in, defaultvalue(0)]  Value of INT.
;Val
+
:A value to be returned in case of error (subnode does not exist, has incompatible type etc.).
 +
;nVal
 
:[out, retval]  Pointer to INT.
 
:[out, retval]  Pointer to INT.
 
+
:The address of a variable that receives a referenced subnode value.
 
== Return Value ==
 
== Return Value ==
 
Returns S_OK if operation was successful or error code in other cases.
 
Returns S_OK if operation was successful or error code in other cases.

Latest revision as of 07:49, 15 June 2015


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