IPXV_Inst::RegisterExtension Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT RegisterExtension([in]  BSTR      sName,
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterExtension([in]  BSTR      Name,
                           [in]  IUnknown*  pExtension);</pre>
+
                           [in]  IUnknown*  Extension);</pre>
  
 
== Parameters ==
 
== Parameters ==
;sName
+
;Name
 
:[in]  A string containing the unique name of the extension.
 
:[in]  A string containing the unique name of the extension.
;pExtension
+
;Extension
 
:[in]  A pointer to the corresponding extension interface.
 
:[in]  A pointer to the corresponding extension interface.
  

Revision as of 07:33, 12 June 2015


Registers a custom extension interface.

Syntax

HRESULT RegisterExtension([in]  BSTR       Name,
                          [in]  IUnknown*  Extension);

Parameters

Name
[in] A string containing the unique name of the extension.
Extension
[in] A pointer to the corresponding extension interface.

Return Value

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

See Also

IPXV_Inst