IPXV_Inst::GetTextFromHRes Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::GetTextFromHRes Method}} | {{#customTitle:IPXV_Inst::GetTextFromHRes Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst|method | + | {{#parentPage:PXV:IPXV_Inst#Methods|GetTextFromHRes|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets description of the code value. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetTextFromHRes([in] HRESULT hRes, [in, defaultvalue(0)] VARIANT_BOOL bShort, [out, retval] BSTR* ppText);</pre> | + | <pre class="brush:cpp;gutter:false">HRESULT GetTextFromHRes([in] HRESULT hRes, |
+ | [in, defaultvalue(0)] VARIANT_BOOL bShort, | ||
+ | [out, retval] BSTR* ppText);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;hRes |
− | :[in] | + | :[in] The code value. |
− | ; | + | ;bShort |
− | :[in, defaultvalue(0)] | + | :[in, defaultvalue(0)] Controls what type of description should be in output: long or short. |
− | ; | + | ;ppText |
− | :[out, retval] | + | :[out, retval] Returns text of description. |
== Return Value == | == Return Value == | ||
Line 22: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_Inst|IPXV_Inst]] |
Latest revision as of 16:28, 25 May 2015
Gets description of the code value.
Syntax
HRESULT GetTextFromHRes([in] HRESULT hRes, [in, defaultvalue(0)] VARIANT_BOOL bShort, [out, retval] BSTR* ppText);
Parameters
- hRes
- [in] The code value.
- bShort
- [in, defaultvalue(0)] Controls what type of description should be in output: long or short.
- ppText
- [out, retval] Returns text of description.
Return Value
Returns S_OK if operation was successful or error code in other cases.