IPXV_Inst::GetExtension Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::GetExtension Method}}
 
{{#customTitle:IPXV_Inst::GetExtension Method}}
{{#parentPage:PXV:IPXV_Inst#Methods|GetExtension Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|GetExtension|method}}
 
{{ToReview}}
 
{{ToReview}}
  
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT GetExtension([in]          BSTR        pName,
+
<pre class="brush:cpp;gutter:false">HRESULT GetExtension([in]          BSTR        sName,
 
                     [out, retval]  IUnknown**  pExt);</pre>
 
                     [out, retval]  IUnknown**  pExt);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pName
+
;sName
:[in]  Value of BSTR containing the name of the extension to return.
+
:[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]]
 +
* "UIX" - Getting [[PXV:IUIX_Inst|IUIX_Inst]]
 +
* "PXS" - Getting [[PXV:IPXS_Inst|IPXS_Inst]]
 +
* "PXC" - Getting [[PXV:IPXC_Inst|IPXC_Inst]]
 +
* "IXC" - Getting [[PXV:IIXC_Inst|IIXC_Inst]]
 
;pExt
 
;pExt
:[out, retval]  Pointer to the IUnknown interface of the extension.
+
:[out, retval]  Returns pointer to the '''IUnknown''' interface of the extension.
  
 
== Return Value ==
 
== Return Value ==

Latest revision as of 11:20, 23 January 2016


Gets an extension by its unique name.

Syntax

HRESULT GetExtension([in]           BSTR        sName,
                     [out, retval]  IUnknown**  pExt);

Parameters

sName
[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

IPXV_Inst