ICabNode::GetInt64 Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(12 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:ICabNode::GetInt64 Method}} | {{#customTitle:ICabNode::GetInt64 Method}} | ||
+ | {{#parentPage:PXV:ICabNode#Methods|GetInt64|method}} | ||
+ | {{ToWrite}} | ||
+ | {{ToReview}} | ||
− | + | Returns the subnode value as a 64-bit integer value (performing acceptable [[PXV:ICabNode:TypeConversions|type conversion]] if necessary). | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetInt64([in] LPWSTR | + | <pre class="brush:cpp;gutter:false">HRESULT GetInt64([in] LPWSTR sKey, |
+ | [in, defaultvalue(0)] LONGLONG nDefVal, | ||
+ | [out, retval] LONGLONG* nVal);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;sKey |
:[in] Value of LPWSTR. | :[in] Value of LPWSTR. | ||
− | ; | + | :Identifies a subnode. See [[PXV:CAB:SubnodeIdentification|CAB subnode identification syntax]]. |
− | :[in, | + | ;nDefVal |
− | ; | + | :[in, defaultvalue(0)] Value of LONGLONG. |
+ | :A value to be returned in case of error (subnode does not exist, has incompatible type etc.). | ||
+ | ;nVal | ||
:[out, retval] Pointer to LONGLONG. | :[out, retval] Pointer to LONGLONG. | ||
− | + | :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. | ||
== See Also == | == See Also == | ||
− | + | [[PXV:ICabNode|ICabNode]] |
Latest revision as of 06:53, 15 June 2015
Returns the subnode value as a 64-bit integer value (performing acceptable type conversion if necessary).
Syntax
HRESULT GetInt64([in] LPWSTR sKey, [in, defaultvalue(0)] LONGLONG nDefVal, [out, retval] LONGLONG* nVal);
Parameters
- sKey
- [in] Value of LPWSTR.
- Identifies a subnode. See CAB subnode identification syntax.
- nDefVal
- [in, defaultvalue(0)] Value of LONGLONG.
- A value to be returned in case of error (subnode does not exist, has incompatible type etc.).
- nVal
- [out, retval] Pointer to LONGLONG.
- 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.