IPXS_Inst::HasAtom Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(4 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT HasAtom([in]          LPWSTR        pString,
+
<pre class="brush:cpp;gutter:false">HRESULT HasAtom([in]          LPWSTR        sString,
                 [out, retval]  VARIANT_BOOL*  pHasAtom);</pre>
+
                 [out, retval]  VARIANT_BOOL*  bHasAtom);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pString
+
;sString
 
:[in] Null terminated Unicode string to test.
 
:[in] Null terminated Unicode string to test.
;pHasAtom
+
;bHasAtom
 
:[out, retval] Pointer to VARIANT_BOOL variable that receives the test result.
 
:[out, retval] Pointer to VARIANT_BOOL variable that receives the test result.
  
Line 22: Line 22:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXS_Inst|IPXS_Inst]], [[PXV:IPXS_Inst_StrToAtom|StrToAtom]], [[PXV::IPXS_Inst_AtomToStr|AtomToStr]]
+
[[PXV:IPXS_Inst|IPXS_Inst]], [[PXV:IPXS_Inst_StrToAtom|StrToAtom]], [[PXV:IPXS_Inst_AtomToStr|AtomToStr]]

Latest revision as of 05:17, 15 June 2015


Tests whether an atom exists for the specified string.

Syntax

HRESULT HasAtom([in]           LPWSTR         sString,
                [out, retval]  VARIANT_BOOL*  bHasAtom);

Parameters

sString
[in] Null terminated Unicode string to test.
bHasAtom
[out, retval] Pointer to VARIANT_BOOL variable that receives the test result.

Return Value

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

See Also

IPXS_Inst, StrToAtom, AtomToStr