IEventServer::RegisterNativeEventHandler Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IEventServer::RegisterNativeEventHandler Method}}
 
{{#customTitle:IEventServer::RegisterNativeEventHandler Method}}
 +
{{#parentPage:PXV:IEventServer#Methods|RegisterNativeEventHandler|method}}
 +
{{ToWrite}}
 +
{{ToReview}}
  
 
The method of interface of PDF-XChange Editor SDK.
 
The method of interface of PDF-XChange Editor SDK.
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT RegisterNativeEventHandler([in] LONG nEventID, [in] IEventHandler* pEventHandler, [in, defaultvalue(0)] LONG nFlags);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterNativeEventHandler([in]                   LONG           nEventID,
 +
                                  [in]                   IEventHandler* pEventHandler,
 +
                                  [in, defaultvalue(0)] LONG           nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nEventID''
+
;nEventID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''pEventHandler''
+
;pEventHandler
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
;''nFlags''
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
  
Line 19: Line 25:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IEventServer|IEventServer]].
+
[[PXV:IEventServer|IEventServer]]

Latest revision as of 02:15, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT RegisterNativeEventHandler([in]                   LONG            nEventID,
                                   [in]                   IEventHandler*  pEventHandler,
                                   [in, defaultvalue(0)]  LONG            nFlags);

Parameters

nEventID
[in] Value of LONG.
pEventHandler
[in] Pointer to IEventHandler.
nFlags
[in, defaultvalue(0)] Value of LONG.

Return Value

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

See Also

IEventServer