IEventCreator::CreateNewEvent 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 CreateNewEvent([in]                  LONG      nEventID,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewEvent([in]                  LONG      EventID,
                       [in, defaultvalue(0)]  PARAM_T  nParam1,
+
                       [in, defaultvalue(0)]  PARAM_T  Param1,
                       [in, defaultvalue(0)]  PARAM_T  nParam2,
+
                       [in, defaultvalue(0)]  PARAM_T  Param2,
                       [out, retval]          IEvent**  pNewEvent);</pre>
+
                       [out, retval]          IEvent**  NewEvent);</pre>
  
 
== Parameters ==
 
== Parameters ==
;nEventID
+
;EventID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;nParam1
+
;Param1
 
:[in, defaultvalue(0)]  Value of PARAM_T.
 
:[in, defaultvalue(0)]  Value of PARAM_T.
;nParam2
+
;Param2
 
:[in, defaultvalue(0)]  Value of PARAM_T.
 
:[in, defaultvalue(0)]  Value of PARAM_T.
;pNewEvent
+
;NewEvent
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].
  

Revision as of 05:49, 12 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewEvent([in]                   LONG      EventID,
                       [in, defaultvalue(0)]  PARAM_T   Param1,
                       [in, defaultvalue(0)]  PARAM_T   Param2,
                       [out, retval]          IEvent**  NewEvent);

Parameters

EventID
[in] Value of LONG.
Param1
[in, defaultvalue(0)] Value of PARAM_T.
Param2
[in, defaultvalue(0)] Value of PARAM_T.
NewEvent
[out, retval] Pointer to IEvent.

Return Value

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

See Also

IEventCreator