IPXV_Inst::CreateString Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::CreateString Method}} | {{#customTitle:IPXV_Inst::CreateString Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst#Methods|CreateString | + | {{#parentPage:PXV:IPXV_Inst#Methods|CreateString|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Creates the new [[PXV:IString|IString]] object. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateString([in, defaultvalue("")] BSTR | + | <pre class="brush:cpp;gutter:false">HRESULT CreateString([in, defaultvalue("")] BSTR sInitial, |
− | [out, retval] IString** | + | [out, retval] IString** pRes);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;sInitial |
− | :[in, defaultvalue("")] | + | :[in, defaultvalue("")] Pass initial string here. |
− | ; | + | ;pRes |
− | :[out, retval] | + | :[out, retval] Returns pointer to a new [[PXV:IString|IString]] object. |
== Return Value == | == Return Value == | ||
Line 22: | Line 21: | ||
== See Also == | == See Also == | ||
− | [[PXV:IPXV_Inst|IPXV_Inst]] | + | [[PXV:IPXV_Inst|IPXV_Inst]] |
Latest revision as of 02:55, 15 June 2015
Creates the new IString object.
Syntax
HRESULT CreateString([in, defaultvalue("")] BSTR sInitial, [out, retval] IString** pRes);
Parameters
- sInitial
- [in, defaultvalue("")] Pass initial string here.
- pRes
- [out, retval] Returns pointer to a new IString object.
Return Value
Returns S_OK if operation was successful or error code in other cases.