IPXV_Plugin::Setup Method

From PDF XChange PDF SDK
Jump to: navigation, search
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Plugin::Setup Method}}
 
{{#customTitle:IPXV_Plugin::Setup Method}}
 +
{{#parentPage:PXV:IPXV_Plugin#Methods|Setup|method}}
 +
{{ToReview}}
  
It is first method of the plugin which is called by the viewer. It intended for testing application's version, features level (free, standard), etc.
+
It is a first method of the interface that is being called by the Editor. It's needed for application's version, features level (free, standard) testing. Also, in this method the IPXV_Inst is obtained that is crucial for the plugin work.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT Setup(IUnknown* pApp);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Setup( IPXV_Inst* pInstance);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pApp''
+
;pInstance
: Pointer to IUnknown*.
+
: Pointer to instance [[PXV:IPXV_Inst|IPXV_Inst]].
  
 
== Return Value ==
 
== Return Value ==
Line 15: Line 18:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Plugin|IPXV_Plugin]].
+
[[PXV:IPXV_Plugin|IPXV_Plugin]]

Latest revision as of 00:30, 5 October 2017


It is a first method of the interface that is being called by the Editor. It's needed for application's version, features level (free, standard) testing. Also, in this method the IPXV_Inst is obtained that is crucial for the plugin work.

Syntax

HRESULT Setup(  IPXV_Inst*  pInstance);

Parameters

pInstance
Pointer to instance IPXV_Inst.

Return Value

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

See Also

IPXV_Plugin