IEventServer::RegisterNativeEventHandler Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 9: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT RegisterNativeEventHandler([in]                  LONG            nEventID,
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterNativeEventHandler([in]                  LONG            EventID,
                                   [in]                  IEventHandler*  pEventHandler,
+
                                   [in]                  IEventHandler*  EventHandler,
                                   [in, defaultvalue(0)]  LONG            nFlags);</pre>
+
                                   [in, defaultvalue(0)]  LONG            Flags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nEventID
+
;EventID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;pEventHandler
+
;EventHandler
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
;nFlags
+
;Flags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
  

Revision as of 05:49, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT RegisterNativeEventHandler([in]                   LONG            EventID,
                                   [in]                   IEventHandler*  EventHandler,
                                   [in, defaultvalue(0)]  LONG            Flags);

Parameters

EventID
[in] Value of LONG.
EventHandler
[in] Pointer to IEventHandler.
Flags
[in, defaultvalue(0)] Value of LONG.

Return Value

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

See Also

IEventServer