IEventsRegistry::RegisterNewEvent Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT RegisterNewEvent([in] BSTR pUniqueEventName, [in] IEventCreator* pEventCreator, [in, optional, defaultvalue(NULL)] IBitSet* pEventClass, [out, retval] LONG* pEventID);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT RegisterNewEvent([in] BSTR pUniqueEventName, [in] IEventCreator* pEventCreator, [in, defaultvalue(NULL)] IBitSet* pEventClass, [out, retval] LONG* pEventID);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 13: Line 13:
 
:[in]  Pointer to [[PXV:IEventCreator|IEventCreator]].
 
:[in]  Pointer to [[PXV:IEventCreator|IEventCreator]].
 
;''pEventClass''
 
;''pEventClass''
:[in, optional, defaultvalue(NULL)]  Pointer to [[PXV:IBitSet|IBitSet]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IBitSet|IBitSet]].
 
;''pEventID''
 
;''pEventID''
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.

Revision as of 13:21, 16 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT RegisterNewEvent([in] BSTR pUniqueEventName, [in] IEventCreator* pEventCreator, [in, defaultvalue(NULL)] IBitSet* pEventClass, [out, retval] LONG* pEventID);

Parameters

pUniqueEventName
[in] Value of BSTR.
pEventCreator
[in] Pointer to IEventCreator.
pEventClass
[in, defaultvalue(NULL)] Pointer to IBitSet.
pEventID
[out, retval] Pointer to LONG.

Return Value

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

See Also

See also IEventsRegistry.