IPXV_Plugin::Setup 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_Plugin::Setup Method}}
 
{{#customTitle:IPXV_Plugin::Setup Method}}
{{#parentPage:PXV:IPXV_Plugin#Methods|Setup Method|method}}
+
{{#parentPage:PXV:IPXV_Plugin#Methods|Setup|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{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(  IUnknownpApp);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT Setup(  IPXV_InstpInstance);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pApp
+
;pInstance
: Pointer to IUnknown*.
+
: Pointer to instance [[PXV:IPXV_Inst|IPXV_Inst]].
  
 
== Return Value ==
 
== Return Value ==

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