IPXV_Inst::Str2ID Method

From PDF XChange PDF SDK
Revision as of 04:37, 21 March 2015 by Serg (Talk | contribs)

Jump to: navigation, search

Converts string identifier to numerical identifier.

Syntax

HRESULT Str2ID([in] BSTR pStr, [in, optional] VARIANT_BOOL bAddIfNotExists, [out, retval] LONG* pID);

Parameters

pStr
[in] Value of BSTR containing string identifier.
bAddIfNotExists
[in, optional] Indicates whether to add pStr to the table of strings. Default value is TRUE.
pID
[out, retval] Pointer to LONG value to receive the numeric ID.

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IPXV_Inst.