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)
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IPXV_Inst::RegisterExtension Method}}
 
{{#customTitle:IPXV_Inst::RegisterExtension Method}}
{{#parentPage:PXV:IPXV_Inst#Methods|RegisterExtension Method|method}}
+
{{#parentPage:PXV:IPXV_Inst#Methods|RegisterExtension|method}}
 
{{ToReview}}
 
{{ToReview}}
  
Registers a custom extension.
+
Registers a custom extension interface.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT RegisterExtension([in]  BSTR      pName,
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterExtension([in]  BSTR      sName,
 
                           [in]  IUnknown*  pExtension);</pre>
 
                           [in]  IUnknown*  pExtension);</pre>
  
 
== Parameters ==
 
== Parameters ==
;pName
+
;sName
:[in]  A BSTR containing the name of the extension.
+
:[in]  A string containing the unique name of the extension.
 
;pExtension
 
;pExtension
 
:[in]  A pointer to the corresponding extension interface.
 
:[in]  A pointer to the corresponding extension interface.
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
[[PXV:IPXV_Inst|IPXV_Inst]].
+
[[PXV:IPXV_Inst|IPXV_Inst]]

Latest revision as of 03:57, 15 June 2015


Registers a custom extension interface.

Syntax

HRESULT RegisterExtension([in]  BSTR       sName,
                          [in]  IUnknown*  pExtension);

Parameters

sName
[in] A string containing the unique name of the extension.
pExtension
[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