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            EventID,
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterNativeEventHandler([in]                  LONG            nEventID,
                                   [in]                  IEventHandler*  EventHandler,
+
                                   [in]                  IEventHandler*  pEventHandler,
                                   [in, defaultvalue(0)]  LONG            Flags);</pre>
+
                                   [in, defaultvalue(0)]  LONG            nFlags);</pre>
  
 
== Parameters ==
 
== Parameters ==
;EventID
+
;nEventID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;EventHandler
+
;pEventHandler
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
 
:[in]  Pointer to [[PXV:IEventHandler|IEventHandler]].
;Flags
+
;nFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
  

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