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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IEventServer::RegisterNativeEventHandler Method}}
 
{{#customTitle:IEventServer::RegisterNativeEventHandler Method}}
{{#parentPage:PXV:IEventServer|method}}
+
{{#parentPage:PXV:IEventServer|RegisterNativeEventHandler Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== 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.
  

Revision as of 04:49, 23 April 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

See also IEventServer.