ISpellCheckCallbacks::GetLang Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetLang([in]                  LPWSTR  pWord,
+
<pre class="brush:cpp;gutter:false">HRESULT GetLang([in]                  LPWSTR  sWord,
 
                 [in]                  LONG    nWordLen,
 
                 [in]                  LONG    nWordLen,
 
                 [in, defaultvalue(0)]  ULONG  nDesiredLangID,
 
                 [in, defaultvalue(0)]  ULONG  nDesiredLangID,
                 [out, retval]          ULONG*  pLangID);</pre>
+
                 [out, retval]          ULONG*  nLangID);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pWord
+
;sWord
 
:[in]  Value of LPWSTR.
 
:[in]  Value of LPWSTR.
 
;nWordLen
 
;nWordLen
Line 21: Line 21:
 
;nDesiredLangID
 
;nDesiredLangID
 
:[in, defaultvalue(0)]  Value of ULONG.
 
:[in, defaultvalue(0)]  Value of ULONG.
;pLangID
+
;nLangID
 
:[out, retval]  Pointer to ULONG.
 
:[out, retval]  Pointer to ULONG.
  

Revision as of 03:02, 4 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT GetLang([in]                   LPWSTR  sWord,
                [in]                   LONG    nWordLen,
                [in, defaultvalue(0)]  ULONG   nDesiredLangID,
                [out, retval]          ULONG*  nLangID);

Parameters

sWord
[in] Value of LPWSTR.
nWordLen
[in] Value of LONG.
nDesiredLangID
[in, defaultvalue(0)] Value of ULONG.
nLangID
[out, retval] Pointer to ULONG.

Return Value

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

See Also

ISpellCheckCallbacks