IPXC_Inst::GetExtension Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
Line 3: Line 3:
 
{{#customTitle:IPXC_Inst::GetExtension Method}}
 
{{#customTitle:IPXC_Inst::GetExtension Method}}
 
{{#parentPage:PXV:IPXC_Inst#Methods|GetExtension|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 ==
Line 14: Line 13:
 
== Parameters ==
 
== Parameters ==
 
;sExtID
 
;sExtID
:[in]  Value of LPWSTR.
+
:[in]  Value containing the name of the extension to return. Possible values:
 +
* "AUX" - Getting [[PXV:IAUX_Inst|IAUX_Inst]]
 +
* "AFS" - Getting [[PXV:IAFS_Inst|IAFS_Inst]]
 +
* "PXS" - Getting [[PXV:IPXS_Inst|IPXS_Inst]]
 +
* "IXC" - Getting [[PXV:IIXC_Inst|IIXC_Inst]]
 
;pExt
 
;pExt
:[out, retval]  Pointer to IUnknown*.
+
:[out, retval]  Returns pointer to the '''IUnknown''' interface of the extension.
  
 
== Return Value ==
 
== Return Value ==

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