IEventCreator::CreateNewEvent Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewEvent([in] LONG nEventID, [in, optional] ULONG_PTR nParam1, [in, optional] ULONG_PTR nParam2, [out, retval] IEvent** ppNewEvent);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewEvent([in] LONG nEventID, [in, optional] PARAM_T nParam1, [in, optional] PARAM_T nParam2, [out, retval] IEvent** ppNewEvent);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 11: Line 11:
 
:[in]  Value of LONG.
 
:[in]  Value of LONG.
 
;''nParam1''
 
;''nParam1''
:[in, optional]  Value of ULONG_PTR.
+
:[in, optional]  Value of PARAM_T.
 
;''nParam2''
 
;''nParam2''
:[in, optional]  Value of ULONG_PTR.
+
:[in, optional]  Value of PARAM_T.
 
;''ppNewEvent''
 
;''ppNewEvent''
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].
 
:[out, retval]  Pointer to [[PXV:IEvent|IEvent]].

Revision as of 01:26, 14 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT CreateNewEvent([in] LONG nEventID, [in, optional] PARAM_T nParam1, [in, optional] PARAM_T nParam2, [out, retval] IEvent** ppNewEvent);

Parameters

nEventID
[in] Value of LONG.
nParam1
[in, optional] Value of PARAM_T.
nParam2
[in, optional] Value of PARAM_T.
ppNewEvent
[out, retval] Pointer to IEvent.

Return Value

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

See Also

See also IEventCreator.