IPXV_Inst::AddPlugin Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::AddPlugin Method}}
 
{{#customTitle:IPXV_Inst::AddPlugin Method}}
 +
{{#parentPage:PXV:IPXV_Inst#Methods|AddPlugin|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Adds a plugin object to the instance. Function can be called only in plugins loading mode.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT AddPlugin([in] IPXV_Plugin* pPlugin);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT AddPlugin([in] IPXV_Plugin* pPlugin);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pPlugin''
+
;pPlugin
:[in]  Pointer to [[PXV:IPXV_Plugin|IPXV_Plugin]].
+
:[in]  Pointer to [[PXV:IPXV_Plugin|IPXV_Plugin]] object that should be added to the instance. Here only its [[PXV:IPXV_Plugin_Setup|IPXV_Plugin::Setup]] function is called. The function returns the value returned from that function.
  
 
== Return Value ==
 
== Return Value ==
Line 15: Line 18:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]]

Latest revision as of 03:55, 15 June 2015


Adds a plugin object to the instance. Function can be called only in plugins loading mode.

Syntax

HRESULT AddPlugin([in]  IPXV_Plugin*  pPlugin);

Parameters

pPlugin
[in] Pointer to IPXV_Plugin object that should be added to the instance. Here only its IPXV_Plugin::Setup function is called. The function returns the value returned from that function.

Return Value

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

See Also

IPXV_Inst