IPXC_Inst::GetExtension Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(3 intermediate revisions by one other user not shown) | |||
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}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | 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** | + | [out, retval] IUnknown** pExt);</pre> |
== Parameters == | == Parameters == | ||
;sExtID | ;sExtID | ||
− | :[in] Value of | + | :[in] Value containing the name of the extension to return. Possible values: |
− | ; | + | * "AUX" - Getting [[PXV:IAUX_Inst|IAUX_Inst]] |
− | :[out, retval] | + | * "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 == |
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:
- "AUX" - Getting IAUX_Inst
- "AFS" - Getting IAFS_Inst
- "PXS" - Getting IPXS_Inst
- "IXC" - Getting IIXC_Inst
- 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.