IEventCreator::CreateNewEvent 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:IEventCreator::CreateNewEvent Method}}
 
{{#customTitle:IEventCreator::CreateNewEvent Method}}
{{#parentPage:PXV:IEventCreator|method}}
+
{{#parentPage:PXV:IEventCreator#Methods|CreateNewEvent|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 9:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewEvent([in] LONG nEventID, [in, defaultvalue(0)] PARAM_T nParam1, [in, defaultvalue(0)] PARAM_T nParam2, [out, retval] IEvent** ppNewEvent);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewEvent([in]                   LONG     nEventID,
 +
                      [in, defaultvalue(0)] PARAM_T   nParam1,
 +
                      [in, defaultvalue(0)] PARAM_T   nParam2,
 +
                      [out, retval]         IEvent** pNewEvent);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''nEventID''
+
;nEventID
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
;''nParam1''
+
;nParam1
 
:[in, defaultvalue(0)]  Value of PARAM_T.
 
:[in, defaultvalue(0)]  Value of PARAM_T.
;''nParam2''
+
;nParam2
 
:[in, defaultvalue(0)]  Value of PARAM_T.
 
:[in, defaultvalue(0)]  Value of PARAM_T.
;''ppNewEvent''
+
;pNewEvent
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].
  
Line 24: Line 28:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IEventCreator|IEventCreator]].
+
[[PXV:IEventCreator|IEventCreator]]

Latest revision as of 02:15, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewEvent([in]                   LONG      nEventID,
                       [in, defaultvalue(0)]  PARAM_T   nParam1,
                       [in, defaultvalue(0)]  PARAM_T   nParam2,
                       [out, retval]          IEvent**  pNewEvent);

Parameters

nEventID
[in] Value of LONG.
nParam1
[in, defaultvalue(0)] Value of PARAM_T.
nParam2
[in, defaultvalue(0)] Value of PARAM_T.
pNewEvent
[out, retval] Pointer to IEvent.

Return Value

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

See Also

IEventCreator