IPXV_Inst::AddPlugin Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::AddPlugin Method}} | {{#customTitle:IPXV_Inst::AddPlugin Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst#Methods|AddPlugin | + | {{#parentPage:PXV:IPXV_Inst#Methods|AddPlugin|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | Adds a plugin object to the instance. | + | Adds a plugin object to the instance. Function can be called only in plugins loading mode. |
== Syntax == | == Syntax == | ||
Line 13: | Line 12: | ||
== Parameters == | == Parameters == | ||
;pPlugin | ;pPlugin | ||
− | :[in] Pointer to [[PXV:IPXV_Plugin|IPXV_Plugin]] object | + | :[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 19: | Line 18: | ||
== 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.