IPXC_Inst::GetExtension Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXC_Inst::GetExtension Method}}
 
{{#customTitle:IPXC_Inst::GetExtension Method}}
{{#parentPage:PXV:IPXC_Inst|GetExtension Method|method}}
+
{{#parentPage:PXV:IPXC_Inst#Methods|GetExtension|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets an extension by its unique name.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT GetExtension([in]          LPWSTR      sExtID,
 
<pre class="brush:cpp;gutter:false">HRESULT GetExtension([in]          LPWSTR      sExtID,
                     [out, retval]  IUnknown**  ppExt);</pre>
+
                     [out, retval]  IUnknown**  pExt);</pre>
  
 
== Parameters ==
 
== Parameters ==
 
;sExtID
 
;sExtID
:[in]  Value of LPWSTR.
+
:[in]  Value containing the name of the extension to return. Possible values:
;ppExt
+
* "AUX" - Getting [[PXV:IAUX_Inst|IAUX_Inst]]
:[out, retval]  Pointer to IUnknown*.
+
* "AFS" - Getting [[PXV:IAFS_Inst|IAFS_Inst]]
 +
* "PXS" - Getting [[PXV:IPXS_Inst|IPXS_Inst]]
 +
* "IXC" - Getting [[PXV:IIXC_Inst|IIXC_Inst]]
 +
;pExt
 +
:[out, retval]  Returns pointer to the '''IUnknown''' interface of the extension.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 25:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXC_Inst|IPXC_Inst]].
+
[[PXV:IPXC_Inst|IPXC_Inst]]

Latest revision as of 11:26, 23 January 2016


Gets an extension by its unique name.

Syntax

HRESULT GetExtension([in]           LPWSTR      sExtID,
                     [out, retval]  IUnknown**  pExt);

Parameters

sExtID
[in] Value containing the name of the extension to return. Possible values:
pExt
[out, retval] Returns pointer to the IUnknown interface of the extension.

Return Value

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

See Also

IPXC_Inst